/* ==========================================================================
   LUX CORP IT DIVISION — design system
   Ivory & ink: warm white surfaces, champagne-gold hairlines, editorial serif.
   One stylesheet for every page.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-latin.woff2) format("woff2");
  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: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin.woff2) format("woff2");
  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: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  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: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
/* Archivo Expanded (width 125%) — only for the wordmark */
@font-face { font-family: "Archivo Expanded"; font-style: normal; font-weight: 700 800; font-stretch: 125%; font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format("woff2");
  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: "Archivo Expanded"; font-style: normal; font-weight: 700 800; font-stretch: 125%; font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ivory: #faf8f3;     /* page */
  --white: #ffffff;     /* cards, reading surfaces */
  --stone: #f3efe6;     /* alternate sections */
  --sand: #e6dfd0;      /* strong hairlines */
  --noir: #15140f;      /* ink islands, footer */
  --noir-2: #1d1b15;
  --gold: #b3925a;      /* decorative lines, icons */
  --gold-ink: #876a33;  /* gold text on light surfaces (AA) */
  --gold-soft: #d8c39b; /* gold text on ink */

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: "Archivo Expanded", "Arial Black", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 160px);
  --radius: 6px;
  --radius-sm: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 78px;

  --shadow-sm: 0 1px 2px rgba(21, 20, 15, .04), 0 2px 8px -2px rgba(21, 20, 15, .05);
  --shadow: 0 1px 2px rgba(21, 20, 15, .04), 0 28px 56px -36px rgba(21, 20, 15, .28);
  --shadow-lg: 0 1px 2px rgba(21, 20, 15, .05), 0 40px 80px -40px rgba(21, 20, 15, .38);

  /* Surface colours. Light is the default; ink islands reset them. */
  --bg: var(--ivory);
  --fg: #2a2822;
  --fg-strong: #15140f;
  --fg-muted: #69655b;
  --accent: var(--gold-ink);
  --line: rgba(21, 20, 15, .1);
  --line-strong: rgba(21, 20, 15, .22);
  --card: var(--white);
  --p-bg: #15140f;      /* primary button */
  --p-fg: #faf8f3;
  --p-hover: #3a352a;
}
.on-noir, .plan--featured, .post-card--feature, .aside-card, .prose .cta-box, .footer {
  --bg: var(--noir);
  --fg: #e9e5da;
  --fg-strong: #fbf9f4;
  --fg-muted: #a7a194;
  --accent: var(--gold-soft);
  --line: rgba(255, 252, 240, .12);
  --line-strong: rgba(255, 252, 240, .28);
  --card: var(--noir-2);
  --p-bg: #faf8f3;
  --p-fg: #15140f;
  --p-hover: var(--gold-soft);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--fg);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: #eadcbf; color: #15140f; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { 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: absolute; left: 16px; top: -60px; z-index: 500; background: var(--noir); color: #fff; padding: 10px 16px; border-radius: 2px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: 1.04; text-wrap: balance; color: var(--fg-strong); }
h4, h5, h6 { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--fg-strong); }
em, .em { font-style: italic; }
.display em, h1 em, h2 em, h3 em { color: var(--accent); }

/* Small caps label with a gold rule */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600; line-height: 1.3;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; flex: none; }

.wide { font-family: var(--wide); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }

.h-xl { font-size: clamp(3rem, 7.6vw, 6.75rem); line-height: .98; letter-spacing: -.022em; }
.h-lg { font-size: clamp(2.5rem, 5.2vw, 4.5rem); }
.h-md { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.lead { font-size: clamp(1.075rem, 1.35vw, 1.22rem); line-height: 1.65; color: var(--fg-muted); max-width: 38em; }
.muted { color: var(--fg-muted); }

/* ---------- Surfaces ---------- */
.section { padding-block: var(--section-y); position: relative; isolation: isolate; background: var(--bg); color: var(--fg); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.on-ink { --bg: var(--ivory); }
.on-ink-2, .on-light { --bg: var(--white); }
.on-paper { --bg: var(--stone); --card: var(--white); }
.on-window { --bg: var(--stone); background: radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, .85), transparent 70%), var(--stone); }
.on-noir { background: radial-gradient(60% 90% at 50% 0%, rgba(216, 195, 155, .1), transparent 70%), var(--noir); }
.hairline-top { border-top: 1px solid var(--line); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 24px; color: var(--accent); }
.section-head p { color: var(--fg-muted); max-width: 34em; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--fg-strong); --b-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; border-radius: 2px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .4s var(--ease);
}
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i-move { transform: translateX(4px); }
.btn--primary { --b-bg: var(--p-bg); --b-fg: var(--p-fg); --b-bd: var(--p-bg); }
.btn--primary:hover { --b-bg: var(--p-hover); --b-bd: var(--p-hover); box-shadow: 0 16px 32px -18px rgba(21, 20, 15, .5); }
.btn--ghost:hover { --b-bd: var(--accent); --b-fg: var(--accent); }
.btn--ink { --b-bg: var(--noir); --b-fg: var(--ivory); --b-bd: var(--noir); }
.btn--ink:hover { --b-bg: #3a352a; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .7rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-strong); transition: gap .3s var(--ease), color .3s var(--ease); }
.link-arrow .i { color: var(--accent); }
.link-arrow:hover { gap: 12px; color: var(--accent); }

/* ---------- Hero lion ----------
   The brand lion is the hero visual: a gold engraving on the right, framed by a watch-bezel ring.
   .hero__lion       — position + pointer/scroll parallax (js/site.js sets --lx / --ly);
                       ::before = bezel ticks turning very slowly, ::after = a gold sweep running round the ring
   .hero__lion-art   — entrance (blur to sharp) and slow breathing; its ::after is a gold scan line passing over the lion */
.hero__lion {
  position: absolute; z-index: -1; top: 45%; right: max(calc(var(--gutter) + 4%), calc((100vw - var(--container)) / 2 + 10px)); width: min(36vw, 520px); aspect-ratio: 1; pointer-events: none;
  transform: translate3d(var(--lx, 0px), calc(-50% + var(--ly, 0px)), 0); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1);
}
.hero__lion::before, .hero__lion::after { content: ""; position: absolute; inset: -7%; border-radius: 50%; animation: fade 2.4s var(--ease) both .9s; }
.hero__lion::before {
  background: repeating-conic-gradient(rgba(179, 146, 90, .55) 0deg .35deg, transparent .35deg 3deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 12px)); mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 12px));
  animation: fade 2.4s var(--ease) both .9s, spin 240s linear infinite;
}
.hero__lion::after {
  inset: -3%;
  background: conic-gradient(from 0deg, rgba(179, 146, 90, .18) 0deg 290deg, rgba(179, 146, 90, .95) 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px)); mask: radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  animation: fade 2.4s var(--ease) both .9s, spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.hero__lion-art { position: absolute; inset: 0; opacity: .5; animation: lion-in 2.6s var(--ease) both .15s, lion-breathe 14s ease-in-out 2.8s infinite alternate; }
.hero__lion-art::before, .hero__lion-art::after { content: ""; position: absolute; inset: 0; }
.hero__lion-art::before { background: url(../img/lion-gold.webp) center / contain no-repeat; }
.hero__lion-art::after {
  -webkit-mask: url(../img/lion-gold.webp) center / contain no-repeat; mask: url(../img/lion-gold.webp) center / contain no-repeat;
  background: linear-gradient(180deg, transparent 42%, rgba(135, 106, 51, .9) 49.6%, rgba(255, 244, 214, 1) 50%, rgba(135, 106, 51, .5) 50.6%, transparent 56%) 0 100% / 100% 260% no-repeat;
  animation: lion-scan 7.5s cubic-bezier(.45, 0, .55, 1) 3.2s infinite;
}
@keyframes lion-in { from { opacity: 0; filter: blur(16px); transform: scale(.93); } }
@keyframes lion-breathe { to { opacity: .64; transform: scale(1.03) rotate(-.8deg); } }
@keyframes lion-scan { 0% { background-position: 0 100%; } 50%, 100% { background-position: 0 0; } }
@media (max-width: 1080px) {
  .hero__lion { top: calc(var(--nav-h) + 4vw); right: -24vw; width: min(88vw, 560px); transform: translate3d(var(--lx, 0px), var(--ly, 0px), 0); }
  .hero__lion-art { opacity: .26; }
  .hero__lion::before, .hero__lion::after { opacity: .6; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; color: var(--fg-strong);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease);
}
/* The blur lives on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile panel inside the bar. */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(250, 248, 243, .86); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); opacity: 0; transition: opacity .4s var(--ease); }
.nav.is-scrolled, .nav.is-open { border-bottom-color: rgba(21, 20, 15, .08); }
.nav.is-scrolled::before, .nav.is-open::before { opacity: 1; }
.nav.is-open::before { background: var(--ivory); }
.nav__inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(179, 146, 90, .55), 0 0 0 4px var(--ivory), 0 0 0 5px rgba(179, 146, 90, .25); }
.footer .brand img { box-shadow: 0 0 0 1px rgba(216, 195, 155, .5), 0 0 0 4px var(--noir), 0 0 0 5px rgba(216, 195, 155, .2); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-strong); }
.brand__word small { font-size: .6rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; padding: 0; }
.nav__links a { position: relative; display: block; padding: 8px 14px; font-size: .86rem; font-weight: 500; color: var(--fg-muted); transition: color .25s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"], .nav__links a.is-active { color: var(--fg-strong); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after, .nav__links a.is-active::after { transform: none; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 2px; padding: 3px; }
.lang button { border: 0; background: transparent; padding: 5px 9px; border-radius: 1px; font-size: .66rem; font-weight: 600; letter-spacing: .1em; color: var(--fg-muted); cursor: pointer; }
.lang button.active { background: var(--noir); color: var(--ivory); }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 2px; border: 1px solid var(--line-strong); background: transparent; color: var(--fg-strong); align-items: center; justify-content: center; cursor: pointer; }
.nav__toggle .i { width: 20px; height: 20px; }
.nav__toggle .i-close { display: none; }
.nav.is-open .nav__toggle .i-menu { display: none; }
.nav.is-open .nav__toggle .i-close { display: block; }
.nav__panel-extra { display: none; }

