/* ==========================================================================
   360Bounce — white-first design system & layout
   Font (self-hosted, SIL OFL): Manrope variable, weights 200–800 — the one family used for
   headings, body, navigation, buttons and labels.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ---- 360Bounce brand palette: the only colours the site uses ---- */
  --brand-lime: #C6F36B;          /* signature accent: primary buttons, highlights, active states */
  --brand-lime-hover: #B5E85A;    /* lime hover / pressed */
  --brand-black: #171717;         /* deep black: dark sections, footer, headings on light */
  --brand-white: #FFFFFF;
  --brand-silver: #DDE1E0;        /* soft silver: hairlines, gradients, secondary details */
  --bg-dark: #080808;             /* deepest black: page-transition and preloader */
  --bg-near-black: #0F100D;       /* near black: cinematic hero backgrounds */
  --olive-deep: #3A4417;          /* decorative wave shading only */
  --olive-muted: #4B5529;         /* subtle decorative gradients only */
  --bg-charcoal: #101010;         /* charcoal: dark cards, secondary dark surfaces */
  --ui-dark: #111111;             /* dark grey: navigation text, dark UI elements */
  --bg-light: #F7F8F6;            /* soft white: secondary light backgrounds */
  --pale-blue: #E8EEFF;           /* Cloud and AI/ML tint only (backgrounds, washes) */
  --bg-soft: #F5F5F5;             /* light grey: subtle section backgrounds */
  --text-primary: #171717;
  --text-secondary: #686868;
  --text-light: #FFFFFF;
  --border-light: #E8E8E8;        /* cards, dividers, subtle outlines */
  --button-primary: var(--brand-lime);
  --button-hover: var(--brand-lime-hover);
  --button-text: var(--brand-black);
  /* tints and shades derived from the palette (never new hues) */
  --lime-tint: color-mix(in srgb, var(--brand-lime) 30%, var(--brand-white));
  --silver-deep: color-mix(in srgb, var(--brand-silver) 78%, var(--brand-black));
  --text-on-dark-2: color-mix(in srgb, var(--brand-white) 68%, var(--brand-black)); /* secondary text on dark: 8.9:1 on #171717 */
  --border-on-dark: color-mix(in srgb, var(--brand-white) 14%, transparent);

  /* ---- semantic tokens used across the stylesheets (mapped onto the palette) ---- */
  --background: var(--brand-white);
  --surface: var(--bg-light);
  --surface-soft: var(--bg-soft);
  --surface-grey: var(--bg-soft);
  --text-muted: var(--text-secondary);
  --border: var(--border-light);
  --border-strong: var(--brand-silver);
  --accent-lime: var(--brand-lime);
  --accent-lime-soft: var(--lime-tint);
  --accent-blue: var(--brand-silver);   /* legacy name: the division swatch, now silver */
  --silver: var(--brand-silver);

  /* names used across the existing stylesheets, mapped onto the tokens */
  --color-background: var(--background);
  --color-surface: var(--surface);
  --color-surface-secondary: var(--surface-soft);
  --color-text: var(--text-primary);
  --color-text-secondary: var(--text-secondary);
  --color-border: var(--border);
  --color-silver: var(--silver);
  --color-accent: var(--accent-lime);
  --color-accent-blue: var(--accent-blue);
  --color-white: var(--brand-white);
  --color-black: var(--brand-black);

  /* ---- spacing scale (8px based) ---- */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 48px; --space-8: 64px; --space-9: 80px; --space-10: 96px; --space-11: 120px;

  /* ---- radius scale ---- */
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px; --radius-xl: 24px; --radius-2xl: 32px; --radius-pill: 999px;

  /* ---- layout system ---- */
  --container: 1320px;            /* main content width */
  --container-wide: 1440px;       /* large editorial sections */
  --measure: 68ch;                /* paragraph width (about 600-760px) */
  --col-gap: clamp(16px, 2vw, 32px);
  --space-section: clamp(48px, 4vw + 40px, 112px);  /* 112 desktop / 70 tablet / 56 mobile */
  --space-block: clamp(28px, 3.5vw, 52px);
  --space-stack: clamp(18px, 2vw, 28px);

  /* supporting tones (small details only) */
  /* legacy division names: every division now uses the brand palette (no blue or purple) */
  --color-accent-ink: var(--brand-black);
  --color-blue-ink: var(--brand-black);
  --color-lavender: var(--bg-charcoal);
  --color-lavender-ink: var(--brand-black);
  --color-muted: var(--text-muted); /* decorative meta only, never body copy */
  --color-danger: #B42318;        /* form errors only (functional, not a brand colour) */
  --shadow-soft: 0 4px 20px rgba(23, 23, 23, 0.05);
  --shadow-medium: 0 8px 32px rgba(23, 23, 23, 0.08);
  --shadow-dark: 0 12px 40px rgba(0, 0, 0, 0.18);
  --shadow-float: 0 24px 64px -24px rgba(23, 23, 23, 0.18);
  --dur: 250ms;                   /* interaction transitions */

  /* type */
  --f-sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  /* legacy names: every role now uses the one family */
  --f-display: var(--f-sans);
  --f-serif: var(--f-sans);
  --f-mono: var(--f-sans);
  --ls-label: 0.14em;   /* small uppercase labels */
  --fw-label: 600;

  --fs-mega: clamp(3rem, 7.4vw, 7rem);        /* rare display moments */
  --fs-xxl: clamp(2.5rem, 5.6vw, 5.5rem);      /* hero H1: 40 / 48-60 / 64-88px */
  --fs-xl: clamp(1.9rem, 3.6vw, 3.5rem);       /* section H2: 30-36 / 36-44 / 44-56px */
  --fs-l: clamp(1.4rem, 2.3vw, 2.25rem);       /* H3: 22-26 / 26-30 / 30-36px */
  --fs-m: clamp(1.1rem, 1.3vw, 1.3rem);        /* large introduction: 18-21px */
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-meta: 0.75rem;
  --fs-card: clamp(1.3rem, 1.6vw, 1.6rem);    /* card titles: 21-26px */
  --fs-small-h: clamp(1rem, 1.1vw, 1.19rem);  /* small headings: 16-19px */

  /* space */
  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(48px, 4vw + 40px, 112px);   /* applied above and below every section */
  --header-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  background: var(--color-background);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--f-display);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong { font-weight: 600; }
