/* ==========================================================================
   Website stylesheet
   Design language: warm-white paper, deep navy ink, hairline gold accents.
   Signature motif: the ™ © ® marks — the literal subject matter of the firm —
   used as the icon system and as an oversized, slow-drifting hero backdrop.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   0. SELF-HOSTED FONTS
   Manrope and Playfair Display, cyrillic + latin subsets only (the two
   scripts actually used on the site). Self-hosted instead of the Google
   Fonts CDN to drop an external request and remove the third-party
   dependency. Each family ships as one variable font file per subset;
   browsers resolve the requested static weight from it.
   ------------------------------------------------------------------------ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-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: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-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: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/playfair-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/playfair-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: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/playfair-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: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-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: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/playfair-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/playfair-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;
}

/* ---------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------ */
:root {
  /* Color — brand identity */
  --c-paper: #F7F4EE;
  --c-paper-dim: #EFEADD;
  --c-navy: #0B1320;
  --c-navy-3: #1C3252;
  --c-ink: #1A1F2B;
  --c-muted: #545B68;
  --c-grey: #6B7280;
  --c-line: rgba(11, 19, 32, 0.11);
  --c-line-soft: rgba(11, 19, 32, 0.06);
  --c-gold: #D4AF37;
  --c-gold-light: #E8CD73;
  --c-gold-dark: #86671F;
  --c-white: #FFFFFF;
  --c-error: #B3452C;

  /* Gradients */
  --g-gold: linear-gradient(135deg, var(--c-gold-light), var(--c-gold) 55%, var(--c-gold-dark));
  --g-navy: linear-gradient(160deg, var(--c-navy-3) 0%, var(--c-navy) 65%, #050810 100%);

  /* Type */
  --f-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --f-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-eyebrow: 0.8125rem;
  --fs-small: 0.9rem;
  --fs-body: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
  --fs-lead: clamp(1.1rem, 1.02rem + 0.4vw, 1.375rem);
  --fs-h3: clamp(1.3rem, 1.18rem + 0.6vw, 1.7rem);
  --fs-h2: clamp(2.1rem, 1.6rem + 2.2vw, 3.75rem);
  --fs-h1: clamp(2.75rem, 1.85rem + 3.8vw, 5.75rem);

  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-body: 1.7;

  /* Space */
  --space-2xs: 0.625rem;
  --space-xs: 1rem;
  --space-sm: 1.5rem;
  --space-md: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  --space-lg: clamp(2.75rem, 2rem + 3.2vw, 4.75rem);
  --space-xl: clamp(3.75rem, 2.6rem + 4.8vw, 7rem);
  --section-pad: clamp(3rem, 2.4rem + 3vw, 6rem);

  /* Shape */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(11, 19, 32, 0.06);
  --shadow-sm: 0 8px 24px -12px rgba(11, 19, 32, 0.18);
  --shadow-md: 0 20px 45px -18px rgba(11, 19, 32, 0.24);
  --shadow-lg: 0 40px 80px -30px rgba(11, 19, 32, 0.32);
  --shadow-gold: 0 16px 40px -14px rgba(212, 175, 55, 0.45);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.25s var(--ease);
  --t-med: 0.55s var(--ease);

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
}

/* ---------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Whole-page film grain — the one texture that ties every section
   together into a single physical surface instead of flat CSS panels. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  opacity: 0.025;
  mix-blend-mode: multiply;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--f-display);
  color: var(--c-navy);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  font-weight: 500;
  text-wrap: balance;
}

h2, h3 { line-height: 1.18; }

p { text-wrap: pretty; }

::selection { background: var(--c-gold); color: var(--c-navy); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--c-paper); }
::-webkit-scrollbar-thumb { background: var(--c-grey); border-radius: var(--r-pill); opacity: 0.5; }
::-webkit-scrollbar-thumb:hover { background: var(--c-gold); }

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  z-index: 999;
  opacity: 0;
  transform: translateY(-150%);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

main > section { padding-block: var(--section-pad); }

.section-head { max-width: 46rem; margin-bottom: var(--space-xl); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border: 1.5px solid var(--c-gold);
  transform: rotate(45deg);
}

.section-lead {
  font-size: var(--fs-lead);
  color: var(--c-muted);
  max-width: 42rem;
  margin-top: var(--space-xs);
  font-weight: 400;
}

.text-gold { color: var(--c-gold-dark); font-style: italic; }

/* Scroll-reveal base state (JS toggles .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.9em 1.9em;
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--g-navy);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g-gold);
  transform: translateX(-105%);
  z-index: -1;
  transition: transform var(--t-med);
}
.btn-primary:hover {
  color: var(--c-navy);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-primary:hover::before { transform: translateX(0); }

.btn-ghost {
  background: transparent;
  color: var(--c-navy);
  border: 1px solid var(--c-line);
}
.btn-ghost:hover {
  border-color: var(--c-navy);
  background: var(--c-navy);
  color: var(--c-white);
  transform: translateY(-2px);
}

.btn-outline {
  position: relative;
  background: transparent;
  color: var(--c-navy);
  border: 1px solid var(--c-gold);
  z-index: 0;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g-gold);
  transform: translateX(-105%);
  z-index: -1;
  transition: transform var(--t-med);
}
.btn-outline:hover {
  color: var(--c-navy);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-outline:hover::before { transform: translateX(0); }

.btn-large { min-height: 56px; padding: 1em 2.3em; font-size: 1rem; }

.btn-header-cta { display: none; flex-shrink: 0; }

.btn-submit { width: 100%; white-space: normal; text-align: center; }

/* ---------------------------------------------------------------------------
   5. HEADER
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 249, 244, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 92px;
}

.logo { display: inline-flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.85rem; }

.logo-mark--subtle { width: 28px; height: 28px; }

.logo-descriptor {
  font-family: var(--f-body);
  font-size: 0.6rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--c-ink);
  max-width: 9.5rem;
}
.main-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-ink);
  padding-block: 0.4rem;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--c-gold);
  transition: right var(--t-med);
}
.main-nav a:hover { color: var(--c-gold-dark); }
.main-nav a:hover::after { right: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--c-navy);
  transition: transform var(--t-fast), opacity var(--t-fast), width var(--t-fast);
  margin-inline: auto;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 92px 0 0 0;
  background: var(--c-paper);
  z-index: 190;
  padding: var(--space-lg) var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--t-med);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.mobile-nav ul a {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 8vw, 2.4rem);
  color: var(--c-navy);
}
.mobile-nav .btn { align-self: flex-start; margin-top: var(--space-lg); }

/* ---------------------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(2.75rem, 2.2rem + 2.2vw, 4.5rem);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 88% 8%, rgba(212, 175, 55, 0.09), transparent 70%),
    linear-gradient(200deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 45%, transparent 72%),
    radial-gradient(45% 40% at 8% 95%, rgba(11, 19, 32, 0.05), transparent 70%);
}
/* Oversized brand mark bleeding off the edge — the one "signature"
   moment in the hero, echoing the logo at a scale nobody else uses.
   An inline SVG (rather than a background-image) so its two paths can
   be stroke-drawn in on load — see initHeroWatermarkDraw in script.js. */
.hero-watermark {
  position: absolute;
  right: -6%;
  top: 8%;
  width: min(46vw, 600px);
  height: min(46vw, 600px);
  opacity: 0.05;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 0.5s var(--ease);
}
.hero-watermark path {
  transition: stroke-dashoffset 1.6s var(--ease);
}
/* Below 1024px the hero is a single stacked column with no empty area
   left for the mark to sit in without colliding with text — the hero's
   height also varies with content, so no fixed position stays clear
   reliably. Hide it rather than force it into a spot it doesn't fit. */
@media (max-width: 1023px) {
  .hero-watermark {
    display: none;
  }
}

.hero-columns {
  position: relative;
  z-index: 1;
}

/* Reduce the visual weight of the small category label above the headline (hero only) */
.hero .eyebrow {
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--c-muted);
}
.hero .eyebrow::before {
  border-color: var(--c-gold-light);
  opacity: 0.8;
}

