/* ==========================================================
   Winkd — site styles
   Four colours: warm paper, sage, olive-black, raspberry (sparingly).
   ========================================================== */

:root {
  --paper: #F5F4EE;
  --sage: #E4E7D6;
  --ink: #17190F;
  --wink: #D13A5C;

  /* tints of the above, not new colours */
  --ink-soft: rgba(23, 25, 15, .68);
  --ink-faint: rgba(23, 25, 15, .45);
  --line: rgba(23, 25, 15, .12);
  --white-soft: rgba(255, 255, 255, .7);
  --white-faint: rgba(255, 255, 255, .45);
  --line-l: rgba(255, 255, 255, .12);
  --card-d: rgba(255, 255, 255, .04);

  --sans: "Public Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --serif: "Fraunces", Georgia, serif;

  --r: 24px;
  --gut: 12px;
  --pad: clamp(22px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, figure, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong { font-weight: 500; }
::selection { background: var(--wink); color: #fff; }

/* ---------- layout ---------- */
.panel { position: relative; margin: 0 var(--gut); border-radius: var(--r); overflow: hidden; }
.panel.dark { background: var(--ink); color: #fff; }
.panel.sage { background: var(--sage); }
.wrap { padding: 0 calc(var(--pad) + var(--gut)); max-width: 1480px; margin: 0 auto; }
.section { padding: clamp(100px, 13vw, 180px) 0; }
.panel.dark, .panel.sage { padding: clamp(64px, 8vw, 120px) var(--pad); }

/* ---------- type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wink); }
.label.light { color: var(--white-soft); }
.h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; max-width: 780px; }
.display { font-size: clamp(42px, 5.6vw, 84px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 480px; }
.lede.light { color: var(--white-soft); }
.statement { font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; line-height: 1.12; letter-spacing: -.03em; max-width: 1120px; }
[data-words] .w { color: rgba(23, 25, 15, .16); transition: color .5s var(--ease); }
[data-words] .w.on { color: var(--ink); }

/* ---------- logo ---------- */
.logo { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.02em; display: inline-flex; align-items: baseline; line-height: 1; }
.logo-wink { width: .95em; height: .45em; margin: 0 .02em; stroke: var(--wink); stroke-width: 3.2; overflow: visible; transform-origin: 50% 45%; }

/* ---------- buttons (pixel-chevron) ---------- */
.btn {
  --bh: 56px;
  display: inline-flex; align-items: center;
  height: var(--bh); padding: 4px;
  border-radius: 14px;
  background: var(--ink); color: #fff;
  font-size: 16px; font-weight: 400;
  white-space: nowrap;
  transition: background .3s, transform .3s var(--ease);
}
.btn .ico { flex: none; width: calc(var(--bh) - 8px); height: calc(var(--bh) - 8px); border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: #fff; color: var(--ink); transition: width .45s var(--ease), background .3s, color .3s; }
.btn .ico svg { width: 16px; height: 12px; fill: currentColor; }
.btn .lbl { padding: 0 22px 0 18px; }
.btn .ico { position: relative; z-index: 1; }
.btn { position: relative; }
/* Pac-Man: pops out of the square, eats the label, exits right, label comes back */
.pacman { position: absolute; left: 0; top: 50%; width: calc(var(--bh) + 12px); height: calc(var(--bh) + 12px); margin-top: calc((var(--bh) + 12px) / -2);
  pointer-events: none; z-index: 3; transform: scale(0); shape-rendering: crispEdges; filter: drop-shadow(0 4px 10px rgba(23, 25, 15, .35)); }
.pacman .body { fill: var(--wink); }
.pacman .eye { fill: var(--ink); }
.pacman .pac-shut { animation: chomp .24s steps(1) infinite; }
@keyframes chomp { 0% { opacity: 1; } 50% { opacity: 0; } }
.btn.munching .ico svg { opacity: 0; transition: opacity .15s; }
.btn .ico svg { transition: opacity .3s .1s; }
.btn.fed .lbl { animation: lblBack .5s var(--ease) both; }
@keyframes lblBack { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.btn:active { transform: scale(.98); }
.btn-ghost { background: rgba(255, 255, 255, .55); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost .lbl { padding: 0 22px; }
.btn-ghost:hover { background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .ico { background: var(--ink); color: #fff; }
.btn-sm { --bh: 44px; font-size: 14px; border-radius: 12px; }
.btn-sm .ico { border-radius: 9px; }
.btn-sm .ico svg { width: 13px; height: 10px; }
.btn-sm .lbl { padding: 0 16px 0 14px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 400; width: fit-content; padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: gap .3s var(--ease), color .3s; }
.text-link svg { width: 15px; height: 15px; }
.text-link:hover { gap: 14px; color: var(--wink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50;
  top: 22px; left: calc(var(--gut) + 18px); right: calc(var(--gut) + 18px);
  display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 8px 0 22px;
  background: rgba(245, 244, 238, .82);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(23, 25, 15, .07);
  max-width: 1400px; margin: 0 auto;
}
.nav-links { display: flex; gap: 30px; margin: 0 auto; font-size: 15px; font-weight: 400; color: var(--ink-soft); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  margin-top: var(--gut);
  min-height: max(700px, calc(100svh - var(--gut) * 2));
  max-height: 1040px;
  background: linear-gradient(180deg, #D9DDC8 0%, #E7E6D8 55%, #DCE0CB 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
#hero-canvas.ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(228, 231, 214, .85), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: 0 var(--pad) clamp(40px, 6vh, 72px); }
.hero-title { font-size: clamp(46px, 6.6vw, 104px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both .15s; }
.hero-title .line:first-child { color: rgba(23, 25, 15, .38); }
.hero-title .line:nth-child(2) > span { animation-delay: .27s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.hero-sub { max-width: 460px; font-size: 18px; color: var(--ink-soft); animation: fadeUp 1s var(--ease) both .5s; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; animation: fadeUp 1s var(--ease) both .65s; }
.hero-note {
  position: absolute; z-index: 2; top: calc(22px + 60px + 40px); left: var(--pad);
  max-width: 260px; font-size: 14px; line-height: 1.45; color: var(--ink-soft);
  animation: fadeUp 1s var(--ease) both .9s;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* little note when the kite's string snaps */
.kite-toast { position: absolute; z-index: 2; top: 28%; right: 12%; margin: 0; padding: 8px 14px; border-radius: 100px;
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; pointer-events: none; }
.kite-toast.show { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s; }
@media (max-width: 900px) { .kite-toast { top: 14%; right: auto; left: 50%; transform: translate(-50%, 8px); } .kite-toast.show { transform: translate(-50%, 0); } }

/* ---------- problem ---------- */
.problem-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 110px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.points li { border-top: 1px solid var(--line); padding-top: 20px; }
.points .num { font-family: var(--mono); font-size: 12px; color: var(--wink); }
.points p { margin-top: 14px; font-size: 17px; line-height: 1.45; color: var(--ink-soft); }
.points strong { color: var(--ink); }
.kicker { margin-top: clamp(56px, 7vw, 96px); font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.02em; }

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .lede { margin-top: 22px; }

/* ---------- services ---------- */
.services .sec-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 60px; align-items: end; }
.services .sec-head .label { grid-column: 1 / -1; }
.services .sec-head .lede { margin: 0 0 6px; justify-self: end; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc {
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px 28px 30px;
  background: var(--card-d);
  border: 1px solid var(--line-l);
  border-radius: 18px;
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.svc:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); transform: translateY(-4px); }
.svc-num { font-family: var(--mono); font-size: 12px; color: var(--white-faint); }
.svc-title { font-size: 28px; font-weight: 500; letter-spacing: -.025em; line-height: 1.12; margin-top: 36px; }
.svc-desc { font-size: 16px; color: var(--white-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tags li { font-size: 13px; font-weight: 400; padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line-l); color: rgba(255, 255, 255, .85); }
.svc .text-link { margin-top: auto; padding-top: 18px; border: 0; }
.svc .text-link:hover { color: #fff; }
.svc .text-link svg { color: var(--wink); }

/* ---------- work ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.case-media { display: block; position: relative; border-radius: 20px; overflow: hidden; background: #3C3645; aspect-ratio: 5 / 6; }
.case-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-client { font-size: 15px; font-weight: 500; display: flex; gap: 12px; align-items: baseline; }
.case-client span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .04em; }
.case-title { margin-top: 18px; font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.case-text { margin-top: 20px; color: var(--ink-soft); max-width: 540px; }
.case-text em { font-style: normal; font-weight: 500; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.stats > div { border-top: 1px solid var(--line); padding-top: 16px; }
.stat-n { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.stat-l { font-size: 14px; color: var(--ink-faint); margin-top: 6px; }

/* ---------- process ---------- */
.process .sec-head .h2 { max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-l); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--wink); transition: width 1.2s var(--ease) .3s; }
.step.in::before { width: 100%; }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--white-faint); }
.step h3 { margin-top: 44px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.step p { margin-top: 14px; font-size: 16px; color: var(--white-soft); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: end; }
.team-copy { display: flex; flex-direction: column; gap: 18px; }
.team-sign { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 400; letter-spacing: -.02em; line-height: 1.35; }

/* ---------- fit ---------- */
.fit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 110px); }
.fit-copy { display: flex; flex-direction: column; gap: 36px; }
.fit-lead { font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -.02em; line-height: 1.3; }
.fit-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.fit-list li:last-child { border-bottom: 1px solid var(--line); }
.fit-list span:first-child { font-weight: 500; }
.fit-list span:last-child { color: var(--ink-soft); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq-intro { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; }
.faq-intro .h2 { margin-bottom: 36px; max-width: 420px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 20px; font-weight: 400; letter-spacing: -.015em; cursor: pointer; transition: color .2s; }
.qa summary:hover { color: var(--wink); }
.qa summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .4s var(--ease); }
.plus::after { transform: rotate(90deg); }
.qa[open] .plus { background: var(--ink); border-color: var(--ink); }
.qa[open] .plus::before, .qa[open] .plus::after { background: #fff; }
.qa[open] .plus::after { transform: rotate(0); }
.qa p { padding: 0 60px 26px 0; color: var(--ink-soft); max-width: 640px; }
.qa[open] p { animation: fadeUp .5s var(--ease); }

/* ---------- contact ---------- */
.contact { display: flex; flex-direction: column; min-height: min(760px, 90svh); }
.contact::before { content: ""; position: absolute; right: -10%; bottom: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(209, 58, 92, .28), transparent); pointer-events: none; }
.contact-title { position: relative; font-size: clamp(44px, 6.8vw, 112px); font-weight: 500; line-height: .98; letter-spacing: -.045em; max-width: 1150px; }
.contact-bottom { position: relative; margin-top: auto; padding-top: 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.contact-note { max-width: 420px; color: var(--white-soft); }
.contact-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.contact-mail { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 3px; transition: border-color .3s; }
.contact-mail:hover { border-color: var(--wink); }

/* ---------- footer ---------- */
.footer { padding: clamp(64px, 8vw, 110px) 0 0; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-tag { font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: -.02em; }
.footer-disc { margin-top: 8px; color: var(--ink-faint); font-size: 15px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; font-weight: 400; }
.footer-links a { color: var(--ink-soft); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.footer-word {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(110px, 25vw, 400px);
  letter-spacing: -.05em; line-height: .8;
  margin: clamp(48px, 7vw, 100px) 0 0 -.04em;
  display: flex; align-items: baseline; white-space: nowrap;
  color: var(--ink);
}
.footer-word .logo-wink { width: .9em; height: .42em; margin: 0 .02em; stroke-width: 3.4; }
/* a wink: snap shut, a beat, spring back open. The letters stay put. */
.winking .logo-wink { animation: wink .52s both; }
@keyframes wink {
  0%   { transform: scaleY(1);   opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .9, .4); }
  17%  { transform: scaleY(.04); opacity: 0; }
  44%  { transform: scaleY(.04); opacity: 0; animation-timing-function: cubic-bezier(.2, .9, .3, 1.35); }
  100% { transform: scaleY(1);   opacity: 1; }
}
.footer-legal { display: flex; justify-content: space-between; gap: 16px; padding: 26px 0 30px; margin-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-faint); }
.footer-legal a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.footer-legal a:hover { color: var(--ink); }
.footer-legal svg { width: 13px; height: 13px; }

/* ---------- case study page ---------- */
.cs-hero { margin-top: var(--gut); padding-top: calc(22px + 60px + clamp(48px, 7vw, 96px)) !important; }
.cs-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 400; color: var(--ink-soft); margin-bottom: 36px; transition: color .2s, gap .3s var(--ease); }
.back-link svg { width: 15px; height: 15px; }
.back-link:hover { color: var(--ink); gap: 12px; }
.cs-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.cs-title { font-size: clamp(38px, 4.4vw, 66px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.cs-title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.cs-title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both .1s; }
.cs-title .line:first-child { color: rgba(23, 25, 15, .4); }
.cs-title .line:nth-child(2) > span { animation-delay: .22s; }
.cs-sub { margin-top: 26px; animation: fadeUp 1s var(--ease) both .45s; }
.cs-meta { margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; width: 100%; max-width: 640px; animation: fadeUp 1s var(--ease) both .6s; }
.cs-meta div { border-top: 1px solid var(--line); padding-top: 14px; }
.cs-meta-wide { grid-column: 1 / -1; }
.cs-meta dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.cs-meta dd { margin: 0; font-size: 17px; font-weight: 400; }
.tags-dark li { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .45); }
.cs-hero-media { position: relative; border-radius: 20px; overflow: hidden; background: #3C3645; aspect-ratio: 5 / 6; animation: fadeUp 1.1s var(--ease) both .5s; }
.cs-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.cs-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 110px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.cs-lead { font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }
.cs-lead.light { color: #fff; }
.cs-body { display: flex; flex-direction: column; gap: 18px; color: var(--ink-soft); max-width: 620px; }
.cs-body.light { color: var(--white-soft); }
.cs-body strong { color: var(--ink); }
.cs-body.light strong { color: #fff; }
.accent { color: var(--wink) !important; }

.cs-big { margin-top: clamp(48px, 6vw, 80px); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l);
  font-size: clamp(46px, 7vw, 112px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.cs-big-label { display: block; margin-bottom: 22px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--wink); }

.cs-work li { display: grid; grid-template-columns: 60px minmax(0, .9fr) minmax(0, 1.3fr); gap: 24px clamp(24px, 4vw, 64px); padding: 34px 0; border-top: 1px solid var(--line); }
.cs-work li:last-child { border-bottom: 1px solid var(--line); }
.cs-work .num { font-family: var(--mono); font-size: 12px; color: var(--wink); padding-top: 8px; }
.cs-work h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.cs-work div { display: flex; flex-direction: column; gap: 14px; color: var(--ink-soft); }

.cs-results .lede { margin-top: 22px; }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.result-grid > div { padding: 28px 24px; border-radius: 18px; background: var(--card-d); border: 1px solid var(--line-l); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 220px; }
.result-n { font-size: clamp(44px, 4.6vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.result-l { font-size: 16px; color: var(--white-soft); max-width: 220px; }
.result-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.rg { padding: 26px 24px; border-radius: 18px; border: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 24px; }
.rg-label { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--white-faint); }
.rg-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rg-n { font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; }
.rg .result-l { font-size: 14px; }
.rg-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-l); font-size: 15px; color: var(--white-soft); }
.results-foot { margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line-l); }
.cs-note { font-size: 14px; line-height: 1.55; color: var(--white-faint); max-width: 440px; }

.cs-shows li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 19px; font-weight: 400; letter-spacing: -.01em; }
.cs-shows li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .points { grid-template-columns: 1fr; gap: 0; }
  .points li { display: flex; gap: 20px; padding: 18px 0; }
  .points p { margin: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-title { margin-top: 12px; }
}

@media (max-width: 900px) {
  .nav { height: 56px; left: calc(var(--gut) + 8px); right: calc(var(--gut) + 8px); top: 16px; padding: 0 6px 0 18px; flex-wrap: wrap; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; gap: 5px; margin-left: auto; width: 44px; height: 44px; place-content: center; border-radius: 12px; background: var(--ink); }
  .nav-toggle span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
  .nav.open { height: auto; border-radius: 20px; padding-bottom: 18px; }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 16px; width: 100%; margin: 12px 0 0; font-size: 20px; color: var(--ink); order: 3; }
  .nav.open .nav-cta { display: inline-flex; order: 4; margin-top: 6px; }
  .nav { align-content: center; }
  .nav.open { padding-top: 6px; }

  .hero-note { display: none; }
  .problem-row, .team-grid, .fit-grid, .faq-grid, .case { grid-template-columns: 1fr; }
  .services .sec-head { grid-template-columns: 1fr; }
  .services .sec-head .lede { justify-self: start; margin-top: 20px; }
  .faq-intro { position: static; }
  .case-media { aspect-ratio: 4 / 3; }
  .cs-hero-grid, .cs-cols { grid-template-columns: 1fr; }
  .cs-hero-media { aspect-ratio: 4 / 3; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-work li { grid-template-columns: 40px minmax(0, 1fr); }
  .cs-work li > div { grid-column: 2; }
  .result-groups { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --gut: 8px; --r: 20px; }
  body { font-size: 16px; }
  .hero-title { font-size: 46px; }
  .hero-ctas, .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn { justify-content: space-between; }
  .hero-ctas .btn-ghost { justify-content: center; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step h3 { margin-top: 20px; }
  .stats { gap: 12px; }
  .fit-list li { grid-template-columns: 1fr; gap: 2px; }
  .qa summary { font-size: 18px; }
  .qa p { padding-right: 0; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
  .cs-meta { grid-template-columns: 1fr; }
  .result-grid > div { min-height: 170px; padding: 22px 18px; gap: 24px; }
  .result-l { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