code { font-family: var(--f-mono); font-size: 0.88em; padding: 0.1em 0.35em; background: var(--color-surface-secondary); border-radius: 3px; }
::selection { background: var(--color-accent); color: var(--color-black); }

/* Highlighted words: same family and weight as the heading, marked in signature lime.
   On light surfaces a lime marker sits behind the lower half of the word (lime text on white
   would fail contrast); on dark surfaces the word itself turns lime. */
em {
  font-style: normal; font-weight: inherit; letter-spacing: inherit;
  background: linear-gradient(var(--color-accent), var(--color-accent)) 0 88% / 100% 0.34em no-repeat;
  padding: 0 0.06em; margin: 0 -0.02em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.theme-dark em, .site-footer em, .cta-band em { color: var(--brand-lime); background: none; padding: 0; margin: 0; }
p em, li em, .lead em { background-size: 100% 0.28em; }

/* Heading defaults (individual components set their own sizes from the scale) */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
h3, h4 { font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }

/* Focus: black ring + lime halo, visible on every light surface */
:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(198, 243, 107, 0.65);
  border-radius: 3px;
}

.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: var(--gutter); top: 12px; z-index: 1000;
  padding: 10px 16px; background: var(--color-black); color: var(--color-white);
  font-family: var(--f-mono); font-size: 0.85rem; text-decoration: none; border-radius: 999px;
  transform: translateY(-160%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.meta {
  font-family: var(--f-mono);
  font-size: var(--fs-meta);
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  line-height: 1.4;
}
/* Small lime "tick" behind the final full stop of headlines */
.lime { display: inline-block; color: var(--color-black); position: relative; z-index: 0; }
.lime::after {
  content: ""; position: absolute; left: 50%; bottom: 0.1em; width: 0.2em; height: 0.2em; margin-left: -0.1em;
  border-radius: 50%; background: var(--color-accent); z-index: -1; transform: scale(1.35);
}
.lead { font-size: var(--fs-m); line-height: 1.5; color: var(--color-text); max-width: 38ch; font-weight: 400; }

/* grain is not used on the white theme */
.grain { display: none; }

/* ---------- dark sections ----------
   One scope inverts the semantic tokens, so every component inside keeps working: white headings,
   light-grey secondary text, charcoal cards, hairline dividers, lime accents. */
.theme-dark, .site-footer, .cta-band {
  --color-background: var(--brand-black);
  --color-surface: var(--bg-charcoal);
  --color-surface-secondary: var(--bg-charcoal);
  --color-white: var(--bg-charcoal);
  --color-black: var(--brand-white);
  --color-text: var(--text-light);
  --color-text-secondary: var(--text-on-dark-2);
  --color-muted: var(--text-on-dark-2);
  --color-border: var(--border-on-dark);
  --color-silver: color-mix(in srgb, var(--brand-white) 22%, transparent);
  --border: var(--border-on-dark);
  --border-strong: color-mix(in srgb, var(--brand-white) 22%, transparent);
  --text-primary: var(--text-light);
  --text-secondary: var(--text-on-dark-2);
  --background: var(--brand-black);
  --surface: var(--bg-charcoal);
  --surface-soft: var(--bg-charcoal);
  --surface-grey: var(--bg-charcoal);
  --color-accent-ink: var(--brand-lime);
  --color-blue-ink: var(--text-on-dark-2);
  --color-lavender-ink: var(--text-on-dark-2);
  background-color: var(--brand-black);
  color: var(--text-light);
}
.theme-dark--deep, .cta-band { background-color: var(--bg-dark); }
.theme-dark ::selection, .site-footer ::selection, .cta-band ::selection { background: var(--brand-lime); color: var(--brand-black); }

/* ---------- icons: one line family (Lucide geometry), 2px stroke at 24px, currentColor ---------- */
.i-arrow { display: inline-block; flex: none; width: 1.05em; height: 1.05em; vertical-align: -0.16em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-arrow--inline { margin-inline: 0.2em; }

/* ---------- buttons & links ---------- */
.btn {
  --btn-bg: var(--color-black); --btn-fg: var(--color-white); --btn-bd: var(--color-black);
  position: relative; display: inline-flex; align-items: center; gap: 0.75em;
  padding: 1em 1.55em; border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-mono); font-size: 0.8rem; font-weight: var(--fw-label); letter-spacing: var(--ls-label); text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--color-accent); transform: translateY(102%); transition: transform 0.3s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--color-black); border-color: var(--color-black); box-shadow: 0 10px 24px -14px rgba(23, 23, 23, 0.35); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
