/* Layout: Apple/Tesla-style stack of full-bleed bands (ink / ivory / stone), big centred statements,
   rounded product tiles, sticky product sub-nav. The Stack's slanted bar recurs as the brand motif.
   Single committed brand look (light ground, ink bands). */
:root {
  --ink: #0D1B24;
  --ink-2: #14252F;
  --ink-3: #1D323F;
  --ivory: #FBFAF7;
  --stone: #F6F4EF;
  --stone-2: #ECE8DD;
  --gold: #B08A45;
  --gold-2: #CBAA6C;
  --bronze: #7A5E2C;
  --body: #3A3F44;
  --mute: #5C656B;
  --mist: #C9CED1;
  --dim: #8E979D;
  --line: rgba(13, 27, 36, 0.12);
  --line-d: rgba(246, 244, 239, 0.14);
  --ok: #2F6B4F;
  --sans: 'Source Sans 3', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --label: 'Manrope', 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --wrap: 1240px;
  --r-tile: 28px;
  --r-card: 18px;
  --band: var(--ink);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--body);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.has-local { --band: var(--ivory); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 95; background: var(--band); }
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 920px; }
@media (max-width: 560px) { .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 200; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
.display { font-size: clamp(54px, 9.4vw, 132px); line-height: 0.94; letter-spacing: -0.045em; }
.h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: 0.98; letter-spacing: -0.04em; }
.h2 { font-size: clamp(36px, 4.9vw, 66px); line-height: 1.02; letter-spacing: -0.035em; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.h4 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.lead { font-size: clamp(19px, 1.75vw, 24px); line-height: 1.45; color: var(--mute); max-width: 36em; }
.small { font-size: 15px; line-height: 1.5; color: var(--mute); }
.label { font-family: var(--label); font-weight: 800; font-size: 12.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--bronze); }
.gold-x { color: var(--gold); }
.tabnum { font-variant-numeric: tabular-nums; }
.ink-band h1, .ink-band h2, .ink-band h3, .ink-band h4, .tile-ink h2, .tile-ink h3, .tile-ink h4 { color: var(--ivory); }
.ink-band, .tile-ink { color: var(--mist); }
.ink-band .lead, .tile-ink .lead { color: var(--mist); }
.ink-band .label, .tile-ink .label { color: var(--gold-2); }
.ink-band .small, .tile-ink .small { color: var(--dim); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 17px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: var(--ink-3); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(13,27,36,.35); }
.btn-ghost:hover { border-color: var(--ink); }
.ink-band .btn-ghost, .tile-ink .btn-ghost { color: var(--ivory); border-color: rgba(246,244,239,.4); }
.ink-band .btn-ghost:hover, .tile-ink .btn-ghost:hover { border-color: var(--ivory); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btns, .btns.center { justify-content: center; }
.more { color: var(--bronze); font-weight: 600; text-decoration: none; white-space: nowrap; }
.more::after { content: " \203A"; font-weight: 400; font-size: 1.15em; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ink-band .more, .tile-ink .more { color: var(--gold-2); }
.links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.center .links { justify-content: center; }

/* ---------- Global nav (Apple-style, dark translucent) ---------- */
.gnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 90; background: rgba(13,27,36,.88); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid rgba(246,244,239,.06); }
body.has-local .gnav { position: relative; top: 0; }
body.menu-open .gnav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; }
.gnav-in { display: flex; align-items: center; gap: 28px; min-height: 58px; }
.brand { display: block; line-height: 0; margin-left: -6px; flex: none; }
.brand img { width: 122px; height: auto; display: block; }
.gnav-links { display: flex; gap: 30px; margin-left: auto; }
.gnav-links a { color: var(--mist); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 0; transition: color .2s; }
.gnav-links a:hover, .gnav-links a[aria-current="page"] { color: var(--ivory); }
.gnav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.gnav-cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ivory); margin: 5px 0; transition: transform .25s, opacity .2s; transform-origin: center; }
.menu-toggle span:nth-child(2) { background: var(--gold); }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.gnav-menu { position: fixed; inset: 0; z-index: -1; background: var(--ink); overflow-y: auto;
  padding: calc(84px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px)); }