@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter) 40px; background: var(--ivory); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { padding: 18px 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--fg-strong); }
  .nav__links a::after { display: none; }
  .nav__panel-extra { display: flex; flex-direction: column; gap: 14px; border: 0 !important; padding-top: 28px; }
  .nav__links .nav__panel-extra .btn { display: inline-flex; padding: 0 26px; font-family: var(--sans); font-size: .78rem; }
  .nav__links .nav__panel-extra .btn--primary { color: var(--p-fg); }
  .nav__actions .lang { display: none; }
  .nav__panel-extra .lang { display: inline-flex; align-self: flex-start; }
}
body.menu-open { overflow: hidden; }

/* Small phones: buttons may wrap and hero/CTA buttons stack full width, so nothing is wider than the screen */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.35; padding: 12px 22px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .nav__inner { gap: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--nav-h) + 48px); overflow: hidden; isolation: isolate; background: var(--ivory); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(45% 55% at 78% 30%, rgba(234, 220, 191, .55), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(234, 220, 191, .3), transparent 70%),
    var(--ivory); }
/* Fine vertical pinstripes — tailoring, not tech */
.hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(179, 146, 90, .14) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--container) + var(--gutter) * 2) - var(--gutter) * 2) / 6) 100%;
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 60%, transparent); opacity: .7; }
.hero__mark { display: none; }
.hero__content { padding-bottom: clamp(48px, 7vw, 88px); }
.hero__copy { max-width: 760px; }
.hero .lead { max-width: 33em; }
.hero__copy > * { animation: rise 1s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__content .eyebrow { margin-bottom: 32px; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 6rem); max-width: 11.5em; }
.hero .lead { margin-top: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 30px 28px 34px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; color: var(--fg-strong); }
.stat span { display: block; margin-top: 12px; font-size: .84rem; color: var(--fg-muted); max-width: 16em; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--3 .stat { padding-right: 12px; }
  .stats--3 .stat + .stat, .stats--3 .stat:nth-child(3) { padding-left: 14px; border-left: 1px solid var(--line); border-top: 0; }
  .stats--3 .stat b { font-size: 2rem; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sub-page hero */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(64px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: var(--ivory); }
.page-hero .hero__bg { background: radial-gradient(50% 80% at 85% 0%, rgba(234, 220, 191, .6), transparent 70%), var(--ivory); }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero h1 { max-width: 14em; }
.h1-sub { display: block; margin-top: .4em; font-size: .4em; line-height: 1.15; letter-spacing: -.005em; color: var(--fg-muted); }
.page-hero .lead { margin-top: 26px; }
.page-hero .hero__cta { margin-top: 36px; }
.page-hero .stats { margin-top: clamp(48px, 6vw, 80px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-bottom: 30px; font-size: .78rem; color: var(--fg-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a:hover { color: var(--fg-strong); }

/* ---------- Tech strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(16px, 2.2vw, 30px); list-style: none; padding: 24px 0; }
.strip li { display: inline-flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-muted); }
.strip li + li::before { content: ""; width: 4px; height: 4px; transform: rotate(45deg); background: var(--gold); opacity: .8; }
@media (max-width: 860px) { .strip li + li::before { display: none; } }

/* ---------- Statement (centred serif lines) ---------- */
.statement-band { padding-block: clamp(112px, 15vw, 220px); text-align: center; }
.statement-band .container { position: relative; }
.statement-band .container::before { content: ""; display: block; width: 1px; height: 56px; margin: 0 auto 48px; background: linear-gradient(var(--gold), transparent); }
.statement { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.04; max-width: 1100px; margin-inline: auto; color: var(--fg-strong); }
.statement > * { display: block; text-wrap: balance; }
.statement em { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.2; color: var(--accent); }
.statement span { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.statement + .statement-sign { margin-top: 44px; }
.statement-sign { font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }

/* ---------- Services: an editorial grid of hairlines ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.service, .plan { container-type: inline-size; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 36px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .45s var(--ease);
}
.service::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { background: #fdfcf8; }
.service:hover::before { transform: none; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 44px; }
.service__icon { order: -1; width: 30px; height: 30px; color: var(--gold-ink); }
.service__num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.service h3 { font-size: clamp(1.45rem, 9cqi, 1.8rem); line-height: 1.1; margin-bottom: 14px; overflow-wrap: anywhere; }
.service p { font-size: .93rem; color: var(--fg-muted); }
.service ul { list-style: none; padding: 0; margin-top: auto; padding-top: 26px; display: grid; gap: 8px; }
.service li { display: flex; gap: 12px; align-items: baseline; font-size: .86rem; color: var(--fg); }
.service li::before { content: ""; width: 10px; height: 1px; background: var(--gold); transform: translateY(-4px); flex: none; }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service__top { margin-bottom: 28px; } }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.quote { font-family: var(--serif); font-size: clamp(2.25rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.015em; }
.approach__body p { color: var(--fg-muted); }
.approach__body p + p { margin-top: 18px; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.pillar h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; margin-bottom: 6px; }
.pillar p { font-size: .9rem; color: var(--fg-muted); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 34px 28px 0 0; counter-increment: step; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--accent); margin-bottom: 16px; }
.step h3 { font-size: 1.65rem; margin-bottom: 10px; }
.step p { font-size: .9rem; color: var(--fg-muted); }
@media (max-width: 960px) {
  .approach { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pillars, .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { margin-top: 32px; border-top: 1px solid var(--line); }
}

/* ---------- Cards on light surfaces ---------- */
.plan, .post-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow);
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 34px 28px 28px; color: var(--fg); background: var(--white); }
.plan--featured { position: relative; border-color: rgba(216, 195, 155, .55); background: radial-gradient(80% 50% at 50% 0%, rgba(216, 195, 155, .12), transparent 70%), var(--noir); box-shadow: var(--shadow-lg); }
.plan--featured::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(216, 195, 155, .22); border-radius: 3px; pointer-events: none; }
.plan__badge { position: absolute; top: 22px; right: 22px; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1; color: var(--accent); }
.plan__icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 30px; }
.plan h3 { font-size: clamp(1.5rem, 11cqi, 1.9rem); line-height: 1.08; }
.plan__desc { font-size: .88rem; line-height: 1.4; color: var(--fg-muted); margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; flex: 1; }
.plan li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.plan li small { display: block; font-size: .74rem; color: var(--fg-muted); }
.plan li b { font-weight: 600; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; color: var(--fg-strong); }
.plan .plan__list li { justify-content: flex-start; align-items: flex-start; gap: 12px; padding: 12px 0; }
.plan__list .i { width: 15px; height: 15px; margin-top: 4px; color: var(--accent); }
.plan--featured .plan__list li { color: var(--fg-strong); }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; font-size: .92rem; color: var(--fg-muted); text-align: center; }
.pricing-note .i { width: 17px; height: 17px; color: var(--accent); }
@media (max-width: 1100px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Cities ---------- */
.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.city { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 34px 26px 38px 0; }
.city + .city { padding-left: 26px; border-left: 1px solid var(--line); }
.city::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.city:hover::before { transform: none; }
.city__name { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1; color: var(--fg-strong); }
.city__name .i { width: 24px; height: 24px; color: var(--gold); transition: transform .35s var(--ease); }
.city:hover .city__name .i { transform: translate(3px, -3px); }
.city p { font-size: .9rem; color: var(--fg-muted); }
.city small { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1; color: var(--accent); }
@media (max-width: 960px) {
  .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city:nth-child(3) { padding-left: 0; border-left: 0; }
  .city:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .cities { grid-template-columns: 1fr; }
  .city, .city + .city { padding-left: 0; border-left: 0; }
  .city + .city { border-top: 1px solid var(--line); }
}
.cities--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .cities.cities--3 { grid-template-columns: 1fr; }
  .cities--3 .city, .cities--3 .city + .city { padding-left: 0; border-left: 0; }
  .cities--3 .city + .city { border-top: 1px solid var(--line); }
}

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { position: relative; display: flex; flex-direction: column; padding: 30px 30px 30px; color: var(--fg); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); min-height: 290px; }
.on-light .post-card, .on-ink-2 .post-card { background: var(--ivory); }
.post-card:hover { transform: translateY(-4px); border-color: rgba(179, 146, 90, .5); box-shadow: var(--shadow-lg); }
.post-card[hidden] { display: none; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: .76rem; color: var(--fg-muted); margin-bottom: 28px; }
.post-card__meta .tag { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; color: var(--accent); margin-right: auto; }
.post-card h3 { font-size: 1.7rem; line-height: 1.1; margin-bottom: 12px; }
.post-card p { font-size: .92rem; color: var(--fg-muted); }
.post-card .link-arrow { margin-top: auto; padding-top: 24px; }
.post-card--feature, .on-light .post-card--feature { grid-column: span 2; border-color: rgba(216, 195, 155, .45); background: radial-gradient(70% 90% at 100% 0%, rgba(216, 195, 155, .14), transparent 70%), var(--noir); box-shadow: var(--shadow-lg); }
.post-card--feature:hover { border-color: rgba(216, 195, 155, .8); }
.post-card--feature h3 { font-size: clamp(2rem, 3.2vw, 2.8rem); max-width: 16em; }
.post-card--feature p { max-width: 40em; }
@media (max-width: 1000px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .post-card--feature, .on-light .post-card--feature { grid-column: auto; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .section-head { display: block; margin: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-wrap .section-head p { margin-top: 20px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; color: var(--fg-strong); transition: color .25s var(--ease); }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 34px; height: 34px; padding: 9px; border: 1px solid rgba(179, 146, 90, .5); border-radius: 50%; color: var(--gold-ink); transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--noir); border-color: var(--noir); color: var(--ivory); }
.faq .faq__a { padding: 0 48px 28px 0; color: var(--fg-muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 100%, rgba(234, 220, 191, .5), transparent 70%); }
.cta-band h2 { max-width: 13em; margin-inline: auto; }
.cta-band p { margin: 22px auto 0; color: var(--fg-muted); max-width: 34em; }
.cta-band .eyebrow { margin: 0; color: var(--accent); }
.cta-band .hero__cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact__lead { margin-top: 24px; color: var(--fg-muted); max-width: 30em; }
.contact__list { list-style: none; padding: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__list .i { width: 19px; height: 19px; color: var(--accent); margin-top: 4px; }
.contact__list small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; color: var(--fg-muted); margin-bottom: 4px; }
.contact__list a, .contact__list span { font-size: 1.05rem; color: var(--fg-strong); }
.contact__list a:hover { color: var(--accent); }
.company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 36px; font-size: .85rem; }
.company small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 2px; }
.company span { font-variant-numeric: tabular-nums; }