.hero-headline {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero-headline h1 {
  margin-bottom: 0;
  font-size: clamp(2.9rem, 1.9rem + 4.6vw, 6.75rem);
  letter-spacing: -0.02em;
}

.hero-support {
  position: relative;
  z-index: 1;
  margin-top: var(--space-lg);
  max-width: 30rem;
}

.hero-lead {
  font-size: var(--fs-lead);
  color: var(--c-muted);
  max-width: 34rem;
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.hero-actions .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}
.hero-note a { color: var(--c-navy); text-decoration: underline; text-underline-offset: 2px; }
.hero-note a:hover { color: var(--c-gold-dark); }
.hero-note-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
}

/* ---- Hero ticker: quiet horizontal proof strip, not a floating card grid ---- */
.hero-ticker {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-line);
}
.hero-ticker-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 var(--space-md) var(--space-md) 0;
}
.hero-ticker-item::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.75;
  margin-bottom: 0.35rem;
}
.hero-ticker-number {
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.9rem);
  color: var(--c-navy);
  line-height: 1;
}
.hero-ticker-label {
  font-size: var(--fs-small);
  color: var(--c-muted);
}

/* ---------------------------------------------------------------------------
   MARKETPLACES
   ------------------------------------------------------------------------ */
.marketplaces { padding-block: calc(var(--section-pad) * 0.55); }
.marketplaces .section-head { margin-bottom: var(--space-md); }