/* primary: signature lime with black text; deepens to the lime hover tone on interaction */
.btn--lime { --btn-bg: var(--button-primary); --btn-fg: var(--button-text); --btn-bd: var(--button-primary); }
.btn--lime::before { background: var(--button-hover); }
.btn--lime::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-black); order: -1; transition: transform 0.4s var(--ease-out); }
.btn--lime:hover, .btn--lime:focus-visible { color: var(--button-text); border-color: var(--button-hover); box-shadow: 0 14px 30px -16px rgba(23, 23, 23, 0.45); }
.btn--lime:hover::after, .btn--lime:focus-visible::after { transform: scale(1.35); }
/* secondary: white with a soft silver border */
.btn--line { --btn-bg: var(--brand-white); --btn-fg: var(--brand-black); --btn-bd: var(--brand-silver); }
.btn--line::before { background: var(--bg-soft); }
.btn--line:hover, .btn--line:focus-visible { color: var(--brand-black); border-color: var(--brand-black); box-shadow: none; }
/* on dark sections the secondary button is an outline in white; the primary stays lime with black text */
.theme-dark .btn--line { --btn-bg: transparent; --btn-fg: var(--brand-white); --btn-bd: var(--border-on-dark); }
.theme-dark .btn--line::before { background: var(--brand-white); }
.theme-dark .btn--line:hover, .theme-dark .btn--line:focus-visible { color: var(--brand-black); border-color: var(--brand-white); }
.theme-dark .btn:not(.btn--lime):not(.btn--line) { --btn-bg: var(--brand-white); --btn-fg: var(--brand-black); --btn-bd: var(--brand-white); }
.btn--small { padding: 0.72em 1.15em; font-size: 0.72rem; }
.btn--large { padding: 1.2em 1.9em; font-size: 0.84rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.55; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: var(--fw-label); letter-spacing: var(--ls-label); text-transform: uppercase;
  text-decoration: none; padding-block: 0.45em; color: var(--color-black);
  background: linear-gradient(var(--color-black), var(--color-black)) 0 100% / 0 1px no-repeat,
              linear-gradient(var(--color-silver), var(--color-silver)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1px, 100% 1px; }
.link-arrow span { display: inline-block; transition: transform 0.5s var(--ease-out); }
.link-arrow:hover span { transform: translateX(4px); }

/* header, navigation and menu styles live in components.css */
.wordmark { display: inline-flex; align-items: center; text-decoration: none; color: var(--color-black); }
/* The official logo (static/images/png_logo_with_transparency_the_same_360bounce_ma.png, served as
   resized copies in static/images/brand/). Its "360" is white, so on light surfaces it sits on a
   deep-black chip; on dark surfaces it stands on its own. Never stretched: fixed height, width auto. */
.brand-logo { display: block; line-height: 0; }
.brand-logo img { display: block; height: 100%; width: auto; max-width: none; object-fit: contain; }
.brand-chip {
  display: inline-flex; align-items: center; height: 46px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--brand-black); box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.06), 0 10px 24px -14px rgba(23, 23, 23, 0.55);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.brand-logo--header { height: 32px; }
.wordmark:hover .brand-chip, .wordmark:focus-visible .brand-chip { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--brand-lime), 0 14px 28px -14px rgba(23, 23, 23, 0.6); }
.brand-logo--footer { height: clamp(48px, 4.6vw, 64px); }
.brand-logo--preloader { height: clamp(46px, 9vw, 68px); }
.footer-logo-xl { margin: clamp(8px, 2vw, 24px) 0 clamp(12px, 2vw, 28px); }
.brand-logo--xl { width: 100%; height: auto; }
.brand-logo--xl img { width: 100%; height: auto; max-width: 100%; }


/* ---------- WebGL stage ---------- */
.scene { pointer-events: none; }
/* The canvas fills its stage but never sizes it: in normal flow its drawing-buffer height fed
   back into the stage height, so every resize() re-triggered the ResizeObserver (endless
   setSize, i.e. buffer reallocation every frame). Out of flow, the stage's own CSS sets the size. */
.scene canvas { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; }
.scene--fixed {
  position: fixed; inset: 0; z-index: 0;
  background: radial-gradient(120% 85% at 70% 38%, #FFFFFF 0%, #F7F8F6 45%, #F5F5F5 100%);
}
.scene--contained { position: relative; min-height: 60vh; }
.scene--soft { opacity: 0.75; }
.scene-fallback { position: absolute; inset: 0; overflow: hidden; transition: opacity 1.2s var(--ease-out); }
.scene.is-webgl .scene-fallback { opacity: 0; }
/* CSS fallback: a pearl sphere inside brushed-silver rings with a soft contact shadow */
.sf-ring {
  position: absolute; left: 68%; top: 47%; border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(66deg) rotateZ(0deg);
}
.sf-ring--a {
  width: min(40vw, 460px); aspect-ratio: 1; border: 26px solid transparent;
  background: conic-gradient(from 20deg, #FFFFFF, color-mix(in srgb, #DDE1E0, #171717 9%), #F5F5F5, color-mix(in srgb, #DDE1E0, #171717 25%), #ffffff, color-mix(in srgb, #DDE1E0, #171717 6%), #FFFFFF) border-box;
  -webkit-mask: linear-gradient(#080808 0 0) padding-box, linear-gradient(#080808 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 18px 30px rgba(23, 23, 23, 0.12));
}
.sf-ring--b { width: min(58vw, 680px); aspect-ratio: 1; border: 1.5px solid var(--color-silver); }
.sf-ring--c { width: min(72vw, 860px); aspect-ratio: 1; border: 1px solid var(--color-border); }
.sf-glow {
  position: absolute; left: 68%; top: 45%; width: min(15vw, 170px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #F5F5F5 35%, #DDE1E0 75%, color-mix(in srgb, #DDE1E0, #171717 12%) 100%);
  box-shadow: 0 50px 60px -30px rgba(23, 23, 23, 0.28), inset -10px -14px 30px rgba(120, 128, 126, 0.25);
}
.sf-glow::after {
  content: ""; position: absolute; left: 12%; right: 12%; top: 210%; height: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(23, 23, 23, 0.22), transparent);
}
.scene--contained .sf-ring, .scene--contained .sf-glow { left: 50%; }

main { position: relative; z-index: 1; }

/* ---------- shared section scaffolding ---------- */
.section { position: relative; padding: var(--section) max(var(--gutter), calc((100% - var(--container)) / 2)); }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--color-text-secondary); margin-bottom: clamp(14px, 2vw, 24px); }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-black); }
.section-title {
  font-size: var(--fs-xl); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em;
  max-width: 18ch; text-wrap: balance; color: var(--color-black);
}
.section-note { color: var(--color-text-secondary); max-width: 46ch; }
.section-note strong { color: var(--color-text); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(24px, 3vw, 44px); }

