/* Hypernova, premium presentation: Obsidian & Champagne.
   Same motion as the live site (loader, riding H and its supernova, sheets, neon, cursor) on a quieter surface:
   obsidian and graphite for the dark chapters, ivory and stone for the light ones, champagne as the working accent
   (the H's metal, buttons, rules, the reading scale, the second tone of headings on dark), oxblood as a trace.
   One family, General Sans. Hairlines and 6px corners. */
:root {
  /* Palette tokens. Defaults are Porcelain & Signal Red; palettes.js overrides them per palette (and the switcher). */
  --dark: #121316;  --dark-rgb: 18,19,22;
  --dark-2: #1b1d21; --dark-2-rgb: 27,29,33;
  --dark-3: #26292e;
  --light: #f5f5f2; --light-rgb: 245,245,242;
  --light-2: #e8e8e3;
  --accent: #c8102e; --accent-rgb: 200,16,46;        /* fills, rules, marks */
  --accent-hi: #ea4458; --accent-hi-rgb: 234,68,88; /* accent for text on dark */
  --accent-text: #b00e28;                            /* accent for text on light */
  --on-accent: #f5f5f2;                              /* text on an accent fill */
  --trace: #9aa0a6; --trace-rgb: 154,160,166;
  --grey: #6b6e73; --grey-rgb: 107,110,115;
  --muted: #5a5d62;
  --hero-bg: var(--light); --hero-fg: var(--dark); --hero-muted: rgba(var(--dark-rgb),.62); --hero-accent: var(--accent-text); --hero-vignette: rgba(var(--dark-rgb),.07);
  --hero-glow: rgba(var(--dark-rgb),.07); --hero-glow-2: rgba(var(--accent-rgb),.05);

  /* Roles (names kept from the live stylesheet so the shared rules still resolve) */
  --black: var(--dark);
  --char: var(--dark-2);
  --char-2: var(--dark-3);
  --white: var(--light);
  --bg: var(--light);
  --bg-2: var(--light-2);
  --red: var(--accent);
  --red-deep: var(--accent);
  --ice: rgba(var(--accent-rgb),.18);
  --ice-soft: var(--light-2);
  --ice-hero: var(--dark);
  --ice-line: rgba(var(--accent-rgb),.5);
  --soft: var(--accent-text);  /* the second tone of headings on light */
  --muted-dark: rgba(var(--light-rgb),.66);
  --soft-dark: var(--accent-hi);
  --line: rgba(var(--dark-rgb),.12);
  --line-2: rgba(var(--dark-rgb),.2);
  --line-dark: rgba(var(--light-rgb),.12);
  --display: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --lane: clamp(52px, 7vw, 120px);      /* right margin kept clear for the reading scale and the small H */
  --gut: clamp(20px, 4.5vw, 64px);
  --r: 6px;
  --edge: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));   /* left edge of .wrap content, for full-bleed blocks */
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-gutter: stable; overflow-anchor: none; }
html.is-loading { overflow: hidden; }
body { margin: 0; overflow-anchor: none; background: var(--bg); color: var(--black); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-variant-numeric: tabular-nums; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.032em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(38px, 5vw, 76px); }
h3 { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
p { text-wrap: pretty; }
/* Two-tone headings: the second phrase steps back into a warm grey. */
h1 em, h2 em, .hl { color: var(--soft); }
.dark h2 em, .dark .hl { color: var(--soft-dark); }
::selection { background: var(--cool, var(--accent)); color: var(--dark); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--accent-hi); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
section { padding: clamp(88px, 9vw, 128px) 0; }
.sec-head { display: grid; gap: 22px; max-width: 920px; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; gap: 24px clamp(32px, 6vw, 96px); }
.sec-split > .lead { margin-top: 48px; }
.sec-split > div { display: grid; gap: 22px; }
/* Eyebrow: a short red rule and small spaced capitals. */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); }
.dark .eyebrow { color: var(--muted-dark); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 46ch; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons: on hover they grow and a fill wipes up from below (as on the live site), in ink and deep red. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 500 15px/1.2 var(--sans); letter-spacing: .005em; text-decoration: none; border: 1px solid transparent; background: transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s, transform .45s var(--ease), box-shadow .45s var(--ease); white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover { transform: scale(1.05); box-shadow: 0 16px 34px -18px rgba(var(--dark-rgb),.45); }
.btn:hover::before { transform: none; }
.btn-lg { padding: 17px 30px; font-size: 15.5px; }
.btn-red { background: var(--accent); color: var(--on-accent); }
.btn-red::before { background: var(--light); }
.btn-red:hover { color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--light); }
.btn-dark::before { background: var(--accent); }
.btn-dark:hover { color: var(--on-accent); }
.btn-ghost { border-color: var(--line-2); color: var(--black); }
.btn-ghost::before { background: var(--dark); }
.btn-ghost:hover { color: var(--light); border-color: var(--dark); }
.dark .btn-ghost { border-color: rgba(var(--light-rgb),.28); color: var(--light); }
.dark .btn-ghost::before { background: var(--light); }
.dark .btn-ghost:hover { color: var(--dark); border-color: var(--light); }

/* Top bar: opens out from a small pill once the loader clears (main.js sets html.bar-on).
   Warm frosted paper, a hairline, a 1px red-to-ice line along its foot. */