.marketplaces-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-sm) var(--space-lg);
}
.marketplaces-list li {
  position: relative;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.7rem);
  color: var(--c-navy);
}
.marketplaces-list li:not(:first-child)::before {
  content: '';
  position: absolute;
  left: calc(var(--space-lg) / -2 - 0.05rem);
  top: 0.25em;
  bottom: 0.25em;
  width: 1px;
  background: var(--c-line);
}

/* ---------------------------------------------------------------------------
   7. STATS
   ------------------------------------------------------------------------ */
.stats { position: relative; background: var(--g-navy); padding-block: var(--space-xl); overflow: hidden; }
.stats-feature {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-lg);
  align-items: end;
}
.stats-hero {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stats-hero-number {
  font-family: var(--f-display);
  font-size: clamp(4rem, 3rem + 4.5vw, 7.5rem);
  color: var(--c-white);
  line-height: 0.95;
}
.stats-hero-label {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.65);
}
.stats-list {
  display: grid;
  gap: var(--space-md);
  max-width: 32rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-md);
}
.stats-list-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
}
.stats-list-item dt {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.65);
}
.stats-list-item dd {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  color: var(--c-white);
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   8. SERVICES
   ------------------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-md);
  background: var(--c-white);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-sm);
  border-color: var(--c-gold-light);
}

.service-card-index {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
  color: var(--c-gold-dark);
  line-height: 1;
  margin-bottom: var(--space-sm);
  transition: color var(--t-med);
}
.service-card:hover .service-card-index { color: var(--c-navy); }

.service-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2xs); }
.service-card p { color: var(--c-muted); flex-grow: 1; margin-bottom: var(--space-md); }

.service-card-link {
  position: relative;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-navy);
}
.service-card-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transition: right var(--t-med);
}
.service-card:hover .service-card-link::after { right: 0; }
.service-card-link span { transition: transform var(--t-fast); }
.service-card:hover .service-card-link span { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   9. WHY US
   ------------------------------------------------------------------------ */
.why-us { position: relative; background: var(--c-paper-dim); overflow: hidden; }
.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xl);
}
.why-content h2 { margin-bottom: var(--space-xs); }

/* Reusable luxury hairline divider between sections, with the brand
   gem mark set into its centre like a jeweller's mark. */
.section-divider {
  position: relative;
  display: block;
  width: min(120px, 20%);
  height: 1px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(90deg, transparent, var(--c-gold) 50%, transparent);
}
.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  background: none;
  border: 1.5px solid var(--c-gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.why-quote {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.why-quote-portrait {
  width: 130px;
  height: 156px;
  object-fit: cover;
  border-radius: var(--r-md);
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-md);
  filter: saturate(0.9) sepia(0.08) contrast(1.03);
}
.why-quote-content {
  border-left: 2px solid var(--c-gold);
  padding-left: var(--space-md);
}
.why-quote p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--fs-h3);
  color: var(--c-navy);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-2xs);
}
.why-quote-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.why-quote cite {
  font-style: normal;
  font-size: var(--fs-small);
  color: var(--c-muted);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.why-quote-name { font-weight: 600; color: var(--c-navy); }
.why-quote-role { color: var(--c-muted); }

.why-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-content: start;
}
.why-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-md);
  background: var(--c-white);
  border-radius: var(--r-md);
  border: 1px solid var(--c-line-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-xs);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.why-feature:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-sm); border-color: var(--c-gold-light); }
.why-feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.why-feature p { color: var(--c-muted); font-size: var(--fs-small); }

/* ---------------------------------------------------------------------------
   10. PROCESS
   ------------------------------------------------------------------------ */
.process-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 60rem;
}
.process-list::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  bottom: 1.75rem;
  left: 1.75rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--c-gold-light) 12%, var(--c-gold-light) 88%, transparent);
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-xs) var(--space-md);
  align-items: start;
}

.process-index {
  position: relative;
  z-index: 1;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--c-gold-dark);
  background: var(--c-paper);
  border: 1.5px solid var(--c-gold);
  transition: background var(--t-med), color var(--t-med);
}
.process-step:hover .process-index { background: var(--g-gold); color: var(--c-navy); }
.process-body h3 { font-size: var(--fs-h3); margin-bottom: 0.35rem; }
.process-body p { color: var(--c-muted); max-width: 40rem; }