/* split-text helpers (created by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.w-i { display: inline-block; will-change: transform; }
.ch { display: inline-block; will-change: transform; }
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line-i { display: inline-block; will-change: transform; }

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding: calc(var(--header-h) + 16px) var(--gutter) clamp(24px, 4vw, 48px);
}
.hero-top { display: flex; justify-content: space-between; gap: 16px; color: var(--color-text-secondary); border-top: 1px solid var(--color-border); padding-top: 14px; }
.hero-coords { color: var(--color-black); }
.hero-title {
  align-self: center; color: var(--color-black);
  font-size: var(--fs-xxl); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em;
}

.line--indent { padding-left: 0.9em; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1.2fr) auto auto; align-items: end; gap: clamp(24px, 4vw, 64px); }
.hero-statement { max-width: 44ch; color: var(--color-text-secondary); font-size: var(--fs-m); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.scroll-cue { display: grid; place-items: center; width: 64px; height: 64px; position: relative; text-decoration: none; color: var(--color-black); }
.scroll-cue svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.scroll-cue circle { fill: none; stroke: var(--color-black); stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: var(--cue, 100); }
.scroll-cue::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--color-border); }
.scroll-cue .meta { font-size: 0.6rem; }

/* ==========================================================================
   HOME — manifesto
   ========================================================================== */
.manifesto {
  position: relative; min-height: 100vh; padding: var(--section) var(--gutter);
  display: grid; align-content: center; gap: clamp(32px, 6vw, 72px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0) 75%);
}
.manifesto-text {
  font-size: var(--fs-l); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em;
  max-width: 24ch; text-wrap: pretty; color: var(--color-black);
}
.manifesto-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--color-border); padding-top: 16px; color: var(--color-text-secondary); }
.manifesto-dims { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--f-mono); font-weight: var(--fw-label); font-size: 0.78rem; text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--color-text); }
.manifesto-dims span { color: var(--color-text-secondary); margin-right: 6px; }

/* ==========================================================================
   HOME — four dimensions
   ========================================================================== */
.dimensions { position: relative; }
.dim {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 56px; column-gap: 24px; overflow: hidden;
}
.dim-inner { grid-row: 1; position: relative; z-index: 2; display: grid; gap: clamp(18px, 2.4vw, 30px); }
.dim--left .dim-inner { grid-column: 1 / span 6; }
.dim--right .dim-inner { grid-column: 7 / span 6; }
/* soft white veil keeps copy crisp over the 3D stage */
.dim-inner::before {
  content: ""; position: absolute; inset: -48px -56px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7) 62%, rgba(255, 255, 255, 0));
}
.dim-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--color-border); padding-bottom: 14px; }
.dim-index { display: flex; align-items: baseline; gap: 8px; color: var(--color-text-secondary); }
.dim-num { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 260; line-height: 1.04; color: var(--color-black); letter-spacing: -0.035em; position: relative; }
.dim-num::after { content: ""; position: absolute; right: -0.22em; top: 0; width: 0.17em; height: 0.17em; border-radius: 50%; background: var(--dim-swatch, var(--color-accent)); box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.35); }
.dim-label { color: var(--color-text-secondary); text-align: right; }
.dim-title {
  font-size: var(--fs-xl); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; color: var(--color-black);
}
.dim-lede { color: var(--color-text-secondary); max-width: 44ch; font-size: var(--fs-m); line-height: 1.5; }
.dim-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--color-black); }
.dim-services li {
  display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--color-border);
  font-size: clamp(1rem, 1.2vw, 1.15rem); font-weight: 500; color: var(--color-black);
}
.dim-services li:nth-child(odd) { padding-right: 16px; }
.dim-services .meta { color: var(--dim-ink, var(--color-text-secondary)); }
.dim-link { justify-self: start; }

.dim-art { grid-row: 1; position: relative; z-index: 1; pointer-events: none; }
.dim--left .dim-art { grid-column: 8 / span 5; }
.dim--right .dim-art { grid-column: 1 / span 5; }
@media (min-width: 901px) {
  .dim { padding-right: calc(var(--gutter) + 72px); }
  .dim-art--match, .dim-art--blueprint, .dim-art--decode { align-self: end; justify-self: end; width: 100%; max-width: 300px; margin-bottom: 4vh; }
  .dim--right .dim-art--match, .dim--right .dim-art--decode { justify-self: start; }
  .dim-art--blueprint .blueprint { max-width: 300px; }
  .dim-art--rings { align-self: end; justify-self: end; max-width: 220px; margin-bottom: 6vh; }
}

