/* ClavisPlus — landing page
   Design language: Monad (editorial tech journal on warm parchment)
   Serif display (Untitled Serif → Newsreader) + mono UI (ABC Diatype Mono → Geist Mono)
   One saturated action colour: ClavisPlus Orange (takes Monad's Lake Blue role) */

:root {
  --parchment: #f6f3f1;
  --parchment-2: #efebe8;
  --ink: #000000;
  --off-black: #242424;
  --graphite: #4e4d4d;
  --smoke: #6b6968;
  --ash: #cecac8;
  --peri: #cfdaf5;
  --sky: #a0b5eb;
  --mint: #a7fccd;
  --coral: #ff9473;
  --gold: #ecda98;
  --crimson: #f37a0a;
  --orange: #ff6b35;
  --cp-ink: #1f2824;

  --serif: "Newsreader", "Untitled Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", "ABC Diatype Mono", "JetBrains Mono", ui-monospace, monospace;
  --brand: "Comfortaa", var(--mono);

  --max: 1432px;
  --gutter: clamp(16px, 4vw, 64px);
  --r-card: 40px;
  --r-pill: 100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::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; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--off-black);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--orange); color: var(--cp-ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.02em; line-height: 1.08; font-optical-sizing: auto; }
.display { font-size: clamp(48px, 8.4vw, 128px); line-height: 1.0; letter-spacing: -0.035em; }
.h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.04; letter-spacing: -0.03em; }
.h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.h4 { font-size: 24px; line-height: 1.2; }
.serif-i { font-style: italic; }
.lead { font-size: clamp(16px, 1.4vw, 20px); color: var(--graphite); line-height: 1.4; letter-spacing: -0.02em; margin: 0; }
.body { color: var(--graphite); margin: 0; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--smoke); font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; color: var(--off-black); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.18); }
.accent { color: var(--orange); }

/* ---------- Buttons (pill language) ---------- */
.btn {
  --bg: transparent; --fg: var(--off-black); --bd: var(--off-black);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 14px 28px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--mono); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill, var(--off-black)); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--fill-fg, var(--parchment)); }
.btn .arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { --bg: var(--orange); --fg: var(--cp-ink); --bd: var(--orange); --fill: var(--cp-ink); --fill-fg: var(--parchment); }
.btn--dark { --bg: var(--off-black); --fg: var(--parchment); --bd: var(--off-black); --fill: var(--orange); --fill-fg: var(--cp-ink); }
.btn--ghost { --fill: var(--off-black); }
.btn--ghost-light { --fg: var(--parchment); --bd: rgba(246,243,241,.4); --fill: var(--parchment); --fill-fg: var(--off-black); }
.btn--sm { min-height: 40px; padding: 10px 20px; font-size: 12px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow .arr { transition: transform .4s var(--ease); }
.link-arrow:hover .arr { transform: translate(3px, -3px); }

.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 9999px;
  border: 1px solid var(--ash); background: var(--parchment);
  font-size: 12px; text-transform: uppercase; font-weight: 500; letter-spacing: -0.01em; color: var(--off-black); white-space: nowrap;
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ash); display: inline-block; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--parchment); display: grid; place-items: center; pointer-events: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.preloader svg { width: 120px; height: auto; overflow: visible; }
.preloader .pl-c, .preloader .pl-p { stroke-width: 3; fill-opacity: 0; }
.preloader .pl-c { stroke: var(--cp-ink); }
.preloader .pl-p { stroke: var(--orange); }
.preloader__count { font-size: 12px; color: var(--smoke); text-transform: uppercase; font-variant-numeric: tabular-nums; }
html:not(.js) .preloader { display: none; }