.bar { position: fixed; inset: 14px 0 auto; z-index: 60; padding: 0 var(--gut); pointer-events: none; }
.bar-in { position: relative; transition: clip-path 1s var(--ease), opacity .45s var(--ease), transform 1s var(--ease), filter .8s var(--ease); }
.bar-in > * { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.bar-in > :nth-child(1) { transition-delay: .32s; } .bar-in > :nth-child(2) { transition-delay: .42s; } .bar-in > :nth-child(3) { transition-delay: .52s; }
.bar-links a { transition: color .25s, background .25s, opacity .5s var(--ease), transform .7s var(--ease); }
.bar-links a:nth-child(1) { transition-delay: 0s, 0s, .4s, .4s; } .bar-links a:nth-child(2) { transition-delay: 0s, 0s, .46s, .46s; }
.bar-links a:nth-child(3) { transition-delay: 0s, 0s, .52s, .52s; } .bar-links a:nth-child(4) { transition-delay: 0s, 0s, .58s, .58s; }
.bar-in::after { content: ""; position: absolute; left: 40px; right: 40px; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-hi) 70%, transparent); transform: scaleX(0); transition: transform 1.2s .25s var(--ease), opacity .6s; pointer-events: none; }
html.bar-on .bar-in::after { transform: scaleX(1); }
html:not(.bar-on) .bar:not(:focus-within) .bar-in { clip-path: inset(0 calc(50% - 28px) 0 calc(50% - 28px) round 999px); opacity: 0; transform: translateY(-28px) scale(.94); filter: blur(6px); pointer-events: none; transition-duration: .6s, .35s, .6s, .4s; }
html:not(.bar-on) .bar:not(:focus-within) .bar-in > *, html:not(.bar-on) .bar:not(:focus-within) .bar-links a { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.bar-in { pointer-events: auto; max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 7px 7px 22px; border-radius: 999px; background: rgba(var(--dark-rgb),.92); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); border: 1px solid rgba(var(--light-rgb),.16); box-shadow: 0 16px 40px -24px rgba(0,0,0,.6); color: var(--light); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent); }
.brand-h { width: 19px; height: 24px; }
.brand-name { display: grid; font: 500 14px/1 var(--display); letter-spacing: .24em; color: var(--light); text-transform: uppercase; }
.brand-name small { font: 500 10.5px/1.3 var(--sans); letter-spacing: .4em; color: var(--accent-hi); margin-top: 4px; }
.bar-links { display: flex; gap: 2px; }
.bar-links a { padding: 10px 16px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--muted-dark); border-radius: 999px; }
.bar-links a:hover { color: var(--light); background: rgba(var(--light-rgb),.07); }
.bar-cta { display: flex; gap: 8px; align-items: center; }
.bar-cta .btn { padding: 11px 20px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; place-content: center; gap: 5px; }
.menu-btn { border-color: rgba(var(--light-rgb),.28) !important; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--light); }
@media (max-width: 900px) {
  .bar-links, .bar-cta .btn { display: none; }
  .menu-btn { display: grid; }
}

/* Full-screen menu: opens as a circle from the menu button (as before), in ink. */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 26px var(--gut) 32px; border: 0; background: var(--dark); color: var(--white); display: none; flex-direction: column; justify-content: space-between; }
.menu[open] { display: flex; animation: menuIn .6s var(--ease); }
.menu::backdrop { background: transparent; }
.menu .brand-name, .menu .brand-name small { color: var(--white); }
.menu .btn-ghost { border-color: rgba(var(--light-rgb),.3); color: var(--white); }
.menu .btn-ghost::before { background: var(--white); }
.menu .btn-ghost:hover { color: var(--black); }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-links a { display: flex; align-items: baseline; gap: 22px; font: 500 clamp(52px, 12vw, 136px)/1 var(--display); letter-spacing: -.035em; text-decoration: none; transition: transform .4s var(--ease), color .3s; }
.menu-links a:hover { transform: translateX(14px); color: var(--accent-hi); }
.menu-links small { font: 500 12px var(--sans); letter-spacing: .2em; color: var(--soft-dark); min-width: 2.5em; }
.menu[open] .menu-links li { animation: rise .7s var(--ease) both; }
.menu[open] .menu-links li:nth-child(2) { animation-delay: .06s; }
.menu[open] .menu-links li:nth-child(3) { animation-delay: .12s; }
.menu[open] .menu-links li:nth-child(4) { animation-delay: .18s; }
.menu[open] .menu-links li:nth-child(5) { animation-delay: .24s; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--muted-dark); }
@keyframes menuIn { from { clip-path: circle(0 at calc(100% - 40px) 40px); } to { clip-path: circle(150% at calc(100% - 40px) 40px); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* Bracket cursor (as on the live site), finer: 1.5px ticks. */
@media (hover: hover) and (pointer: fine) { html.cur-on, html.cur-on * { cursor: none !important; } }
.cur { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: var(--w, 20px); height: var(--h, 20px); transform: translate3d(var(--x, -100px), var(--y, -100px), 0); opacity: 0; --c: var(--black); transition: width .32s var(--ease), height .32s var(--ease), opacity .2s; }
.cur.show { opacity: 1; }
.cur.dark { --c: var(--white); }
.cur.hot { --c: var(--red); }
.cur.hot.dark { --c: var(--ice); }
.cur i { position: absolute; width: 8px; height: 8px; border: 0 solid var(--c); transition: border-color .2s, transform .2s, opacity .2s; }
.cur i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.cur i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.cur i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }
.cur i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.cur.down { --c: var(--red); }
.cur.down i:nth-child(1) { transform: translate(2px, 2px); } .cur.down i:nth-child(2) { transform: translate(-2px, 2px); }
.cur.down i:nth-child(3) { transform: translate(2px, -2px); } .cur.down i:nth-child(4) { transform: translate(-2px, -2px); }
.cur::before { content: ""; position: absolute; inset: 0; border-radius: 2px; background: var(--red); opacity: 0; transform: scaleY(.4); transition: opacity .18s, transform .25s var(--ease); }
.cur.dark::before { background: var(--ice); }
.cur.text::before { opacity: 1; transform: none; }
.cur.text i { opacity: 0; }
.cur b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 999px; background: var(--black); color: var(--white); font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--ease); }
.cur.dark b { background: var(--white); color: var(--black); }
.cur.label i { opacity: 0; }
.cur.label b { opacity: 1; transform: none; }
.tap { position: fixed; z-index: 300; pointer-events: none; animation: tap .5s var(--ease) forwards; }
.tap i { position: absolute; width: 9px; height: 9px; border: 0 solid var(--red); }
.tap i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; } .tap i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.tap i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; } .tap i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
@keyframes tap { 0% { opacity: 0; inset: var(--o); } 25% { opacity: 1; } 70% { opacity: 1; inset: var(--i); } 100% { opacity: 0; inset: var(--i); } }