/* chapter identities (swatch = dot/fills, ink = small legible labels) */
.dim--marketing { --dim-swatch: var(--color-accent); --dim-ink: var(--color-accent-ink); }
.dim--staffing { --dim-swatch: #FFFFFF; --dim-ink: var(--color-text-secondary); }
.dim--cloud { --dim-swatch: var(--color-accent-blue); --dim-ink: var(--color-blue-ink); }
.dim--ai { --dim-swatch: var(--color-lavender); --dim-ink: var(--color-lavender-ink); }

.dim-art--rings svg { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
.dim-art--rings circle { fill: none; stroke: color-mix(in srgb, #DDE1E0, #171717 18%); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.dim-art--rings circle:nth-child(2) { stroke: var(--color-black); stroke-width: 1.4; }
.dim-art--rings circle.dot { fill: var(--color-accent); stroke: var(--color-black); stroke-width: 1.5; stroke-dasharray: none; }

.kinetic {
  position: absolute; left: 0; right: 0; bottom: clamp(8px, 3vw, 32px); z-index: 0; pointer-events: none;
  display: grid; gap: 0; white-space: nowrap;
}
.kinetic-row {
  font-size: clamp(2.2rem, 5.4vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: rgba(23, 23, 23, 0.05); will-change: transform;
}
.kinetic-row--outline { color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, #DDE1E0, #171717 8%); }

.dim-art--match svg { width: 100%; max-width: 460px; margin-inline: auto; overflow: visible; }
.match-paths path { fill: none; stroke: color-mix(in srgb, #DDE1E0, #171717 25%); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.match-paths path:last-child { stroke: var(--color-black); stroke-width: 1.8; }
.match-nodes circle { fill: var(--color-white); stroke: var(--color-black); stroke-width: 1.4; }
.match-nodes rect { fill: var(--color-accent); stroke: var(--color-black); stroke-width: 1.2; }
.dim-art--match text { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; fill: var(--color-text-secondary); }

.blueprint {
  position: relative; aspect-ratio: 4 / 3; max-width: 520px; margin-inline: auto;
  border: 1px solid #DDE1E0; border-radius: 2px; box-shadow: var(--shadow-soft);
  background:
    linear-gradient(rgba(23, 23, 23, 0.06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(23, 23, 23, 0.06) 1px, transparent 1px) 0 0 / 24px 24px,
    rgba(255, 255, 255, 0.94);
}
.blueprint svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.blueprint path { fill: none; stroke: #DDE1E0; stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.blueprint path.flow { stroke: var(--color-black); stroke-width: 1.8; }
.bp-tag {
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  font-family: var(--f-mono); font-weight: var(--fw-label); font-size: 0.62rem; letter-spacing: var(--ls-label); text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; background: var(--color-accent-blue); color: var(--color-blue-ink); border: 1px solid #DDE1E0;
}

.dim-art--decode {
  display: grid; gap: 10px; justify-items: start; max-width: 460px; margin-inline: auto; padding: 22px 24px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--color-border); border-radius: 2px; box-shadow: var(--shadow-soft);
}
.decode-line { color: var(--color-lavender-ink); }
.decode-line::before { content: "› "; color: var(--color-black); }
.decode-big {
  margin-top: 8px; font-size: clamp(2.2rem, 4.2vw, 4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04;
  color: var(--color-black); font-family: var(--f-display);
  background: linear-gradient(var(--color-accent), var(--color-accent)) 0 88% / 100% 0.14em no-repeat;
}

/* progress rail */
.dim-rail {
  position: fixed; right: max(16px, calc(var(--gutter) * 0.5)); top: 50%; z-index: 60; transform: translateY(-50%);
  display: flex; gap: 14px; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0s linear 0.5s;
}
.dim-rail.is-visible { opacity: 1; visibility: visible; transition: opacity 0.5s; }
.dim-rail-track { position: relative; width: 1px; background: var(--color-silver); }
.dim-rail-fill { position: absolute; inset: 0; background: var(--color-black); transform-origin: top; transform: scaleY(var(--p, 0)); }
.dim-rail ol { display: grid; gap: 22px; }
.dim-rail a {
  display: flex; gap: 10px; align-items: baseline; justify-content: flex-end;
  font-family: var(--f-mono); font-weight: var(--fw-label); font-size: 0.68rem; letter-spacing: var(--ls-label); text-transform: uppercase; text-decoration: none; color: var(--color-text-secondary);
  transition: color 0.3s;
}
.dim-rail a em { font-family: inherit; font-style: normal; background: none; padding: 0; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.6s var(--ease-out); }
.dim-rail a.is-active { color: var(--color-black); }
.dim-rail a:hover em, .dim-rail a:focus-visible em { max-width: 9em; }
.dim-rail a.is-active span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-black); vertical-align: middle; }
.dim-rail a:hover { color: var(--color-black); }

/* finale */
.finale {
  position: relative; min-height: 120vh; display: grid; place-items: center; align-content: center; gap: 32px;
  padding: var(--section) var(--gutter); text-align: center; overflow-x: clip;
}
.finale-title {
  font-size: var(--fs-xxl); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; color: var(--color-black);
  position: relative;
}
.finale-title::before {
  content: ""; position: absolute; inset: -20% -8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
}

.finale--compact { min-height: 100vh; }
.finale-lead { margin-inline: auto; color: var(--color-text-secondary); text-align: center; }

/* ==========================================================================
   HOME — about teaser / work / why
   ========================================================================== */
.work-section, .contact, .editorial, .principles, .work-index, .prose, .cta-band { background: var(--color-background); }
.about-teaser, .why, .orbit-section { background: var(--color-surface); }
.about-teaser { border-top: 1px solid var(--color-border); }
.about-grid, .editorial-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.about-copy, .editorial-copy { display: grid; gap: 24px; color: var(--color-text-secondary); }
.about-copy .lead, .editorial-copy .lead { color: var(--color-text); max-width: none; }
.flow-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 10vw, 140px); border-top: 1px solid var(--color-black); }
.flow-item { padding: 20px 20px 0 0; display: grid; gap: 14px; align-content: start; position: relative; }
.flow-item + .flow-item { padding-left: 20px; border-left: 1px solid var(--color-border); }
.flow-item .meta { color: var(--color-text-secondary); }
.flow-item p { font-size: var(--fs-l); font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; color: var(--color-black); }

.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 7vw, 120px) 24px; }
.project { grid-column: span 6; }
.project--wide { grid-column: 1 / -1; }
.project--offset { margin-top: clamp(0px, 10vw, 160px); }
.project-link { display: grid; gap: 20px; text-decoration: none; }
.project-media {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-surface);
  outline: 1px solid var(--color-border); outline-offset: -1px;
  clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease-out);
}
.project--wide .project-media { aspect-ratio: 21 / 9; }
.project-media-inner { position: absolute; inset: -8% 0; transition: transform 1.1s var(--ease-out); }
.project-media-inner .art { width: 100%; height: 100%; }
.project-link:hover .project-media, .project-link:focus-visible .project-media { clip-path: inset(2.5% 2% 2.5% 2%); }
.project-link:hover .project-media-inner, .project-link:focus-visible .project-media-inner { transform: scale(1.05); }
.project-info { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.project-tag { display: flex; align-items: center; gap: 12px; color: var(--color-text-secondary); }
.badge { display: inline-block; padding: 3px 9px; background: var(--color-accent); color: var(--color-black); border-radius: 999px; font-size: 0.66rem; }
.project-title { font-size: var(--fs-l); font-weight: 700; line-height: 1; letter-spacing: -0.03em; overflow: hidden; color: var(--color-black); }
.project-title span { display: inline-block; background: linear-gradient(var(--color-accent), var(--color-accent)) 0 90% / 0 0.18em no-repeat; transition: background-size 0.6s var(--ease-out); }
.project-link:hover .project-title span, .project-link:focus-visible .project-title span { background-size: 100% 0.18em; }
.project-desc { color: var(--color-text-secondary); max-width: 52ch; }
.work-more { margin-top: clamp(48px, 7vw, 96px); }
.art-dash { stroke-dasharray: 8 8; }
.project-link:hover .art-dash, .case:hover .art-dash { animation: dash 3s linear infinite; }

.why-list { margin-top: clamp(48px, 8vw, 110px); border-top: 1px solid var(--color-black); }
.why-row {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 0.9fr); align-items: baseline; gap: 24px;
  padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--color-border); outline: none; isolation: isolate;
}
.why-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--color-white);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-out);
}
.why-num { color: var(--color-text-secondary); transition: color 0.3s; }
.why-name { font-size: var(--fs-l); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; color: var(--color-black); }
.why-name::before {
  content: ""; display: inline-block; width: 0; height: 0.32em; margin-right: 0; border-radius: 999px; background: var(--color-accent);
  vertical-align: 0.18em; transition: width 0.6s var(--ease-out), margin 0.6s var(--ease-out);
}
.why-desc { color: var(--color-text-secondary); max-width: 42ch; }
.why-row:hover::before, .why-row:focus-visible::before { transform: scaleY(1); }
.why-row:hover .why-num, .why-row:focus-visible .why-num { color: var(--color-black); }
.why-row:hover .why-name::before, .why-row:focus-visible .why-name::before { width: 0.9em; margin-right: 0.25em; }
.why-row:focus-visible { box-shadow: none; outline: 2px solid var(--color-black); outline-offset: -2px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); border-top: 1px solid var(--color-border); }
.contact-head { display: grid; gap: 28px; align-content: start; position: relative; }
.contact-title {
  font-size: clamp(2.4rem, 4.8vw, 4.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; color: var(--color-black);
}
.contact-head .lead { color: var(--color-text-secondary); }
.contact--page { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); min-height: 100vh; border-top: 0; }
.next-steps { display: grid; gap: 0; border-top: 1px solid var(--color-black); }
.next-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.next-steps .meta { color: var(--color-text-secondary); padding-top: 4px; }
.contact-ring { width: 160px; }
.contact-ring circle { fill: none; stroke: var(--color-silver); stroke-width: 1; }
.contact-ring circle.dot { fill: var(--color-accent); stroke: var(--color-black); }
.contact-ring svg { animation: spin 24s linear infinite; }