/* Lets a visitor pick their own situation and see how the same 4 steps
   apply specifically to it — recombines content that already exists
   elsewhere on the site (services, cases, diagnostic) into one view. */
.process-map-select {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-lg);
}
.process-map-chip {
  padding: 0.5em 1.1em;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-white);
  font-size: var(--fs-small);
  color: var(--c-navy);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.process-map-chip:hover { border-color: var(--c-gold-light); }
.process-map-chip.is-active {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-white);
}
.process-map-reset { border-style: dashed; color: var(--c-muted); }

.process-step-note {
  margin-top: var(--space-sm);
  padding: 0.7em 1em;
  background: var(--c-paper-dim);
  border-left: 2px solid var(--c-gold);
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  color: var(--c-navy);
  max-width: 40rem;
}

.process-time {
  grid-column: 2;
  justify-self: start;
  margin-top: var(--space-2xs);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-navy);
  background: var(--c-paper-dim);
  padding: 0.35em 0.9em;
  border-radius: var(--r-pill);
}

/* ---------------------------------------------------------------------------
   11. CASE STUDIES
   ------------------------------------------------------------------------ */
.cases { position: relative; background: var(--g-navy); color: var(--c-white); overflow: hidden; }
.cases::before,
.stats::before,
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cases .container { position: relative; z-index: 1; }
.cases .eyebrow { color: var(--c-gold-light); }
.cases .eyebrow::before { border-color: var(--c-gold-light); }
.cases h2 { color: var(--c-white); }

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.case-card {
  padding: var(--space-lg) var(--space-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.45);
  transition: transform var(--t-med), background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.case-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
  border-color: var(--c-gold);
}
.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-gold-light);
  margin-bottom: var(--space-sm);
}
.case-card h3 { color: var(--c-white); font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.case-card p { color: rgba(255,255,255,0.68); }
.case-result {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-navy);
  background: var(--g-gold);
  padding: 0.5em 1em;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.case-result:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ---------------------------------------------------------------------------
   12. PRICING
   ------------------------------------------------------------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.price-card {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-xs);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.price-card:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-md); border-color: var(--c-gold-light); }

.price-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-2xs); }
.price-description { color: var(--c-muted); font-size: var(--fs-small); margin-bottom: var(--space-sm); }
.price-value {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem);
  color: var(--c-navy);
}
.price-value + .price-features { margin-top: var(--space-md); }

.price-features { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: var(--space-lg); flex-grow: 1; }
.price-features li {
  position: relative;
  padding-left: 1.6em;
  font-size: var(--fs-small);
  color: var(--c-ink);
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 2px; top: 0.55em;
  width: 6px; height: 6px;
  border: 1.5px solid var(--c-gold);
  transform: rotate(45deg);
}

.price-card--featured {
  position: relative;
  background: var(--g-navy);
  border-color: transparent;
  color: var(--c-white);
  box-shadow: var(--shadow-lg);
}
.price-card--featured::after {
  content: '';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--c-gold);
  transform: rotate(45deg);
}
.price-card--featured h3,
.price-card--featured .price-value { color: var(--c-white); }
.price-card--featured .price-features li { color: rgba(255,255,255,0.85); }

.pricing-note {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--c-muted);
  font-size: var(--fs-small);
}

/* Compact price list for individual services — intentionally quiet,
   secondary to the package cards above. */
.mini-pricing {
  max-width: 720px;
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-line);
}
.mini-pricing-heading {
  font-size: var(--fs-h3);
  text-align: center;
  margin-bottom: var(--space-2xs);
}
.mini-pricing-lead {
  text-align: center;
  color: var(--c-muted);
  font-size: var(--fs-small);
  max-width: 46rem;
  margin: 0 auto var(--space-md);
}
.mini-price-list { display: flex; flex-direction: column; }
.mini-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.85rem var(--space-2xs);
  border-top: 1px solid var(--c-line-soft);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.mini-price-row:hover { background: var(--c-paper-dim); }
.mini-price-list li:last-child { border-bottom: 1px solid var(--c-line-soft); }
.mini-price-name { color: var(--c-ink); font-size: var(--fs-small); }
.mini-price-value {
  flex-shrink: 0;
  color: var(--c-navy);
  font-weight: 600;
  font-size: var(--fs-small);
  white-space: nowrap;
}
.mini-pricing-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

/* ---------------------------------------------------------------------------
   13. FAQ
   ------------------------------------------------------------------------ */