.gnav-menu nav { display: grid; gap: 4px; }
.gnav-menu a.big { color: var(--ivory); text-decoration: none; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; padding: 6px 0; }
.gnav-menu .sub { display: grid; gap: 6px; margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--line-d); }
.gnav-menu .sub a { color: var(--mist); text-decoration: none; font-size: 18px; }
@media (max-width: 960px) {
  .gnav-links, .gnav-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Local product nav (sticky) ---------- */
.lnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 80; background: rgba(251,250,247,.86); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.lnav-in { display: flex; align-items: center; gap: 24px; min-height: 54px; }
.lnav-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.lnav-title small { font-family: var(--label); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: var(--bronze); text-transform: uppercase; }
.lnav-links { display: flex; gap: 22px; margin-left: auto; }
.lnav-links a { font-size: 13.5px; color: var(--body); text-decoration: none; }
.lnav-links a:hover { color: var(--ink); }
.lnav .btn { margin-left: 4px; }
@media (max-width: 820px) { .lnav-links { display: none; } .lnav .btn { margin-left: auto; } .lnav-title small { display: none; } }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(88px, 11vw, 160px); }
.sec-tight { padding-block: clamp(64px, 8vw, 104px); }
.ink-band { background: var(--ink); }
.ivory-band { background: var(--ivory); }
.stone-band { background: var(--stone); }
.head { display: grid; gap: 20px; max-width: 880px; margin-bottom: clamp(48px, 6vw, 84px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 22px; align-content: start; }

/* reveal: content is visible at rest; JS adds a gentle lift as it enters */
html.js .rv { transform: translateY(26px); transition: transform 1s cubic-bezier(.16,.8,.24,1); }
html.js .rv.in { transform: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--mist); isolation: isolate; }
.hero canvas.current { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 52% at 50% 46%, rgba(13,27,36,.92) 0%, rgba(13,27,36,.6) 55%, rgba(13,27,36,0) 100%); }
.hero-in { min-height: min(900px, 94svh); display: grid; align-content: center; justify-items: center; text-align: center; gap: 30px; padding-block: 120px 56px; }
.hero h1 { color: var(--ivory); }
.hero .label { color: var(--gold-2); }
.hero .btn-ghost { color: var(--ivory); border-color: rgba(246,244,239,.4); }
.hero .btn-ghost:hover { border-color: var(--ivory); }
.hero .lead { color: var(--mist); max-width: 34em; }
.hero .btns { justify-content: center; margin-top: 6px; }
.markers { list-style: none; margin: 40px 0 0; padding: 30px 0 0; width: 100%; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.markers li { display: grid; gap: 6px; justify-items: center; padding: 0 16px; }
.markers li + li { border-left: 1px solid var(--line-d); }
.markers b { font-size: clamp(38px, 4.6vw, 60px); line-height: 1; font-weight: 900; color: var(--ivory); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.markers b span { color: var(--gold); }
.markers em { font-style: normal; font-size: 15.5px; line-height: 1.35; color: var(--mist); max-width: 15em; }
.markers-cap { font-family: var(--label); font-size: 11.5px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--gold-2); margin-top: -10px; }
@media (max-width: 620px) {
  .markers { grid-template-columns: 1fr; gap: 0; padding-top: 8px; }
  .markers li { grid-template-columns: 138px minmax(0,1fr); justify-items: start; align-items: center; text-align: left; padding: 14px 0; }
  .markers li + li { border-left: 0; border-top: 1px solid var(--line-d); }
  .markers b { font-size: 38px; }
}
.markers.on-light { border-top-color: var(--line); }
.markers.on-light li + li { border-left-color: var(--line); }
.markers.on-light b { color: var(--ink); }
.markers.on-light em { color: var(--mute); }
@media (max-width: 620px) { .markers.on-light li + li { border-top-color: var(--line); } }

/* ---------- Page heroes (front doors, about, contact) ---------- */
.phero { padding-block: clamp(96px, 13vw, 176px) clamp(72px, 9vw, 120px); }
.phero .wrap { display: grid; gap: 28px; justify-items: center; text-align: center; }
.phero .lead { margin-inline: auto; }
.phero.left .wrap { justify-items: start; text-align: left; }
.phero.left .lead { margin-inline: 0; }

/* product hero with visual */
.prod-hero { padding-block: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.prod-hero .intro { display: grid; gap: 22px; justify-items: center; text-align: center; }
.prod-hero .intro .lead { margin-inline: auto; }
.prod-hero .tagline { font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); max-width: 20em; text-wrap: balance; }
.ink-band .prod-hero .tagline, .prod-hero.ink-band .tagline { color: var(--ivory); }
.prod-visual { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: center; }
.prod-visual > * { width: min(980px, 100%); }
.prod-hero.no-visual { padding-bottom: clamp(72px, 9vw, 120px); }

/* ---------- Statement (scroll-lit) ---------- */
.statement { font-size: clamp(32px, 4.5vw, 60px); line-height: 1.14; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); max-width: 22em; text-wrap: pretty; }
.statement.center { margin-inline: auto; }
html.js .statement[data-lit] span { color: #879096; transition: color .35s; }
html.js .statement[data-lit] span.lit { color: var(--ink); }
.ink-band .statement { color: var(--ivory); }
html.js .ink-band .statement[data-lit] span { color: #4C5F6B; }
html.js .ink-band .statement[data-lit] span.lit { color: var(--ivory); }
.statement-src { margin-top: 28px; }

/* ---------- Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-tile); padding: clamp(32px, 4.2vw, 60px); display: grid; gap: 18px; align-content: start; min-width: 0; isolation: isolate; }
.tile-ink { background: var(--ink); }
.tile-stone { background: var(--stone); }
.tile-ivory { background: var(--ivory); border: 1px solid var(--line); }
.tile-gold { background: linear-gradient(160deg, #C29A55, var(--gold)); color: var(--ink); }
.tile-gold .label { color: var(--ink); }
.tile .tile-foot { margin-top: auto; padding-top: 12px; }
.tile.tall { min-height: 620px; }
.tile.mid { min-height: 440px; }
.tile .lead { font-size: clamp(18px, 1.5vw, 21px); }
@media (max-width: 900px) { .tiles, .tiles.three { grid-template-columns: 1fr; } .tile.tall { min-height: 0; } .tile.mid { min-height: 0; } }

/* front doors */
.door { padding-bottom: 260px; }
.door h2 { font-size: clamp(40px, 5vw, 64px); }
.door ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.door.tile-ink ul { border-top-color: var(--line-d); }
.door li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.door.tile-ink li a { border-bottom-color: var(--line-d); }
.door li b { font-size: 19px; font-weight: 700; color: var(--ink); }
.door.tile-ink li b { color: var(--ivory); }
.door li span { font-size: 15px; color: var(--mute); text-align: right; }
.door.tile-ink li span { color: var(--dim); }
.door li a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.door .bars { position: absolute; right: -40px; bottom: -30px; width: 420px; z-index: -1; display: grid; gap: 14px; transform: rotate(0deg); }
.door .bars i { display: block; height: 52px; border-radius: 4px; transform: skewX(-22deg); }
.door.tile-ink .bars i { background: rgba(246,244,239,.07); }
.door.tile-ink .bars i:nth-child(2) { background: var(--gold); opacity: .9; width: 112%; margin-left: -12%; }
.door.tile-stone .bars i { background: rgba(13,27,36,.06); }
.door.tile-stone .bars i:nth-child(2) { background: var(--gold); opacity: .85; width: 112%; margin-left: -12%; }
.door .bars i:nth-child(1) { margin-left: 22%; width: 78%; }
.door .bars i:nth-child(3) { width: 74%; }
@media (max-width: 560px) { .door { padding-bottom: 180px; } .door .bars { width: 300px; gap: 10px; } .door .bars i { height: 36px; } .door li span { display: none; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; gap: 10px; align-content: start; padding: 8px 28px 8px 0; min-width: 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.ink-band .stat + .stat { border-left-color: var(--line-d); }
.stat .num { font-size: clamp(52px, 6.6vw, 96px); line-height: .95; font-weight: 900; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .num.sm { font-size: clamp(44px, 4.6vw, 68px); }
.ink-band .stat .num { color: var(--ivory); }
.ink-band .stat .num.gold { color: var(--gold); }
.stat .cap { font-size: 17px; line-height: 1.4; color: var(--mute); max-width: 18em; }
.ink-band .stat .cap { color: var(--mist); }
.stat .tag { font-family: var(--label); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.ink-band .stat .tag { color: var(--gold-2); }
.src { margin-top: 40px; font-size: 13.5px; color: var(--dim); }
@media (max-width: 1000px) { .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .stats.four .stat:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; row-gap: 0; }
  .stat, .stat + .stat { padding: 26px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .ink-band .stat + .stat { border-top-color: var(--line-d); }
}
@media (max-width: 760px) { .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats.four .stat { padding: 20px 12px 20px 0; border-top: 0; } .stats.four .stat:nth-child(odd) { padding-left: 0; } .stats.four .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); } .ink-band .stats.four .stat:nth-child(even) { border-left-color: var(--line-d); } }

/* mandates */
.mandates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mandate { background: var(--ink-2); border-radius: var(--r-card); padding: 36px 32px 34px; display: grid; gap: 14px; align-content: start; min-width: 0; border: 1px solid rgba(246,244,239,.06); }
.mandate .num { font-size: clamp(52px, 5.4vw, 80px); font-weight: 900; letter-spacing: -0.05em; line-height: .95; color: var(--gold); font-variant-numeric: tabular-nums; }
.mandate h3 { color: var(--ivory); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.mandate p { color: var(--mist); font-size: 16.5px; }
.mandate .kind { font-family: var(--label); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 900px) { .mandates { grid-template-columns: 1fr; } }

/* ---------- Cards / feature grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--ivory); border-radius: var(--r-card); padding: 32px 30px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.stone-band .card { background: var(--ivory); }
.ivory-band .card { background: var(--stone); }
.ink-band .card { background: var(--ink-2); border: 1px solid rgba(246,244,239,.06); }
.ink-band .card h3, .ink-band .card h4 { color: var(--ivory); }
.card p { color: var(--mute); font-size: 16.5px; }
.ink-band .card p { color: var(--mist); }
.card .label { margin-bottom: 4px; }
.card .more { margin-top: 6px; justify-self: start; }
.card.wide { grid-column: 1 / -1; }

/* line list (no card) */
.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.lines.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lines > div { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); min-width: 0; }
.lines > div:nth-child(even) { border-top-color: var(--gold); }
.ink-band .lines > div { border-top-color: var(--ivory); }
.ink-band .lines > div:nth-child(even) { border-top-color: var(--gold); }
.lines p { color: var(--mute); font-size: 16.5px; }
.ink-band .lines p { color: var(--mist); }
@media (max-width: 1000px) { .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lines, .lines.three { grid-template-columns: 1fr; gap: 28px; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.45; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .58em; width: 14px; height: 4px; border-radius: 1px; background: var(--gold); transform: skewX(-22deg); }
.ink-band .ticks li, .tile-ink .ticks li { color: var(--mist); }

/* ---------- Path (real sequence) ---------- */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.path::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 2px; background: var(--line); }
.ink-band .path::before { background: var(--line-d); }
.path li { counter-increment: step; position: relative; display: grid; gap: 8px; align-content: start; padding-top: 42px; min-width: 0; }
.path li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--ink); box-sizing: border-box; }
.path li:nth-child(odd)::before { border-color: var(--gold); background: var(--gold); }
.stone-band .path li::before { background: var(--stone); }
.stone-band .path li:nth-child(odd)::before { background: var(--gold); }
.ink-band .path li::before { background: var(--ink); border-color: var(--ivory); }
.ink-band .path li:nth-child(odd)::before { background: var(--gold); border-color: var(--gold); }
.path .step { font-family: var(--label); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.ink-band .path .step { color: var(--gold-2); }
.path .step::before { content: "Step " counter(step); }
.path h3 { font-size: 23px; font-weight: 800; }
.path p { font-size: 16px; color: var(--mute); }
.ink-band .path p { color: var(--mist); }
.path.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .path, .path.four { grid-template-columns: 1fr; gap: 0; }
  .path::before { left: 10px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .path li { padding: 0 0 34px 48px; }
}

/* ---------- Mock UI (illustrative product visuals) ---------- */
.mock { background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(13,27,36,.35), 0 0 0 1px rgba(13,27,36,.06); color: var(--body); text-align: left; overflow: hidden; }
.ink-band .mock { box-shadow: 0 50px 100px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(246,244,239,.08); }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--stone); }
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #D9D4C8; }
.mock-bar b { font-size: 14px; color: var(--ink); font-weight: 700; }
.mock-bar .ex { margin-left: auto; font-family: var(--label); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); background: rgba(176,138,69,.14); padding: 4px 9px; border-radius: 999px; }
.mock-body { padding: 26px; display: grid; gap: 20px; }
.mock-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 720px) { .mock-grid { grid-template-columns: 1fr; } .mock-body { padding: 20px; } }
.ring { width: 180px; aspect-ratio: 1; max-width: 100%; border-radius: 50%; display: grid; place-items: center; margin: 0 auto;
  background: conic-gradient(var(--gold) calc(var(--v) * 1%), var(--stone-2) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 16px; background: #fff; border-radius: 50%; }
.ring div { position: relative; text-align: center; display: grid; gap: 2px; }
.ring b { font-size: 46px; font-weight: 900; color: var(--ink); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ring span { font-size: 12.5px; color: var(--mute); }
.meters { display: grid; gap: 14px; }
.meter { display: grid; gap: 6px; }
.meter-top { display: flex; justify-content: space-between; font-size: 14.5px; }
.meter-top b { color: var(--ink); font-weight: 700; }
.meter-top span { font-variant-numeric: tabular-nums; color: var(--mute); }
.meter-track { height: 8px; border-radius: 99px; background: var(--stone-2); overflow: hidden; }
.meter-track i { display: block; height: 100%; border-radius: 99px; background: var(--ink); width: calc(var(--v) * 1%); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.meter:nth-child(2) .meter-track i { background: var(--gold); }
.rows { display: grid; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row b { color: var(--ink); font-weight: 600; }
.row small { display: block; color: var(--mute); font-size: 13px; }
.chip { font-family: var(--label); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.chip-done { background: rgba(47,107,79,.12); color: var(--ok); }
.chip-due { background: rgba(176,138,69,.18); color: var(--bronze); }
.chip-open { background: var(--ink); color: var(--ivory); }
.chip-flag { background: rgba(163,52,31,.1); color: #9A3220; }
.mock h5 { margin: 0; font-family: var(--label); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }

/* ---------- Calendar strip (GRC) ---------- */
.cal-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.cal { display: grid; grid-template-columns: repeat(12, minmax(82px, 1fr)); min-width: 980px; border-top: 2px solid var(--ivory); }
.cal > div { padding: 14px 10px 18px 0; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line-d); padding-left: 10px; }
.cal > div:first-child { padding-left: 0; }
.cal .m { font-family: var(--label); font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--gold-2); }
.cal .e { font-size: 13.5px; line-height: 1.3; color: var(--mist); background: var(--ink-2); border-radius: 8px; padding: 8px 9px; border-left: 3px solid var(--ink-3); }
.cal .e.g { border-left-color: var(--gold); }
.cal .e.r { border-left-color: var(--ivory); }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-card); }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { vertical-align: bottom; padding-top: 8px; border-bottom: 2px solid var(--ink); }
.compare thead th b { display: block; font-size: 24px; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
.compare thead th span { display: block; font-size: 14.5px; font-weight: 400; color: var(--mute); margin-top: 4px; max-width: 16em; }
.compare thead th.feat { width: 34%; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--body); }
.compare .y { display: inline-block; width: 22px; height: 6px; border-radius: 1px; background: var(--gold); transform: skewX(-22deg); vertical-align: middle; }
.compare .n { color: #A8AEB2; }
.compare .hl { background: rgba(176,138,69,.07); }

/* ---------- Health check ---------- */
.hc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .hc { grid-template-columns: 1fr; } }
.hc-qs { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: q; }
.hc-q { border: 0; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; counter-increment: q; }
.hc-q legend { float: left; width: 100%; padding: 0; display: contents; }
.hc-q .qt { font-size: 17px; line-height: 1.45; color: var(--ink); }
.hc-q .qt small { display: block; font-family: var(--label); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 4px; }
.seg { display: inline-flex; background: var(--stone-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--body); cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.seg input:checked + span { background: var(--ink); color: var(--ivory); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 1px; }
@media (max-width: 600px) { .hc-q { grid-template-columns: 1fr; } }
.hc-res { position: sticky; top: 76px; background: var(--ink); color: var(--mist); border-radius: var(--r-tile); padding: 32px; display: grid; gap: 20px; }
.hc-res h3 { color: var(--ivory); }
.hc-score { display: flex; align-items: baseline; gap: 10px; }
.hc-score b { font-size: 84px; line-height: .9; font-weight: 900; color: var(--ivory); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.hc-score span { font-size: 18px; color: var(--dim); }
.hc-band { font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.hc-res .meter-top b { color: var(--ivory); }
.hc-res .meter-top span { color: var(--mist); }
.hc-res .meter-track { background: var(--ink-3); }
.hc-res .meter-track i { background: var(--ivory); }
.hc-res .meter:nth-child(2) .meter-track i { background: var(--gold); }
.hc-gaps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-gaps li { font-size: 15.5px; line-height: 1.4; color: var(--mist); padding-left: 22px; position: relative; }
.hc-gaps li::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 4px; background: var(--gold); transform: skewX(-22deg); }
.hc-res .small { color: var(--dim); }
@media (max-width: 960px) { .hc-res { position: static; } }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--stone); border-radius: var(--r-tile); overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-width: 0; }
.person img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.person .bio { padding: 32px; display: grid; gap: 12px; align-content: end; }
.person .role { font-weight: 600; color: var(--bronze); }
.person p { font-size: 16px; color: var(--mute); }
@media (max-width: 1060px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; } .person img { aspect-ratio: 4 / 3.4; object-position: 50% 20%; } }

/* Current vs Elephants */
.ce { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ce .tile { min-height: 520px; }
.ce .viz { height: 120px; position: relative; margin-bottom: 8px; }
.ce .viz i { position: absolute; display: block; height: 6px; border-radius: 2px; background: rgba(246,244,239,.5); transform: skewX(-22deg); }
.ce .tile-stone .viz i { background: rgba(13,27,36,.35); }
.ce .viz.big i { height: 40px; background: var(--gold) !important; }
.ce dl { margin: 8px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.ce .tile-stone dl { border-top-color: var(--line); }
.ce dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-d); }
.ce .tile-stone dl div { border-bottom-color: var(--line); }
.ce dt { font-family: var(--label); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); padding-top: 3px; }
.ce .tile-stone dt { color: var(--bronze); }
.ce dd { margin: 0; font-size: 16.5px; }
.ce .tile-stone dd { color: var(--body); }
@media (max-width: 900px) { .ce { grid-template-columns: 1fr; } .ce .tile { min-height: 0; } }
@media (max-width: 480px) { .ce dl div { grid-template-columns: 1fr; gap: 4px; } }

/* verbs (mission) */
.verbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-d); }
.verbs > div { padding: 32px 24px 8px 0; display: grid; gap: 12px; align-content: start; min-width: 0; }
.verbs > div + div { padding-left: 24px; border-left: 1px solid var(--line-d); }
.verbs b { font-size: clamp(34px, 3.8vw, 52px); font-weight: 900; letter-spacing: -0.04em; color: var(--ivory); line-height: 1; }
.verbs > div:last-child b { color: var(--gold); }
.verbs p { font-size: 16.5px; color: var(--mist); }
@media (max-width: 900px) { .verbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .verbs > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .verbs { grid-template-columns: 1fr; } .verbs > div, .verbs > div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line-d); } }