.contact-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; align-content: start;
  padding: clamp(24px, 3.4vw, 48px); background: var(--color-white); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
}
.field { display: grid; gap: 6px; padding-top: 12px; }
.field--wide, .form-foot, .form-status-slot { grid-column: 1 / -1; }
.field label { font-size: 0.94rem; color: var(--color-text); display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.field label .meta { color: var(--color-text-secondary); font-weight: 400; }
.optional { color: var(--color-text-secondary); font-size: 0.85em; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--brand-silver); border-radius: var(--radius-md);
  background: var(--brand-white); font-size: 1rem; font-weight: 500; color: var(--brand-black);
  transition: border-color 0.3s, box-shadow 0.3s; -webkit-appearance: none; appearance: none;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, #DDE1E0, #171717 14%); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
/* consent checkbox in the brand palette (the browser default is a grey outline) */
input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; display: inline-grid; place-items: center;
  border: 1.5px solid var(--brand-black); border-radius: 5px; background: var(--brand-white); cursor: pointer;
  transition: background-color 0.25s, box-shadow 0.25s;
}
input[type="checkbox"]::after { content: ""; width: 10px; height: 6px; border: solid var(--brand-black); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 0.25s var(--ease-out); }
input[type="checkbox"]:checked { background: var(--brand-lime); }
input[type="checkbox"]:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(198, 243, 107, 0.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-lime-hover); box-shadow: 0 0 0 4px rgba(198, 243, 107, 0.45); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-secondary); opacity: 0.8; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--brand-black); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); pointer-events: none; }
.field select { cursor: pointer; padding-right: 40px; }
.field select.is-chosen { border-color: var(--brand-lime-hover); }
.field-hint { color: var(--color-text-secondary); text-transform: none; letter-spacing: 0.02em; }
.field-error { min-height: 1.2em; color: var(--color-danger); font-size: 0.86rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-danger); }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; }
.form-note { color: var(--color-text-secondary); font-size: 0.9rem; max-width: 40ch; }
.form-status { padding: 14px 18px; border-left: 3px solid; font-size: 1rem; margin-top: 8px; color: var(--color-text); }
.form-status.is-success { border-color: var(--color-black); background: rgba(198, 243, 107, 0.35); }
.form-status.is-error { border-color: var(--color-danger); background: #FFFFFF; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form.is-sent .field, .contact-form.is-sent .form-foot { opacity: 0.4; pointer-events: none; }

.contact-list { display: grid; gap: 10px; }
.contact-list li { display: grid; gap: 2px; color: var(--color-text-secondary); }
.contact-list .meta { color: var(--color-text-secondary); }
.contact-list a { color: var(--color-text); }

/* ==========================================================================
   Footer (light)
   ========================================================================== */
.site-footer { position: relative; z-index: 1; background: var(--brand-black); color: var(--color-text); padding: clamp(64px, 10vw, 140px) var(--gutter) 0; overflow: hidden; }
.footer-cta { display: grid; gap: 14px; text-decoration: none; padding-bottom: clamp(48px, 8vw, 110px); border-bottom: 1px solid var(--color-border); color: var(--color-text-secondary); }
.footer-cta-text {
  font-size: var(--fs-xl); color: var(--color-black); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; justify-self: start;
  background: linear-gradient(var(--color-accent), var(--color-accent)) 0 88% / 0 0.16em no-repeat; transition: background-size 0.7s var(--ease-out);
}
.footer-cta .arrow { display: inline-block; transition: transform 0.6s var(--ease-out); }
.footer-cta:hover .footer-cta-text, .footer-cta:focus-visible .footer-cta-text { background-size: 100% 0.16em; }
.footer-cta:hover .arrow { transform: translateX(0.25em) rotate(-45deg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 56px 0; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand p { color: var(--color-text-secondary); max-width: 32ch; }
.footer-col h2 { color: var(--color-text-secondary); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { text-decoration: none; color: var(--color-text); background: linear-gradient(var(--color-black), var(--color-black)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease-out); }
.footer-col a:hover { background-size: 100% 1px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--color-border); color: var(--color-text-secondary); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { text-decoration: none; color: var(--color-text-secondary); }
.footer-legal a:hover { color: var(--color-black); }
/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
  position: relative; min-height: 0; display: grid; align-content: end; gap: clamp(20px, 2.6vw, 32px);
  padding: calc(var(--header-h) + 36px) var(--gutter) clamp(36px, 4.5vw, 64px);
}
.page-hero--short { min-height: min(46vh, 460px); }
.page-title { font-size: var(--fs-xxl); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; color: var(--color-black); }

.page-hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; border-top: 1px solid var(--color-border); padding-top: 24px; }
.page-hero-foot .lead { color: var(--color-text-secondary); max-width: 48ch; }
.page-hero-foot .lead strong { color: var(--color-text); }
.jump-list { display: grid; gap: 6px; }
.jump-list a { font-family: var(--f-mono); font-weight: var(--fw-label); font-size: 0.82rem; letter-spacing: var(--ls-label); text-transform: uppercase; text-decoration: none; color: var(--color-black); }
.jump-list a .meta { color: var(--color-text-secondary); margin-right: 10px; }
.jump-list a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 3px; }

.page-hero--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; align-content: stretch; }
.page-hero--split .page-hero-copy { display: grid; gap: 32px; }
.page-hero--split .page-title { font-size: var(--fs-xxl); }
.page-hero--split .lead { color: var(--color-text-secondary); }
.page-hero--split .scene--contained { height: 100%; min-height: 60vh; }

