:root {
  interpolate-size: allow-keywords;
  --white: #ffffff;
  --ink: #0a0a0a;
  --grey: #6b6b6b;
  --soft: #f4f4f2;
  --line: #e4e4e1;
  /* sampled from photo.jpg */
  --night: #0f1a1b;
  --night-2: #1d3032;
  --amber: #eed088;
  --amber-hot: #fbe8a2;
  --amber-ink: #9a6f1c;
  --neon: #358dd7;
  --sand: #b19c68;
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--white); }

.page { padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.todo { background: #e9e9e6; outline: 1px dashed #9a9a96; padding: 0 5px; font-family: var(--mono); font-size: 0.85em; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; border-bottom: 1px solid var(--line); }
.bar .name { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: -0.01em; }
.bar nav { display: flex; gap: 28px; }
.bar nav a { color: var(--grey); transition: color .2s; }
.bar nav a:hover, .bar nav a.on { color: var(--ink); }
.bar nav b { font-weight: 400; color: var(--ink); margin-right: 4px; }
.bar .right { justify-self: end; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.arrow-link span { transition: transform .25s; }
.arrow-link:hover span { transform: translateX(4px); }

/* Hero */
.hero { padding: clamp(70px, 12vh, 140px) 0 clamp(50px, 8vh, 90px); }
.hero .mono { color: var(--grey); }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 9.4vw, 172px); line-height: 0.92; letter-spacing: -0.045em; margin: 28px 0 0; }
.hero h1 em { font-style: italic; }
.hero-foot { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: end; margin-top: clamp(48px, 8vh, 96px); padding-top: 24px; border-top: 1px solid var(--ink); }
.hero-foot p { font-size: 18px; max-width: 28em; }
.hero-foot p.sub { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--grey); }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--white); padding: 16px 26px; font-size: 15px; transition: gap .25s; }
.btn:hover { gap: 18px; }

/* Chapters */
.chapter { padding: clamp(90px, 14vh, 160px) 0 0; }
.ch-head { display: grid; grid-template-columns: 1fr 2fr; gap: var(--pad); padding-bottom: 28px; border-bottom: 1px solid var(--ink); align-items: end; }
.ch-head .mono { color: var(--grey); }
.ch-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.4vw, 96px); line-height: 0.95; letter-spacing: -0.035em; }
.ch-head h2 em { font-style: italic; }

.rows .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--pad); padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .25s, padding .25s; }
.rows .row:hover { background: var(--soft); padding-left: 14px; padding-right: 14px; }
.rows .row .mono { color: var(--grey); }
.rows .row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 36px); letter-spacing: -0.02em; line-height: 1.1; }
.rows .row p { color: #3a3a3a; }

.list { display: grid; grid-template-columns: 1fr 2fr; gap: var(--pad); padding-top: 36px; }
.list p.lead { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--grey); }
.list ul { list-style: none; }
.list li { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 58px); letter-spacing: -0.03em; line-height: 1.15; border-bottom: 1px solid var(--line); padding: 10px 0; display: flex; justify-content: space-between; align-items: baseline; }
.list li .mono { color: var(--grey); }