/* coming soon */
.soon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-tile); background: var(--ink); color: var(--mist); }
.soon h3 { color: var(--ivory); }
.soon .yr { font-size: clamp(56px, 6vw, 84px); font-weight: 900; color: var(--gold); letter-spacing: -0.05em; line-height: .9; }
.soon .yr small { display: block; font-family: var(--label); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
@media (max-width: 860px) { .soon { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field legend { font-weight: 700; font-size: 16px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--mute); }
.field input:not([type=radio]), .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid rgba(13,27,36,.22); border-radius: 14px; padding: 14px 16px; min-height: 54px; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(176,138,69,.3); }
.field [aria-invalid="true"] { border-color: #A3341F !important; }
.error { color: #A3341F; font-size: 15px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aud label { position: relative; display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; border: 1.5px solid rgba(13,27,36,.18); background: #fff; cursor: pointer; }
.aud input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.aud b { font-size: 19px; color: var(--ink); }
.aud span { font-size: 14.5px; color: var(--mute); }
.aud label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--stone); }
.aud label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 480px) { .aud { grid-template-columns: 1fr; } }
.form .seg { flex-wrap: wrap; border-radius: 18px; }
@media (max-width: 600px) { .form .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } .form .seg span { text-align: center; } }
.form .actions { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; }
.form-status { grid-column: 1 / -1; background: var(--stone); border-radius: 14px; padding: 16px 18px; color: var(--ink); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.contacts { display: grid; gap: 12px; }
.contacts .card { background: var(--stone); padding: 24px 24px; gap: 4px; }
.contacts .card b { color: var(--ink); font-size: 18px; }
.contacts .card a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contacts .card a:hover { color: var(--bronze); }
.contacts address { font-style: normal; color: var(--body); }
.contacts .who { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 14px; align-items: center; }
.contacts .who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ---------- CTA band ---------- */
.cta-band .wrap { display: grid; gap: 26px; justify-items: center; text-align: center; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--dim); font-size: 15px; padding-block: 72px 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--line-d); }
.foot-top > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.foot-logo { width: 150px; margin-left: -6px; }
.foot .tagline { color: var(--ivory); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.foot h4 { font-family: var(--label); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--mist); text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--ivory); }
.foot address { font-style: normal; color: var(--mist); }
.foot-legal { padding-top: 28px; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.55; }
.foot-legal p { max-width: 80em; }
@media (max-width: 1000px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }

/* misc */
.note { font-size: 14.5px; color: var(--mute); max-width: 52em; }
.ink-band .note { color: var(--dim); }
.mt-s { margin-top: 24px; }
.mt-m { margin-top: 48px; }
.mt-l { margin-top: clamp(56px, 7vw, 96px); }
.notfound { min-height: 62vh; display: grid; align-content: center; justify-items: center; text-align: center; gap: 22px; }

/* ---------- Motion layer v5 ---------- */
.has-current { position: relative; overflow: hidden; isolation: isolate; }
.has-current > canvas.current { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; pointer-events: none; }
.has-current::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 58% 60% at 50% 42%, rgba(13,27,36,.9) 0%, rgba(13,27,36,.55) 55%, rgba(13,27,36,0) 100%); }
.has-current.ivory-band::after { background: radial-gradient(ellipse 58% 60% at 50% 38%, rgba(251,250,247,.94) 0%, rgba(251,250,247,.6) 55%, rgba(251,250,247,0) 100%); }

/* timeline fill */
.path::after { content: ""; position: absolute; left: 10px; top: 10px; height: 2px; width: calc((100% - 20px) * var(--p, 0)); background: var(--gold); transition: width .15s linear; }
.path li::before { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
html.js .path li::before { background: var(--ivory); border-color: rgba(13,27,36,.3); }
html.js .stone-band .path li::before { background: var(--stone); }
html.js .ink-band .path li::before { background: var(--ink); border-color: rgba(246,244,239,.3); }
html.js .path li.on::before { background: var(--gold); border-color: var(--gold); transform: scale(1.18); box-shadow: 0 0 0 6px rgba(176,138,69,.18); }
html.hs-on .hs-track > .card { min-height: 300px; }
@media (max-width: 960px) { .path::after { width: 2px; height: calc((100% - 20px) * var(--p, 0)); transition: height .15s linear; } }

/* horizontal scroll sections */
.hs { padding-block: clamp(88px, 11vw, 140px); }
.hs .head { margin-bottom: 40px; }
.hs-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 4px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 12px; scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.hs-track::-webkit-scrollbar { display: none; }
.hs-track > .card { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; min-height: 260px; }
.hs-track > .card.wide { flex-basis: min(600px, 88vw); }
.hs-track > .card h3 { margin-top: auto; }
.hs-hint { font-size: 14px; color: var(--mute); margin-top: 18px; }
.ink-band .hs-hint { color: var(--dim); }
html.hs-on .hs { padding-block: 0; }
html.hs-on .hs-sticky { position: sticky; top: var(--stick, 0px); height: calc(100vh - var(--stick, 0px)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
html.hs-on .hs-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
html.hs-on .hs-track > .card { min-height: 360px; }
html.hs-on .hs-hint { display: none; }
body.has-local { --stick: 54px; }
.hs-progress { height: 2px; background: var(--line); margin-top: 28px; position: relative; }
.ink-band .hs-progress { background: var(--line-d); }
.hs-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--hp, 0) * 100%); background: var(--gold); }
html:not(.hs-on) .hs-progress { display: none; }

[data-par] { will-change: transform; }