.faq-container { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { display: grid; border-bottom: 1px solid var(--c-line); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  padding-block: var(--space-md);
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--c-navy);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--c-gold-dark);
  transition: transform var(--t-fast);
}
.faq-icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-question[aria-expanded="true"] .faq-icon::before { transform: translate(-50%, -50%) rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  visibility: hidden;
  transition: grid-template-rows var(--t-med), visibility 0s linear var(--t-med);
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows var(--t-med), visibility 0s linear;
}
.faq-answer > p {
  overflow: hidden;
  min-height: 0;
  color: var(--c-muted);
  padding-top: 0;
  padding-bottom: var(--space-md);
  max-width: 60ch;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), padding-top var(--t-med);
}
.faq-item.is-open .faq-answer > p {
  opacity: 1;
  padding-top: 20px;
  pointer-events: auto;
  transition: opacity var(--t-med) 0.1s, padding-top var(--t-med);
}

/* ---------------------------------------------------------------------------
   13a. QUICK DIAGNOSTIC
   Two small self-service tools — an urgency quiz and a rough loss
   calculator — let a visitor size up their situation before writing in.
   Everything runs client-side; nothing is collected or sent anywhere.
   ------------------------------------------------------------------------ */
.diagnostic-panel {
  max-width: 640px;
  margin-inline: auto;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.diagnostic-tabs {
  display: flex;
  border-bottom: 1px solid var(--c-line);
}
.diagnostic-tab {
  flex: 1;
  padding: var(--space-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-muted);
  background: var(--c-paper-dim);
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.diagnostic-tab.is-active {
  color: var(--c-navy);
  background: var(--c-white);
  border-bottom-color: var(--c-gold);
}

.diagnostic-body { padding: var(--space-lg) var(--space-md); }

.diagnostic-question {
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--c-navy);
  margin-bottom: var(--space-md);
}

.diagnostic-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.diagnostic-option {
  text-align: left;
  padding: 0.9em 1.1em;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-paper);
  font-size: 0.95rem;
  color: var(--c-navy);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.diagnostic-option:hover {
  border-color: var(--c-gold);
  background: var(--c-white);
  transform: translateX(2px);
}

.diagnostic-back {
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  color: var(--c-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.diagnostic-back:hover { color: var(--c-gold-dark); }

.diagnostic-result-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border-radius: var(--r-pill);
  background: var(--c-paper-dim);
  color: var(--c-muted);
  margin-bottom: var(--space-sm);
}
.diagnostic-result-badge.is-urgent {
  background: rgba(179, 69, 44, 0.1);
  color: var(--c-error);
}

.diagnostic-result-text {
  color: var(--c-muted);
  margin-bottom: var(--space-md);
  max-width: 46ch;
}

.diagnostic-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}
.diagnostic-result-actions .diagnostic-back { margin-top: 0; }

.diagnostic-calc-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.diagnostic-calc-field { display: flex; flex-direction: column; gap: 0.5rem; }
.diagnostic-calc-field label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-navy);
}
.diagnostic-calc-field input {
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 0.85em 1em;
  background: var(--c-paper);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.diagnostic-calc-field input:hover { border-color: var(--c-gold-light); }
.diagnostic-calc-field input:focus {
  outline: none;
  border-color: var(--c-gold);
  background: var(--c-white);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.diagnostic-calc-result {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-line);
}
.diagnostic-calc-figure {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: var(--c-navy);
  margin-bottom: 0.2em;
}
.diagnostic-calc-caption { color: var(--c-muted); margin-bottom: var(--space-sm); }
.diagnostic-calc-compare {
  padding: 0.7em 1em;
  margin-bottom: var(--space-md);
  background: var(--c-paper-dim);
  border-left: 2px solid var(--c-gold);
  border-radius: var(--r-sm);
  color: var(--c-navy);
  font-weight: 600;
  font-size: var(--fs-small);
  max-width: 50ch;
}
.diagnostic-calc-note {
  font-size: var(--fs-small);
  color: var(--c-muted);
  margin-bottom: var(--space-md);
  max-width: 50ch;
}

/* ---------------------------------------------------------------------------
   13b. DIAGNOSTIC PRINT PLAN
   Hidden on screen; populated by script.js from the quiz answers and
   shown only inside the browser's print dialog (Save as PDF), so a
   visitor can walk away with a concrete, personalized one-pager
   instead of just a static download. Nothing is sent anywhere.
   ------------------------------------------------------------------------ */
.diagnostic-print-plan { display: none; }

@media print {
  html, body { background: #fff !important; }
  .skip-link, .site-header, .mobile-nav, .site-footer, .mobile-cta,
  main > section:not(.diagnostic),
  .diagnostic > .section-divider, .diagnostic .section-head, .diagnostic-panel { display: none !important; }
  .diagnostic { padding: 0 !important; background: none !important; }
  .diagnostic-print-plan {
    display: block;
    position: static;
    width: 100%;
    padding: 2cm;
    font-family: var(--f-body);
    color: #111;
  }
  .print-plan-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
  }
  .print-plan-title {
    font-family: var(--f-display);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0.3em 0;
  }
  .print-plan-date { font-size: 0.8rem; color: #555; }
  .print-plan-meta {
    display: flex;
    gap: 2.5em;
    margin: 1.2em 0;
  }
  .print-plan-meta dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
  }
  .print-plan-meta dd { font-weight: 700; margin: 0.2em 0 0; }
  .print-plan-text { margin: 1em 0; line-height: 1.55; max-width: 60ch; }
  .print-plan-steps h2 { font-size: 1.05rem; margin-bottom: 0.5em; }
  .print-plan-steps ol { padding-left: 1.3em; line-height: 1.7; }
  .print-plan-disclaimer {
    font-size: 0.72rem;
    color: #555;
    margin-top: 2.5em;
    padding-top: 1em;
    border-top: 1px solid #ccc;
    max-width: 60ch;
  }
  .print-plan-contact { margin-top: 0.8em; font-size: 0.85rem; }
}

/* ---------------------------------------------------------------------------
   14. CONTACT
   ------------------------------------------------------------------------ */
.contact { background: var(--c-paper-dim); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  min-width: 0;
}
.contact-inner > * { min-width: 0; }

.contact-intro h2 { margin-bottom: var(--space-xs); }

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}
.contact-badges li {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-navy);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 0.5em 1em;
  border-radius: var(--r-pill);
}