/* services detail */
.svc {
  position: relative; min-height: 100vh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px;
  align-content: center; padding: clamp(96px, 12vw, 160px) var(--gutter);
}
.svc-head { grid-column: 1 / span 5; display: grid; gap: 18px; align-content: start; position: relative; z-index: 2; }
.svc-body { grid-column: 7 / span 6; display: grid; gap: 32px; align-content: start; position: relative; z-index: 2; padding: clamp(22px, 3vw, 44px); background: rgba(255, 255, 255, 0.95); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.svc.dim--right .svc-head { grid-column: 8 / span 5; grid-row: 1; }
.svc.dim--right .svc-body { grid-column: 1 / span 6; grid-row: 1; }
.svc-title { font-size: var(--fs-xl); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; color: var(--color-black); }
.svc-tagline { font-family: var(--f-sans); font-weight: 600; letter-spacing: -0.015em; font-size: var(--fs-l); color: var(--color-black); line-height: 1.1; }
.svc-tagline::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.3em; border-radius: 50%; background: var(--dim-swatch, var(--color-accent)); box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.35); vertical-align: 0.06em; }
.svc#marketing { --dim-swatch: var(--color-accent); }
.svc#staffing { --dim-swatch: #FFFFFF; }
.svc#cloud { --dim-swatch: var(--color-accent-blue); }
.svc#ai-ml { --dim-swatch: var(--color-lavender); }
.cap-list { display: grid; border-top: 1px solid var(--color-black); }
.cap-list > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.cap-list dt { font-weight: 600; color: var(--color-black); }
.cap-list dd { color: var(--color-text-secondary); }
.svc .btn { justify-self: start; }