.form-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); background: var(--white); box-shadow: var(--shadow-lg); }
.form-card::before { content: ""; position: absolute; left: clamp(28px, 4vw, 52px); right: clamp(28px, 4vw, 52px); top: -1px; height: 2px; background: var(--gold); }
.form-card h3 { font-size: clamp(2rem, 3vw, 2.6rem); }
.form-card > p { color: var(--fg-muted); font-size: .95rem; margin-top: 10px; }
.form { display: grid; gap: 4px; margin-top: 28px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 26px 0 12px; font-size: 1rem; color: var(--fg-strong); border-radius: 0; transition: border-color .3s var(--ease); }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 26px; font-size: 1rem; color: var(--fg-muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.75); color: var(--accent); }
.field--hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 28px; }
.form__note { margin-top: 16px; font-size: .74rem; line-height: 1.5; color: var(--fg-muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } .company { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.footer { background: radial-gradient(60% 60% at 50% 0%, rgba(216, 195, 155, .08), transparent 70%), var(--noir); color: var(--fg); padding: clamp(72px, 9vw, 120px) 0 36px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand p { margin-top: 24px; font-size: .9rem; color: var(--fg-muted); max-width: 26em; }
.footer h2 { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1.4; color: var(--accent); margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer ul a { color: var(--fg); opacity: .85; transition: opacity .25s, color .25s; }
.footer ul a:hover { opacity: 1; color: var(--gold-soft); }
.footer__word { font-family: var(--serif); font-style: italic; font-size: clamp(3.2rem, 13vw, 12rem); line-height: .9; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(216, 195, 155, .35); margin: clamp(56px, 7vw, 96px) 0 28px; white-space: nowrap; overflow: hidden; user-select: none; text-align: center; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--fg-muted); }
.footer__bottom a:hover { color: var(--gold-soft); }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Content pages (city pages & articles) ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } }
.aside-card { position: sticky; top: calc(var(--nav-h) + 28px); color: var(--fg); border: 1px solid rgba(216, 195, 155, .4); border-radius: var(--radius); padding: 34px 30px;
  background: radial-gradient(80% 50% at 50% 0%, rgba(216, 195, 155, .12), transparent 70%), var(--noir); box-shadow: var(--shadow-lg); }
.aside-card h3 { font-size: 1.9rem; line-height: 1.08; }
.aside-card p { margin-top: 10px; font-size: .92rem; color: var(--fg-muted); }
.aside-card .contact__list { margin-top: 24px; }
.aside-card .contact__list a, .aside-card .contact__list span { font-size: .98rem; }
.aside-card .btn { margin-top: 24px; }
@media (max-width: 1000px) { .aside-card { position: static; } }

.prose { font-size: 1.075rem; line-height: 1.8; color: var(--fg); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-top: 2.1em; line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose h2 span, .prose h3 span { font-style: italic; color: var(--accent); }
.prose h3 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin-top: 1.9em; line-height: 1.15; }
.prose h4 { font-size: 1.05rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose h3.h4 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.3; margin-top: 1.6em; }
.prose a { color: var(--fg-strong); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose a:hover { color: var(--accent); }
.prose strong { color: var(--fg-strong); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--gold-ink); }
.prose ul.plain { list-style: none; padding-left: 0; }
.prose blockquote { border-left: 1px solid var(--gold); padding: 4px 0 4px 28px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--fg-strong); }
.prose small { display: block; font-size: .82rem; line-height: 1.55; color: var(--fg-muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose code { overflow-wrap: anywhere; font-size: .88em; background: var(--stone); border: 1px solid var(--line); padding: 1px 6px; border-radius: 3px; }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
/* Wide tables: js/site.js marks the edge that hides more columns, the mask fades it out as a scroll hint */
.prose .table-wrap.more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), rgba(0, 0, 0, .12)); mask-image: linear-gradient(to right, #000 calc(100% - 48px), rgba(0, 0, 0, .12)); }
.prose .table-wrap.more-left { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 48px), rgba(0, 0, 0, .12)); mask-image: linear-gradient(to left, #000 calc(100% - 48px), rgba(0, 0, 0, .12)); }
.prose .table-wrap.more-left.more-right { -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, .12), #000 48px, #000 calc(100% - 48px), rgba(0, 0, 0, .12)); mask-image: linear-gradient(to right, rgba(0, 0, 0, .12), #000 48px, #000 calc(100% - 48px), rgba(0, 0, 0, .12)); }
.prose .table-wrap:focus-visible { outline-offset: 2px; border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; min-width: 520px; }
.prose th { text-align: left; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--stone); color: var(--fg-strong); padding: 14px 16px; border-bottom: 1px solid var(--gold); }
.prose td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tr:nth-child(even) td { background: #fcfbf8; }
.prose .check { color: #2f6b3a; font-weight: 600; }
.prose .cross { color: #9b2c2c; font-weight: 600; }
.prose .winner { color: var(--fg-strong); font-weight: 700; }

/* "Checked" list used on city pages */
.prose ul.ticks { list-style: none; padding: 0; }
.prose ul.ticks li { position: relative; padding-left: 30px; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg) scale(.8); transform-origin: left top; }

/* Article components (legacy class names kept so post bodies migrate as-is) */
.prose .highlight-box, .prose .case-study, .prose .price-box {
  background: var(--ivory); border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: var(--radius-sm);
  padding: 26px 28px 26px 30px;
}
.prose .highlight-box > :first-child, .prose .case-study > :first-child, .prose .price-box > :first-child,
.prose .service-card > :first-child, .prose .tier-card > :first-child, .prose .problem-card > :first-child, .prose .faq-item > :first-child { margin-top: 0; }
.prose .highlight-box > * + *, .prose .case-study > * + *, .prose .price-box > * + *,
.prose .service-card > * + *, .prose .tier-card > * + *, .prose .problem-card > * + *, .prose .faq-item > * + * { margin-top: .7em; }
.prose .highlight-box h4, .prose .case-study h4, .prose .price-box h4,
.prose .highlight-box h3.h4, .prose .case-study h3.h4, .prose .price-box h3.h4 { margin-top: 0; }
.prose .service-card, .prose .tier-card, .prose .problem-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 28px; }
.prose .service-card h4, .prose .tier-card h4, .prose .problem-card h4, .prose .problem-card h3 { margin-top: 0; font-family: var(--sans); font-size: 1.05rem; }
.prose .metric { display: inline-block; font-family: var(--serif); font-size: 1.9rem; color: var(--fg-strong); line-height: 1.05; }
.prose .price { font-weight: 700; color: var(--fg-strong); white-space: nowrap; }
.prose .faq-section > * + * { margin-top: 12px; }
.prose .faq-item { border-top: 1px solid var(--line); padding-top: 22px; }
.prose .faq-item h3, .prose .faq-item h4, .prose .faq-question { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--fg-strong); margin: 0; line-height: 1.2; }
.prose .faq-answer { color: var(--fg-muted); }
.prose .cta-box { position: relative; color: var(--fg); border: 1px solid rgba(216, 195, 155, .45); border-radius: var(--radius); padding: clamp(30px, 4vw, 48px); text-align: left; margin-block: 2.5em;
  background: radial-gradient(70% 90% at 100% 0%, rgba(216, 195, 155, .14), transparent 70%), var(--noir); box-shadow: var(--shadow-lg); }