/* ---------- Progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; transform-origin: 0 50%; transform: scaleX(0); background: var(--orange); }
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 88px; height: 88px; margin: -44px 0 0 -44px; display: grid; place-items: center; opacity: 0; transition: opacity .25s ease; will-change: transform; }
.cursor::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); transform: scale(.1136); transition: transform .45s var(--ease), background-color .3s ease; }
.cursor span { position: relative; font-size: 12px; text-transform: uppercase; font-weight: 500; color: var(--cp-ink); opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .45s var(--ease); }
.cursor.is-on { opacity: 1; }
.cursor.is-link::before { transform: scale(.5); background-color: rgba(255,107,53,.28); }
.cursor.is-view::before { transform: scale(1); }
.cursor.is-view span { opacity: 1; transform: none; }
.cursor.is-text { opacity: 0; }
.cursor.is-down::before { transform: scale(.08); }
.cursor.is-link.is-down::before { transform: scale(.42); }
.cursor.is-view.is-down::before { transform: scale(.92); }
/* One pointer only: the orange dot replaces the system arrow; text fields keep the caret */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select, .has-cursor [contenteditable="true"] { cursor: text !important; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Announcement + nav ---------- */
.announce { background: var(--ink); color: var(--parchment); font-size: 13px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding-block: 6px; text-align: center; flex-wrap: wrap; }
.announce .pill { white-space: nowrap; flex: none; border: 1px solid rgba(246,243,241,.7); border-radius: 9999px; padding: 4px 12px; font-size: 12px; text-transform: uppercase; font-weight: 500; transition: background .3s, color .3s; }
.announce .pill:hover { background: var(--parchment); color: var(--ink); }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); display: inline-block; margin-right: 8px; }
@keyframes blink { 50% { opacity: .25; } }

.nav { position: sticky; top: 0; z-index: 80; transition: transform .5s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(246,243,241,.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: rgba(206,202,200,.6); }
.nav.is-hidden { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--brand); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; color: var(--cp-ink); }
.brand svg { width: 44px; height: auto; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.brand b { font-weight: 700; color: var(--orange); }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 10px 14px; border-radius: 9999px; font-size: 14px; text-transform: uppercase; font-weight: 500; color: var(--off-black); position: relative; transition: background .3s; }
.nav__links a:hover { background: rgba(206,202,200,.45); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ash); place-items: center; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--off-black); position: relative; transition: transform .4s var(--ease); }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--off-black); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
.nav-open .nav__burger span { background: transparent; }
.nav-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--parchment); padding: 140px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out); }
.nav-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: 44px; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--ash); }
.mobile-menu li a small { font-family: var(--mono); font-size: 12px; color: var(--smoke); }

