/* Centr Space — built from the design reference "centrspace.com — Home". Values mirror the mockup; motion is layered on top. */
:root {
  --forest: #13201A;
  --forest-2: #1C2D25;
  --forest-3: #1E3027;
  --line: #2C3F35;
  --line-2: #3B5145;
  --cream: #F1EBDD;
  --paper: #EEE6D5;
  --paper-2: #E4DAC4;
  --paper-line: #CBBFA6;
  --sage: #9DB394;
  --sage-2: #7F9A77;
  --sand: #E8DCC0;
  --accent: #E9B637;
  --ochre: #D98A3D;
  --mute: #A3AE9E;
  --mute-2: #C3CBBC;
  --mute-3: #D6D9CC;
  --ink: #13201A;
  --ink-2: #3D3A2C;
  --ink-3: #45412F;
  --ink-4: #5A5545;
  --f-serif: 'Gloock', Georgia, 'Times New Roman', serif;
  --f-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.16, .84, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--forest); color: var(--cream); font: 400 16px/1.5 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.cream :focus-visible, .cta :focus-visible { outline-color: var(--ink); }
.mono { font-family: var(--f-mono); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { max-width: 1328px; margin: 0 auto; }
.pad { padding: clamp(80px, 10vw, 140px) var(--gut); }
.cream { background: var(--paper); color: var(--ink); }
.accent { color: var(--accent); }

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) var(--gut) 22px; transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.solid { padding-top: calc(env(safe-area-inset-top, 0px) + 12px); padding-bottom: 12px; background: rgba(19, 32, 26, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav.tuck { transform: translateY(-100%); }
.nav, .nav .btn { animation: fade 1s ease both; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand span { font-family: var(--f-serif); font-size: 21px; letter-spacing: -.01em; }
.brand svg { flex: none; transition: transform .8s var(--ease); }
.brand:hover svg { transform: rotate(-90deg); }
.ring-a, .ring-b { fill: none; stroke-width: 1.3px; }
.ring-a { stroke: var(--cream); } .ring-b { stroke: var(--sage); } .dot { fill: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; color: var(--mute-2); }
.navlink { position: relative; padding: 12px 0; transition: color .2s; }
.navlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.navlink:hover { color: var(--cream); }
.navlink:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; will-change: transform; }
.btn span[aria-hidden] { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn-lg { min-height: 54px; padding: 0 28px; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--ink); font-weight: 600; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-dark { background: var(--ink); color: var(--cream); min-height: 56px; padding: 0 30px; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, .22); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn-ghost::before { background: rgba(241, 235, 221, .08); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(760px, 100svh); padding: 0 var(--gut); display: flex; flex-direction: column; overflow: hidden; background: var(--forest); touch-action: pan-y; }
.hero-art { position: absolute; top: 30px; right: -4%; width: min(1120px, 84%); pointer-events: none; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.c-minor, .c-major { fill: none; vector-effect: non-scaling-stroke; }
.c-minor { stroke: var(--sage); stroke-width: 1px; opacity: .32; }
.c-major { stroke: var(--accent); stroke-width: 1.6px; }
.lens-ring { fill: none; stroke: var(--accent); stroke-width: 1px; opacity: 0; }
.lens-dot { fill: var(--cream); opacity: 0; }
.core { fill: var(--accent); }
.core-pulse { fill: none; stroke: var(--accent); transform-box: fill-box; transform-origin: center; animation: pulse 3.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .16; mix-blend-mode: overlay; }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 150px 0 40px; pointer-events: none; }
.hero-body a { pointer-events: auto; }
.eyebrow { margin-bottom: 36px; display: flex; align-items: center; gap: 12px; font: 400 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.pip { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 0 rgba(233, 182, 55, .6); animation: pip 2.4s ease-out infinite; }
.display { max-width: 1000px; font: 400 clamp(64px, 10.5vw, 170px)/.9 var(--f-serif); letter-spacing: -.03em; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line.open { overflow: visible; }
.line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.line.open > span { clip-path: inset(-40% -40% -40% -40%); }
.ink { position: relative; display: inline-block; }
.hero .ink { color: var(--accent); }
.loop { position: absolute; left: -9%; top: -10%; width: 118%; height: 122%; overflow: visible; pointer-events: none; }
.loop path { fill: none; stroke: var(--cream); stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero .draw, .in .draw, .draw.go { animation: draw 1.6s cubic-bezier(.6, .1, .3, 1) forwards; animation-delay: var(--d, .25s); }
.lede { margin-top: 48px; max-width: 520px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; font-weight: 300; color: var(--mute-3); }
.actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
.fade { opacity: 0; animation: fade 1s ease forwards; animation-delay: var(--d, 0s); }
.meta { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 40px; padding: 28px 0 36px; border-top: 1px solid var(--line); font: 400 11px/1.4 var(--f-mono); letter-spacing: .06em; color: var(--mute); }
.meta div { display: flex; flex-direction: column; gap: 8px; }
.meta dt { text-transform: uppercase; }
.meta dd { color: var(--cream); }
.meta dd a { border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.meta dd a:hover { border-color: var(--accent); }
.i-touch { display: none; }
@media (hover: none) { .i-mouse { display: none; } .i-touch { display: inline; } }

/* ---------- marquee ---------- */
.marquee { background: var(--paper); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--paper-line); }
.track { display: flex; width: max-content; padding: 24px 0; will-change: transform; }
.track li { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font: 400 40px/1 var(--f-serif); white-space: nowrap; }
.track li::after { content: ''; width: 22px; height: 22px; flex: none; background: var(--c, var(--accent)); clip-path: path('M11 1.5c5.6 1.8 9.4 5.8 9.5 9.6.1 4.6-4.2 9.3-9.6 9.4-5.1.1-9.4-4.3-9.4-9.3C1.5 6.4 5.4 3.1 11 1.5Z'); transition: transform .6s var(--ease); }
.track li:nth-child(3n+2)::after { --c: var(--ink); }
.track li:nth-child(3n)::after { --c: var(--sage-2); }
.track li:hover::after { transform: rotate(180deg) scale(1.2); }

/* ---------- section heads ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-title { flex: 1 1 520px; }
.kicker { margin-bottom: 24px; font: 400 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.cream .kicker { color: var(--ink-4); }
.h2 { font: 400 clamp(44px, 6vw, 92px)/.95 var(--f-serif); letter-spacing: -.025em; }
.sec-intro { flex: 0 1 380px; font-size: 17px; line-height: 1.6; color: var(--ink-3); }
.sec-intro.dim { color: var(--mute-2); }
.under { position: relative; display: inline-block; }
.under svg { position: absolute; left: 0; bottom: -14px; width: 100%; height: 18px; overflow: visible; }
.under path { fill: none; stroke: var(--accent); stroke-width: 6px; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* ---------- services ---------- */
.svc-list { border-top: 1px solid var(--ink); }
.svc { position: relative; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; padding: 40px 16px; border-bottom: 1px solid var(--paper-line); transition: padding .45s var(--ease); }
.svc:last-child { border-bottom-color: var(--ink); }
.svc::before { content: ''; position: absolute; inset: 0; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.svc > * { position: relative; z-index: 1; }
.svc:hover { padding-left: 28px; }
.svc:hover::before { transform: none; }
.svc .num { flex: 0 0 56px; font: 400 12px/1 var(--f-mono); color: var(--ink-4); }
.svc h3 { flex: 1 1 340px; font: 400 clamp(32px, 3.4vw, 50px)/1 var(--f-serif); letter-spacing: -.02em; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.svc p { flex: 1 1 380px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.svc .tags { flex: 0 0 auto; font: 400 11px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-4); }
.new { font: 400 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--ink); color: var(--accent); }

/* ---------- work ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 48px 28px; }
.card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 22px; width: 100%; }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 28px; }
.thumb { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; transform-style: preserve-3d; transition: transform .7s var(--ease), border-radius .9s var(--ease); --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.r1 { border-radius: 28px 28px 120px 28px; } .r2 { border-radius: 120px 28px 28px 28px; } .r3 { border-radius: 28px 120px 28px 28px; } .r4 { border-radius: 28px 28px 28px 120px; }
.card:hover .r1 { border-radius: 120px 28px 28px 28px; } .card:hover .r2 { border-radius: 28px 120px 28px 28px; }
.card:hover .r3 { border-radius: 28px 28px 120px 28px; } .card:hover .r4 { border-radius: 28px 28px 28px 28px; }
.t-accent { background: var(--accent); } .t-sage { background: var(--sage); } .t-ochre { background: var(--ochre); }
.t-deep { background: var(--forest-2); box-shadow: inset 0 0 0 1px var(--line); }
.contour { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform 1s var(--ease); }
.contour path { fill: none; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.thumb .contour path { stroke: var(--ink); opacity: .45; }
.t-deep .contour path { stroke: var(--accent); opacity: .55; }
.contour circle { fill: var(--ink); }
.t-deep .contour circle, .t-sage .contour circle { fill: var(--accent); }
.card:hover .contour { transform: scale(1.08) rotate(-3deg); }
.device { position: absolute; display: block; transition: transform .9s var(--ease); }
.browser { left: 13%; right: -16%; bottom: 13%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(10, 18, 14, .55), 0 0 0 1px rgba(19, 32, 26, .12); transform: rotate(-4deg) translateZ(40px); }
.browser .bar { display: flex; gap: 5px; padding: 8px 10px; background: #F4F1EA; }
.browser .bar i { width: 7px; height: 7px; border-radius: 50%; background: #D8D1C2; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.card:hover .browser { transform: rotate(-1deg) translate(-6%, -4%) translateZ(60px); }
.phone { left: 27%; width: 46%; top: 15%; aspect-ratio: 9 / 18.5; border-radius: 26px; background: var(--forest); box-shadow: 0 30px 60px -20px rgba(10, 18, 14, .6), inset 0 0 0 5px #24372D; transform: rotate(5deg) translateZ(40px); overflow: hidden; }
.phone::before { content: ''; position: absolute; top: 9px; left: 50%; width: 30%; height: 6px; border-radius: 6px; background: #24372D; transform: translateX(-50%); }
.card:hover .phone { transform: rotate(-2deg) translateY(-4%) translateZ(60px); }
.breath { position: absolute; inset: 0; display: grid; place-items: center; }
.breath i, .breath b { grid-area: 1 / 1; border-radius: 50%; }
.breath i { width: 70%; aspect-ratio: 1; border: 1px solid rgba(217, 138, 61, .7); animation: breathe 6s ease-in-out infinite; }
.breath i:nth-child(2) { width: 50%; animation-delay: -1s; border-color: rgba(233, 182, 55, .8); }
.breath i:nth-child(3) { width: 30%; animation-delay: -2s; border-color: rgba(241, 235, 221, .8); }
.breath b { width: 10%; aspect-ratio: 1; background: var(--accent); animation: breathe 6s ease-in-out infinite; }
.stack i { position: absolute; display: block; border: 1.5px solid var(--cream); background: rgba(19, 32, 26, .65); }
.stack { inset: 0; transform: translateZ(40px); }
.s-desk { left: 14%; right: 12%; top: 26%; aspect-ratio: 16 / 10; border-radius: 10px; }
.s-tab { left: 8%; width: 38%; bottom: 18%; aspect-ratio: 3 / 4; border-radius: 12px; }
.s-phone { right: 10%; width: 22%; bottom: 12%; aspect-ratio: 9 / 18; border-radius: 14px; border-color: var(--accent) !important; }
.stack i { transition: transform .9s var(--ease); }
.card:hover .s-desk { transform: translateY(-8%); } .card:hover .s-tab { transform: translate(-6%, 4%) rotate(-4deg); } .card:hover .s-phone { transform: translate(6%, -6%) rotate(5deg); }
.card-head { display: flex; justify-content: space-between; gap: 6px 16px; align-items: baseline; flex-wrap: wrap; }
.card-title { font: 400 30px/1.05 var(--f-serif); letter-spacing: -.015em; }
.card-meta { font: 400 11px/1.4 var(--f-mono); color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.card-line { margin-top: -10px; font-size: 15px; line-height: 1.55; color: var(--mute-2); }
.card-line::after { content: ' →'; color: var(--accent); display: inline-block; transition: transform .35s var(--ease); }
.card:hover .card-line::after { transform: translateX(5px); }

/* ---------- approach ---------- */
.approach { display: flex; flex-wrap: wrap; align-items: center; gap: 64px 96px; }
.rings-wrap { flex: 1 1 420px; max-width: 600px; margin: 0 auto; position: sticky; top: 120px; }
.rings { position: relative; width: 100%; aspect-ratio: 1; }
.ring { position: absolute; transition: transform 1s var(--ease), background .6s, box-shadow .6s; }
.r-surface { inset: 0; border: 1px solid var(--ink); border-radius: 48% 52% 50% 50% / 53% 47% 53% 47%; animation: blob 18s ease-in-out infinite alternate; }
.r-structure { inset: 17%; border-radius: 52% 48% 47% 53% / 48% 54% 46% 52%; background: var(--sage); animation: blob 14s ease-in-out infinite alternate-reverse; }
.r-centre { inset: 34%; border-radius: 50% 50% 46% 54% / 52% 46% 54% 48%; background: var(--accent); display: flex; align-items: center; justify-content: center; animation: blob 11s ease-in-out infinite alternate; }
.r-centre span { font: 400 clamp(26px, 3vw, 40px)/1 var(--f-serif); }
.ring-label { position: absolute; left: 50%; transform: translateX(-50%); font: 400 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; transition: background .4s, color .4s; }
.l-surface { top: 6%; background: var(--paper); } .l-structure { top: 23%; }
.rings[data-on="0"] .r-centre, .rings[data-on="1"] .r-structure { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(19, 32, 26, .08); }
.rings[data-on="2"] .r-surface { transform: scale(1.03); background: rgba(19, 32, 26, .05); }
.rings[data-on="2"] .l-surface, .rings[data-on="1"] .l-structure { background: var(--ink); color: var(--paper); }
.approach-copy { flex: 1 1 440px; }
.approach-copy .h2 { margin-bottom: 32px; line-height: .98; }
.approach-copy .sec-intro { margin-bottom: 48px; max-width: 520px; color: var(--ink-2); }
.blob-hl { background: var(--accent); padding: 0 .14em; border-radius: 40% 55% 45% 60% / 60% 45% 55% 40%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--paper-line); transition: opacity .5s; }
.step:last-child { border-bottom: 1px solid var(--paper-line); }
.step h3 { margin-bottom: 6px; font-size: 18px; font-weight: 600; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.sw { flex: none; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 1px solid var(--ink); transition: transform .5s var(--ease); }
.sw-centre { background: var(--accent); } .sw-structure { background: var(--sage); } .sw-surface { background: transparent; }
.steps[data-on] .step { opacity: .45; }
.steps[data-on="0"] .step[data-step="0"], .steps[data-on="1"] .step[data-step="1"], .steps[data-on="2"] .step[data-step="2"] { opacity: 1; }
.steps[data-on="0"] .step[data-step="0"] .sw, .steps[data-on="1"] .step[data-step="1"] .sw, .steps[data-on="2"] .step[data-step="2"] .sw { transform: scale(1.4); }

/* ---------- studio ---------- */
.studio-h { margin-bottom: clamp(48px, 6vw, 88px); max-width: 1120px; font-size: clamp(40px, 5.2vw, 78px); line-height: 1.04; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillar { padding: 32px 32px 32px 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 16px; }
.pillar svg { width: 26px; height: 26px; transition: transform 1s var(--ease); }
.pillar:hover svg { transform: rotate(200deg) scale(1.15); }
.pf-accent { fill: var(--accent); } .pf-sage { fill: var(--sage); } .pf-sand { fill: var(--sand); } .pf-line { fill: none; stroke: var(--accent); stroke-width: 1.4px; }
.pillar h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.pillar p { font-size: 15px; line-height: 1.6; color: var(--mute-2); }

/* ---------- faq ---------- */
.faq-sec { padding-top: 0; }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px 96px; border-top: 1px solid var(--line-2); padding-top: clamp(56px, 7vw, 96px); }
.qa details { border-bottom: 1px solid var(--line-2); }
.qa details:first-child { border-top: 1px solid var(--line-2); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 400 clamp(22px, 2.2vw, 30px)/1.15 var(--f-serif); letter-spacing: -.01em; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--accent); transition: background .3s, transform .4s var(--ease); }
.qa details[open] summary::after { background: var(--accent); transform: scale(1.3); }
.qa summary:hover { color: var(--accent); }
.qa p { padding: 0 0 26px; max-width: 640px; font-size: 16px; line-height: 1.65; color: var(--mute-2); }
.qa details[open] p { animation: fade .5s ease; }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; background: var(--accent); color: var(--ink); padding: clamp(96px, 12vw, 180px) var(--gut); }
.cta-contour { position: absolute; right: -8%; top: -20%; width: min(780px, 90%); height: auto; opacity: .2; pointer-events: none; inset: auto; }
.cta-contour path { stroke: var(--ink); }
.cta-contour circle { display: none; }
.grain-b { opacity: .22; mix-blend-mode: multiply; }
.cta-in { position: relative; }
.cta .kicker { color: var(--ink); margin-bottom: 32px; }
.cta-h { font: 400 clamp(64px, 11vw, 180px)/.9 var(--f-serif); letter-spacing: -.035em; }
.cta .loop { left: -8%; top: -8%; width: 116%; height: 120%; }
.cta .loop path { stroke: var(--ink); }
.cta-actions { margin-top: clamp(56px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.mail { position: relative; font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.01em; padding-bottom: 4px; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat; transition: background-size .5s var(--ease); }
.mail:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- footer ---------- */
.foot { padding: 56px var(--gut) calc(env(safe-area-inset-bottom, 0px) + 40px); }
.foot-in { display: flex; flex-direction: column; gap: 56px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 15px; color: var(--mute-2); }
.giant { font: 400 clamp(72px, 17.5vw, 270px)/.82 var(--f-serif); letter-spacing: -.045em; color: var(--forest-3); white-space: nowrap; display: flex; }
.giant span { display: inline-block; transition: transform 1.2s var(--ease), color .6s; }
.giant .g2 { color: #2A4034; }
.giant:not(.in) .g1 { transform: translateY(30%); } .giant:not(.in) .g2 { transform: translateY(45%); }
.giant:hover .g1 { color: #24392E; } .giant:hover .g2 { color: var(--accent); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font: 400 11px/1.6 var(--f-mono); color: var(--mute); letter-spacing: .04em; }
.foot-base span:last-child { max-width: 560px; }

/* ---------- case study dialog ---------- */
.case { padding: 0; border: 0; background: transparent; color: var(--cream); width: min(1240px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; overflow: visible; }
.case::backdrop { background: rgba(8, 14, 11, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.case[open] { animation: popin .6s var(--ease); }
.case[open]::backdrop { animation: fade .4s ease; }
.case-shell { background: var(--forest); border: 1px solid var(--line); border-radius: 28px; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; }
.case-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px 16px 28px; background: rgba(19, 32, 26, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.case-count { font-size: 11px; letter-spacing: .12em; color: var(--mute); }
.case-nav { display: flex; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 16px; display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.round:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.story.enter-next { animation: slideL .55s var(--ease); } .story.enter-prev { animation: slideR .55s var(--ease); }
.story-vis { position: relative; min-height: 460px; overflow: hidden; display: grid; place-items: center; padding: 48px; }
.v-accent { background: var(--accent); } .v-sage { background: var(--sage); } .v-ochre { background: var(--ochre); } .v-deep { background: var(--forest-2); }
.story-vis .device { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; transform: rotate(-2deg); }
.browser.big { width: 100%; max-width: 640px; }
.phone.big { width: min(240px, 46%); }
.stack.big { position: relative; width: 100%; max-width: 520px; aspect-ratio: 5 / 4; }
.story-copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.story-copy .kicker { margin: 0; }
.story-h { font: 400 clamp(36px, 4vw, 60px)/.98 var(--f-serif); letter-spacing: -.025em; }
.story-lede { font: 400 clamp(20px, 1.8vw, 24px)/1.25 var(--f-serif); color: var(--accent); }
.story-copy > p:not(.kicker):not(.story-lede) { font-size: 16px; line-height: 1.65; color: var(--mute-3); font-weight: 300; }
.facts { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 6px 0 8px; }
.facts li { padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.facts b { font: 400 20px/1.1 var(--f-serif); }
.facts span { font-size: 13px; line-height: 1.45; color: var(--mute); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(6); opacity: 0; } }
@keyframes pip { 0% { box-shadow: 0 0 0 0 rgba(233, 182, 55, .55); } 100% { box-shadow: 0 0 0 10px rgba(233, 182, 55, 0); } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blob { 0% { border-radius: 48% 52% 50% 50% / 53% 47% 53% 47%; } 33% { border-radius: 56% 44% 42% 58% / 45% 58% 42% 55%; } 66% { border-radius: 42% 58% 55% 45% / 58% 42% 56% 44%; } 100% { border-radius: 53% 47% 46% 54% / 49% 52% 48% 51%; } }
@keyframes breathe { 0%, 100% { transform: scale(.82); opacity: .55; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes popin { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes slideL { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-vis { min-height: 300px; padding: 32px; }
  .faq { grid-template-columns: 1fr; }
  .rings-wrap { position: relative; top: auto; }
}
@media (max-width: 820px) {
  .hero-art { opacity: .45; right: -45%; width: 150%; }
  .nav { flex-wrap: nowrap; }
  .nav-links .navlink { display: none; }
  .nav-links { gap: 0; flex-wrap: nowrap; }
  .nav .btn-cream { padding: 0 16px; font-size: 14px; }
  .hero-body { padding-top: 130px; }
  .track li { font-size: 30px; gap: 26px; padding-right: 26px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .case { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .case-shell { max-height: calc(100dvh - 16px); border-radius: 22px; }
  .brand span { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .line > span { transform: none; } .fade { opacity: 1; } .draw { stroke-dashoffset: 0; }
  .js .rv { opacity: 1; transform: none; }
  .giant span { transform: none !important; }
}
