/* =========================================================
   Hayes Innovative Solutions — styles
   ========================================================= */

:root {
  --teal: #1e9fb4;
  --teal-600: #157f91;
  --teal-50: #e8f6f8;
  --blue: #3d5592;
  --blue-700: #2c3f72;
  --blue-50: #ecf0f8;
  --orange: #e08a24;
  --orange-600: #c8731a;
  --navy: #07111f;
  --navy-2: #0c1a2e;
  --ink: #0f1724;
  --ink-2: #3a4556;
  --muted: #5d6879;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;

  --grad: linear-gradient(120deg, var(--teal) 0%, var(--blue) 100%);
  --grad-warm: linear-gradient(120deg, #f0a23d 0%, var(--orange) 100%);
  --grad-text: linear-gradient(100deg, #5ad6e8 0%, #8aa3ee 55%, #f3a843 100%);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px -6px rgba(15, 23, 42, .08);
  --shadow: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -24px rgba(15, 23, 42, .25);
  --shadow-lg: 0 40px 90px -30px rgba(2, 8, 23, .6);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(80px, 10vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.soft { background: var(--bg-soft); }

/* Dark surfaces share one palette */
.dark { background: var(--navy); color: #a9b5c7; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type utilities ---------- */
.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--grad-warm); border-radius: 2px; }
.dark .eyebrow { color: #7fd8e6; }

.section-head {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px 64px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head h2 { margin: 0; }
.section-head > p { margin: 0 0 6px; font-size: 1.06rem; color: var(--muted); max-width: 440px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: -0.005em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-primary {
  background: var(--grad-warm); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 30px -12px rgba(224, 138, 36, .75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 20px 36px -14px rgba(224, 138, 36, .85); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Shared card + icon system ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.icon-tile {
  flex-shrink: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  color: var(--teal-600);
  background: linear-gradient(140deg, var(--teal-50) 0%, var(--blue-50) 100%);
  box-shadow: inset 0 0 0 1px rgba(30,159,180,.14);
}
.icon-tile svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 13px; }
.icon-tile--sm svg { width: 21px; height: 21px; }
.icon-tile--solid { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(61,85,146,.65); }
.icon-tile--glass { background: rgba(255,255,255,.06); color: #7fd8e6; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }

.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.tick-list li { position: relative; padding-left: 28px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23157f91' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 20px 0; transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; width: 164px; flex-shrink: 0; }
.brand-logo { width: 100%; height: auto; transition: opacity .35s ease; }
.brand-logo--dark { position: absolute; inset: 0; opacity: 0; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a:not(.btn) { color: rgba(255,255,255,.82); font-weight: 500; font-size: .93rem; position: relative; transition: color .25s ease; }
.main-nav a:not(.btn):hover { color: #fff; }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; border-radius: 2px;
  background: var(--grad-warm); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.site-header.is-scrolled {
  background: rgba(255,255,255,.88); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
  box-shadow: 0 1px 0 rgba(15,23,42,.06); padding: 12px 0;
}
.site-header.is-scrolled .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--dark { opacity: 1; }
.site-header.is-scrolled .main-nav a:not(.btn) { color: var(--ink-2); }
.site-header.is-scrolled .main-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; }
.header-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 75% 0%, #12284a 0%, var(--navy) 58%);
  padding: clamp(124px, 13vw, 168px) 0 52px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(100px); }
.glow-teal { width: 520px; height: 520px; background: var(--teal); top: -180px; right: 6%; opacity: .45; animation: drift 16s ease-in-out infinite alternate; }
.glow-blue { width: 640px; height: 640px; background: var(--blue); bottom: -320px; left: -200px; opacity: .55; animation: drift 20s ease-in-out infinite alternate-reverse; }
.glow-orange { width: 300px; height: 300px; background: var(--orange); bottom: 8%; right: 2%; opacity: .2; animation: drift 14s ease-in-out infinite alternate; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 15%, transparent 72%);
}
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-inner { position: relative; display: grid; grid-template-columns: .92fr 1.18fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lead { font-size: clamp(1.04rem, 1.3vw, 1.15rem); max-width: 540px; color: #a9b5c7; }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 48px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 540px; }
.hero-stats li { border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
.hero-stats strong { display: block; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; letter-spacing: -0.01em; }
.hero-stats span { font-size: .84rem; line-height: 1.45; display: block; color: #8492a7; }

.audience-strip {
  position: relative; margin-top: clamp(60px, 7vw, 92px);
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08);
}
.audience-strip > span { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #8b99ae; font-weight: 600; }
.audience-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; }
.audience-strip li { font-family: var(--font-display); font-weight: 500; color: #d5dde8; }

/* ---------- Device mockups ---------- */
.device-stage { position: relative; padding: 5% 7% 8% 1%; }
.stage-orb {
  position: absolute; z-index: 0; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(30,159,180,.32) 0%, rgba(61,85,146,.22) 38%, transparent 68%);
}
.stage-orb--warm { background: radial-gradient(circle at 50% 50%, rgba(224,138,36,.26) 0%, rgba(61,85,146,.2) 40%, transparent 68%); }
.device-stage::after {
  content: ""; position: absolute; left: 8%; right: 12%; bottom: 4%; height: 40px; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.6) 0%, transparent 70%); filter: blur(10px);
}

.laptop { position: relative; z-index: 1; width: 100%; max-width: 640px; margin: 0 auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.5)); }
.laptop-lid {
  position: relative; border-radius: 16px 16px 4px 4px; padding: 2.6% 2.6% 2.2%;
  background: linear-gradient(180deg, #2a2e35 0%, #121418 100%);
  box-shadow: inset 0 0 0 1.5px #464b55, inset 0 0 0 3px #0a0b0e;
}
.laptop-cam { position: absolute; top: 1%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #07080a; box-shadow: inset 0 0 0 1.5px #27344a; }
.laptop-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #fff; display: flex; flex-direction: column; }
.laptop-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 36%);
}
.browser-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #eef1f5; border-bottom: 1px solid #dde2e8; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span {
  margin: 0 auto; width: 46%; font-size: 10px; text-align: center; color: #6b7686; line-height: 1.5;
  background: #fff; border-radius: 6px; padding: 1px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.screen-scroll {
  flex: 1; background-size: 100% auto; background-repeat: no-repeat; background-position: 50% 0%;
  animation: screen-scroll 26s ease-in-out infinite;
}
.screen-scroll--slow { animation-duration: 44s; }
@keyframes screen-scroll {
  0%, 12% { background-position: 50% 0%; }
  48%, 56% { background-position: 50% 100%; }
  92%, 100% { background-position: 50% 0%; }
}
.screen-img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }
.laptop-base {
  position: relative; height: 0; padding-bottom: 3.2%; width: 114%; margin-left: -7%;
  background: linear-gradient(180deg, #e2e5ea 0%, #bfc4cb 40%, #8a9099 100%);
  border-radius: 2px 2px 18px 18px / 2px 2px 100% 100%;
  box-shadow: inset 0 1px 0 #f7f8fa;
}
.laptop-base span { position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%); background: linear-gradient(180deg, #9aa0a8, #c6cad0); border-radius: 0 0 10px 10px; }

/* Phone screen is exactly 9:16 so vertical video is never cropped */
.phone {
  position: absolute; z-index: 2; width: 27%; max-width: 190px;
  border-radius: 15% / 8.6%;
  background: linear-gradient(150deg, #454b55 0%, #121418 35%, #262a31 100%);
  box-shadow: inset 0 0 0 1.5px #5a616c, inset 0 0 0 4px #08090b, 0 40px 60px -22px rgba(0,0,0,.7);
}
.phone::before, .phone::after { content: ""; position: absolute; right: -2px; width: 3px; border-radius: 0 3px 3px 0; background: #2c3038; }
.phone::before { top: 22%; height: 12%; }
.phone::after { top: 37%; height: 7%; }
.phone-island { position: absolute; top: 4.6%; left: 50%; width: 26%; height: 3.2%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }
.phone-screen { position: relative; margin: 5.4%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12% / 6.8%; background: #000; display: flex; flex-direction: column; }
.phone-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 34%); }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone--hero { right: 1%; bottom: 3%; animation: float 7s ease-in-out infinite; }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 11px 18px 11px 11px; border-radius: 16px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  box-shadow: 0 24px 44px -18px rgba(0,0,0,.55);
  font-size: .76rem; color: var(--muted); line-height: 1.35;
}
.float-chip strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .86rem; }
.chip-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; }
.chip-icon svg { width: 20px; height: 20px; }
.chip-icon--teal { background: var(--grad); }
.chip-icon--orange { background: var(--grad-warm); }
.chip-1 { top: 2%; left: -2%; animation: float 6s ease-in-out infinite; }
.chip-2 { bottom: 8%; left: 4%; animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { padding: 34px 30px 30px; display: flex; flex-direction: column; }
.service-card .icon-tile { margin-bottom: 24px; }
.service-card > p { color: var(--muted); flex: 1; }
.service-card .tick-list { padding-top: 18px; margin-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Who We Help ---------- */
.aud-tabs {
  display: flex; gap: 6px; width: fit-content; max-width: 100%; margin-bottom: 24px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  overflow-x: auto; scrollbar-width: none;
}
.aud-tabs::-webkit-scrollbar { display: none; }
.aud-tab {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  transition: background .3s ease, color .3s ease;
}
.aud-tab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aud-tab:hover { color: var(--ink); background: var(--bg-soft); }
.aud-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.aud-panels { padding: clamp(22px, 4vw, 44px); }
.aud-panels:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
.aud-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; animation: panel-in .6s var(--ease); }
.aud-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.aud-kicker { display: block; margin-bottom: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-600); }
.aud-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.025em; }
.aud-copy > p { color: var(--muted); }
.aud-copy > p strong { color: var(--ink); }
.aud-list { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.aud-list li { display: flex; gap: 12px; align-items: flex-start; }
.aud-list h4 { margin: 2px 0 3px; font-size: .95rem; }
.aud-list p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.aud-closing { margin: 0 0 26px; padding-left: 16px; border-left: 3px solid var(--orange); font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; line-height: 1.45; color: var(--ink) !important; }

.aud-visual {
  position: relative; overflow: hidden; min-height: 500px; border-radius: 24px; padding: 48px 28px;
  display: grid; place-items: center;
  background: radial-gradient(80% 70% at 80% 10%, #16305a 0%, var(--navy) 65%);
}
.aud-visual .stage-orb { width: 110%; top: 50%; }
.aud-art { position: relative; z-index: 1; width: 100%; }
.aud-art--min { display: flex; justify-content: flex-end; padding-right: 8%; }
.aud-tile { position: absolute; left: 4%; top: 10%; width: 50%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; transform: rotate(-6deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); }
.aud-phone { position: relative; width: 44%; max-width: 210px; right: auto; bottom: auto; animation: float 7s ease-in-out infinite; }
.aud-phone img { width: 100%; height: 100%; object-fit: cover; }
.aud-art--evt { display: flex; justify-content: center; }
.aud-photo { width: 58%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; transform: rotate(-4deg) translateX(-14%); box-shadow: 0 30px 50px -20px rgba(0,0,0,.7); }
.aud-badge { position: absolute; right: 6%; top: 12%; width: 34%; border-radius: 12px; transform: rotate(6deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.75); animation: float 8s ease-in-out infinite; }
.aud-art--svc .laptop { max-width: 100%; }

.notif {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; max-width: 250px;
  padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.96);
  box-shadow: 0 24px 44px -18px rgba(0,0,0,.6); font-size: .72rem; line-height: 1.35; color: var(--muted);
}
.notif b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .8rem; color: var(--ink); }
.notif small { display: block; font-size: inherit; }
.notif-icon { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; }
.notif-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notif.n2 .notif-icon { background: var(--grad-warm); }
.notif.n1 { top: 6%; right: 5%; animation: float 6s ease-in-out infinite; }
.notif.n2 { bottom: 22%; left: 4%; animation: float 8s ease-in-out infinite reverse; }
.notif.n3 { bottom: 6%; right: 6%; animation: float 7s ease-in-out infinite; }

.swipe-hint { display: none; align-items: center; gap: 8px; margin: -4px 0 0; font-size: .78rem; font-weight: 600; color: var(--muted); }
.swipe-hint::after { content: "→"; color: var(--orange-600); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* ---------- Featured project ---------- */
.showcase { overflow: hidden; }
.showcase-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 65% at 88% 30%, rgba(224,138,36,.22) 0%, transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(61,85,146,.45) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
}
.showcase-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.showcase-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.showcase-copy > p { font-size: 1.04rem; }
.deliverables { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.deliverables li { display: flex; align-items: center; gap: 12px; color: #e3e9f1; font-weight: 500; font-size: .94rem; }
.deliverables li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); flex-shrink: 0; }
.showcase-visual { position: relative; padding: 2% 12% 16% 0; }
.phone--a { width: 25%; right: 0; bottom: 4%; animation: float 8s ease-in-out infinite; }
.phone--b { width: 25%; right: 22%; bottom: 0; z-index: 3; animation: float 7s ease-in-out infinite reverse; }
.phone--a .screen-scroll { background-color: #fff; }

/* ---------- Portfolio carousels ---------- */
.pf-row { margin-top: clamp(36px, 5vw, 56px); }
.pf-row:first-of-type { margin-top: 0; }
.pf-row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pf-row-head h3 { display: flex; align-items: baseline; gap: 14px; margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.pf-num { font-size: .78rem; font-weight: 600; letter-spacing: .1em; color: var(--orange-600); }
.pf-arrows { display: flex; gap: 8px; }
.arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 1rem; display: grid; place-items: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}
.arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.arrow:active { transform: scale(.94); }

.pf-track {
  --card-w: clamp(230px, 22vw, 280px);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--card-w); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 26px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.pf-track::-webkit-scrollbar { display: none; }
.pf-track--video { --card-w: clamp(190px, 17vw, 228px); }

.pf-card {
  position: relative; display: block; padding: 0; border: 0; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: #e6eaf0; scroll-snap-align: start;
  box-shadow: var(--shadow-sm); cursor: zoom-in; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pf-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(15,23,42,.06); pointer-events: none; }
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pf-img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.pf-card:hover .pf-img { transform: scale(1.04); }

/* Square or tall art sits whole on a blurred copy of itself */
.pf-fit .pf-blur { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(26px) saturate(1.3); opacity: .9; z-index: -1; }
.pf-fit .pf-img { object-fit: contain; object-position: center; padding: 8%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.pf-fit--dark { background: var(--navy); }
.pf-fit--dark .pf-blur { opacity: .55; }

/* Wide graphics shown upright on a phone screen */
.pf-device { display: grid; place-items: center; background: radial-gradient(90% 70% at 50% 30%, #ffffff 0%, #dfe6ee 100%); }
.mini-phone {
  width: 70%; padding: 5px; border-radius: 26px;
  background: linear-gradient(150deg, #454b55 0%, #121418 35%, #262a31 100%);
  box-shadow: inset 0 0 0 1.5px #5a616c, 0 26px 40px -18px rgba(15,23,42,.5);
  transition: transform .6s var(--ease);
}
.pf-device:hover .mini-phone { transform: translateY(-4px) rotate(-1.5deg); }
.mini-screen { display: flex; flex-direction: column; gap: 8px; aspect-ratio: 9 / 15.2; overflow: hidden; border-radius: 21px; background: #fff; }
.ui-top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 24px; padding: 0 10px; margin-top: 4px; }
.ui-top i { width: 30%; height: 6px; border-radius: 4px; background: #e3e7ee; }
.ui-top i:last-child { width: 14%; }
.ui-media { flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ui-media--cover { aspect-ratio: 2.7 / 1; }
.ui-avatar { width: 32px; height: 32px; margin: -22px 0 0 10px; border-radius: 50%; border: 3px solid #fff; background: var(--grad); }
.ui-lines { display: grid; gap: 5px; padding: 0 10px; }
.ui-lines i { height: 6px; border-radius: 4px; background: #e6eaf0; }
.ui-lines i:nth-child(1) { width: 92%; background: #d5dbe4; }
.ui-lines i:nth-child(2) { width: 70%; }
.ui-lines i:nth-child(3) { width: 46%; }
.ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 10px 0; }
.ui-grid i { aspect-ratio: 16 / 11; border-radius: 6px; background: #eef1f5; }

/* Website cards: mini browser that scrolls the page on hover */
.pf-web { display: flex; flex-direction: column; background: #fff; }
.pf-bar { flex: 0 0 auto; display: flex; gap: 5px; padding: 10px 12px; background: #eef1f5; border-bottom: 1px solid #dde2e8; }
.pf-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.pf-bar i:nth-child(2) { background: #febc2e; }
.pf-bar i:nth-child(3) { background: #28c840; }
/* Desktop pages are zoomed in on their left half so headlines stay readable */
.pf-shot { flex: 1; background-size: 180% auto; background-repeat: no-repeat; background-position: 8% 0%; transition: background-position 8s ease-in-out; }
.pf-web:hover .pf-shot, .pf-web:focus-visible .pf-shot { background-position: 8% 100%; }
.pf-web--center .pf-shot { background-position: 50% 0%; }
.pf-web--center:hover .pf-shot, .pf-web--center:focus-visible .pf-shot { background-position: 50% 100%; }
.pf-web--fit .pf-shot { background-size: 100% auto; background-position: 50% 0%; }
.pf-web--fit:hover .pf-shot, .pf-web--fit:focus-visible .pf-shot { background-position: 50% 100%; }
.pf-web--left .pf-shot { background-size: auto 100%; background-position: 0% 50%; }
.pf-web--left:hover .pf-shot { background-position: 100% 50%; }

/* Hover hint on website cards */
.pf-hint {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); opacity: 0;
  padding: 7px 14px; border-radius: 999px; background: rgba(7,17,31,.82); color: #fff; backdrop-filter: blur(6px);
  font-family: var(--font-display); font-size: .74rem; font-weight: 600; white-space: nowrap;
  transition: opacity .3s ease, transform .3s var(--ease);
}
.pf-web:hover .pf-hint, .pf-web:focus-visible .pf-hint { opacity: 1; transform: translate(-50%, 0); }

@media (hover: none) {
  .pf-hint { opacity: 1; transform: translate(-50%, 0); }
  .pf-web .pf-shot { transition: none; animation: pf-preview 16s ease-in-out infinite alternate; }
  .pf-web--center .pf-shot, .pf-web--fit .pf-shot { animation-name: pf-preview-center; }
}
@keyframes pf-preview { 0%, 15% { background-position: 8% 0%; } 85%, 100% { background-position: 8% 100%; } }
@keyframes pf-preview-center { 0%, 15% { background-position: 50% 0%; } 85%, 100% { background-position: 50% 100%; } }

/* Email and text mockups, built in HTML so no drafts are shown */
.pf-mock { cursor: default; display: flex; flex-direction: column; text-align: left; font-family: var(--font-body); color: var(--ink); }
.pf-mock:hover { transform: none; box-shadow: var(--shadow-sm); }
.mk-avatar { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-display); font-size: .66rem; font-weight: 600; }
.pf-inbox { background: #fff; }
.mk-top { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.mk-top b { font-family: var(--font-display); font-size: 1rem; }
.mk-top span { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.mk-mails { list-style: none; margin: 0; padding: 0; flex: 1; overflow: hidden; }
.mk-mails li { display: flex; gap: 10px; padding: 11px 16px; border-bottom: 1px solid #eef1f5; line-height: 1.3; }
.mk-mails li > div { min-width: 0; }
.mk-mails b { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
.mk-subj { display: block; font-size: .76rem; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-prev { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: .7rem; color: var(--muted); }
.is-unread { background: linear-gradient(90deg, rgba(30,159,180,.08), transparent); box-shadow: inset 3px 0 0 var(--teal); }
.is-unread .mk-subj { font-weight: 600; }
.mk-foot, .sms-foot { padding: 10px 16px; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pf-sms { background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%); }
.sms-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: rgba(255,255,255,.85); border-bottom: 1px solid var(--line); }
.sms-head b { display: block; font-size: .8rem; font-family: var(--font-display); font-weight: 600; }
.sms-head small { font-size: .68rem; color: var(--muted); }
.sms-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; }
.bubble { margin: 0; max-width: 88%; padding: 9px 12px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.08); font-size: .74rem; line-height: 1.4; }
.sms-foot { padding: 2px 0 0; text-align: center; letter-spacing: .04em; text-transform: none; font-weight: 500; }

/* Small text thread inside the showcase phone */
.phone-screen--light { background: #f3f6fa; }
.sms-mini { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22% 8% 10%; font-size: clamp(6px, .62vw, 8.5px); line-height: 1.35; color: var(--ink); }
.sms-mini b { font-family: var(--font-display); text-align: center; margin-bottom: 4px; }
.sms-mini p { margin: 0; padding: 6px 8px; background: #fff; border-radius: 10px 10px 10px 3px; box-shadow: 0 1px 2px rgba(15,23,42,.08); }

/* Video cards */
.pf-video { aspect-ratio: 9 / 16; background: #000; cursor: default; }
.pf-video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px 26px 26px; }
.step-num {
  display: inline-grid; place-items: center; min-width: 54px; height: 54px; margin-bottom: 26px; padding: 0 14px;
  border-radius: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--teal-600);
  background: linear-gradient(140deg, var(--teal-50) 0%, var(--blue-50) 100%); box-shadow: inset 0 0 0 1px rgba(30,159,180,.14);
  transition: background .4s ease, color .4s ease;
}
.step:hover .step-num { background: var(--grad); color: #fff; }
.step p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-visual { position: relative; padding: 0 14% 14% 0; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img--main { aspect-ratio: 1 / 1; }
.about-img--sub { position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 3 / 4.8; border: 6px solid #fff; transform: rotate(4deg); }
.about-badge { position: absolute; left: -4%; bottom: 6%; background: #fff; padding: 16px 20px; border-radius: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.about-badge img { width: 128px; }
.about-badge span { font-size: .7rem; font-weight: 600; color: var(--orange-600); letter-spacing: .14em; text-transform: uppercase; }
.about-copy > p { font-size: 1.04rem; }
.values { display: grid; gap: 20px; margin-top: 34px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value h4 { margin: 2px 0 4px; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-panel {
  position: relative; overflow: hidden; border-radius: 36px;
  display: grid; grid-template-columns: 1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 6vw, 80px);
  box-shadow: var(--shadow-lg);
}
.contact-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(30,159,180,.35) 0%, transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(61,85,146,.55) 0%, transparent 60%),
    radial-gradient(30% 40% at 60% 100%, rgba(224,138,36,.18) 0%, transparent 70%);
}
.contact-copy, .book-card { position: relative; }
.contact-copy > p { font-size: 1.04rem; max-width: 480px; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; min-width: 0; }
.contact-list small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #7c8aa0; font-weight: 600; }
.contact-list a, .contact-list li span:not(.icon-tile) { font-weight: 500; color: #fff; overflow-wrap: break-word; }
.contact-list a { display: inline-block; padding: 6px 0; }
.contact-list a:hover { color: #7fd8e6; }
.book-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.book-card .icon-tile { margin-bottom: 24px; }
.book-card h3 { font-size: 1.5rem; color: var(--ink); }
.book-card > p { color: var(--muted); }
.book-card .tick-list { margin: 22px 0 30px; }

/* ---------- Footer ---------- */
.site-footer { padding: 84px 0 30px; border-top: 1px solid rgba(255,255,255,.04); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 184px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 330px; font-size: .94rem; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.footer-col h4 { margin-bottom: 8px; font-size: .95rem; }
.footer-col a:not(.btn) { display: inline-block; padding: 9px 0; font-size: .94rem; transition: color .2s ease; overflow-wrap: break-word; }
.footer-col a:not(.btn):hover { color: #7fd8e6; }
.footer-col .btn { margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-block; padding: 10px 0; }
.to-top:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px;
  background: rgba(4,9,16,.9); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-frame { position: relative; max-width: min(1100px, 100%); transform: scale(.97); transition: transform .4s var(--ease); }
.lightbox.is-open .lb-frame { transform: none; }
.lb-bar { display: none; }
.lb-body img { display: block; width: auto; height: auto; max-width: 100%; max-height: 86vh; border-radius: 16px; box-shadow: var(--shadow-lg); }
/* Websites open in a browser window the visitor can scroll */
.lightbox--site .lb-frame { width: min(1180px, 100%); height: min(88vh, 900px); display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.lightbox--site .lb-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #eef1f5; border-bottom: 1px solid #dde2e8; flex: 0 0 auto; }
.lb-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lb-bar i:nth-child(2) { background: #febc2e; }
.lb-bar i:nth-child(3) { background: #28c840; }
.lb-url { margin: 0 auto; width: min(420px, 60%); padding: 4px 14px; border-radius: 8px; background: #fff; color: #6b7686; font-size: .8rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lightbox--email .lb-frame { width: min(720px, 100%); }
.lightbox--site .lb-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.lightbox--site .lb-body img { width: 100%; max-width: none; max-height: none; border-radius: 0; box-shadow: none; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; z-index: 1; }
.lightbox-close:hover { background: var(--orange); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border-radius: 12px;
    border: 0; background: rgba(255,255,255,.1); position: relative; z-index: 2;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
  .site-header.is-scrolled .nav-toggle { background: var(--bg-soft); }
  .site-header.is-scrolled .nav-toggle span, .nav-open .nav-toggle span { background: var(--ink); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: #fff; opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .main-nav a:not(.btn) { color: var(--ink) !important; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header.nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-open .brand-logo--light { opacity: 0; }
  .nav-open .brand-logo--dark { opacity: 1; }
  .brand { z-index: 2; }
  .header-inner { gap: 12px; }
  .header-cta { display: inline-flex; margin-left: auto; position: relative; z-index: 2; padding: 10px 18px; }
  .nav-open .header-cta { display: none; }

  .section-head { grid-template-columns: 1fr; }
  .hero-inner, .showcase-inner, .about-inner, .contact-panel, .aud-panel { grid-template-columns: 1fr; }
  .aud-visual { min-height: 420px; }
  .hero-visual, .showcase-visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .about-visual { max-width: 560px; }
}

@media (max-width: 640px) {
  .brand { width: 140px; }
  .hero { padding-top: 112px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 0; }
  .hero-stats li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; }
  .hero-stats strong { min-width: 118px; }
  .device-stage { padding: 8% 6% 10% 0; }
  .phone--hero { width: 29%; }
  .float-chip { padding: 7px 12px 7px 7px; font-size: .66rem; border-radius: 12px; gap: 8px; }
  .float-chip strong { font-size: .74rem; }
  .chip-icon { width: 28px; height: 28px; border-radius: 9px; }
  .chip-icon svg { width: 16px; height: 16px; }
  .chip-1 { left: 0; top: 0; }
  .chip-2 { display: none; }
  .browser-bar { padding: 5px 8px; }
  .browser-bar span { font-size: 8px; }
  .audience-strip { margin-top: 28px; }
  .audience-strip ul { gap: 8px 22px; }
  .audience-strip li { font-size: .9rem; }
  .aud-list { grid-template-columns: 1fr; }
  /* Shorter phone page: services and steps swipe sideways like the portfolio */
  :root { --section-y: 68px; }
  .services-grid, .steps {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
  }
  .services-grid::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .service-card, .step { scroll-snap-align: start; }
  .card:hover { transform: none; }
  .swipe-hint { display: flex; }
  .section-head { margin-bottom: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
  .site-footer { padding-top: 64px; }
  .footer-bottom { margin-top: 40px; }

  /* All three audiences visible at once */
  .aud-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 18px; gap: 4px; }
  .aud-tab { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 13px; font-size: .74rem; line-height: 1.25; text-align: center; white-space: normal; }

  /* Viewer: close button sits above the window instead of on it */
  .lightbox { padding: 76px 12px 16px; align-items: start; }
  .lightbox-close { top: 14px; right: 12px; }
  .lightbox--site .lb-frame { height: calc(100vh - 100px); height: calc(100dvh - 100px); }
  .brand { width: 128px; }

  .aud-tabs { width: 100%; border-radius: 16px; }
  .aud-tab { padding: 11px 16px; font-size: .86rem; }
  .aud-visual { min-height: 340px; padding: 36px 16px; }
  .notif { max-width: 200px; padding: 8px 12px 8px 8px; font-size: .64rem; }
  .notif b { font-size: .72rem; }
  .notif-icon { width: 28px; height: 28px; }
  .deliverables { grid-template-columns: 1fr; }
  .showcase-visual { padding: 0 10% 18% 0; }
  .pf-track { --card-w: 72vw; gap: 14px; }
  .pf-track--video { --card-w: 58vw; }
  .about-badge { padding: 12px 14px; }
  .about-badge img { width: 100px; }
  .contact-panel { border-radius: 28px; padding: 32px 20px 20px; }
  .contact-list a { font-size: .9rem; }
  .book-card { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
