/* =========================================================
   Made by Awad
   Radius system: buttons + chips = full pill; containers = 32px shell / 24px core;
   device screens = 14px; inputs = 14px.
   Z-index scale: 1-3 local stacking, 45 menu, 50 nav, 90 grain, 100 intro, 200 skip link.
   ========================================================= */
:root {
  --ink: #0d0d0c;
  --ink-2: #151513;
  --ink-3: #1d1d1a;
  --paper: #f2efe8;
  --paper-82: rgba(242, 239, 232, .82);
  --muted: rgba(242, 239, 232, .62);
  --line: rgba(242, 239, 232, .12);
  --line-2: rgba(242, 239, 232, .2);
  --orange: #ff5a1f;
  --orange-soft: rgba(255, 90, 31, .14);
  --err: #ff9b7a;
  --display: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 88px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --section-y: clamp(96px, 13vw, 180px);

  /* Get Hired mock */
  --gh-navy: #14284b;
  --gh-gold: #a8762a;
  --gh-text: #2a3142;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
svg { width: 1em; height: 1em; }
::selection { background: var(--orange); color: var(--ink); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  padding: 12px 20px; border-radius: 999px;
  background: var(--orange); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: top .3s var(--ease);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 15ch;
  text-wrap: balance;
}
.lede {
  margin-top: 20px;
  max-width: 52ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
}

/* ============ Buttons (pill, button-in-button icon) ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font: 700 16px/1 var(--sans);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.btn:has(.btn-ic) { padding-right: 7px; }
.btn:hover { background: #ff6d38; }
.btn:active { transform: scale(.98); }
.btn-ic {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(13, 13, 12, .14);
  font-size: 17px;
  transition: transform .5s var(--ease);
}
.btn:hover .btn-ic { transform: translate(2px, -2px) scale(1.06); }
.btn-ghost { background: rgba(242, 239, 232, .04); color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(242, 239, 232, .09); }
.btn-ghost .btn-ic { background: rgba(242, 239, 232, .09); }
.btn-sm { min-height: 44px; font-size: 14px; padding: 0 18px; }
.btn-sm .btn-ic { width: 32px; height: 32px; font-size: 15px; }
.btn-sm:has(.btn-ic) { padding-right: 6px; }

/* ============ Grain ============ */
.grain {
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -2%); }
}

/* ============ Intro ============ */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--ink);
}
.intro-sig { position: relative; }
.intro-text {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 11vw, 160px);
  line-height: 1.15;
  letter-spacing: -.04em;
  padding: 0 .08em .06em;
  clip-path: inset(0 100% 0 0);
}
.intro-pen {
  position: absolute; left: 0; top: 50%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--orange);
}