.prose .cta-box h3, .prose .cta-box h4, .prose .cta-box h3.h4 { color: var(--fg-strong); margin-top: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.1; font-size: clamp(1.8rem, 3vw, 2.3rem); }
.prose .cta-box p { color: var(--fg-muted); }
.prose .cta-box a:not(.btn) { color: var(--fg-strong); }
.prose a.btn { color: var(--b-fg); text-decoration: none; font-weight: 600; }
.prose .cta-box .btn { margin-top: 8px; }
.prose .cta-box .btn + .btn { margin-left: 8px; }

/* Table of contents (articles) */
.toc { border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius-sm); padding: 24px 28px; background: var(--ivory); }
.toc p { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1.4; color: var(--accent); }
.toc ol { margin-top: 12px; padding-left: 1.3em; font-size: .95rem; }
.toc li + li { margin-top: .35em; }
.prose .toc a { font-weight: 400; text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }

.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; font-size: .8rem; color: var(--fg-muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .i { width: 15px; height: 15px; color: var(--gold-ink); }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; border-top: 1px solid var(--line); }
.article-nav a { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-strong); }
.article-nav a .i { color: var(--gold-ink); }
.article-nav a:hover { color: var(--accent); }

/* Reading progress (articles) */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 101; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--gold); pointer-events: none; }