/* ---------- Atmospheric washes ---------- */
.wash { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: .75; will-change: transform; }
.wash--coral { background: radial-gradient(circle at 50% 50%, rgba(255,148,115,.85), rgba(255,148,115,0) 70%); }
.wash--sky { background: radial-gradient(circle at 50% 50%, rgba(160,181,235,.9), rgba(160,181,235,0) 70%); }
.wash--mint { background: radial-gradient(circle at 50% 50%, rgba(167,252,205,.85), rgba(167,252,205,0) 70%); }
.wash--gold { background: radial-gradient(circle at 50% 50%, rgba(236,218,152,.9), rgba(236,218,152,0) 70%); }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(6vw,-4vh) scale(1.12); } 66% { transform: translate(-4vw,3vh) scale(.94); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-7vw,5vh) scale(1.15); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(5vw,6vh) scale(.9); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 9vh, 112px); overflow: clip; }
.hero__bg { position: absolute; inset: -10% -10% 30%; z-index: 0; }
.hero__bg .w1 { width: 46vw; height: 46vw; left: 2%; top: 4%; animation: drift1 22s ease-in-out infinite; }
.hero__bg .w2 { width: 40vw; height: 40vw; right: 4%; top: 0; animation: drift2 26s ease-in-out infinite; }
.hero__bg .w3 { width: 34vw; height: 34vw; left: 38%; top: 28%; animation: drift3 19s ease-in-out infinite; opacity: .55; }
.hero__grain { position: absolute; inset: 0; z-index: 1; opacity: .06; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero__content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero__content .display { max-width: 13ch; }
.hero__content .lead { max-width: 58ch; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__meta { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; font-size: 12px; text-transform: uppercase; color: var(--graphite); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: "✓"; color: var(--orange); font-weight: 500; }

.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word > span { display: inline-block; will-change: transform; }

.stage { position: relative; z-index: 2; margin-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(64px, 10vh, 120px); }
.stage__frame { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 9; background: var(--parchment-2); border: 1px solid var(--ash); transform-origin: 50% 0; }
.stage__frame video, .stage__frame img { width: 100%; height: 100%; object-fit: cover; }
.stage__frame .stage__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246,243,241,0) 55%, rgba(246,243,241,.55)); pointer-events: none; }
.stage__caption { position: absolute; left: 32px; bottom: 28px; right: 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.stage__caption .h4 { max-width: 22ch; }
.node { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 9999px; background: rgba(246,243,241,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--ash); font-size: 13px; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.node i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.node .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-style: normal; font-size: 10px; color: var(--cp-ink); }
.node--1 { left: 5%; top: 14%; } .node--1 i { background: var(--coral); }
.node--2 { right: 6%; top: 10%; } .node--2 i { background: var(--sky); }
.node--3 { left: 9%; top: 58%; } .node--3 i { background: var(--gold); }
.node--4 { right: 9%; top: 52%; } .node--4 i { background: var(--orange); }
.stage__lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; width: 100%; height: 100%; }
.stage__lines path { fill: none; stroke: rgba(36,36,36,.28); stroke-width: 1; stroke-dasharray: 4 6; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--ash); padding-block: 22px; overflow: hidden; position: relative; }
.marquee__label { text-align: center; margin-bottom: 18px; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 56px; padding-right: 56px; align-items: center; }
.marquee__item { font-size: 18px; text-transform: uppercase; font-weight: 500; color: var(--smoke); display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; transition: color .3s; }
.marquee__item:hover { color: var(--off-black); }
.marquee__item::after { content: "✦"; color: var(--ash); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--parchment), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--parchment), transparent); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 12vw, 176px); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section__head .h2 { max-width: 16ch; }
.section__head .lead { max-width: 48ch; justify-self: end; }
.section__head > div { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* Pain points — scroll-filled text */
.pain { text-align: left; }
.pain__intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.pain__list { list-style: none; margin: 0; padding: 0; counter-reset: pain; }
.pain__list li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: clamp(20px, 2.6vw, 36px); border-top: 1px solid var(--ash); }
.pain__list li:last-child { border-bottom: 1px solid var(--ash); }
.pain__list li::before { counter-increment: pain; content: "0" counter(pain); font-size: 12px; color: var(--smoke); font-weight: 500; }
.pain__list .h3 { font-size: clamp(26px, 3.4vw, 48px); line-height: 1.12; }
.fill-word { color: rgba(36,36,36,.52); transition: color .2s; }
.no-js .fill-word, html:not(.js) .fill-word { color: inherit; }
.pain__answer { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px; border-radius: var(--r-card); background: var(--peri); position: relative; overflow: hidden; }
.pain__answer .h3 { position: relative; z-index: 1; }
.pain__answer .act { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pain__answer .wash { width: 420px; height: 420px; right: -120px; top: -160px; }

/* Services — stacking cards */
.services__stack { display: flex; flex-direction: column; gap: 24px; }
.svc { position: sticky; top: 104px; min-height: min(78vh, 680px); border-radius: var(--r-card); border: 1px solid var(--ash); background: var(--parchment); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.svc:nth-child(2) { top: 120px; background: var(--peri); border-color: var(--peri); }
.svc:nth-child(3) { top: 136px; background: var(--off-black); border-color: var(--off-black); color: var(--parchment); }
.svc:nth-child(4) { top: 152px; background: #fbf9f7; }
.svc__text { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 8px; }
.svc__top { display: flex; flex-direction: column; gap: 24px; }
.svc__num { display: flex; justify-content: space-between; align-items: center; font-size: 12px; text-transform: uppercase; font-weight: 500; }
.svc .body { font-size: clamp(15px, 1.2vw, 17px); max-width: 46ch; }
.svc:nth-child(3) .body { color: rgba(246,243,241,.72); }
.svc:nth-child(3) .label { color: rgba(246,243,241,.7); }
.svc:nth-child(2) .label, .feature .label, .pain__answer .label, .member--cta .label { color: var(--graphite); }
.svc:nth-child(3) .tag { background: transparent; border-color: rgba(246,243,241,.25); color: var(--parchment); }
.svc__diff { border-top: 1px solid currentColor; border-color: rgba(36,36,36,.18); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.svc:nth-child(3) .svc__diff { border-color: rgba(246,243,241,.2); }
.svc__diff strong { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
.svc__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.svc__media { position: relative; border-radius: 28px; overflow: hidden; background: var(--parchment-2); min-height: 280px; }
.svc__media img, .svc__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.svc__media .chip { position: absolute; left: 16px; top: 16px; z-index: 2; }

/* Work — horizontal gallery */
.work { background: var(--off-black); color: var(--parchment); border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden; overflow: clip; }
.work .section__head .lead { color: rgba(246,243,241,.7); }
.work .eyebrow { color: var(--parchment); }
.work__pin { position: relative; }
.work__track { display: flex; gap: 24px; padding-inline: var(--gutter); width: max-content; }
.site { width: min(68vw, 880px); flex: none; display: flex; flex-direction: column; gap: 18px; }
.site__frame { border-radius: 24px; overflow: hidden; background: #111; border: 1px solid rgba(246,243,241,.14); transition: transform .6s var(--ease), border-color .4s; }
.site:hover .site__frame { transform: translateY(-6px); border-color: rgba(255,107,53,.6); }
.site__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #1b1b1b; border-bottom: 1px solid rgba(246,243,241,.08); }
.site__dots { display: flex; gap: 6px; } .site__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(246,243,241,.2); display: block; }
.site__url { flex: 1; text-align: center; font-size: 12px; color: rgba(246,243,241,.6); background: rgba(246,243,241,.06); border-radius: 9999px; padding: 6px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site__shot { aspect-ratio: 16 / 9.2; overflow: hidden; }
.site__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.site:hover .site__shot img { transform: scale(1.04); }
.site__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-inline: 4px; }
.site__meta .h4 { font-size: clamp(22px, 2vw, 28px); }
.site__meta p { margin: 4px 0 0; font-size: 14px; color: rgba(246,243,241,.62); }
.site__meta .idx { font-size: 12px; color: rgba(246,243,241,.5); }
.work__end { width: min(40vw, 480px); flex: none; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-right: var(--gutter); }
.work__progress { margin-top: 48px; height: 1px; background: rgba(246,243,241,.15); position: relative; }
.work__progress span { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* Featured case — pipeline */
.cases { background: var(--parchment); }
.feature { border-radius: var(--r-card); background: var(--peri); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); position: relative; overflow: hidden; margin-bottom: clamp(56px, 7vw, 96px); }
.feature__text { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; position: relative; z-index: 1; padding: 8px; }
.feature__text .body { max-width: 44ch; }
.feature__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(36,36,36,.15); padding-top: 20px; }
.feature__facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -0.02em; }
.feature__facts span { font-size: 12px; text-transform: uppercase; color: var(--graphite); }
.pipeline { position: relative; z-index: 1; border-radius: 28px; background: var(--parchment); border: 1px solid rgba(36,36,36,.08); min-height: 440px; overflow: hidden; }
.pipeline svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.pipeline .ln { fill: none; stroke: var(--ash); stroke-width: 1.5; }
.pipeline .ln-flow { fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.pnode { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pnode .tag { font-size: 12px; padding: 10px 16px; background: var(--parchment); }
.pnode small { font-size: 12px; color: var(--graphite); max-width: 20ch; line-height: 1.3; }
.pnode--hub .tag { background: var(--cp-ink); color: var(--parchment); border-color: var(--cp-ink); padding: 14px 22px; }
.pnode--hub::before { content: ""; position: absolute; left: 50%; top: 22px; width: 220px; height: 220px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(167,252,205,.75), rgba(167,252,205,0) 65%); z-index: -1; animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; } }
.pnode--out .tag { border-color: var(--orange); }
.pnode--out .tag i { background: var(--orange); }
.feature .wash { width: 520px; height: 520px; left: -200px; bottom: -260px; opacity: .6; }

/* Case list */
.cases__layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cases__aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 40px; padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--ash); font-size: 12px; text-transform: uppercase; font-weight: 500; transition: background .3s, color .3s, border-color .3s; display: inline-flex; gap: 8px; align-items: center; }
.filter sup { font-size: 10px; color: var(--smoke); }
.filter:hover { border-color: var(--off-black); }
.filter[aria-pressed="true"] { background: var(--off-black); color: var(--parchment); border-color: var(--off-black); }
.filter[aria-pressed="true"] sup { color: var(--ash); }
.case-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ash); }
.case { border-bottom: 1px solid var(--ash); }
.case[hidden] { display: none; }
.case__btn { width: 100%; text-align: left; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-block: 28px; }
.case__idx { font-size: 12px; color: var(--smoke); font-weight: 500; }
.case__title { display: flex; flex-direction: column; gap: 10px; }
.case__title .h4 { font-size: clamp(22px, 2vw, 28px); transition: transform .5s var(--ease); }
.case__btn:hover .h4 { transform: translateX(8px); }
.case__sub { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12px; text-transform: uppercase; color: var(--graphite); }
.case__sub b { font-weight: 500; color: var(--off-black); }
.case__sub span + span::before { content: "·"; margin-right: 8px; color: var(--ash); }
.case__chev { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, border-color .3s; font-size: 16px; }
.case__btn:hover .case__chev { border-color: var(--off-black); }
.case.is-open .case__chev { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.case__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.case.is-open .case__panel { grid-template-rows: 1fr; }
.case__panel > div { overflow: hidden; }
.case__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 0 32px 64px; }
.case__grid section { border: 1px solid var(--ash); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.25); }
.case__grid h4 { margin: 0; font-size: 12px; text-transform: uppercase; font-weight: 500; color: var(--off-black); display: flex; gap: 8px; align-items: center; }
.case__grid h4 i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.case__grid section:nth-child(1) h4 i { background: var(--coral); }
.case__grid section:nth-child(2) h4 i { background: var(--sky); }
.case__grid section:nth-child(3) h4 i { background: var(--mint); }
.case__grid p { margin: 0; font-size: 14px; color: var(--graphite); line-height: 1.45; }
.case__stack { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }

/* Numbers */
.numbers { border-block: 1px solid var(--ash); }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.num { padding: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--ash); display: flex; flex-direction: column; gap: 12px; }
.num:first-child { border-left: 0; padding-left: 0; }
.num b { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.num b sup { font-size: .4em; color: var(--orange); vertical-align: super; }
.num > span { font-size: 12px; text-transform: uppercase; color: var(--graphite); font-weight: 500; max-width: 24ch; }

/* Process */
.process__rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process__line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--ash); }
.process__line span { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.step { position: relative; display: flex; flex-direction: column; gap: 20px; padding-right: 16px; }
.step__dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ash); background: var(--parchment); display: grid; place-items: center; font-size: 12px; font-weight: 500; transition: background .5s var(--ease), border-color .5s, color .5s; position: relative; z-index: 1; }
.step.is-lit .step__dot { background: var(--orange); border-color: var(--orange); color: var(--cp-ink); }
.step .h3 { font-size: clamp(26px, 2.4vw, 34px); }
.step .body { font-size: 15px; }

/* Industries */
.industries { overflow: hidden; }
.industries__inner { border-radius: var(--r-card); border: 1px solid var(--ash); padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 56px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.industries__inner .wash { width: 480px; height: 480px; right: -140px; bottom: -220px; opacity: .55; }
.pills-cloud { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; z-index: 1; }
.pills-cloud .tag { font-size: clamp(14px, 1.3vw, 18px); padding: 14px 24px; transition: background .3s, color .3s, transform .5s var(--ease); }
.pills-cloud .tag:hover { background: var(--off-black); color: var(--parchment); transform: translateY(-4px) rotate(-2deg); }
.pills-cloud .tag.more { border-style: dashed; color: var(--graphite); }

/* Team */
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.member { display: flex; flex-direction: column; gap: 16px; }
.member__photo { position: relative; aspect-ratio: 1 / 1.1; border-radius: 32px; overflow: hidden; background: var(--parchment-2); border: 1px solid var(--ash); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(1.04); transition: filter .8s var(--ease), transform 1.2s var(--ease); transform: scale(1.02); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(160,181,235,.32), rgba(255,148,115,.22)); mix-blend-mode: multiply; transition: opacity .8s var(--ease); pointer-events: none; }
.member:hover .member__photo img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.06); }
.member:hover .member__photo::after { opacity: 0; }
.member__photo .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(246,243,241,.85); backdrop-filter: blur(8px); }
.member__name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-inline: 4px; }
.member__name .h4 { font-size: clamp(22px, 1.9vw, 28px); }
.member__name > span:last-child { font-size: 12px; color: var(--smoke); text-transform: uppercase; font-weight: 500; }
.member--cta .member__photo { background: var(--peri); border-color: var(--peri); display: flex; flex-direction: column; justify-content: space-between; padding: 32px; }
.member--cta .member__photo::after { display: none; }
.member--cta .plus { font-family: var(--brand); font-weight: 700; font-size: clamp(80px, 9vw, 140px); line-height: .8; color: var(--orange); }
.member--cta .member__photo .wash { width: 300px; height: 300px; right: -80px; top: -80px; opacity: .7; }