/* Hero: obsidian. A still pool of warm light behind the H, fine grain and a hairline horizon. No animated
   background: the H is the only thing that moves. The studio stamp sits top left, the statement bottom left. */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: clamp(92px, 13vh, 112px) var(--gut) clamp(56px, 9vh, 96px); overflow: hidden; background: var(--hero-bg); color: var(--hero-fg); isolation: isolate; transition: background-color .6s, color .6s; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg i { position: absolute; inset: 0; }
.hero-light { background:
  radial-gradient(38% 46% at 72% 44%, var(--hero-glow), transparent 70%),
  radial-gradient(22% 28% at 72% 40%, var(--hero-glow-2), transparent 70%),
  radial-gradient(60% 60% at 0% 100%, rgba(var(--trace-rgb),.07), transparent 70%),
  radial-gradient(120% 90% at 50% 50%, transparent 55%, var(--hero-vignette)); }
.hero-grain { opacity: .07; mix-blend-mode: overlay; 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='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-horizon { top: auto; bottom: clamp(24px, 4vh, 40px); height: 1px; left: var(--gut); right: calc(var(--lane) + 16px); background: linear-gradient(90deg, rgba(var(--accent-rgb),.45), rgba(var(--accent-rgb),.08) 70%, transparent); transform-origin: left; transform: scaleX(0); transition: transform 1.8s .3s var(--ease); }
.hero.is-in .hero-horizon, html:not(.js) .hero-horizon { transform: none; }
.hero-mark { position: absolute; right: calc(var(--lane) + clamp(16px, 4.5vw, 100px)); top: 50%; transform: translateY(-50%); height: 54vh; height: 54svh; max-height: 560px; aspect-ratio: 820 / 1040; color: var(--accent); pointer-events: none; }
.gl-live .hero-mark { visibility: hidden; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-right: calc(var(--lane) + 16px); position: relative; }
.hero-word { font: 500 13px/1 var(--display); letter-spacing: .34em; text-transform: uppercase; color: var(--hero-fg); }
.hero-word em { color: var(--hero-accent); }
.hero .eyebrow { color: var(--hero-muted); }
.hero-copy { position: relative; align-self: end; display: grid; gap: clamp(28px, 4vh, 44px); max-width: min(980px, 64%); }
.hero-tag { font: 400 clamp(38px, 4.9vw, 82px)/1.04 var(--display); letter-spacing: -.035em; }
.hero-tag em { color: var(--hero-accent); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; }
.hero-lede { font-size: 16.5px; color: var(--hero-muted); max-width: 44ch; }
main { position: relative; }
.foot { position: relative; z-index: 1; }

/* Layers, bottom to top: section backgrounds, content, the reading scale (44), the 3D logo (45), the marquee band
   (50), the bar (60). */
/* The reading scale (route.js): a fixed 1px line in the right margin with a tick per section; the travelled part
   fills champagne. The small H glides along it. It fades in after the hero and out before the finale. */
.scale { position: fixed; inset: 0; z-index: 44; pointer-events: none; opacity: 0; transition: opacity .3s linear; }
.scale-track, .scale-fill { position: absolute; left: var(--x, -10px); top: var(--top, 0); width: 1px; height: var(--len, 0); }
.scale-track { background: var(--cool, rgba(var(--grey-rgb),.38)); }
.scale-fill { background: var(--accent); transform-origin: top; transform: scaleY(0); }
.scale-tick { position: absolute; left: calc(var(--x, -10px) - 6px); width: 13px; height: 1px; background: rgba(var(--grey-rgb),.6); transition: background .4s, transform .5s var(--ease); }
.scale-tick.on { background: var(--accent); transform: scaleX(1.5); }
.contact-mark { position: absolute; right: calc(var(--lane) + clamp(16px, 8vw, 140px)); top: 38%; width: 2px; height: 2px; }
.route-marker { position: fixed; left: 0; top: 0; z-index: 45; width: auto; aspect-ratio: 820 / 1040; color: var(--accent); pointer-events: none; will-change: transform; }
.gl-live .route-marker, html:not(.js) .route-marker { display: none; }
.logo-gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; }
main > section > .wrap, .marquee-track { position: relative; }
.marquee { position: relative; z-index: 50; }

/* Channel: content keeps clear of the route's strip on the right. */
[data-lane="l"] { --lane-l: var(--lane); }
[data-lane="r"] { --lane-r: var(--lane); }
main > section > .wrap {
  padding-left: max(var(--gut), calc(var(--lane-l, 0px) + 16px - max(0px, (100vw - var(--wrap)) / 2)));
  padding-right: max(var(--gut), calc(var(--lane-r, 0px) + 24px - max(0px, (100vw - var(--wrap)) / 2))); }