.contact-urgent {
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.contact-urgent-label {
  font-size: var(--fs-small);
  color: var(--c-muted);
  margin-bottom: var(--space-2xs);
}

.contact-form {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  position: relative;
}

.form-row { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.form-row--full { grid-column: 1 / -1; }

.form-row label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-navy);
}
.form-row label span[aria-hidden] { color: var(--c-gold-dark); }
.optional { font-weight: 400; color: var(--c-muted); }

.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  padding: 0.85em 1em;
  background: var(--c-paper);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover { border-color: var(--c-gold-light); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  background: var(--c-white);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }

@keyframes fieldHighlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45); border-color: var(--c-gold); }
  70% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); border-color: var(--c-gold); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.field-highlight { animation: fieldHighlightPulse 1.1s var(--ease); }

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23C8A04D' d='M5 7l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 18px;
  padding-right: 2.5em;
}

.field-error {
  font-size: 0.8rem;
  color: var(--c-error);
  min-height: 1em;
}

.form-note { font-size: 0.8rem; color: var(--c-muted); margin-top: var(--space-xs); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }

.form-consent-row { gap: 0.4rem; }
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: var(--fs-small);
  color: var(--c-ink);
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.15em;
  accent-color: var(--c-gold-dark);
  cursor: pointer;
}
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--c-gold-dark); }

.form-success {
  grid-column: 1 / -1;
  padding: var(--space-md);
  background: var(--c-paper-dim);
  border: 1px solid var(--c-gold-light);
  border-radius: var(--r-sm);
  color: var(--c-navy);
}

.form-error-box {
  grid-column: 1 / -1;
  padding: var(--space-md);
  background: var(--c-paper-dim);
  border: 1px solid var(--c-error);
  border-radius: var(--r-sm);
  color: var(--c-navy);
}
.form-error-box a { color: var(--c-error); border-bottom: 1px solid var(--c-error); }

/* ---------------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------------ */
.site-footer {
  position: relative;
  background: var(--g-navy);
  color: rgba(255,255,255,0.75);
  overflow: hidden;
}
.footer-inner, .footer-bottom { position: relative; z-index: 1; }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-block: var(--space-xl);
}

.footer-brand p { margin-top: var(--space-sm); max-width: 32ch; font-size: var(--fs-small); }
.footer-registry { margin-top: var(--space-sm); font-size: 0.8rem; color: rgba(255,255,255,0.62); }

.footer-nav h3, .footer-contact h3 {
  font-family: var(--f-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold-light);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav a {
  position: relative;
  font-size: var(--fs-small);
  transition: color var(--t-fast);
}
.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--c-gold-light);
  transition: right var(--t-med);
}
.footer-nav a:hover { color: var(--c-gold-light); }
.footer-nav a:hover::after { right: 0; }