/* FAQ */
.faq__layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); }
.faq__list { border-top: 1px solid var(--ash); }
.faq__item { border-bottom: 1px solid var(--ash); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 32px; text-align: left; font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
.faq__q .ic { flex: none; width: 20px; height: 20px; position: relative; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--off-black); transition: transform .5s var(--ease); }
.faq__q .ic::after { transform: rotate(90deg); }
.faq__item.is-open .ic::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0 0 32px; color: var(--graphite); max-width: 62ch; }

/* Final CTA */
.cta { padding-bottom: clamp(48px, 6vw, 80px); }
.cta__card { position: relative; border-radius: var(--r-card); background: var(--off-black); color: var(--parchment); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 640px; }
.cta__text { position: relative; z-index: 2; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.cta__text .eyebrow { color: var(--parchment); }
.cta__text .lead { color: rgba(246,243,241,.72); max-width: 44ch; }
.cta__media { position: relative; min-height: 320px; }
.cta__media video, .cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__media::before { content: ""; position: absolute; inset: 0 auto 0 -2px; width: 60%; z-index: 1; background: linear-gradient(90deg, var(--off-black) 0%, var(--off-black) 6%, rgba(36,36,36,.6) 40%, rgba(36,36,36,0) 100%); pointer-events: none; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; text-transform: uppercase; font-weight: 500; color: rgba(246,243,241,.7); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--parchment); background: rgba(246,243,241,.06); border: 1px solid rgba(246,243,241,.18); border-radius: 20px; padding: 14px 18px; outline: none; transition: border-color .3s, background .3s; resize: vertical; }
.field input { border-radius: 9999px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(246,243,241,.66); }
.field input:focus, .field textarea:focus { border-color: var(--orange); background: rgba(246,243,241,.1); }
.form__row { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-top: 4px; }
.form__row small { color: rgba(246,243,241,.6); font-size: 12px; }
.form__row a { color: var(--parchment); border-bottom: 1px solid rgba(246,243,241,.4); }
.form__done { display: none; grid-column: 1 / -1; padding: 20px; border-radius: 20px; background: rgba(167,252,205,.12); border: 1px solid rgba(167,252,205,.4); color: var(--mint); font-size: 14px; }
.form.is-sent .form__done { display: block; }

