/* General Sans, Indian Type Foundry via Fontshare (ITF Free Font License) */
@font-face { font-family: "General Sans"; font-weight: 400; font-display: swap; src: url(assets/fonts/general-sans-400.woff2) format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 500; font-display: swap; src: url(assets/fonts/general-sans-500.woff2) format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 600; font-display: swap; src: url(assets/fonts/general-sans-600.woff2) format("woff2"); }

:root {
  --sky: #dfe6fb;
  --sky-light: #f1f4fe;
  --ink: #191538;
  --ink-deep: #110e28;
  --muted: #58537d;
  --orange: #ff6236;
  --peri: #a9b6ff;
  --cream: #fbfaf7;
  --line: rgba(25, 21, 56, 0.14);
  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --slant: clamp(36px, 6vw, 96px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: #fff; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- shared ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border-radius: 8px;
  font-weight: 600; font-size: 16px;
  transition: transform 0.4s var(--ease), background 0.25s, box-shadow 0.4s var(--ease);
}
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 0 0 0 rgba(255, 98, 54, 0); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255, 98, 54, 0.8); }
.btn span { transition: transform 0.4s var(--ease); }
.btn:hover span { transform: translate(3px, -3px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.5s var(--ease);
}
.link-arrow::after { content: "↗"; transition: transform 0.4s var(--ease); }
.link-arrow:hover { background-size: 40% 2px; }
.link-arrow:hover::after { transform: translate(3px, -3px); }
.giant {
  font-size: clamp(64px, 14.5vw, 224px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 40px;
  height: 80px;
  padding: 0 var(--gutter);
  background: var(--sky);
  transition: box-shadow 0.3s, background 0.3s;
}
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 32px; margin-left: auto; font-weight: 500; font-size: 16px; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr-cta { padding: 12px 20px; font-size: 15px; }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100svh - 80px);
  padding: 20px var(--gutter) 80px;
}
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--muted); }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(44px, 5.7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 10.5em;
}
.hero-sub { margin-top: 26px; max-width: 29em; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }

/* hero animation: a site gets built, an ad sells, sales grow, the site climbs to #1. Everything is sized in em off the scene width. */
.scene { position: relative; width: 100%; max-width: 700px; aspect-ratio: 1 / 0.9; justify-self: end; container-type: inline-size; }
.scene > * { position: absolute; font-size: 1.6cqw; }
.scene b { font-weight: 600; }
.bg-disc { left: 15%; top: 2%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #cdd5ff 58%, #b4c0ff 100%); }
.bg-dot { right: 4%; top: 58%; width: 4%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.win, .ad, .toast, .chart, .seo { box-shadow: 0 1.8em 3.2em -1.4em rgba(25, 21, 56, 0.45), 0 0.1em 0.3em rgba(25, 21, 56, 0.08); }

.win { left: 2%; top: 10%; width: 70%; border-radius: 1em; background: #fff; overflow: hidden; z-index: 1; }
.win-bar { display: flex; align-items: center; gap: 0.45em; height: 2.4em; padding: 0 0.9em; background: var(--ink); }
.win-bar i { width: 0.62em; height: 0.62em; border-radius: 50%; background: #fbfaf7; }
.win-bar i:first-child { background: var(--orange); }
.win-bar i:nth-child(2) { background: var(--peri); }
.url { margin-left: 0.8em; padding: 0.2em 1em; border-radius: 1em; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 0.85em; }
.win-body { display: grid; gap: 1.1em; padding: 1.1em 1.2em 1.3em; }
.w-nav { display: flex; align-items: center; gap: 0.9em; }
.w-logo { flex: none; font-weight: 600; font-size: 1.05em; letter-spacing: -0.03em; color: var(--ink); }
.w-logo::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.35em; border-radius: 50%; background: var(--orange); vertical-align: 0.02em; }
.w-links { display: flex; gap: 1.1em; margin-left: 1.2em; font-size: 0.85em; color: var(--muted); }
.w-cart { position: relative; margin-left: auto; width: 1.8em; height: 1.8em; color: var(--ink); }
.w-cart svg { width: 100%; height: 100%; }
.badge {
  position: absolute; right: -0.7em; top: -0.7em;
  display: grid; place-items: center;
  width: 1.5em; height: 1.5em; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 0.8em;
  transform: scale(0); transition: transform 0.5s cubic-bezier(0.3, 1.7, 0.5, 1);
}
.w-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; align-items: center; }
.w-copy { display: grid; gap: 0.55em; align-content: center; }
.w-kicker { color: var(--orange); font-size: 0.75em; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.w-title { font-size: 1.55em; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); }
.w-text { font-size: 0.85em; line-height: 1.35; color: var(--muted); }
.w-btn { justify-self: start; margin-top: 0.4em; padding: 0.55em 1em; border-radius: 0.5em; background: var(--orange); color: #fff; font-weight: 600; font-size: 0.85em; }
.w-img, .ad-img { position: relative; overflow: hidden; border-radius: 0.7em; }
.w-img { aspect-ratio: 4 / 3; background: #f3e4da; }
.w-img img, .ad-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.w-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9em; }
.prod { display: grid; gap: 0.5em; padding: 0.6em; border-radius: 0.7em; background: #f3f5fd; }
.p-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.5em; background: #e9e4dc; }
.p-name { font-size: 0.85em; font-weight: 500; color: var(--ink); }
.p-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.9em; }
.p-add { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 0.4em; background: var(--ink); color: #fff; font-weight: 600; transition: background 0.3s; }

.ad { right: 1%; top: 20%; width: 30%; padding: 0.7em; border-radius: 1.1em; background: #fff; z-index: 3; }
.ad-head { display: flex; align-items: center; gap: 0.5em; font-size: 0.85em; line-height: 1.2; }
.ad-dots { margin-left: auto; color: var(--muted); letter-spacing: 0.1em; }
.ad-head b, .ad-head small, .toast b, .toast small, .res b { display: block; }
.ad-head small { color: var(--muted); font-size: 0.85em; }
.ad-avatar { flex: none; width: 2em; height: 2em; border-radius: 50%; background: conic-gradient(var(--orange), var(--peri), var(--orange)); border: 0.2em solid #fff; box-shadow: 0 0 0 0.12em var(--orange); }
.ad-img { margin-top: 0.6em; aspect-ratio: 1; background: #ddd8d2; }
.heart { position: absolute; left: 32%; top: 30%; width: 36%; color: #fff; filter: drop-shadow(0 0.3em 0.5em rgba(25, 21, 56, 0.35)); transform: scale(0); }
.heart svg { width: 100%; }
.ad-foot { display: grid; gap: 0.6em; margin-top: 0.6em; }
.ad-caption { font-size: 0.78em; line-height: 1.35; color: var(--ink); }
.ad-cta { padding: 0.5em; border-radius: 0.45em; background: var(--orange); color: #fff; text-align: center; font-weight: 600; font-size: 0.85em; }

.toast { right: 4%; top: 2%; display: flex; align-items: center; gap: 0.7em; padding: 0.7em 1.2em 0.7em 0.7em; border-radius: 0.9em; background: var(--ink); color: #fff; line-height: 1.25; z-index: 6; }
.toast small { opacity: 0.7; font-size: 0.82em; }
.t-icon { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--orange); }
.t-icon svg { width: 60%; }

.chart { left: 0; bottom: 6%; width: 34%; padding: 0.9em 1em 1em; border-radius: 1em; background: #fff; z-index: 4; }
.c-head { display: flex; justify-content: space-between; align-items: center; line-height: 1.2; }
.c-head small { display: block; color: var(--muted); font-size: 0.75em; }
.c-up { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; }
.c-bars { display: flex; align-items: flex-end; gap: 6%; height: 6em; margin-top: 0.8em; }
.c-bars i { flex: 1; height: var(--h); border-radius: 0.3em 0.3em 0.1em 0.1em; background: #cdd5ff; transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s var(--ease); }
.c-bars i:nth-child(n+5) { background: var(--orange); }
.c-bars i:nth-child(2) { transition-delay: 0.09s; } .c-bars i:nth-child(3) { transition-delay: 0.18s; } .c-bars i:nth-child(4) { transition-delay: 0.27s; }
.c-bars i:nth-child(5) { transition-delay: 0.36s; } .c-bars i:nth-child(6) { transition-delay: 0.45s; }
.c-line { position: absolute; left: 1em; bottom: 1em; width: calc(100% - 2em); height: 6em; overflow: visible; }
.c-line path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }

.seo { right: 0; bottom: 0; width: 52%; padding: 1em; border-radius: 1.1em; background: #fff; z-index: 5; }
.s-bar { display: flex; align-items: center; gap: 0.6em; height: 2.6em; padding: 0 1em; border-radius: 2em; background: var(--sky); color: var(--ink); }
.s-bar svg { flex: none; width: 1.3em; }
.q { white-space: nowrap; }
.caret { width: 1px; height: 1.2em; background: var(--ink); animation: blink 1s steps(1) infinite; }
.s-results { position: relative; height: 12em; margin-top: 0.8em; }
.res {
  position: absolute; left: 0; right: 0; top: calc(var(--pos) * 4em);
  display: flex; align-items: center; gap: 0.7em;
  padding: 0.5em 0.6em; border-radius: 0.7em;
  opacity: 0; transition: top 0.9s var(--ease), opacity 0.5s, background 0.4s, box-shadow 0.4s;
}
.res > span:last-child { flex: 1; }
.res small { display: block; color: var(--muted); font-size: 0.75em; line-height: 1.3; }
.res b { font-size: 0.95em; font-weight: 500; color: #3a47c9; line-height: 1.25; }
.r-a { --pos: 0; } .r-b { --pos: 1; } .r-me { --pos: 2; }
.r-n { flex: none; display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: #eef1fd; font-weight: 600; font-size: 0.85em; transition: background 0.4s, color 0.4s; }

.cursor { left: var(--cx, 94%); top: var(--cy, 100%); width: 4.4%; z-index: 10; opacity: 0; transition: left 1.1s cubic-bezier(0.6, 0, 0.3, 1), top 1.1s cubic-bezier(0.6, 0, 0.3, 1), opacity 0.3s; }
.cursor svg { width: 100%; filter: drop-shadow(0 0.2em 0.3em rgba(25, 21, 56, 0.35)); }
.ripple { position: absolute; left: 20%; top: 12%; width: 150%; aspect-ratio: 1; margin: -75% 0 0 -75%; border-radius: 50%; border: 0.18em solid var(--orange); opacity: 0; }

/* states, switched on one by one by main.js */
.scene .x { opacity: 0; transform: translateY(1.2em) scale(0.97); transition: opacity 0.6s ease, transform 0.8s var(--ease); }
.w-copy .x:nth-child(2) { transition-delay: 0.1s; } .w-copy .x:nth-child(3) { transition-delay: 0.2s; }
.w-products .x:nth-child(2) { transition-delay: 0.15s; } .w-products .x:nth-child(3) { transition-delay: 0.3s; }
.scene .ad { transform: translateX(2.5em) rotate(5deg); }
.scene .toast { transform: translateY(-1.5em); }
.on-win .win, .on-nav .w-nav, .on-hero .w-copy .x:not(.w-btn), .on-btn .w-btn, .on-img .w-img, .on-prod .prod,
.on-ad .ad, .on-toast .toast, .on-chart .chart, .on-seo .seo { opacity: 1; transform: none; }
.on-cursor .cursor { opacity: 1; }
.on-click .ripple { animation: ripple 0.7s ease-out; }
.on-click .target { animation: bump 0.45s var(--ease); }
.on-click .target .p-add { background: var(--orange); }
.on-cart .badge { transform: scale(1); }
.on-like .heart { animation: pop 1.1s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
.on-chart .c-bars i { transform: scaleY(1); }
.on-line .c-line path { stroke-dashoffset: 0; }
.on-results .res { opacity: 1; }
.on-results .r-b { transition-delay: 0.12s; } .on-results .r-me { transition-delay: 0.24s; }
.on-rank .r-me { --pos: 0; background: #fff1eb; box-shadow: inset 0 0 0 0.14em var(--orange); }
.on-rank .r-a { --pos: 1; } .on-rank .r-b { --pos: 2; }
.on-rank .r-me .r-n { background: var(--orange); color: #fff; }
.on-ad .ad, .on-chart .chart { animation: bob 5s ease-in-out 1s infinite alternate; }
.scene.fade > :not(.bg-disc):not(.bg-dot) { opacity: 0 !important; transition: opacity 0.6s !important; }
@keyframes ripple { from { opacity: 1; transform: scale(0.2); } to { opacity: 0; transform: scale(1); } }
@keyframes bump { 40% { transform: scale(0.95); } }
@keyframes pop { 0% { transform: scale(0); } 55% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -0.7em; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- what we do ---------- */
.services { padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(140px, 20vh, 220px); }
.nw { white-space: nowrap; }
.giant-shape {
  display: inline-block;
  width: 0.78em; height: 0.39em;
  margin: 0 0.06em 0 0.04em;
  border-radius: 0.39em 0.39em 0 0;
  background: var(--orange);
  vertical-align: 0.06em;
}
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(56px, 8vh, 96px); }
.svc { padding-top: 26px; border-top: 2px solid var(--ink); }
.svc-icon { display: block; width: clamp(150px, 13vw, 190px); height: auto; margin-bottom: 26px; overflow: visible; filter: drop-shadow(0 16px 22px rgba(25, 21, 56, 0.16)); transition: transform 0.6s var(--ease); }
.svc:hover .svc-icon { transform: translateY(-6px) rotate(-2deg); }
.svc h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.025em; }
.svc p { margin-top: 14px; color: var(--muted); max-width: 26em; }
.svc ul { margin-top: 20px; display: grid; gap: 6px; font-weight: 500; font-size: 16px; }
.svc li { display: flex; align-items: center; gap: 10px; }
.svc li::before { content: ""; width: 8px; height: 8px; background: var(--orange); }

/* ---------- clients (slanted dark band) ---------- */
.clients {
  position: relative;
  padding: calc(var(--slant) + clamp(70px, 10vh, 120px)) var(--gutter) calc(var(--slant) + clamp(70px, 10vh, 120px));
  background: var(--ink);
  color: var(--cream);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.clients-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vh, 64px); }
.clients h2 { display: inline-flex; align-items: center; gap: 0.3em; font-size: clamp(48px, 6vw, 96px); line-height: 1; letter-spacing: -0.045em; }
.dot-shape { width: 0.62em; aspect-ratio: 1; background: var(--orange); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }
.clients-head p { color: #b8b4d8; max-width: 22em; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 98, 54, 0.55);
  border-left: 1px solid rgba(255, 98, 54, 0.55);
}
.logo-grid li { border-right: 1px solid rgba(255, 98, 54, 0.55); border-bottom: 1px solid rgba(255, 98, 54, 0.55); }
.logo-grid a { display: grid; place-items: center; height: clamp(110px, 12vw, 170px); padding: 20px; transition: background 0.3s; }
.logo-grid a:hover { background: rgba(255, 98, 54, 0.12); }
.logo-grid img { max-width: 62%; max-height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; transition: transform 0.5s var(--ease); }
.logo-grid img.tall { max-height: 72px; }
.logo-grid img.wide { max-width: 84%; max-height: 34px; }
.logo-grid a:hover img { transform: scale(1.06); }
.logo-cta a { color: var(--orange); font-weight: 600; font-size: clamp(16px, 1.4vw, 20px); text-align: center; }

/* ---------- work ---------- */
.work { padding: clamp(120px, 16vh, 180px) var(--gutter) clamp(120px, 16vh, 180px); background: var(--sky-light); margin-top: calc(-1 * var(--slant)); }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(56px, 8vh, 96px); }
.work-head p { color: var(--muted); max-width: 20em; font-size: 19px; }
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: clamp(72px, 10vh, 120px); align-items: start; }
.c-1 { grid-column: 1 / span 7; }
.c-2 { grid-column: 9 / span 4; margin-top: 140px; }
.c-3 { grid-column: 1 / span 5; }
.c-4 { grid-column: 7 / span 6; margin-top: 120px; }
.c-5 { grid-column: 2 / span 6; }
.c-6 { grid-column: 9 / span 4; margin-top: 100px; }
.c-7 { grid-column: 3 / span 8; }

.case-img {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  background: var(--plate);
}
.case-img img { position: absolute; transition: transform 0.8s var(--ease); }
.case-img .desk { left: 9%; top: 11%; width: 84%; border-radius: 8px; box-shadow: 0 24px 50px -18px rgba(25, 21, 56, 0.45); }
.case-img .mob { right: 6%; bottom: 7%; width: 23%; border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 24px 50px -16px rgba(25, 21, 56, 0.55); }
.c-2 .case-img, .c-3 .case-img, .c-6 .case-img { aspect-ratio: 4 / 5; }
.c-2 .desk, .c-3 .desk, .c-6 .desk { left: 14%; top: 8%; width: 112%; }
.c-2 .mob, .c-3 .mob, .c-6 .mob { right: auto; left: 8%; bottom: 6%; width: 38%; }
.case-img:hover .desk { transform: translateY(-8px); }
.case-img:hover .mob { transform: translateY(-14px) rotate(-3deg); }
.case-text { margin-top: 22px; display: grid; gap: 8px; justify-items: start; }
.case-text h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -0.03em; }
.case-text p { color: var(--muted); max-width: 32em; }
.case-text .link-arrow { margin-top: 4px; font-size: 15px; }

/* ---------- how we work ---------- */
.process { padding: clamp(120px, 16vh, 180px) var(--gutter) calc(var(--slant) + clamp(120px, 16vh, 180px)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(56px, 8vh, 96px); }
.steps::before { content: ""; position: absolute; left: 36px; right: 10%; top: 36px; border-top: 2px dashed var(--ink); opacity: 0.35; }
.steps li { position: relative; }
.step-n {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--orange); color: #fff;
  font-size: 28px; font-weight: 600;
  margin-bottom: 26px;
}
.steps li:nth-child(even) .step-n { background: var(--ink); }
.steps h3 { font-size: 26px; letter-spacing: -0.02em; }
.steps p { margin-top: 8px; color: var(--muted); max-width: 18em; }

/* ---------- contact (slanted dark band) ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: calc(-1 * var(--slant));
  padding: calc(var(--slant) + clamp(90px, 12vh, 140px)) var(--gutter) clamp(90px, 12vh, 140px);
  background: var(--ink);
  color: var(--cream);
  clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%);
}
.contact h2 { font-size: clamp(48px, 6.4vw, 104px); line-height: 0.95; letter-spacing: -0.05em; max-width: 8em; }
.contact-copy p { margin-top: 22px; color: #b8b4d8; max-width: 24em; font-size: 19px; }
.contact-mail {
  display: inline-block; margin-top: 36px;
  font-size: clamp(24px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.03em;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 3px no-repeat;
  padding-bottom: 4px;
}
.contact .contact-meta { margin-top: 18px; font-size: 15px; }

.enquiry {
  display: grid; gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
}
.enquiry fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.enquiry legend { width: 100%; margin-bottom: 12px; font-weight: 600; }
.enquiry fieldset label { position: relative; cursor: pointer; }
.enquiry fieldset input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.enquiry fieldset label { padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 8px; font-weight: 500; font-size: 15px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.enquiry fieldset label:has(input:checked) { background: var(--orange); border-color: var(--orange); color: #fff; }
.enquiry fieldset label:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: 14px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 10px 0;
  border: 0; border-bottom: 1.5px solid var(--line);
  background: transparent; color: var(--ink); font-size: 17px;
  resize: vertical; transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.enquiry .btn { justify-self: start; border: 0; cursor: pointer; }
.form-note { font-size: 13px; color: var(--muted); margin-top: -10px; }

.foot {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 36px var(--gutter);
  background: var(--ink-deep);
  color: #b8b4d8;
  font-size: 15px;
}
.foot .logo { color: var(--cream); font-size: 18px; }
.foot .logo svg { width: 26px; height: 26px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; }
.foot nav a:hover { color: var(--cream); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero-copy > * { opacity: 0; }
.is-loaded .hero-copy > * { opacity: 1; animation: rise 0.9s var(--ease) both; }
.is-loaded .hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.is-loaded .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.is-loaded .hero-copy > :nth-child(4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .scene { justify-self: center; max-width: 600px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 28px; }
  .svc-icon { grid-row: span 3; }
  .cases > .case { grid-column: span 6; margin-top: 0; }
  .c-7 { grid-column: 1 / -1 !important; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hdr { height: 68px; gap: 16px; }
  .hdr-cta { display: none; }
  .menu-toggle { display: grid; gap: 6px; margin-left: auto; padding: 12px 4px; background: none; border: 0; cursor: pointer; }
  .menu-toggle span:not(.sr) { width: 26px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    display: none; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--sky);
    box-shadow: 0 20px 30px -20px rgba(25, 21, 56, 0.4);
    font-size: 30px; font-weight: 500; letter-spacing: -0.03em;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 8px 0; }
  .nav a::after { display: none; }

  .hero { padding-top: 24px; padding-bottom: 56px; gap: 20px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .nw { display: block; }
  .hero-sub { font-size: 17px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases > .case { grid-column: 1 / -1; }
  .case-img, .c-2 .case-img, .c-3 .case-img, .c-6 .case-img { aspect-ratio: 4 / 4.2; }
  .case-img .desk, .c-2 .desk, .c-3 .desk, .c-6 .desk { left: 10%; top: 8%; width: 112%; }
  .case-img .mob, .c-2 .mob, .c-3 .mob, .c-6 .mob { left: 7%; right: auto; bottom: 6%; width: 36%; }
  .svc { grid-template-columns: 1fr; }
  .svc-icon { grid-row: auto; margin-bottom: 18px; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step-n { width: 60px; height: 60px; font-size: 24px; margin-bottom: 16px; }
  .foot nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scene * { animation: none !important; }
  .js [data-reveal], .js .hero-copy > * { opacity: 1; transform: none; animation: none; transition: none; }
}

/* ---------- inner pages: services, case studies, about, white-label ---------- */
.page { padding: clamp(28px, 5vh, 56px) var(--gutter) 0; }
.page-head { display: grid; gap: 22px; justify-items: start; max-width: 980px; margin-bottom: clamp(40px, 7vh, 72px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(44px, 6.4vw, 104px); line-height: 0.95; letter-spacing: -0.05em; }
.page-lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 40em; }
.page-lead a, .prose a { background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat; padding-bottom: 1px; }

.prose { max-width: 760px; font-size: 18px; line-height: 1.65; }
.prose h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.03em; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; color: #2c2850; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.3em; color: #2c2850; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 8px 0; padding-left: 4px; }
.prose li::marker { color: var(--orange); }
.prose b { color: var(--ink); font-weight: 600; }
.prose code { font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: rgba(25, 21, 56, 0.08); }

.plate-big { aspect-ratio: 16 / 8 !important; }
.plate-big .desk { left: 8% !important; top: 10% !important; width: 66% !important; }
.plate-big .mob { left: auto !important; right: 8% !important; top: 14% !important; bottom: auto !important; width: 17% !important; }
.article { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(48px, 8vh, 88px); }
.facts { position: sticky; top: 100px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 20px 50px -30px rgba(25, 21, 56, 0.4); }
.facts dl { margin: 0; display: grid; gap: 4px; }
.facts dt { margin-top: 14px; font-size: 13px; color: var(--muted); }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0; font-weight: 500; }
.facts a { color: var(--orange); }

.related { margin-top: clamp(80px, 12vh, 130px); }
.related > h2, .faq > h2 { font-size: clamp(32px, 3.4vw, 52px); letter-spacing: -0.04em; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(48px, 7vh, 80px); }
.cards-one { grid-template-columns: minmax(0, 520px); }
.card { display: grid; gap: 8px; align-content: start; }
.card-img { display: block; overflow: hidden; border-radius: 20px; background: var(--plate); padding: 7% 7% 0; aspect-ratio: 16 / 11; }
.card-img img { width: 100%; border-radius: 8px 8px 0 0; box-shadow: 0 20px 40px -18px rgba(25, 21, 56, 0.5); transition: transform 0.7s var(--ease); }
.card:hover .card-img img { transform: translateY(-6px); }
.card h3 { margin-top: 12px; font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -0.025em; }
.card p { color: var(--muted); font-size: 16px; }
.card .card-meta { font-size: 14px; color: var(--ink); opacity: 0.7; }

.faq { margin-top: clamp(80px, 12vh, 130px); max-width: 920px; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-of-type { border-bottom: 1.5px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--orange); font-size: 1.4em; line-height: 0.8; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 46em; }
.faq-home { margin: 0 auto; padding: 0 var(--gutter) clamp(120px, 16vh, 180px); max-width: none; }
.faq-home > :not(h2) { max-width: 920px; }
.giant-sm { font-size: clamp(48px, 8vw, 128px) !important; line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 32px; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; margin: clamp(80px, 12vh, 130px) 0 clamp(80px, 12vh, 120px); padding: clamp(32px, 4vw, 56px); border-radius: 28px; background: var(--ink); color: var(--cream); }
.cta-band h2 { font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -0.04em; }
.cta-band p { color: #b8b4d8; margin-top: 8px; }

.case-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 4px; }
.case-links .link-arrow { margin-top: 0 !important; }
.svc-more { margin-top: 22px; font-size: 15px; }

.foot-big { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; padding-top: 64px; padding-bottom: 36px; }
.foot-big h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #8e8ab3; font-weight: 600; margin-bottom: 14px; }
.foot-big ul { display: grid; gap: 8px; font-size: 15px; }
.foot-big a:hover { color: var(--cream); }
.foot-brand { display: grid; gap: 16px; justify-items: start; }
.foot-brand p { max-width: 24em; font-size: 15px; }
.foot-mail { color: var(--cream); font-weight: 500; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.foot-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }

@media (max-width: 1100px) {
  .article { grid-template-columns: 1fr; }
  .facts { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cards, .cards-grid { grid-template-columns: 1fr; }
  .plate-big { aspect-ratio: 4 / 3.6 !important; }
  .plate-big .desk { left: 8% !important; top: 8% !important; width: 112% !important; }
  .plate-big .mob { right: auto !important; left: 6% !important; top: auto !important; bottom: 6% !important; width: 34% !important; }
  .prose { font-size: 17px; }
  .foot-big { grid-template-columns: 1fr; gap: 28px; }
}