/* ============ Floating island nav ============ */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 24px;
  max-width: 1180px; height: 60px; margin: 0 auto;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  background: rgba(21, 21, 19, .62);
  border: 1px solid rgba(242, 239, 232, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 50px -24px rgba(0, 0, 0, .8);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.wordmark {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark em { color: var(--orange); padding: 0 .05em; }
.nav { display: flex; gap: 28px; margin: 0 auto; }
.nav a {
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--muted);
  transition: color .3s var(--ease);
}
.nav a:hover { color: var(--paper); }

.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px; margin-left: auto;
  border: 0; border-radius: 50%;
  background: rgba(242, 239, 232, .08);
  cursor: pointer;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px;
  background: var(--paper); border-radius: 2px;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  background: rgba(13, 13, 12, .88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  overflow: hidden;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(42px, 12vw, 64px); line-height: 1.12; letter-spacing: -.045em;
  text-decoration: none;
}
.menu-links a span { display: block; transform: translateY(110%); transition: transform .7s var(--ease); }
.menu-open .menu-links a span { transform: none; }
.menu-links a:nth-child(2) span { transition-delay: .05s; }
.menu-links a:nth-child(3) span { transition-delay: .1s; }
.menu-links a:nth-child(4) span { transition-delay: .15s; }
.menu-links a:nth-child(5) span { transition-delay: .2s; }
.menu-cta { align-self: flex-start; margin-top: 36px; }
.menu-mail { margin-top: 24px; color: var(--muted); font-size: 15px; }

/* ============ The Build ============ */
.build-stage {
  position: relative;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

.hero-copy {
  position: absolute; z-index: 3;
  left: var(--gutter); right: var(--gutter);
  top: calc(var(--header-h) + 6svh);
  max-width: 1280px;
}
.hero-title {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 150px);
  line-height: 1;
  letter-spacing: -.045em;
}
.hero-title .ln { display: block; padding-bottom: .02em; }
.hero-title em { color: var(--orange); padding-right: .04em; }
.hero-sub {
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--muted);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Stages list */
.stages {
  position: absolute; z-index: 2;
  left: var(--gutter);
  top: var(--header-h); bottom: 0; margin: auto 0; height: max-content;
  width: min(26vw, 340px);
  margin: 0; padding: 0; list-style: none;
  opacity: 0;
}
.stages li {
  position: relative;
  padding: 14px 0 14px 18px;
  border-top: 1px solid var(--line);
  opacity: .55;
  transition: opacity .4s var(--ease);
}
.stages li:last-child { border-bottom: 1px solid var(--line); }
.stages li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 3px; height: 18px; border-radius: 2px;
  background: var(--orange);
  transform: scaleY(0); transition: transform .4s var(--ease);
}
.stages h3 { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.stages p {
  font-size: 14px; color: var(--muted);
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease), margin .5s var(--ease);
}
.stages li.is-active { opacity: 1; }
.stages li.is-active::before { transform: scaleY(1); }
.stages li.is-active p { max-height: 120px; margin-top: 8px; }

/* Browser frame (shared by hero + contact preview) */
/* Positioned without CSS transforms: GSAP owns this element's transform */
.frame-wrap {
  --fw: min(62vw, (100svh - 220px) * 1.6);
  position: absolute; z-index: 1;
  right: var(--gutter);
  top: calc(50% + var(--header-h) / 3 - (var(--fw) / 1.6 + 38px) / 2);
  width: var(--fw);
}
.frame {
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .7);
  transition: border-color .6s var(--ease);
}
.frame.is-live { border-color: rgba(255, 90, 31, .55); }