/* about */
.orbit-section { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; border-top: 1px solid var(--color-border); }
.orbit-copy { display: grid; gap: 24px; align-content: start; }
.orbit-copy > p { color: var(--color-text-secondary); }
.orbit-legend { display: grid; border-top: 1px solid var(--color-black); }
.orbit-legend button {
  width: 100%; display: flex; gap: 14px; align-items: baseline; text-align: left; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-m); font-weight: 560; cursor: pointer; color: var(--color-text-secondary); transition: color 0.3s, padding 0.5s var(--ease-out);
}
.orbit-legend button .meta { color: var(--color-text-secondary); }
.orbit-legend button[aria-pressed="true"], .orbit-legend button:hover { color: var(--color-black); padding-left: 8px; }
.orbit-legend button[aria-pressed="true"] .meta::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-black); vertical-align: middle; }
.orbit-detail p { font-size: var(--fs-m); line-height: 1.5; min-height: 4.5em; color: var(--color-text); }
.orbit-svg { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }
.orbit-path { fill: none; stroke: color-mix(in srgb, #DDE1E0, #171717 17%); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
.orbit-path--inner { stroke: var(--color-silver); stroke-dasharray: 0.01 0.02; }
.orbit-links path { fill: none; stroke: #DDE1E0; stroke-width: 1; }
.orbit-node circle { fill: var(--color-white); stroke: color-mix(in srgb, #DDE1E0, #171717 17%); stroke-width: 1.2; transition: fill 0.4s, stroke 0.4s, r 0.4s; }
.orbit-node text { font-family: var(--f-mono); font-size: 13px; text-anchor: middle; fill: var(--color-text-secondary); transition: fill 0.4s; }
.orbit-node.is-active circle { fill: var(--color-accent); stroke: var(--color-black); r: 32; }
.orbit-node.is-active text { fill: var(--color-black); }
.orbit-center { font-family: var(--f-display); font-size: 44px; font-weight: 700; text-anchor: middle; fill: var(--color-black); letter-spacing: -1px; }

.principle-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 8vw, 110px); border-top: 1px solid var(--color-black); }
.principle-list li { display: grid; gap: 14px; align-content: start; padding: 24px 24px 0 0; }
.principle-list li + li { padding-left: 24px; border-left: 1px solid var(--color-border); }
.principle-list .meta { color: var(--color-text-secondary); }
.principle-list h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--color-black); }
.principle-list p { color: var(--color-text-secondary); }

.cta-band { display: grid; justify-items: start; gap: 40px; border-top: 1px solid var(--color-border); }
.cta-band-title { font-size: clamp(2.25rem, 4.6vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; text-wrap: balance; color: var(--color-black); }
.cta-band-title em { text-transform: none; }

/* work page */
.work-index { display: grid; gap: clamp(80px, 12vw, 180px); border-top: 1px solid var(--color-border); }
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: center; }
.case-media { grid-column: 1 / span 7; }
.case-info { grid-column: 9 / span 4; display: grid; gap: 22px; }
.case--flip .case-media { grid-column: 6 / span 7; grid-row: 1; }
.case--flip .case-info { grid-column: 1 / span 4; grid-row: 1; }
.case-title { font-size: var(--fs-l); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--color-black); }
.case-facts { display: grid; border-top: 1px solid var(--color-black); }
.case-facts > div { padding: 12px 0; border-bottom: 1px solid var(--color-border); display: grid; gap: 6px; }
.case-facts dt { color: var(--color-text-secondary); }
.case-facts dd { color: var(--color-text); }
.case:hover .project-media-inner { transform: scale(1.04); }

/* prose / privacy */
.prose { max-width: calc(68ch + var(--gutter) * 2); display: grid; gap: 18px; padding-top: 40px; }
.prose h2 { font-size: var(--fs-m); font-weight: 650; margin-top: 24px; color: var(--color-black); }
.prose p { color: var(--color-text-secondary); }
.prose > .meta { color: var(--color-text-secondary); }

.error-hero { min-height: 100vh; align-content: center; }
.error-hero .lead { color: var(--color-text-secondary); }
.error-hero .btn { justify-self: start; }

/* custom cursor (fine pointers only, enabled by JS) */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--color-black);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background-color 0.3s, opacity 0.3s;
}
.cursor.is-hover .cursor-dot { width: 42px; height: 42px; margin: -21px 0 0 -21px; background: rgba(198, 243, 107, 0.5); box-shadow: 0 0 0 1px var(--color-black); }
.cursor.is-label .cursor-dot { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-black); }
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-family: var(--f-mono); font-weight: var(--fw-label); font-size: 0.72rem; letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--color-black); opacity: 0; transition: opacity 0.3s;
}
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }

/* decorative display type is drawn as generated content (no readable text node) */
.kinetic-row::before { content: attr(data-text); }