.footer-contact { font-style: normal; }
.footer-contact p { margin-bottom: 0.5rem; font-size: var(--fs-small); }
.footer-contact a { border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer-note { color: rgba(255,255,255,0.5); }
.footer-contact .btn { margin-top: var(--space-sm); }
.footer-contact .btn-outline { border-color: var(--c-gold); color: var(--c-white); }
.footer-contact .btn-outline:hover { color: var(--c-navy); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--c-gold-light); }

/* ---------------------------------------------------------------------------
   17. RESPONSIVE — 720px and up
   ------------------------------------------------------------------------ */
@media (min-width: 720px) {
  .why-features { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card--featured { grid-column: span 2; }

  .hero-actions .btn { width: auto; white-space: nowrap; }
}

/* ---------------------------------------------------------------------------
   18. RESPONSIVE — 1024px and up
   ------------------------------------------------------------------------ */
@media (min-width: 1024px) {
  .hero-columns {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: var(--space-xl);
  }
  .hero-support {
    margin-top: 0.4rem;
    padding-left: var(--space-xl);
    border-left: 1px solid rgba(212, 175, 55, 0.35);
  }

  .hero-ticker { grid-template-columns: repeat(2, 1fr); max-width: 32rem; }
  .hero-ticker-item {
    padding-right: var(--space-md);
    padding-bottom: 0;
    border-left: 1px solid var(--c-line);
    padding-left: var(--space-md);
  }
  .hero-ticker-item:first-child { border-left: none; padding-left: 0; }

  .stats-feature { grid-template-columns: 1fr 1.3fr; align-items: center; }
  .stats-list { border-top: none; padding-top: 0; border-left: 1px solid rgba(255,255,255,0.15); padding-left: var(--space-lg); }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-quote { grid-column: 1 / -1; max-width: 44rem; }

  .process-step {
    grid-template-columns: 3.5rem 1fr auto;
    align-items: center;
  }
  .process-time { grid-column: 3; justify-self: end; margin-top: 0; }

  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card--featured {
    grid-column: auto;
    transform: scale(1.04);
  }
  .price-card--featured:hover { transform: scale(1.04) translateY(-6px); }

  .contact-inner { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .contact-form { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; }
}

/* ---------------------------------------------------------------------------
   18b. RESPONSIVE — 1280px and up (desktop header nav)
   ------------------------------------------------------------------------
   Deliberately a higher breakpoint than the rest of the desktop layout:
   logo + 7 nav items + the full "Запросить консультацию" button need more
   horizontal room than 1024px provides. Below this width the hamburger
   menu is used instead, so nothing ever gets clipped or shrunk.
   ------------------------------------------------------------------------ */
@media (min-width: 1280px) {
  :root { --container-pad: clamp(2rem, 3vw, 4rem); }

  .btn-header-cta { display: inline-flex; }
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------------------------------------------------------------------------
   20. RESPONSIVE — 1600px and up (4K breathing room)
   ------------------------------------------------------------------------ */
@media (min-width: 1600px) {
  :root { --container-max: 1320px; }
  body { font-size: calc(var(--fs-body) * 1.02); }
}

/* ---------------------------------------------------------------------------
   21. MOBILE STICKY CTA
   ------------------------------------------------------------------------ */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  padding: 0.75rem var(--container-pad) calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -12px 30px -18px rgba(11, 19, 32, 0.25);
  transform: translateY(0);
  visibility: visible;
  transition: transform var(--t-med), visibility 0s linear;
}
.mobile-cta.is-hidden {
  transform: translateY(110%);
  visibility: hidden;
  transition: transform var(--t-med), visibility 0s linear var(--t-med);
}
.mobile-cta-btn { width: 100%; }

@media (min-width: 1024px) {
  .mobile-cta { display: none; }
}
/* ---------------------------------------------------------------------------
   21b. READING PROGRESS BAR
   Thin fixed bar at the very top of long article pages, filled by
   script.js as the reader scrolls through the article body. Sits
   above the sticky header so it stays visible at any scroll position.
   ------------------------------------------------------------------------ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 201;
  pointer-events: none;
}
.reading-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--g-gold);
}
@media (prefers-reduced-motion: no-preference) {
  .reading-progress-bar { transition: width 0.1s linear; }
}

/* ---------------------------------------------------------------------------
   22. STANDALONE PAGES — 404 & legal documents
   ------------------------------------------------------------------------ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.error-page-inner {
  max-width: 40rem;
  text-align: center;
  margin-inline: auto;
  padding-block: var(--section-pad);
}
.error-page-mark {
  width: 72px;
  height: auto;
  color: var(--c-gold);
  margin-inline: auto;
  margin-bottom: var(--space-md);
}
.error-page h1 { font-size: var(--fs-h2); margin-bottom: var(--space-sm); }
.error-page .section-lead { margin-inline: auto; margin-bottom: var(--space-lg); }
.error-page .btn { margin-inline: auto; }

.legal-page-inner {
  max-width: 44rem;
  padding-block: var(--section-pad);
}
.legal-page h1 { font-size: var(--fs-h2); margin-bottom: var(--space-md); }
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}
.legal-page p { color: var(--c-muted); margin-bottom: var(--space-xs); }
.legal-page a:not(.btn) { color: var(--c-gold-dark); border-bottom: 1px solid var(--c-gold); }
.legal-page a:not(.btn):hover { color: var(--c-navy); }
.legal-back { margin-top: var(--space-xl); }

/* ---------------------------------------------------------------------------
   19. BLOG / ARTICLES
   ------------------------------------------------------------------------ */
.article-inner { max-width: 46rem; }
.article-meta {
  font-size: var(--fs-small);
  color: var(--c-muted);
  margin-top: -0.3rem;
  margin-bottom: var(--space-md);
}

.article-inner ul { list-style: disc; padding-left: 1.3em; color: var(--c-muted); margin-bottom: var(--space-sm); }
.article-inner ul li { margin-bottom: 0.4em; }
.article-inner ol.article-steps { padding-left: 1.3em; color: var(--c-muted); margin-bottom: var(--space-sm); }
.article-inner ol.article-steps li { margin-bottom: var(--space-xs); padding-left: 0.3em; }
.article-inner ol.article-steps li strong { color: var(--c-navy); }

/* Inline glossary term — a click-to-reveal definition for legal terms
   used in the article, styled as a disclosure button (like the FAQ)
   rather than a hover tooltip, so it works identically on touch. */
.gloss-term {
  display: inline;
  padding: 0.05em 0.35em;
  border: none;
  background: rgba(212, 175, 55, 0.14);
  border-radius: 4px;
  font: inherit;
  color: var(--c-gold-dark);
  border-bottom: 1px dotted var(--c-gold-dark);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.gloss-term:hover,
.gloss-term[aria-expanded="true"] {
  background: rgba(212, 175, 55, 0.28);
  border-bottom-style: solid;
  color: var(--c-navy);
}
.gloss-def:not([hidden]) {
  display: block;
  margin: 0.6em 0;
  padding: 0.7em 1em;
  background: var(--c-paper-dim);
  border-left: 2px solid var(--c-gold);
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  color: var(--c-navy);
}

.article-inner ul.article-related {
  list-style: none;
  padding-left: 0;
}
.article-inner ul.article-related li { margin-bottom: 0.5em; }
.article-inner ul.article-related a { color: var(--c-gold-dark); border-bottom: 1px solid var(--c-gold); }

.article-cta {
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: var(--c-paper-dim);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.article-cta-label { font-weight: 600; color: var(--c-navy); margin-bottom: var(--space-sm); }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.article-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--c-white);
  border: 1px solid var(--c-gold-light);
  border-radius: var(--r-md);
}
.article-download-title { font-weight: 700; color: var(--c-navy); margin-bottom: 0.2rem; }
.article-download-text { color: var(--c-muted); font-size: var(--fs-small); margin: 0; max-width: 34rem; }
.article-download .btn { flex-shrink: 0; }

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
}
.article-share-label { font-weight: 600; color: var(--c-navy); margin: 0; }
.article-share-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.share-btn {
  display: inline-flex;
  align-items: center;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-navy);
  background: var(--c-paper-dim);
  border: 1px solid var(--c-line);
  padding: 0.5em 1.1em;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.share-btn:hover,
.share-btn:focus-visible {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-navy);
}
.share-btn.is-copied {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-white);
}

/* Blog index */
.blog-index-inner { max-width: 56rem; }
.blog-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.blog-list-item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.blog-list-item:hover { border-color: var(--c-gold-light); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.blog-list-item a { display: block; padding: var(--space-md); border-bottom: none; }
.blog-list-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: var(--space-2xs);
}
.blog-list-item h2 { font-size: var(--fs-h3); margin: 0 0 var(--space-2xs); color: var(--c-navy); }
.blog-list-item p { color: var(--c-muted); margin-bottom: var(--space-sm); }
.blog-list-link { font-weight: 600; color: var(--c-gold-dark); }

/* --- Правки по замечаниям --- */
.process-map-select { margin: 2rem 0 0; }
.cases-grid .case-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); max-width: 56rem; margin-inline: auto; }
.price-card--featured { grid-column: auto; }
.price-card--featured .price-description { color: rgba(255, 255, 255, 0.88); }