.chrome {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  height: 38px; padding: 0 14px;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a36; }
.url {
  position: relative;
  flex: 1; max-width: 360px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 24px; padding: 0 12px;
  border-radius: 6px;
  background: var(--ink);
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden;
}
.url .lock { width: 12px; height: 12px; opacity: 0; color: var(--orange); flex: none; }
.url-live { position: absolute; left: 50%; translate: -42% 0; color: var(--paper); }
.url-live .c { opacity: 0; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange);
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em;
  opacity: 0;
}
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.screen {
  position: relative;
  container: screen / inline-size;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f0ec;
}
.grid-ov {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.6cqw;
  padding: 0 5cqw;
  opacity: 0; pointer-events: none;
}
.grid-ov i { background: rgba(255, 90, 31, .09); border-inline: 1px solid rgba(255, 90, 31, .18); }
.caret {
  position: absolute; left: 50%; top: 50%;
  width: 2px; height: 5cqw; translate: -50% -50%;
  background: var(--orange);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.final {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0;
}

/* Mock site inside the hero frame (container units scale with the frame) */
.mock { position: absolute; inset: 0; padding: 2.6cqw 5cqw; color: var(--gh-text); }
.b { position: relative; }
.b .w {
  position: absolute; inset: -.5cqw;
  border: 1px dashed #9b9a94;
  border-radius: .5cqw;
  background: rgba(155, 154, 148, .06);
  clip-path: inset(0 100% 100% 0);
}
.b .w em {
  position: absolute; left: .6cqw; top: .4cqw;
  font: normal 500 max(7px, .85cqw)/1 var(--mono);
  letter-spacing: .06em; color: #8a8983;
}
.m-photo .w { color: #b9b8b1; }
.m-photo .w svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.b .r { display: grid; }
.b .r > .ty, .b .r > .st { grid-area: 1 / 1; }
.ty { font-family: var(--mono); color: #3d3d3a; font-size: .62em; line-height: 1.5; align-self: start; }
.ty .c { opacity: 0; }
.ty .wd, .url-live .wd { display: inline-block; white-space: nowrap; }
.st { opacity: 0; }
.m-nav { display: flex; align-items: center; gap: 2cqw; height: 5cqw; }
.m-logo .r { grid-template-columns: auto 1fr; align-items: center; column-gap: 1cqw; }
.m-logo .r > .ty, .m-logo .r > .st { grid-area: 1 / 2; }
.m-logo .seal {
  grid-area: 1 / 1;
  width: 3.4cqw; height: 3.4cqw; border-radius: 50%;
  border: .25cqw solid var(--gh-navy);
  box-shadow: inset 0 0 0 .3cqw #fff, inset 0 0 0 .45cqw var(--gh-gold);
  transform: scale(0);
}
.m-logo { font-size: 2.1cqw; }
.m-logo .st { font-family: "Source Serif 4", Georgia, serif; color: var(--gh-navy); }
.m-links { margin-left: auto; font-size: 1.1cqw; }
.m-links .st { font-family: var(--sans); color: var(--gh-text); }
.m-cta { font-size: 1.1cqw; }
.m-cta .st {
  font-family: "Source Serif 4", Georgia, serif;
  background: var(--gh-navy); color: #fff;
  padding: .8cqw 1.6cqw; border-radius: .35cqw; white-space: nowrap;
}
.m-cta .ty { align-self: center; }
.m-body { display: grid; grid-template-columns: 1fr 42cqw; gap: 4cqw; align-items: center; margin-top: 3.4cqw; }
.m-copy > .b + .b { margin-top: 1.8cqw; }
.m-eyebrow { font-size: 1cqw; width: max-content; }
.m-eyebrow .st { font-family: var(--sans); font-weight: 500; letter-spacing: .14em; color: var(--gh-gold); }
.m-eyebrow .ty { font-size: 1em; }
.m-h1 { font-size: 4.4cqw; }
.m-h1 .st { font-family: "Source Serif 4", Georgia, serif; line-height: 1.08; letter-spacing: -.015em; color: var(--gh-navy); }
.m-h1 .ty { font-size: .55em; }
.m-sub { font-size: 1.65cqw; max-width: 30cqw; }
.m-sub .st { font-family: var(--sans); line-height: 1.45; color: #3c4456; }
.m-sub .ty { font-size: .75em; }
.m-btn { font-size: 1.5cqw; width: max-content; margin-top: 2.6cqw !important; }
.m-btn .st { font-family: "Source Serif 4", Georgia, serif; background: var(--gh-navy); color: #fff; padding: 1.2cqw 2.2cqw; border-radius: .4cqw; }
.m-btn .ty { font-size: .8em; align-self: center; padding: 0 .6cqw; }
.m-meta { font-size: 1.05cqw; width: max-content; }
.m-meta .st { font-family: var(--sans); color: #6b7180; }
.m-meta .ty { font-size: 1em; }
.m-photo .r { aspect-ratio: 480 / 470; overflow: hidden; clip-path: inset(0 0 100% 0); }
.m-photo img { width: 100%; height: 100%; object-fit: cover; }

@container screen (max-width: 560px) {
  .mock { padding: 4cqw 6cqw; }
  .m-nav { height: 12cqw; }
  .m-logo { font-size: 5.4cqw; }
  .m-logo .seal { width: 8.5cqw; height: 8.5cqw; border-width: .6cqw; }
  .m-links, .m-cta { display: none; }
  .m-body { grid-template-columns: 1fr; gap: 6cqw; margin-top: 7cqw; }
  .m-copy > .b + .b { margin-top: 4cqw; }
  .m-eyebrow { font-size: 2.7cqw; }
  .m-h1 { font-size: 10cqw; }
  .m-sub { font-size: 4.2cqw; max-width: none; }
  .m-btn { font-size: 4cqw; margin-top: 5cqw !important; }
  .m-btn .st { padding: 3cqw 5cqw; border-radius: 1cqw; }
  .m-meta { font-size: 3.2cqw; }
  .grid-ov { grid-template-columns: repeat(4, 1fr); gap: 4cqw; padding: 0 6cqw; }
  .grid-ov i:nth-child(n+5) { display: none; }
  .caret { height: 10cqw; }
  .b .w em { font-size: 2cqw; }
  .final { display: none; }
}

.visit {
  position: absolute; right: 0; top: calc(100% + 16px);
  font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; color: var(--orange);
  opacity: 0; pointer-events: none;
}
.visit.on { pointer-events: auto; }
.visit:hover { text-decoration: underline; }

.build-progress {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px;
  height: 1px; background: var(--line);
}
.build-progress span { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }

/* ============ Work: sticky card stack ============ */
.work { padding-top: var(--section-y); }
.stack { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.case {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex;
  padding: 90px var(--gutter) 20px;
}
.case-gap { height: 55vh; }
.case-shell {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 7px;
  border-radius: 32px;
  background: rgba(242, 239, 232, .035);
  border: 1px solid rgba(242, 239, 232, .08);
  transform-origin: 50% 0;
}
.case-core {
  position: relative;
  height: 100%;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.4fr);
  align-items: center; gap: clamp(28px, 4vw, 64px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 25px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(var(--tone), .2), transparent 62%),
    var(--tint);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .08);
}
.case-name { font-weight: 700; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.02; letter-spacing: -.045em; }
.case-what { margin-top: 14px; font-size: 18px; color: var(--paper-82); }
.case-body { margin-top: 18px; max-width: 46ch; font-size: 16px; color: var(--muted); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; padding: 0; list-style: none; }
.case-tags li {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--paper-82);
}
.case-devices { position: relative; height: 100%; display: flex; align-items: center; }
.dev-browser {
  width: min(88%, (100svh - 250px) * 1.5);
  border-radius: 14px; overflow: hidden;
  background: #0b0b0a;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85);
}
.dev-chrome { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; }
.dev-chrome .dots i { width: 8px; height: 8px; }
.dev-url { margin: 0 auto; padding-right: 40px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.dev-screen { position: relative; overflow: hidden; background: #fff; }
.dev-browser .dev-screen { aspect-ratio: 16 / 10; }
.scroller { width: 100%; will-change: transform; }
.dev-phone {
  position: absolute; right: 0; bottom: 6%;
  width: 23%; aspect-ratio: 9 / 19.5;
  padding: 5px;
  border-radius: 30px;
  background: #0a0a09;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.dev-phone .dev-screen { height: 100%; border-radius: 25px; }
.work-next {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: clamp(40px, 6vw, 72px);
}
.work-next p { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.03em; }

/* ============ Services: bento ============ */
.services { padding-top: var(--section-y); }
.bento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 16px; margin-top: clamp(40px, 5vw, 64px);
}
.cell {
  padding: 6px;
  border-radius: 30px;
  background: rgba(242, 239, 232, .03);
  border: 1px solid rgba(242, 239, 232, .07);
}
.cell-core {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  background: var(--ink-2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .06);
}
.cell-text { position: relative; z-index: 1; padding: 28px; }
.cell-ic {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange);
  font-size: 22px; flex: none;
}
.cell h3 { margin-top: 18px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.cell p { margin-top: 8px; max-width: 40ch; font-size: 15.5px; color: var(--muted); }
.cell-media { overflow: hidden; flex: 1; min-height: 160px; }
.cell-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.cell:hover .cell-media img { transform: scale(1.04); }

.cell-web { grid-column: 1 / 8; grid-row: 1 / 3; }
.cell-web .cell-media { border-bottom: 1px solid var(--line); }
.cell-gbp { grid-column: 8 / 13; grid-row: 1; }
.cell-gbp .cell-core {
  background:
    radial-gradient(circle at 1px 1px, rgba(242, 239, 232, .14) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(160deg, rgba(255, 90, 31, .18), transparent 65%),
    var(--ink-2);
}
.cell-store { grid-column: 8 / 13; grid-row: 2; }
.cell-store .cell-media { border-top: 1px solid var(--line); }
.cell-store .cell-media img { object-position: center; }
.cell-sys { grid-column: 1 / 5; }
.cell-ads { grid-column: 5 / 9; }
.cell-ads .cell-core { background: linear-gradient(200deg, rgba(255, 90, 31, .16), transparent 60%), var(--ink-2); }
.cell-social { grid-column: 9 / 13; }
.cell-sys .cell-core {
  background:
    repeating-linear-gradient(90deg, rgba(242, 239, 232, .05) 0 1px, transparent 1px 32px),
    var(--ink-2);
}

/* ============ Process: horizontal pan ============ */
.process { margin-top: var(--section-y); }
.process-pin {
  position: relative;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.process-head { display: flex; flex-direction: column; gap: 28px; }
.process-bar { position: relative; height: 1px; background: var(--line); }
.process-bar span { position: absolute; inset: 0; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.process-track {
  display: flex; width: max-content;
  margin: clamp(28px, 5vh, 56px) 0 0; padding: 0 var(--gutter) 0 max(var(--gutter), (100vw - 1280px) / 2 + var(--gutter));
  list-style: none;
}
.step { width: min(44vw, 600px); flex: none; padding-right: 5vw; }
.step-word {
  display: block;
  font-weight: 700;
  font-size: clamp(80px, 12vw, 200px);
  line-height: .95;
  letter-spacing: -.06em;
}
.step-word em { color: var(--orange); padding-right: .05em; }
.step p { margin-top: 20px; max-width: 34ch; font-size: 18px; color: var(--muted); }

/* ============ About ============ */
.about { padding-top: var(--section-y); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; }
.photo-shell {
  padding: 7px; border-radius: 32px;
  background: rgba(242, 239, 232, .04);
  border: 1px solid rgba(242, 239, 232, .09);
  transform: rotate(-2deg);
}
.photo-core { border-radius: 25px; overflow: hidden; }
.photo-core img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-note {
  position: absolute; right: -8%; bottom: -5%;
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 280px; padding: 16px 18px;
  border-radius: 22px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
  transform: rotate(3deg);
}
.about-note .cell-ic { width: 36px; height: 36px; font-size: 18px; }
.about-note p { font-size: 14.5px; color: var(--paper-82); line-height: 1.45; }
.about-copy > p { margin-top: 22px; max-width: 52ch; font-size: clamp(17px, 1.35vw, 19px); color: var(--paper-82); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.facts div { padding-top: 16px; border-top: 1px solid var(--line); }
.facts dt { font-size: clamp(44px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.facts dd { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ============ FAQ ============ */
.faq { padding-top: var(--section-y); }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > .h2 { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font: inherit; }
.qa-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  border: 0; background: none; color: var(--paper);
  font: 500 clamp(18px, 1.5vw, 21px)/1.35 var(--sans); letter-spacing: -.015em;
  text-align: left; cursor: pointer;
}
.qa-ic {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 16px;
  transition: transform .5s var(--ease), background .3s var(--ease);
}
.qa-q:hover .qa-ic { background: rgba(242, 239, 232, .06); }
.qa-q[aria-expanded="true"] .qa-ic { transform: rotate(45deg); background: var(--orange); color: var(--ink); box-shadow: none; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .55s; }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa.open .qa-a > div { visibility: visible; transition: visibility 0s; }
.qa-a p { padding: 0 56px 26px 0; max-width: 64ch; color: var(--muted); }

/* ============ Contact ============ */
.contact { padding: var(--section-y) 0; }
.contact-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  grid-template-areas: "head form" "preview form";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 80px); row-gap: 40px;
}
.contact-head { grid-area: head; }
.contact-head .h2 { font-size: clamp(56px, 8vw, 120px); }
.preview { grid-area: preview; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.form-shell { grid-area: form; }
.pv-screen {
  container: pv / inline-size;
  aspect-ratio: 16 / 11;
  padding: 6cqw 7cqw;
  background: #f6f4ee; color: #1a1a18;
  overflow: hidden;
}
.pv-nav { display: flex; justify-content: space-between; align-items: center; }
.pv-logo { font-weight: 700; font-size: 4.4cqw; letter-spacing: -.04em; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-dots { display: flex; flex-direction: column; gap: .8cqw; }
.pv-dots i { width: 5cqw; height: .5cqw; border-radius: 1cqw; background: #1a1a18; }
.pv-kicker { margin-top: 9cqw; font-family: var(--mono); font-size: 2.4cqw; letter-spacing: .08em; text-transform: uppercase; color: #c2410c; }
.pv-title { margin-top: 2cqw; font-weight: 700; font-size: 9.5cqw; line-height: 1; letter-spacing: -.05em; overflow-wrap: anywhere; }
.pv-sub { margin-top: 2.6cqw; font-size: 3.2cqw; color: #55534d; }
.pv-btn { display: inline-block; margin-top: 4.5cqw; padding: 2cqw 4cqw; border-radius: 99px; background: var(--orange); color: var(--ink); font-weight: 700; font-size: 3cqw; }
.preview-frame .url { max-width: 60%; }
.preview-frame .live-pill { position: absolute; right: 14px; }

.form-shell {
  padding: 7px; border-radius: 32px;
  background: rgba(242, 239, 232, .04);
  border: 1px solid rgba(242, 239, 232, .09);
}
.form-core {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 25px;
  background: var(--ink-2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .06);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14.5px; font-weight: 500; color: var(--paper); padding: 0; }
.field legend { margin-bottom: 10px; }
.opt { margin-left: 6px; font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(242, 239, 232, .22);
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.4 var(--sans);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 90, 31, .3); }
.field [aria-invalid="true"] { border-color: var(--err); }
.err { min-height: 0; font-size: 14px; color: var(--err); }
.err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .24);
  font-size: 15px; color: var(--paper);
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.chip:hover span { box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .5); }
.chip input:checked + span { background: var(--orange); color: var(--ink); box-shadow: none; font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.5px !important; font-weight: 400 !important; color: var(--paper-82) !important; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; margin-top: 1px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1.5px rgba(242, 239, 232, .5);
  color: transparent; font-size: 16px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.check input:checked + .box { background: var(--orange); color: var(--ink); box-shadow: none; }
.check input:focus-visible + .box { outline: 2px solid var(--orange); outline-offset: 3px; }
.check input[aria-invalid="true"] + .box { box-shadow: inset 0 0 0 1.5px var(--err); }
.check a { color: var(--paper); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form-alt { font-size: 14.5px; color: var(--muted); }
.form-alt a { color: var(--paper); }
.form-status { font-size: 15.5px; color: var(--paper); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--err); }
.form-status a { color: inherit; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }

/* ============ Footer ============ */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.foot-links, .foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a, .foot-legal a, .to-top { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .3s var(--ease); }
.foot-links a:hover, .foot-legal a:hover, .to-top:hover, .foot-mail:hover { color: var(--paper); }
.foot-mail { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; text-decoration: none; }
.foot-mail svg { color: var(--orange); font-size: 20px; }
.foot-mark {
  margin: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px);
  font-weight: 700;
  font-size: clamp(56px, 15.2vw, 216px);
  line-height: .9; letter-spacing: -.065em;
  white-space: nowrap;
}
.foot-mark em { color: var(--orange); padding: 0 .03em; }
.foot-base { align-items: flex-start; }
.foot-biz { max-width: 60ch; font-size: 13.5px; color: var(--muted); }
.foot-base .foot-legal a { font-size: 13.5px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { transform: rotate(-45deg); }

/* ============ Tablet / phone ============ */
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .nav-wrap { top: 10px; }
  .nav-pill { height: 56px; padding: 0 6px 0 18px; }
  .nav, .nav-cta { display: none; }
  .burger { display: block; }
  .wordmark { font-size: 20px; }

  .hero-copy { top: calc(var(--header-h) + 5svh); }
  .hero-title { font-size: clamp(38px, 12vw, 110px); }
  .hero-title .ln { white-space: nowrap; }
  .hero-ctas .btn { min-height: 48px; font-size: 15px; }
  .hero-ctas .btn:not(:has(.btn-ic)) { padding: 0 20px; }

  .frame-wrap {
    --fw: min(84vw, (100svh - var(--header-h) - 230px) * .625);
    right: auto; left: calc(50% - var(--fw) / 2);
    top: calc(var(--header-h) + 8px);
  }
  .frame { border-radius: 22px; }
  .chrome { height: 34px; gap: 8px; }
  .chrome .dots { display: none; }
  .url { font-size: 11px; }
  .live-pill { position: absolute; right: 12px; padding: 4px; font-size: 0; gap: 0; }
  .url-live { translate: -50% 0; }
  .url .lock { display: none; }
  .screen { aspect-ratio: 10 / 16; }
  .visit { left: 0; right: 0; text-align: center; top: calc(100% + 10px); white-space: nowrap; }

  .stages {
    top: auto; bottom: 34px; margin: 0;
    left: var(--gutter); right: var(--gutter); width: auto;
    height: 112px;
  }
  .stages li { position: absolute; inset: 0; border: 0 !important; padding: 0 0 0 16px; opacity: 0; }
  .stages li::before { top: 6px; }
  .stages li.is-active { opacity: 1; }
  .stages h3 { font-size: 22px; }
  .stages p { max-height: none !important; margin-top: 4px !important; font-size: 14px; }
  .build-progress { bottom: 16px; }

  /* Work: normal flow, one card per case */
  .case { position: relative; height: auto; padding: 0 var(--gutter); }
  .case + .case-gap { height: 16px; }
  .case-shell { padding: 5px; border-radius: 28px; }
  .case-core { grid-template-columns: 1fr; padding: 26px 22px 30px; border-radius: 23px; gap: 30px; }
  .case-devices { height: auto; padding-bottom: 14%; }
  .dev-browser { width: 100%; }
  .dev-phone { width: 31%; right: -4px; bottom: 0; border-radius: 22px; padding: 4px; }
  .dev-phone .dev-screen { border-radius: 18px; }
  .case-body { font-size: 15.5px; }

  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .bento .cell { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .cell-web .cell-media { aspect-ratio: 16 / 10; flex: none; }
  .cell-store .cell-media { aspect-ratio: 16 / 7; flex: none; }
  .cell-text { padding: 24px; }

  .process { margin-top: var(--section-y); }
  .process-pin { height: auto; overflow: visible; display: block; }
  .process-bar { display: none; }
  .process-track { flex-direction: column; width: auto; padding: 0 var(--gutter); margin-top: 40px; gap: 36px; }
  .step { width: auto; padding: 24px 0 0; border-top: 1px solid var(--line); }
  .step-word { font-size: clamp(64px, 20vw, 120px); }
  .step p { margin-top: 12px; font-size: 17px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .photo-shell { transform: none; }
  .about-note { position: static; transform: none; max-width: none; margin-top: 12px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .facts dd { font-size: 13.5px; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid > .h2 { position: static; }
  .qa-a p { padding-right: 0; }

  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "head" "preview" "form"; grid-template-rows: auto; row-gap: 28px; }
  .preview { position: static; max-width: 520px; width: 100%; }
  .form-core { grid-template-columns: 1fr; }
  .form-shell { padding: 5px; border-radius: 28px; }
  .form-core { border-radius: 23px; }
  .btn-submit { width: 100%; justify-content: space-between; }
}

@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .facts div { display: flex; align-items: baseline; gap: 14px; }
  .facts dd { margin: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .grain, .caret, .live-pill i { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .photo-shell, .about-note { transform: none; }
}

/* ============ Legal pages ============ */
.legal-main { padding: calc(var(--header-h) + 64px) 0 var(--section-y); }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.legal .updated { margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legal h2 { margin-top: 48px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.legal h3 { margin-top: 28px; font-size: 19px; font-weight: 700; }
.legal p, .legal li { margin-top: 14px; font-size: 17px; color: var(--paper-82); }
.legal ul { padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal a { color: var(--paper); text-underline-offset: 3px; }
.legal .note { margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line); }
.legal-back { margin-top: 56px; }

.legal-home { margin-left: auto; }
.legal code { font-family: var(--mono); font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--ink-3); }