.hero, .process .sheet { padding-left: var(--edge); padding-right: max(var(--gut), calc(var(--lane-r, 0px) + 16px)); }
@media (max-width: 900px) {
  .hero-tag .line, .hero-tag .line > span { display: inline; }
  .hero { grid-template-rows: auto auto; align-content: start; }
  .hero-mark { right: 50%; top: 176px; transform: translateX(50%); height: 25vh; height: 25svh; }
  .hero-copy { align-self: start; margin-top: calc(25svh + 108px); }
  .hero { padding-top: 92px; }
  .hero-copy { max-width: none; }
  .hero-top { padding-right: 0; flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-tag { font-size: clamp(34px, 9vw, 52px); }
  .hero-light { background: radial-gradient(70% 40% at 50% 38%, var(--hero-glow), transparent 70%), radial-gradient(120% 90% at 50% 50%, transparent 55%, var(--hero-vignette)); }
}

/* Masked line reveal */
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.line:nth-child(2) > span { transition-delay: .08s; }
.line:nth-child(3) > span { transition-delay: .16s; }
.is-in .line > span, html:not(.js) .line > span { transform: none; }

/* Marquee: a warm ink band. The route and the travelling logo pass under it. */
.marquee { overflow: hidden; background: var(--dark-2); color: var(--light); padding: 24px 0; border-block: 1px solid rgba(var(--accent-rgb),.22); }
.marquee-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 46s linear infinite; }
.marquee span { font: 300 clamp(24px, 3vw, 44px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.marquee svg { width: 16px; height: 20px; flex: none; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services: a hairline ledger. Rows fill with warm paper on hover and open in place. */
.services { background: var(--bg); }
.svc-list { border-top: 1px solid var(--line-2); background: rgba(var(--light-rgb),.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.svc { border-bottom: 1px solid var(--line); }
.svc summary { position: relative; list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, .9fr) 44px; gap: 28px; align-items: center; padding: clamp(28px, 3.4vw, 44px) 20px; isolation: isolate; transition: color .35s; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-2); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.svc summary:hover::before, .svc[open] summary::before { transform: scaleY(1); }
.svc-n { font: 500 12.5px var(--sans); letter-spacing: .16em; color: var(--soft); }
.svc-t { font: 500 clamp(26px, 2.9vw, 44px)/1.05 var(--display); letter-spacing: -.028em; transition: transform .55s var(--ease); }
@media (min-width: 861px) { .svc-t { min-height: 2.1em; display: flex; align-items: center; } }
@media (hover: hover) { .svc summary:hover .svc-t { transform: translateX(12px); } }
.svc-p { font-size: 15.5px; color: var(--muted); max-width: 46ch; transition: color .35s; }
.svc-x { position: relative; width: 44px; height: 44px; border: 1px solid rgba(var(--dark-rgb),.38); border-radius: 50%; transition: transform .5s var(--ease), background .3s, border-color .3s; }
.svc-x::before, .svc-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.svc-x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.svc summary:hover .svc-x { border-color: var(--black); }
.svc[open] .svc-x { background: var(--black); border-color: var(--black); color: var(--white); transform: rotate(180deg); }
.svc[open] .svc-x::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: end; padding: 4px 20px 44px 112px; background: var(--bg-2); }
.svc-body .ticks { gap: 0; max-width: 62ch; }
.svc-body .ticks li { padding-top: 11px; padding-bottom: 11px; border-top: 1px solid var(--line); }
.svc-body .ticks li::before { top: 1.45em; }
.svc[open] .svc-body { animation: rise .6s var(--ease); }
.svc-act { display: grid; justify-items: start; gap: 14px; }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .82em; width: 12px; height: 1px; background: var(--red); }
.svc-more { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; transition: color .25s, text-decoration-color .25s; }
.svc-more:hover { color: var(--black); text-decoration-color: var(--red); }
@media (max-width: 860px) {
  .svc summary { grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: "n x" "t x" "p p"; gap: 6px 16px; padding: 26px 0; }
  .svc-n { grid-area: n; font-size: 12px; }
  .svc-t { grid-area: t; font-size: clamp(26px, 7.2vw, 40px); line-height: 1.06; }
  .svc-p { grid-area: p; margin-top: 8px; max-width: none; }
  .svc-x { grid-area: x; align-self: center; width: 40px; height: 40px; }
  .svc-body { grid-template-columns: 1fr; justify-items: start; gap: 22px; padding: 4px 0 32px; }
}

/* Kinds of website: three rows on the left, the chosen one's details on the right (main.js). */
.tiers { background: var(--bg-2); padding-bottom: clamp(80px, 10vw, 140px); }
.tier-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.tier-list { display: grid; gap: 10px; grid-auto-rows: 1fr; align-content: stretch; }
.tier { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "budget arrow" "name arrow" "short arrow"; gap: 8px 16px; align-items: center; width: 100%; padding: 26px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); color: var(--black); font: inherit; text-align: left; cursor: pointer; transform-origin: left center; transition: transform .5s var(--ease), opacity .4s, border-color .3s, background .35s, color .35s, box-shadow .5s var(--ease); }
.tier .budget { grid-area: budget; }
.tier-name { grid-area: name; font: 500 clamp(22px, 2vw, 28px)/1.1 var(--display); letter-spacing: -.022em; }
.tier-short { grid-area: short; font-size: 15px; color: var(--muted); }
.tier-arrow { grid-area: arrow; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; position: relative; opacity: .3; transition: opacity .3s, transform .4s var(--ease), background .3s, border-color .3s; }
.tier-arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translate(-65%, -50%) rotate(45deg); }
.tier.is-active { background: var(--char); color: var(--white); border-color: var(--char); box-shadow: 0 34px 60px -36px rgba(var(--dark-rgb),.55); z-index: 1; }
.tier.is-active .tier-short { color: var(--muted-dark); }
.tier.is-active .tier-arrow { opacity: 1; background: var(--red-deep); border-color: var(--red-deep); transform: translateX(4px); }
.tier.is-active .meter i.off { background: rgba(var(--light-rgb),.22); }
.tier:hover:not(.is-active) { border-color: var(--line-2); }
.tier-panel { display: grid; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 48px); }
.tier-detail { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 22px; }
.tier-detail[hidden] { display: flex; visibility: hidden; }
.tier-detail.is-active { animation: detailIn .55s var(--ease); }
@keyframes detailIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.tier-detail h3 { font: 500 clamp(28px, 2.6vw, 40px)/1.05 var(--display); letter-spacing: -.028em; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.tier-detail .ticks { gap: 0; font-size: 15.5px; }
.tier-detail .ticks li { padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tier-detail .ticks li::before { top: 1.5em; }
.tier-act { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; margin-top: auto; }
.budget { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.meter { display: inline-flex; gap: 4px; }
.meter i { width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.meter i.off { background: var(--line-2); }
.tier-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(32px, 4vw, 56px); padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r); background: var(--char); color: var(--white); }
.tier-cta p { max-width: 58ch; font-size: 17px; color: var(--muted-dark); }
.tier-cta b { display: block; font: 500 clamp(24px, 2.4vw, 34px)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 8px; color: var(--white); }
@media (max-width: 960px) {
  .tier-split { display: flex; flex-direction: column; gap: 10px; }
  .tier-list, .tier-panel { display: contents; }
  .tier:nth-child(1) { order: 1; } .tier-detail:nth-child(1) { order: 2; }
  .tier:nth-child(2) { order: 3; } .tier-detail:nth-child(2) { order: 4; }
  .tier:nth-child(3) { order: 5; } .tier-detail:nth-child(3) { order: 6; }
  .tier { padding: 22px; }
  .tier.is-active { transform: none; }
  .tier-detail { gap: 14px; margin-top: -10px; padding: 24px 22px 26px; border-radius: 0 0 var(--r) var(--r); background: var(--bg); border: 1px solid var(--line); border-top: 0; }
  .tier.is-active { border-radius: var(--r) var(--r) 0 0; }
  .tier-detail[hidden] { display: none; }
  .tier-detail.is-active { animation-name: detailInStacked; }
  @keyframes detailInStacked { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .tier-detail > h3 { display: none; }
  .tier-act .btn { flex: 1 1 auto; justify-content: center; }
}

/* Work: dark and editorial. The title across the top, the homepage large (it grows as it scrolls in, as before),
   the notes in three columns, then two more pages, staggered. */
.work { background: var(--dark); color: var(--light); }
.work-head { max-width: 1100px; }
.work-head h2 { font-size: clamp(34px, 4vw, 60px); max-width: 28ch; }
.work-head h2 em { color: rgba(var(--light-rgb),.5); }
.work-head .lead { color: var(--muted-dark); }
.work-shot { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; background: var(--char-2); box-shadow: 0 60px 120px -60px rgba(0,0,0,.7); }
.work-shot { padding-top: 34px; border: 1px solid var(--line-dark); }
.work-shot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34px; z-index: 1; border-bottom: 1px solid var(--line-dark); background: radial-gradient(circle at 18px 50%, rgba(var(--light-rgb),.28) 4px, transparent 4.5px), radial-gradient(circle at 34px 50%, rgba(var(--light-rgb),.2) 4px, transparent 4.5px), radial-gradient(circle at 50px 50%, rgba(var(--light-rgb),.14) 4px, transparent 4.5px), var(--char-2); }
.work-shot img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.work-shot:hover img { transform: scale(1.025); }
.work-tag { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; color: var(--white); background: rgba(var(--dark-rgb),.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-dark); }
.work-tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .3s var(--ease); }
.work-shot:hover .work-tag svg { transform: translate(2px, -2px); }
@supports (animation-timeline: view()) {
  .work-shot { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes grow { from { transform: scale(.82) translateY(40px); border-radius: 32px; } to { transform: none; border-radius: var(--r); } }
  .work-fig { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes lift { from { transform: translateY(80px); opacity: .2; } to { transform: none; opacity: 1; } }
}
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); }
.work-grid > div { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.work-grid h3 { font: 500 19px/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 12px; }
.work-grid p { color: var(--muted-dark); font-size: 15.5px; }
.work-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; margin-top: clamp(56px, 7vw, 104px); }
.work-fig { border-radius: var(--r); overflow: hidden; background: var(--char-2); }
.work-fig img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; gap: 28px; }
  .work-more { grid-template-columns: 1fr; }
  .work-tag { left: 12px; bottom: 12px; font-size: 12.5px; padding: 8px 12px; }
}