/* Terms + big number */
.terms { display: grid; grid-template-columns: 1fr 2fr; gap: var(--pad); padding-top: 36px; }
.big { font-family: var(--serif); font-weight: 300; font-size: clamp(110px, 17vw, 300px); line-height: 0.8; letter-spacing: -0.06em; }
.big-cap { margin-top: 18px; max-width: 18em; color: var(--grey); }
.term-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.term-grid > div { padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); }
.term-grid > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.term-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.015em; margin-bottom: 8px; }
.term-grid p { color: #3a3a3a; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: var(--pad); padding-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 28px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 40em; color: #3a3a3a; }

/* Contact (inverted) */
.contact { background: var(--night); position: relative; overflow: hidden; color: var(--white); margin: clamp(90px, 14vh, 160px) calc(var(--pad) * -1) 0; padding: clamp(80px, 12vh, 140px) var(--pad) 48px; }
.contact .mono { color: #8f8f8f; }
.contact h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 11vw, 200px); line-height: 0.88; letter-spacing: -0.05em; margin: 24px 0 28px; }
.contact h2 em { font-style: italic; }
.contact .sub { font-family: var(--serif); font-style: italic; font-size: 22px; color: #b5b5b5; max-width: 26em; }
.details { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid #333; }
.details > div { padding: 22px 20px 0 0; }
.details > div + div { padding-left: 20px; border-left: 1px solid #333; }
.details .mono { display: block; margin-bottom: 10px; }
.details .v { font-size: 17px; word-break: break-word; }
.details .todo { background: #222; outline-color: #666; color: #ddd; }
.contact .foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 96px; padding-top: 22px; border-top: 1px solid #333; color: #8f8f8f; }
.contact .foot a:hover { color: var(--white); }
.contact .foot nav { display: flex; gap: 24px; }

/* Legal pages */
.legal { max-width: 760px; padding: clamp(70px, 12vh, 130px) 0 120px; }
.legal .mono { color: var(--grey); }
.legal h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 7vw, 110px); letter-spacing: -0.045em; line-height: 0.92; margin: 20px 0 48px; }
.legal h1 em { font-style: italic; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -0.015em; margin: 40px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: #2e2e2e; }
.legal ul { padding-left: 20px; }
.legal .arrow-link { margin-top: 56px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar nav { display: none; }
  .hero-foot, .night-grid, .ch-head, .list, .terms, .faq { grid-template-columns: 1fr; gap: 24px; }
  .rows .row { grid-template-columns: 60px 1fr; }
  .rows .row p { grid-column: 2; }
  .details { grid-template-columns: 1fr 1fr; }
  .details > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .details > div { padding-bottom: 22px; }
}
@media (max-width: 560px) {
  .facts, .term-grid, .details { grid-template-columns: 1fr; }
  .term-grid > div:nth-child(even), .details > div + div { padding-left: 0; border-left: 0; }
}

/* ---------- Photo-matched accents ---------- */

/* Film grain over the whole page, like the photo */
body::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 50; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* Amber "string light" highlight under italic words on white */
.hero h1 em, .ch-head h2 em, .legal h1 em {
  background: linear-gradient(transparent 68%, rgba(238, 208, 136, .75) 68%, rgba(238, 208, 136, .75) 90%, transparent 90%);
  padding: 0 .04em;
}
::selection { background: var(--amber); color: var(--ink); }

/* Neon blue for interaction */
.bar nav a:hover, .bar nav a.on { color: var(--neon); }
.bar nav a.on b { color: var(--neon); }
.arrow-link:hover { color: var(--neon); border-color: var(--neon); }
.btn:hover { background: var(--neon); }
.rows .row:hover .mono { color: var(--neon); }
.faq summary:hover { color: var(--neon); }
.big { color: var(--ink); }
.big::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 22px; background: var(--neon); box-shadow: 0 0 14px var(--neon); }
.list li:hover .mono { color: var(--amber-ink); }

/* Motion-blur entrance for the hero headline (like the photo) */
.hero h1.reveal { filter: blur(14px); transform: translateX(-36px); opacity: 0; transition: filter 1.3s ease, transform 1.3s cubic-bezier(.2,.7,.2,1), opacity 1s ease; }
.hero h1.reveal.in { filter: blur(0); transform: none; opacity: 1; }

/* Night band with the photo */
.night { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 70% 10%, var(--night-2), var(--night) 60%); color: #f3f1ea; margin: 0 calc(var(--pad) * -1); padding: clamp(70px, 11vh, 130px) var(--pad); }
.night-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(260px, 1fr) 1.6fr; gap: var(--pad); align-items: center; }
.night .photo { margin: 0; position: relative; }
.night .photo img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; filter: saturate(1.05) contrast(1.02); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.night .photo figcaption { margin-top: 14px; color: var(--sand); }
.night .mono { color: var(--sand); }
.night .statement { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.8vw, 66px); line-height: 1.08; letter-spacing: -0.025em; margin-top: 22px; }
.night .statement span { display: block; }
.night .statement span:nth-child(2) { color: #9fb0ae; }
.night .statement span:nth-child(3) { color: #f3f1ea; }
.night .statement em { font-style: italic; color: var(--amber); text-shadow: 0 0 22px rgba(238, 208, 136, .55); }
.night .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #d9dcd6; }
.night .facts .mono { display: block; margin-bottom: 8px; }

/* Long-exposure light trails */
.trails { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.trails .t { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: draw 4.5s cubic-bezier(.3,.6,.2,1) forwards; }
.trails .amber { stroke: var(--amber-hot); stroke-width: 3; filter: drop-shadow(0 0 6px var(--amber)) drop-shadow(0 0 16px rgba(238, 208, 136, .7)); opacity: .75; }
.trails .blue { stroke: #6cc0ff; stroke-width: 3.5; filter: drop-shadow(0 0 6px var(--neon)) drop-shadow(0 0 18px var(--neon)); opacity: .8; animation-delay: .6s; }
.trails .thin { stroke-width: 1.5; opacity: .45; animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Contact: amber glow + neon line */
.contact h2 em { color: var(--amber); text-shadow: 0 0 30px rgba(238, 208, 136, .5); }
.contact::before { content: ""; position: absolute; left: var(--pad); right: 40%; top: 0; height: 2px; background: linear-gradient(90deg, var(--neon), transparent); box-shadow: 0 0 16px var(--neon); }
.contact .mono { color: var(--sand); }
.contact .details { border-top-color: rgba(255,255,255,.14); }
.contact .details > div + div { border-left-color: rgba(255,255,255,.14); }
.contact a:hover { color: var(--amber); }

@media (max-width: 960px) {
  .night .photo { max-width: 380px; }
  .night .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .trails .t { animation: none; stroke-dashoffset: 0; }
  .hero h1.reveal { filter: none; transform: none; opacity: 1; }
}

/* ---------- Interactions ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--neon); box-shadow: 0 0 10px var(--neon); transform-origin: 0 50%; transform: scaleX(0); }

/* Headline words: staggered motion-blur entrance (replaces the whole-line one) */
.hero h1.reveal, .hero h1.reveal.in { filter: none; transform: none; opacity: 1; }
.hero h1 .w { display: inline-block; }
.js .hero h1 .w { opacity: 0; filter: blur(12px); transform: translateX(-28px); transition: opacity .9s ease, filter 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.hero h1.in .w { opacity: 1; filter: blur(0); transform: none; }

/* Trails only draw once the band is in view */
.trails { transition: transform .1s linear; will-change: transform; }
.night:not(.play) .trails .t { animation-play-state: paused; }

/* Amber light following the cursor */
.night::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(238, 208, 136, .13), transparent 70%); }
.night:hover::after { opacity: 1; }
.night .photo { transition: transform .5s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; will-change: transform; }

/* Buttons ease back after the magnetic pull */
.btn, .bar .arrow-link { transition: transform .35s cubic-bezier(.2,.7,.2,1), gap .25s, background .25s, color .2s, border-color .2s; }

/* Service rows: neon line sweeps in on hover */
.rows .row { position: relative; }
.rows .row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.rows .row:hover::after { transform: scaleX(1); }
.rows .row h3 { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.rows .row:hover h3 { transform: translateX(6px); }

/* Client list: slide + neon dot */
.list li { transition: padding .35s cubic-bezier(.2,.7,.2,1), color .25s; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); transform: translateY(-50%) scale(0); transition: transform .3s ease; }
.list li:hover { padding-left: 26px; }
.list li:hover::before { transform: translateY(-50%) scale(1); }

/* Term cards lift slightly */
.term-grid > div { transition: background .3s ease; }
.term-grid > div:hover { background: var(--soft); }

/* Smooth FAQ open/close where supported */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s cubic-bezier(.2,.7,.2,1), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .w { opacity: 1; filter: none; transform: none; }
  .progress { display: none; }
}

/* ---------- Process + campaign console ---------- */
.process { padding: clamp(80px, 12vh, 140px) 0 clamp(90px, 14vh, 160px); border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--pad); align-items: center; }
.process-copy .mono { color: var(--grey); }
.process-copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 86px); line-height: .95; letter-spacing: -.035em; margin: 18px 0 22px; }
.process-copy h2 em { font-style: italic; background: linear-gradient(transparent 68%, rgba(238,208,136,.75) 68%, rgba(238,208,136,.75) 90%, transparent 90%); }
.process-copy p { max-width: 30em; color: #3a3a3a; font-size: 17px; }
.process-copy ul { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.process-copy li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.process-copy li::before { content: "→ "; color: var(--neon); }

.console { background: var(--night); color: #e9ece6; border-radius: 14px; padding: 22px; box-shadow: 0 50px 100px -40px rgba(15, 26, 27, .55), 0 0 0 1px rgba(255,255,255,.04) inset; position: relative; overflow: hidden; }
.console::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(53,141,215,.22), transparent); pointer-events: none; }
.c-top { display: flex; align-items: center; gap: 10px; color: var(--sand); padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.c-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: pulse 1.6s ease-in-out infinite; }
.console.done .c-dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
@keyframes pulse { 50% { opacity: .35; } }
.c-status { margin-left: auto; color: #9fb0ae; }
.c-prompt { margin: 18px 0; padding: 16px 18px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.c-prompt .mono { color: var(--sand); display: block; margin-bottom: 8px; }
.c-prompt p { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.3; min-height: 2.6em; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--amber); margin-left: 2px; vertical-align: -0.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.c-steps { list-style: none; }
.c-steps li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,.06); color: #7f8c8a; transition: color .3s; overflow: hidden; }
.c-steps li i { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--neon); box-shadow: 0 0 8px var(--neon); transform: scaleX(0); transform-origin: left; }
.c-steps li.run { color: #fff; }
.c-steps li.run i { transition: transform 1.1s linear; transform: scaleX(1); }
.c-steps li.ok { color: #e9ece6; }
.c-steps li.ok i { transform: scaleX(1); background: rgba(238,208,136,.35); box-shadow: none; }
.c-steps .st { color: #66716f; font-size: 10px; }
.c-steps li.run .st { color: var(--neon); }
.c-steps li.ok .st { color: var(--amber); }
.ck { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #3b4847; position: relative; transition: background .3s, border-color .3s; }
.c-steps li.run .ck { border-color: var(--neon); border-top-color: transparent; animation: spin .8s linear infinite; }
.c-steps li.ok .ck { background: var(--amber); border-color: var(--amber); }
.c-steps li.ok .ck::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--night); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.c-report { margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); opacity: .25; transition: opacity .5s; }
.c-report.on { opacity: 1; }
.c-rh { display: flex; justify-content: space-between; color: var(--sand); margin-bottom: 12px; }
.fun { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; padding: 4px 0; }
.fun .mono { color: #9fb0ae; font-size: 10px; }
.fun b { display: block; height: 8px; border-radius: 4px; width: 0; background: linear-gradient(90deg, var(--neon), #6cc0ff); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.fun:nth-child(n+4) b { background: linear-gradient(90deg, #d6ae58, var(--amber)); }
.c-report.on .fun b { width: var(--w); }
.c-report.on .fun:nth-child(3) b { transition-delay: .1s; } .c-report.on .fun:nth-child(4) b { transition-delay: .2s; }
.c-report.on .fun:nth-child(5) b { transition-delay: .3s; } .c-report.on .fun:nth-child(6) b { transition-delay: .4s; }

/* ---------- Untangle (scroll-driven) ---------- */
.untangle { height: 260vh; margin: clamp(90px, 14vh, 160px) calc(var(--pad) * -1) 0; background: var(--night); position: relative; }
.u-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tangle { position: absolute; inset: 0; width: 100%; height: 100%; }
.tangle .ln { fill: none; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tangle .amber { stroke: var(--amber-hot); filter: drop-shadow(0 0 5px var(--amber)); opacity: .8; }
.tangle .blue { stroke: #6cc0ff; filter: drop-shadow(0 0 6px var(--neon)); opacity: .85; }
.tangle .white { stroke: #f3f1ea; opacity: .35; }
.u-copy { position: relative; z-index: 2; text-align: center; color: #f3f1ea; display: grid; place-items: center; }
.u-copy p { grid-area: 1 / 1; font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 7.5vw, 132px); line-height: .95; letter-spacing: -.045em; text-shadow: 0 0 40px rgba(15,26,27,.9), 0 0 80px rgba(15,26,27,.9); }
.u-copy em { font-style: italic; color: var(--amber); }
.u-b { opacity: 0; }
.u-tags { grid-area: 2 / 1; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 34px; opacity: 0; }
.u-tags span { color: var(--sand); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 14px; background: rgba(15,26,27,.7); }
.u-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--sand); transition: opacity .4s; }
.untangle.clean .u-hint { opacity: 0; }

@media (max-width: 960px) {
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .untangle { height: 220vh; }
}
@media (max-width: 560px) {
  .console { padding: 16px; }
  .c-steps li { grid-template-columns: 20px 1fr; }
  .c-steps .st { display: none; }
  .fun { grid-template-columns: 76px 1fr; }
}

/* ================= v6: professional pass ================= */

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

/* Full-width top bar with proper side spacing */
.bar { margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); height: 68px; }
.bar nav { gap: 34px; }
.bar nav a { position: relative; color: var(--grey); }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.bar nav a.on::after, .bar nav a:hover::after { transform: scaleX(1); }

/* Hero: tighter, more deliberate */
.hero { padding: clamp(64px, 11vh, 130px) 0 clamp(56px, 8vh, 96px); }
.hero-foot { grid-template-columns: 1.2fr 1fr auto; }
.hero-foot p { font-size: 18px; line-height: 1.55; }
.process { padding-top: clamp(64px, 10vh, 120px); }

/* Section headers: title left, intro right, no empty column */
.ch-head { grid-template-columns: 1.5fr 1fr; align-items: end; gap: var(--pad); padding-bottom: 34px; }
.ch-head .mono { display: block; margin-bottom: 18px; }
.ch-head > p { color: var(--grey); font-size: 17px; max-width: 30em; justify-self: end; }

/* Services: 4 cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.svc { position: relative; padding: 30px 26px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: background .35s ease; }
.svc::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--neon); box-shadow: 0 0 10px var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.svc:hover { background: var(--soft); }
.svc:hover::before { transform: scaleX(1); }
.svc > .mono { color: var(--grey); }
.svc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); letter-spacing: -.02em; line-height: 1.05; margin-top: 28px; }
.svc p { color: #3a3a3a; flex: 1; }
.svc ul { list-style: none; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 6px; color: var(--ink); }
.svc ul li::before { content: "— "; color: var(--amber-ink); }

/* Engagements */
.eng-row { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: var(--pad); align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .4s cubic-bezier(.2,.7,.2,1), background .3s; }
.eng-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.eng-row:hover { padding-left: 18px; padding-right: 18px; background: var(--soft); }
.eng-row:hover::after { transform: scaleX(1); }
.eng-row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 44px); letter-spacing: -.025em; line-height: 1.05; }
.eng-row p { color: #3a3a3a; }
.eng-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; color: var(--ink); text-transform: none; letter-spacing: .02em; font-size: 12px; }
.eng-meta span { color: var(--grey); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.sectors { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding-top: 30px; }
.sectors .mono { color: var(--grey); }
.sectors div { display: flex; flex-wrap: wrap; gap: 8px; }
.sectors div span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; transition: border-color .25s, color .25s; }
.sectors div span:hover { border-color: var(--ink); }

/* FAQ: single column under the header */
.faq { display: block; max-width: 980px; margin-left: auto; }

/* Night band: photo 20% smaller */
.night-grid { grid-template-columns: minmax(220px, .8fr) 1.8fr; }
.night .photo { width: 80%; justify-self: center; }
.night .bio { color: #b9c3c1; font-size: 17px; max-width: 34em; margin-top: 26px; }
.night .facts { margin-top: 40px; }

/* Contact: three columns with real spacing */
.details { grid-template-columns: repeat(3, 1fr); }
.details > div { padding: 24px 28px 4px 0; }
.details > div + div { padding-left: 28px; }
.details a { border-bottom: 1px solid rgba(255,255,255,.3); }

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .ch-head { grid-template-columns: 1fr; gap: 14px; }
  .ch-head > p { justify-self: start; }
  .eng-row { grid-template-columns: 1fr; gap: 12px; }
  .night .photo { width: 70%; max-width: 320px; justify-self: start; }
  .details { grid-template-columns: 1fr; }
  .details > div + div { padding-left: 0; border-left: 0; }
  .hero-foot { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .bar { height: 60px; }
}

.night .photo img { height: auto; }
/* Never let a grid column push the page wider than the screen */
html, body { overflow-x: clip; }
.hero-foot > *, .process-grid > *, .night-grid > *, .ch-head > *, .svc-grid > *, .eng-row > *, .terms > *, .term-grid > *, .details > *, .c-steps li > * { min-width: 0; }
.c-prompt p, .details .v { overflow-wrap: anywhere; }

/* Mobile: stack the About band (must come after the desktop grid rule) */
@media (max-width: 960px) {
  .night-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Legal pages */
.legal .intro { font-size: 18px; color: var(--ink); }
.legal h3 { font-family: var(--sans); font-weight: 500; font-size: 15px; margin: 18px 0 4px; }
.legal li { margin: 6px 0; }
.legal a:not(.arrow-link) { border-bottom: 1px solid var(--line); }
.legal a:not(.arrow-link):hover { color: var(--neon); border-color: var(--neon); }

/* Big number: size to its own column, never wider than it */
.terms > div:first-child { container-type: inline-size; min-width: 0; }
.big { font-size: clamp(80px, 11vw, 200px); white-space: nowrap; }
@supports (font-size: 1cqi) { .big { font-size: min(40cqi, 220px); } }