/* Footer */
.footer { padding-block: 64px 32px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--ash); }
.footer__top h3 { margin: 0 0 16px; font-size: 12px; text-transform: uppercase; color: var(--smoke); font-weight: 500; }
.footer__top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__top a { font-size: 15px; transition: color .3s; }
.footer__top a:hover { color: var(--orange); }
.footer__mark { font-family: var(--brand); font-weight: 700; font-size: clamp(64px, 16.5vw, 268px); line-height: .9; letter-spacing: -0.04em; color: var(--cp-ink); margin: 48px 0 24px; white-space: nowrap; display: flex; }
.footer__mark b { color: var(--orange); font-weight: 700; }
.footer__mark span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; text-transform: uppercase; color: var(--smoke); }

/* Reveal helpers (JS adds .js to <html>) */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: grid; }
  .svc { grid-template-columns: minmax(0, 1fr); position: relative; top: auto !important; min-height: 0; }
  .svc__media { aspect-ratio: 4 / 3; min-height: 0; width: 100%; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .cases__layout, .faq__layout { grid-template-columns: minmax(0, 1fr); }
  .cases__aside { position: static; }
  .industries__inner { grid-template-columns: minmax(0, 1fr); }
  .cta__card { grid-template-columns: minmax(0, 1fr); }
  .cta__media { min-height: 280px; order: -1; }
  .cta__media::before { inset: auto 0 -2px 0; width: auto; height: 60%; background: linear-gradient(0deg, var(--off-black) 6%, rgba(36,36,36,0)); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .section__head { grid-template-columns: minmax(0, 1fr); }
  .section__head .lead { justify-self: start; }
  .node { display: none; }
  .node--1, .node--4 { display: inline-flex; font-size: 12px; padding: 8px 12px; }
  .stage__frame { aspect-ratio: 4 / 5; }
  .stage__lines { display: none; }
  .stage__caption { left: 20px; right: 20px; bottom: 20px; }
  .pain__list li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pain__answer { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .work__track { flex-direction: column; width: auto; }
  .site, .work__end { width: 100%; }
  .work__progress { display: none; }
  .pipeline { min-height: 560px; }
  .case__grid { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .case__btn { grid-template-columns: minmax(0, 1fr) auto; }
  .case__idx { display: none; }
  .numbers .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--ash); }
  .process__rail { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .process__line { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process__line span { transform-origin: 50% 0; transform: scaleY(0); }
  .step { padding-left: 64px; }
  .step__dot { position: absolute; left: 0; top: 0; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .announce .wrap { flex-wrap: nowrap; justify-content: space-between; }
  .announce .long { display: none; }
}
@media (max-width: 480px) {
  .team__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__ctas .btn { width: 100%; }
  .nav__cta .btn--primary { display: none; }
}

/* ---------- Skip link ---------- */
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 120; padding: 12px 20px; border-radius: 9999px; background: var(--off-black); color: var(--parchment); font-size: 14px; text-transform: uppercase; font-weight: 500; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* ---------- Motion control (WCAG 2.2.2) ---------- */
.motion-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 85; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px 10px 14px; border-radius: 9999px; border: 1px solid var(--ash); background: rgba(246,243,241,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--off-black); font-size: 12px; text-transform: uppercase; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.motion-toggle:hover { border-color: var(--off-black); }
.motion-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.motion-toggle .mt-play { display: none; }
.motion-toggle[aria-pressed="true"] { background: var(--off-black); color: var(--parchment); border-color: var(--off-black); }
.motion-toggle[aria-pressed="true"] .mt-play { display: block; }
.motion-toggle[aria-pressed="true"] .mt-pause { display: none; }
html:not(.js) .motion-toggle { display: none; }
.motion-paused .wash, .motion-paused .marquee__track, .motion-paused .ln-flow, .motion-paused .pnode--hub::before, .motion-paused .announce .dot { animation-play-state: paused !important; }
.hero.is-offscreen .wash { animation-play-state: paused; }
.marquee:focus-within .marquee__track { animation-play-state: paused; }

/* ---------- Form states ---------- */
.field .req { text-transform: none; font-weight: 400; color: rgba(246,243,241,.62); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.field__error { margin: 0; padding-left: 18px; font-size: 13px; color: var(--coral); }
.copy-email { color: var(--parchment); border-bottom: 1px solid rgba(246,243,241,.4); font-size: 12px; padding: 12px 0; }
.copy-email:hover { border-color: var(--orange); }
.form__done:empty { display: none !important; }
.form__done.is-error { background: rgba(255,148,115,.12); border-color: rgba(255,148,115,.45); color: var(--coral); }

.motion-toggle .mt-label { white-space: nowrap; }
@media (max-width: 800px) {
  .motion-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; left: 12px; bottom: 12px; }
  .motion-toggle .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Reduced motion: remove travel, keep feedback ---------- */
@media (prefers-reduced-motion: reduce) {
  .wash, .marquee__track, .ln-flow, .pnode--hub::before, .announce .dot { animation: none !important; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
  .marquee::before, .marquee::after { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal].is-in { transition: none; }
  .btn::before { transform: none; opacity: 0; transition: opacity .2s ease; }
  .btn:hover::before { opacity: 1; }
  .site:hover .site__frame, .site:hover .site__shot img, .member:hover .member__photo img, .case__btn:hover .h4, .pills-cloud .tag:hover, .brand:hover svg, .btn:hover .arr, .link-arrow:hover .arr { transform: none; }
  .case__panel, .faq__a { transition-duration: .15s; }
  .mobile-menu { transition: none; }
  .skip-link { transition: none; }
}