/* Process: chapter sheets slide over each other, each tilting in (main.js). */
.process { padding: 0; background: var(--bg); }
.sheet { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto auto auto auto 1fr; align-content: start; padding: 132px var(--gut) clamp(36px, 6vh, 64px); border-radius: 28px 28px 0 0; overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.sheet header { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.sheet h2 { margin: clamp(24px, 5vh, 72px) 0 clamp(24px, 4vh, 44px); font-size: clamp(44px, 6vw, 108px); line-height: .94; letter-spacing: -.048em; }
.sheet footer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(48px, 6vw, 96px); }
.sheet footer div { border-top: 1px solid currentColor; padding-top: 18px; }
.sheet footer b { display: block; font: 500 clamp(19px, 1.6vw, 24px)/1.2 var(--display); letter-spacing: -.012em; margin-bottom: 8px; }
.sheet footer p { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.55; opacity: .78; }
.s1 { background: var(--bg-2); box-shadow: 0 -1px 0 var(--line); }
.s2 { background: var(--char); color: var(--white); }
.s3 { background: var(--cool-soft, var(--light-2)); color: var(--black); }
.sheet h2 .line:last-child > span > span { color: var(--soft); }
.s2 h2 .line:last-child > span > span { color: var(--soft-dark); }
@media (max-width: 640px) {
  .process::after { content: ""; display: block; height: 40vh; }
  .sheet { top: calc(96px + var(--i, 0) * 14px); height: auto; min-height: var(--sheet-h, 0px); padding-top: 32px; padding-bottom: 38px; border-radius: 20px; }
  .s1 { box-shadow: 0 0 0 1px var(--line); }
  .s2 { --i: 1; } .s3 { --i: 2; }
  .sheet h2 { margin: 22px 0 24px; font-size: clamp(34px, 10vw, 50px); }
  .sheet footer { grid-template-columns: 1fr; gap: 16px; }
  .sheet footer p { font-size: 16px; }
}

/* About: heading beside the text, then the two founders as large portraits, staggered. */
.about { background: var(--bg); }
.about-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px clamp(40px, 6vw, 112px); align-items: end; }
.about-copy { display: grid; gap: 22px; }
.about-text { display: grid; gap: 18px; font-size: 17px; color: var(--muted); max-width: 52ch; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); width: calc((100% - clamp(40px, 6vw, 112px)) * .45); margin: clamp(56px, 7vw, 104px) 0 0 auto; }
.people li { display: grid; gap: 18px; align-content: start; }
.people li:nth-child(2) { margin-top: clamp(32px, 4vw, 64px); }
.people li:nth-child(1) .face img { object-position: 50% 12%; }
.people li:nth-child(2) .face img { object-position: 50% 30%; transform: scale(1.18); }
.people li:nth-child(2):hover .face img { transform: scale(1.22); }
.face { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: grayscale(1) sepia(.22) contrast(1.08) brightness(1.02); transform: scale(1.02); transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.people li:hover .face img { filter: none; transform: scale(1.06); }
.people b { display: block; font: 500 20px/1.2 var(--display); letter-spacing: -.012em; }
.people small { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.about .fine { margin-top: clamp(56px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) {
  .about-top { grid-template-columns: 1fr; }
  .people { margin-left: 0; width: auto; }
  .people li:nth-child(2) { margin-top: 40px; }
}

/* Questions: heading held on the left, the answers in one hairline column. */
.faq-sec { background: var(--bg-2); padding-top: clamp(96px, 12vw, 160px); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 112px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq { display: grid; margin-top: -2px; }
@media (min-width: 861px) { .faq details:first-child summary { padding-top: 0; } .faq details:first-child { border-top: 0; } }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-weight: 500; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.01em; text-decoration: underline transparent 1px; text-underline-offset: 6px; transition: text-decoration-color .25s, color .25s; }
.faq summary:hover { text-decoration-color: var(--red); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { padding: 0 48px 28px 0; color: var(--muted); max-width: 60ch; }
.faq details[open] p { animation: rise .5s var(--ease); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .sec-head { position: static; } .faq details p { padding-right: 0; } }

/* Contact: dark ending with neon flight streaks, driven by scroll. */
.contact { position: relative; overflow: hidden; background: var(--dark); color: var(--light); isolation: isolate; padding-bottom: clamp(72px, 7vw, 104px); }
.contact-in > * { position: relative; }
.contact h2::before { content: ""; position: absolute; inset: -24px -48px; z-index: -1; background: radial-gradient(closest-side, rgba(var(--dark-rgb),.85), rgba(var(--dark-rgb),.6) 60%, transparent); pointer-events: none; }
.neon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.contact-in { display: grid; gap: 28px; }
.contact h2 { font-size: clamp(48px, 7.8vw, 128px); max-width: 12ch; letter-spacing: -.045em; line-height: .98; }
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.channels a { display: grid; gap: 12px; padding: clamp(26px, 3vw, 40px); border-radius: var(--r); background: rgba(var(--dark-2-rgb),.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line-dark); color: var(--white); text-decoration: none; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.channels a:hover { transform: translateY(-4px) scale(1.015); border-color: rgba(var(--accent-rgb),.6); }
.channels a:hover span { color: var(--accent-hi); }
.channels span { transition: color .3s; }
.channels small { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-dark); }
.channels span { font: 500 clamp(20px, 2.2vw, 32px)/1.1 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.channels-alt { color: var(--muted-dark); font-size: 15px; }
.channels-alt a { color: var(--white); text-underline-offset: 5px; text-decoration-color: var(--line-dark); }
@media (max-width: 760px) { .channels { grid-template-columns: 1fr; } .channels span { font-size: 18px; } }

/* Footer with the cropped wordmark */
.foot { background: var(--bg); color: var(--muted); padding-top: 44px; overflow: hidden; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline transparent 1px; text-underline-offset: 5px; transition: text-decoration-color .25s, color .25s; }
.foot nav a:hover { text-decoration-color: var(--red); color: var(--black); }
.foot-word { font: 600 15.2vw/.8 var(--display); letter-spacing: -.055em; text-indent: -.055em; text-align: center; margin: clamp(48px, 6vw, 80px) 0 -2.8vw; white-space: nowrap; background: linear-gradient(180deg, var(--dark) 20%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Loader: black space, wireframe H, hypernova (loader.js). Fades out on its own if the script never runs. */
.loader { display: none; }
.has-loader .loader { display: block; position: fixed; inset: 0; z-index: 500; background: var(--dark); cursor: pointer; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; animation: loaderSafe .6s 14s forwards; }
.loader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-word { position: absolute; left: 0; right: 0; display: grid; justify-items: center; gap: 8px; text-align: center; margin-top: 18px; font: 600 13px/1 var(--display); letter-spacing: .6em; text-indent: .6em; color: var(--accent-hi); opacity: 0; transform: translateY(8px); transition: opacity .7s, transform .7s var(--ease); }
.loader-word small { font: 500 9.5px/1 var(--sans); letter-spacing: .7em; text-indent: .7em; color: rgba(var(--accent-hi-rgb),.6); }
.loader-word.on { opacity: 1; transform: none; }
.loader-pct { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 48px); text-align: center; font: 500 11px/1 var(--sans); letter-spacing: .4em; text-indent: .4em; color: rgba(var(--accent-hi-rgb),.5); font-variant-numeric: tabular-nums; transition: opacity .4s; }
.loader-pct.off { opacity: 0; }
@keyframes loaderSafe { to { opacity: 0; visibility: hidden; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .sec-split { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .line > span { opacity: 1; transform: none; }
  .sheet { position: relative; height: auto; min-height: 80vh; }
  .route-marker { display: none; }
}
.nowrap { white-space: nowrap; }

/* Palette switcher (preview only, palettes.js): bottom left, five two-tone swatches. */
.pal { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 16px; border-radius: 999px; background: rgba(var(--dark-rgb),.82); color: var(--light); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(var(--light-rgb),.14); box-shadow: 0 14px 34px -18px rgba(0,0,0,.5); font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.pal span { opacity: .7; margin-right: 2px; }
.pal:not(.open) { padding: 6px; }
.pal:not(.open) > :not(.pal-toggle) { display: none; }
.pal.open .pal-toggle { display: none; }
.pal-toggle { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.pal button { position: relative; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1px rgba(255,255,255,.25); transition: transform .3s var(--ease), box-shadow .3s; }
.pal button:hover { transform: scale(1.12); }
.pal button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--dark), 0 0 0 3.5px var(--light); }
.pal output { min-width: 11ch; margin-left: 4px; opacity: .85; letter-spacing: .12em; }
@media (max-width: 640px) { .pal output, .pal span { display: none; } .pal { padding: 7px; gap: 7px; } .pal button { width: 32px; height: 32px; } .pal:not(.open) { left: auto; right: 4px; bottom: 12px; padding: 3px; } .pal-toggle { width: 28px; height: 28px; } }

.pal-custom { background: conic-gradient(from 0deg, var(--a), var(--b), var(--a)) !important; }
.pal-custom::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.85); }
/* Custom colour editor (preview tool) */
.pal-edit { position: fixed; left: 16px; bottom: 68px; z-index: 71; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto; padding: 18px; border-radius: 14px; background: rgba(18,19,22,.94); color: #f5f5f2; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); font: 400 13px/1.4 var(--sans); }
.pal-edit[hidden] { display: none; }
.pal-edit-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pal-edit-head b { font-weight: 500; font-size: 14px; letter-spacing: .02em; }
.pal-edit button, .pal-edit select { font: 500 12.5px var(--sans); color: #f5f5f2; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 14px; min-height: 36px; cursor: pointer; }
.pal-edit button:hover, .pal-edit select:hover { background: rgba(255,255,255,.16); }
.pal-edit select option { color: #121316; }
.pal-edit-grid { display: grid; gap: 8px; }
.pal-edit-grid label { display: grid; grid-template-columns: 1fr 40px 86px; align-items: center; gap: 10px; }
.pal-edit-grid label span { color: rgba(245,245,242,.78); }
.pal-edit input[type=color] { width: 40px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: none; cursor: pointer; }
.pal-edit input[type=color]::-webkit-color-swatch-wrapper { padding: 3px; }
.pal-edit input[type=color]::-webkit-color-swatch { border: 0; border-radius: 5px; }
.pal-edit .hex { width: 86px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #f5f5f2; font: 500 12.5px ui-monospace, Menlo, monospace; text-transform: lowercase; }
.pal-edit-check { grid-template-columns: auto 1fr !important; margin-top: 6px; }
.pal-edit-check input { width: 18px; height: 18px; accent-color: #f5f5f2; }
.pal-edit-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 640px) {
  .pal-edit { left: 0; right: 0; bottom: 0; width: 100%; max-height: 72vh; border-radius: 16px 16px 0 0; padding-bottom: 76px; }
}

/* Phones: a narrow margin for the scale, and the contact H lands below the contact details, clear of the text. */
@media (max-width: 640px) {
  main > section > .wrap { padding-right: 40px; }
  .hero .row { width: 100%; } .hero .row .btn { flex: 1 1 100%; }
  .contact-in { padding-bottom: calc(30svh + 40px); }
  .contact-mark { right: 50%; top: auto; bottom: calc(15svh + 10px); }
  .people b { font-size: 17px; }
}
@media (max-width: 560px) { .people { grid-template-columns: 1fr; gap: 36px; } .people li:nth-child(2) { margin-top: 0; } .face { aspect-ratio: 1 / 1; } }
/* Touch targets */
.brand { min-height: 44px; }
.channels-alt a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.eyebrow, .sheet header { font-size: 12.5px; }

/* Approach sheet 1: the paragraph under the headline. */
.sheet-lede { max-width: 62ch; margin: -6px 0 clamp(24px, 4vh, 44px); font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.55; opacity: .78; }
/* Hero streaks (the contact animation, in the meantime): softer over the light hero. */
.hero-neon { opacity: .75; }
/* Footer: legal links */
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-top: 4px; font-size: 13.5px; color: var(--muted); }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; transition: color .25s, text-decoration-color .25s; }
.foot-legal a:hover { color: var(--black); text-decoration-color: var(--accent); }
.foot-legal span { margin-left: auto; }
@media (max-width: 640px) { .foot-legal span { margin-left: 0; width: 100%; } }
/* Legal pages (privacy, legal notices) */
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.legal-top .brand { color: var(--accent); }
.legal-top .brand-name { color: var(--black); }
.legal-top .brand-name small { color: var(--accent-text); }
.legal-top a.back { font-size: 14.5px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; }
.legal { max-width: 760px; padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.legal h1 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 16px; }
.legal .updated { color: var(--muted); font-size: 14.5px; margin-bottom: clamp(40px, 5vw, 64px); }
.legal h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; margin: 44px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0 0; padding-left: 0; display: grid; gap: 10px; }
.legal li { position: relative; padding-left: 24px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--accent); }
.legal a { color: var(--black); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.legal dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); margin-top: 8px; border-top: 1px solid var(--line); }
.legal dt, .legal dd { padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-weight: 500; color: var(--black); font-size: 15px; }
.legal dd { color: var(--muted); }
@media (max-width: 640px) { .legal dl { grid-template-columns: 1fr; } .legal dt { border-bottom: 0; padding-bottom: 0; } }
.legal-foot { padding-block: 28px 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-foot a { color: inherit; }

/* ---------- Service pages (pages/, generated by scripts/gen-service-pages.py) ---------- */
.svc-page .bar { }
.svc-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(132px, 16vw, 200px) 0 clamp(72px, 9vw, 128px); background: var(--light); border-bottom: 1px solid var(--line); }
.svc-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.svc-hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.svc-hero-bg i { position: absolute; inset: 0; background: radial-gradient(36% 60% at 82% 46%, rgba(var(--cool-rgb, var(--dark-rgb)), .55), transparent 70%), radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(var(--dark-rgb), .05)); }
.svc-hero-mark { position: absolute; right: clamp(-40px, 4vw, 120px); top: 50%; transform: translateY(-46%); height: min(62%, 460px); aspect-ratio: 820 / 1040; color: var(--accent); opacity: .9; pointer-events: none; }
.svc-hero .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: clamp(28px, 4vw, 44px); }
.crumbs a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.crumbs a:hover { color: var(--black); text-decoration-color: var(--accent); }
.crumbs [aria-current] { color: var(--black); }
.svc-hero h1 { font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -.036em; line-height: 1.02; max-width: 15ch; }
.svc-hero h1 em { color: var(--accent-text); }
.svc-lede { max-width: 58ch; margin: clamp(24px, 3vw, 36px) 0 clamp(32px, 4vw, 48px); font-size: clamp(16.5px, 1.3vw, 19px); color: var(--muted); }
.svc-intro { background: var(--light); }
.svc-cols { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: 40px clamp(48px, 7vw, 120px); align-items: start; }
.svc-includes { position: sticky; top: 112px; display: grid; gap: 20px; }
.svc-includes h2 { font-size: clamp(28px, 2.8vw, 40px); }
.svc-includes .ticks { gap: 0; }
.svc-includes .ticks li { padding-top: 13px; padding-bottom: 13px; border-top: 1px solid var(--line); font-size: 15.5px; }
.svc-includes .ticks li:last-child { border-bottom: 1px solid var(--line); }
.svc-includes .ticks li::before { top: 1.55em; }
.svc-prose { display: grid; gap: clamp(48px, 6vw, 80px); }
.svc-block h2 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 20px; }
.svc-block p { color: var(--muted); font-size: clamp(16.5px, 1.25vw, 18.5px); max-width: 64ch; }
.svc-block p + p { margin-top: 16px; }
.svc-block a { color: var(--black); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; transition: color .2s; }
.svc-block a:hover { color: var(--accent-text); }
.svc-approach { background: var(--cool-soft, var(--light-2)); }
.svc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 48px) clamp(24px, 3vw, 44px); counter-reset: none; }
.svc-steps li { border-top: 1px solid var(--line-2); padding-top: 22px; }
.svc-step-n { display: block; font: 500 13px var(--sans); letter-spacing: .16em; color: var(--accent-text); margin-bottom: 14px; }
.svc-steps b { display: block; font: 500 clamp(19px, 1.6vw, 23px)/1.2 var(--display); letter-spacing: -.012em; margin-bottom: 10px; }
.svc-steps p { color: var(--muted); font-size: 15.5px; }
.svc-related { background: var(--light); }
.svc-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.svc-related-grid a { position: relative; display: grid; gap: 10px; align-content: start; padding: 28px 28px 64px 0; text-decoration: none; color: var(--black); border-bottom: 1px solid var(--line); }
.svc-related-grid a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.svc-related-grid small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.svc-related-grid span { font: 500 clamp(19px, 1.6vw, 23px)/1.2 var(--display); letter-spacing: -.015em; transition: color .25s; }
.svc-related-grid svg { position: absolute; left: 0; bottom: 24px; width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.3; transition: transform .35s var(--ease); }
.svc-related-grid a + a svg { left: 28px; }
.svc-related-grid a:hover span { color: var(--accent-text); }
.svc-related-grid a:hover svg { transform: translateX(6px); }
/* Footer row of service pages (homepage and service pages) */
.foot-services { display: flex; flex-wrap: wrap; gap: 0 24px; padding-block: 2px; font-size: 14px; }
.foot-services a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: color .25s, text-decoration-color .25s; }
.foot-services a:hover, .foot-services a[aria-current] { color: var(--black); text-decoration-color: var(--accent); }
/* Homepage: "In detail" links under the services ledger */
.svc-index { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; margin-top: clamp(28px, 3vw, 40px); font-size: 15px; }
.svc-index > span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.svc-index a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--black); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; transition: color .25s, text-decoration-color .25s; }
.svc-index a svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 1.4; transition: transform .3s var(--ease); }
.svc-index a:hover { color: var(--accent-text); text-decoration-color: var(--accent); }
.svc-index a:hover svg { transform: translateX(4px); }
@media (max-width: 960px) {
  .svc-cols { grid-template-columns: 1fr; }
  .svc-includes { position: static; }
  .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-related-grid a, .svc-related-grid a + a { padding: 24px 20px 60px 0; border-left: 0; }
  .svc-related-grid a:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .svc-related-grid a svg, .svc-related-grid a + a svg { left: 0; }
  .svc-related-grid a:nth-child(even) svg { left: 20px; }
  .svc-hero-mark { opacity: .18; right: -40px; }
}
@media (max-width: 640px) {
  .svc-hero { padding-top: 120px; }
  .svc-hero h1 { font-size: clamp(34px, 9.4vw, 48px); }
  .svc-hero-mark { display: none; }
  .svc-steps { grid-template-columns: 1fr; }
  .svc-related-grid { grid-template-columns: 1fr; }
  .svc-related-grid a:nth-child(even) { padding-left: 0; border-left: 0; }
  .svc-related-grid a:nth-child(even) svg { left: 0; }
}