/* Topic chips (blog filter) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.chip:hover { color: var(--fg-strong); border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--noir); color: var(--ivory); border-color: var(--noir); }
.chip small { font-size: .7rem; letter-spacing: 0; opacity: .6; }
.page-hero .chips { margin-top: 40px; }

/* ---------- 404 & form responses ---------- */
.notfound { position: relative; min-height: 100svh; display: flex; align-items: center; isolation: isolate; }
.notfound .hero__bg { z-index: -1; }
.notfound__code { font-family: var(--serif); font-style: italic; font-size: clamp(7rem, 22vw, 15rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.page-hero .container > * { animation: rise 1s var(--ease) both; }
.page-hero .container > :nth-child(2) { animation-delay: .08s; }
.page-hero .container > :nth-child(3) { animation-delay: .16s; }
.page-hero .container > :nth-child(4) { animation-delay: .24s; }
.page-hero .container > :nth-child(5) { animation-delay: .32s; }
.js .post-card[data-reveal].is-in:hover { transform: translateY(-4px); }
.js .post-card[data-reveal] { transition: opacity .9s var(--ease), transform .6s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease); }

/* ==========================================================================
   Motion layer — everything below is decorative; the global prefers-reduced-motion
   rule at the top switches it off, and js/site.js skips its effects too.
   ========================================================================== */

/* Data pulses running down the hero pinstripes (two layers, different rhythm) */
.hero__grid { --stripe: calc((min(100vw, var(--container) + var(--gutter) * 2) - var(--gutter) * 2) / 6); }
.hero__grid::before, .hero__grid::after {
  content: ""; position: absolute; inset: 0;
  -webkit-mask: linear-gradient(90deg, #000 1px, transparent 1px) center top / var(--stripe) 100%;
  mask: linear-gradient(90deg, #000 1px, transparent 1px) center top / var(--stripe) 100%;
  background: linear-gradient(180deg, transparent, rgba(179, 146, 90, .95) 50%, transparent) 0 -70% / 100% 34% no-repeat;
  animation: stripe-pulse 6.5s cubic-bezier(.5, 0, .5, 1) 1.5s infinite;
}
.hero__grid::after {
  -webkit-mask-size: calc(var(--stripe) * 2) 100%; mask-size: calc(var(--stripe) * 2) 100%;
  -webkit-mask-position: calc(50% + var(--stripe)) top; mask-position: calc(50% + var(--stripe)) top;
  background-size: 100% 22%; animation-duration: 9s; animation-delay: 4s;
}
@keyframes stripe-pulse { 0% { background-position: 0 -70%; } 60%, 100% { background-position: 0 170%; } }

/* Sub-page headers: a quieter lion that floats on the right */
.page-hero::after {
  content: ""; position: absolute; z-index: -1; top: 50%; right: max(-6vw, -110px); width: min(46vw, 600px); aspect-ratio: 1; pointer-events: none;
  background: url(../img/lion-gold.webp) center / contain no-repeat; opacity: .15; transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 95%); mask-image: linear-gradient(180deg, #000 55%, transparent 95%);
  animation: fade 2.4s var(--ease) both .2s, lion-float 16s ease-in-out 2.6s infinite alternate;
}
@keyframes fade { from { opacity: 0; } }
@keyframes lion-float { to { transform: translateY(-47%) rotate(-1.2deg) scale(1.03); opacity: .2; } }
@media (max-width: 860px) { .page-hero::after { width: 90vw; right: -42vw; opacity: .1; } }

/* Gold italic headlines: a slow shimmer */
.hero h1 em, .page-hero h1 em, .cta-band h2 em {
  background: linear-gradient(100deg, var(--gold-ink) 0%, var(--gold-ink) 38%, #d9bd84 48%, #f1e2bd 50%, #d9bd84 52%, var(--gold-ink) 62%, var(--gold-ink) 100%) 100% 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shine 8s ease-in-out 1.6s infinite;
}
@keyframes text-shine { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0 0; } }

/* Gold rules draw in */
.eyebrow::before { transform-origin: left center; }
.hero .eyebrow::before, .page-hero .eyebrow::before { animation: draw-x 1.2s var(--ease) both .35s; }
@keyframes draw-x { from { transform: scaleX(0); } }
.js [data-reveal] .eyebrow::before, .js .eyebrow[data-reveal]::before { transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.js [data-reveal].is-in .eyebrow::before, .js .eyebrow[data-reveal].is-in::before { transform: none; }
.statement-band .container::before { transform-origin: top; }
.js .statement-band .container::before { transform: scaleY(0); transition: transform 1.4s var(--ease); }
.js .statement-band .container:has(.is-in)::before { transform: none; }

/* Headings come into focus; statement lines rise one after another */
.js [data-reveal] h2, .js h2[data-reveal], .js .quote { filter: blur(8px); transition: filter 1.4s var(--ease) .12s; }
.js [data-reveal].is-in h2, .js h2[data-reveal].is-in, .js .is-in .quote { filter: none; }
.js .statement[data-reveal] > * { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.js .statement[data-reveal] > :nth-child(2) { transition-delay: .25s; }
.js .statement[data-reveal] > :nth-child(3) { transition-delay: .5s; }
.js .statement[data-reveal].is-in > * { opacity: 1; transform: none; filter: none; }

/* Line icons draw themselves when their card appears */
.js .service[data-reveal] .service__icon, .js .plan[data-reveal] .plan__icon {
  stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease) calc(var(--d, 0s) + .35s);
}
.js .service[data-reveal].is-in .service__icon, .js .plan[data-reveal].is-in .plan__icon { stroke-dashoffset: 0; }

/* Cursor spotlight on cards (js/site.js sets --mx / --my) */
.plan { position: relative; }
.service, .plan, .post-card { isolation: isolate; }
.service::after, .plan::after, .post-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(179, 146, 90, .16), transparent 70%);
}
.service:hover::after, .plan:hover::after, .post-card:hover::after { opacity: 1; }

/* Buttons: a sheen sweeps across on hover; the hero CTA catches the light on its own now and then */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-130%);
  background: linear-gradient(105deg, transparent 30%, rgba(216, 195, 155, .55) 50%, transparent 70%); transition: transform .9s var(--ease);
}
.btn--primary:hover::after { transform: translateX(130%); }
.hero__cta .btn--primary::after { animation: btn-shine 7s ease-in-out 2.8s infinite; }
@keyframes btn-shine { 0% { transform: translateX(-130%); } 25%, 100% { transform: translateX(130%); } }

/* Technology strip as an endless ticker (js/site.js duplicates the items) */
.strip.is-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.strip.is-marquee .container { max-width: none; padding: 0; }
.strip.is-marquee ul { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.strip.is-marquee li { padding-right: clamp(16px, 2.2vw, 30px); }
.strip.is-marquee li::before, .strip.is-marquee li + li::before { content: ""; display: block; width: 4px; height: 4px; transform: rotate(45deg); background: var(--gold); opacity: .8; }
.strip.is-marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Figures count up (js/site.js) — keep their width steady while counting */
.stat b { font-variant-numeric: tabular-nums; }
