/* ==========================================================================
   Regression Therapy Mumbai — Hypnotherapy Pvt Ltd
   Core stylesheet
   Designed and Developed by Creaa Think Designs
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour — deep, calm, editorial */
  --ink:            #0B1A2A;   /* deep midnight blue */
  --ink-soft:       #14283D;
  --ink-line:       #22374E;
  --charcoal:       #232B33;

  --ivory:          #F7F3EB;   /* soft warm ivory */
  --ivory-deep:     #EFE8DC;
  --sand:           #E2D6C3;   /* warm beige / sand */
  --sage:           #7D9A8E;   /* misty sage */
  --sage-deep:      #4E6F66;
  --teal-muted:     #3D5E5A;
  --gold:           #B08D57;   /* muted gold */
  --copper:         #A9714B;   /* soft copper */

  --text:           #1C2733;
  --text-muted:     #55636F;
  --text-on-dark:   #E9E3D8;
  --text-on-dark-muted: #A9B6C2;

  --line:           rgba(28, 39, 51, 0.14);
  --line-dark:      rgba(233, 227, 216, 0.18);

  /* Typography */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem);
  --fs-h1:      clamp(2.3rem, 1.35rem + 3.6vw, 4.3rem);
  --fs-h2:      clamp(1.85rem, 1.25rem + 2.3vw, 3.05rem);
  --fs-h3:      clamp(1.32rem, 1.08rem + 0.95vw, 1.85rem);
  --fs-h4:      clamp(1.12rem, 1.02rem + 0.4vw, 1.32rem);
  --fs-lead:    clamp(1.08rem, 1.0rem + 0.42vw, 1.32rem);
  --fs-body:    clamp(1.0rem, 0.97rem + 0.16vw, 1.09rem);
  --fs-small:   clamp(0.92rem, 0.9rem + 0.1vw, 0.98rem);
  --fs-label:   clamp(0.72rem, 0.7rem + 0.09vw, 0.79rem);

  /* Spacing & rhythm */
  --space-section: clamp(4.5rem, 3rem + 6.5vw, 9.5rem);
  --space-lg: clamp(2rem, 1.4rem + 2.4vw, 3.75rem);
  --space-md: clamp(1.25rem, 1rem + 1.1vw, 2rem);
  --gutter: clamp(1.15rem, 0.7rem + 2.2vw, 3rem);
  --maxw: 1280px;
  --maxw-narrow: 780px;
  --maxw-mid: 1020px;

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 10px rgba(11, 26, 42, 0.06);
  --shadow: 0 14px 40px -18px rgba(11, 26, 42, 0.28);
  --shadow-lg: 0 34px 80px -34px rgba(11, 26, 42, 0.42);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background-color: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.22; }
h4 { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 600; line-height: 1.4; letter-spacing: -0.005em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-muted); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: 0.5em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-lg) 0; }

::selection { background: var(--sand); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 999;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--ivory); }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-mid { width: 100%; max-width: var(--maxw-mid); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }

.section--ink { background: var(--ink); color: var(--text-on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ivory); }
.section--ink h4 { color: var(--ivory); }
.section--ink a { color: var(--sand); }
.section--ink a:hover { color: #fff; }
.section--ink strong { color: var(--ivory); }

.section--sand { background: var(--ivory-deep); }
.section--sage { background: linear-gradient(170deg, #EDF0EB 0%, #E5EBE6 100%); }

.grid { display: grid; gap: var(--space-md); }

.stack > * + * { margin-top: 1.15em; }

/* --------------------------------------------------------------------------
   4. Typographic components
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: 0.65;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.section--ink .eyebrow { color: var(--gold); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.66;
  color: var(--text-muted);
}
.section--ink .lead { color: var(--text-on-dark-muted); }

.display { font-size: var(--fs-display); }

.serif-accent { font-family: var(--font-display); font-style: italic; }

.section-head { max-width: 42rem; margin-bottom: var(--space-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.05rem + 1.8vw, 2.35rem);
  line-height: 1.34;
  font-style: italic;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding: 0.35em 0 0.35em 1.15em;
  margin: var(--space-md) 0;
}
.section--ink .pull-quote { color: var(--ivory); border-color: var(--gold); }

.note {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.2;
  padding: 1.05rem 1.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  text-align: center;
}
.btn svg { flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--primary:hover { background: var(--teal-muted); border-color: var(--teal-muted); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(28,39,51,0.3); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); transform: translateY(-2px); }

.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); transform: translateY(-2px); }

.btn--outline-light { background: transparent; color: var(--ivory); border-color: rgba(233,227,216,0.42); }
.btn--outline-light:hover { background: rgba(233,227,216,0.12); color: #fff; border-color: var(--ivory); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: var(--space-md); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--teal-muted);
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform .38s var(--ease);
}
.text-link:hover::after { transform: scaleX(1); }
.section--ink .text-link { color: var(--sand); }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--sage));
  z-index: 120;
  will-change: transform;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 235, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(247, 243, 235, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px -20px rgba(11,26,42,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink); flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__list { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block;
  position: relative;
  padding: 0.6rem 0.72rem;
  font-size: 0.845rem;
  font-weight: 500;
  letter-spacing: 0.012em;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.72rem; right: 0.72rem; bottom: 0.34rem;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--gold); }

.header-cta { flex: none; margin-left: 0.4rem; padding: 0.78rem 1.3rem; font-size: 0.8rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.nav-toggle:hover { background: rgba(11,26,42,0.05); }
.nav-toggle__bars { position: relative; width: 19px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .34s var(--ease), opacity .2s var(--ease), width .34s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5.25px; width: 74%; }
.nav-toggle__bars span:nth-child(3) { top: 10.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav__link { padding: 0.6rem 0.55rem; font-size: 0.8rem; }
  .header-cta { padding: 0.72rem 1.05rem; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: clamp(1.5rem, 4vw, 2.75rem) var(--gutter) 3rem;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__list li { margin: 0; }
  .nav__link {
    padding: 1.02rem 0.25rem;
    font-size: 1.06rem;
    color: var(--text-on-dark);
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
  }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold); }
  .nav__link[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin-right: 0.7rem;
    vertical-align: middle;
  }
  .header-cta { margin: 1.75rem 0 0; width: 100%; padding: 1.05rem 1.5rem; font-size: 0.88rem; }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   7. Decorative atmosphere
   -------------------------------------------------------------------------- */
.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.32;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow--sage { background: radial-gradient(circle, rgba(125,154,142,0.34), transparent 68%); }
.glow--gold { background: radial-gradient(circle, rgba(176,141,87,0.26), transparent 68%); }
.glow--deep { background: radial-gradient(circle, rgba(62,94,90,0.4), transparent 68%); }

.rings {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.rings circle { fill: none; stroke: currentColor; stroke-width: 1; }

.section > .wrap, .section > .wrap-mid, .section > .wrap-narrow { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   8. Figures & media
   -------------------------------------------------------------------------- */
.figure { position: relative; margin: 0; }
.figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.figure__caption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.section--ink .figure__caption { color: var(--text-on-dark-muted); }

/* Framed media — image always fully visible (contain), never cropped */
.media-frame {
  position: relative;
  background: linear-gradient(160deg, var(--ivory-deep), #E7EAE5);
  border-radius: var(--radius-lg);
  padding: clamp(0.7rem, 0.4rem + 1vw, 1.15rem);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-frame--ink { background: linear-gradient(160deg, #16283C, #0E1E30); }
.media-frame--sand { background: linear-gradient(160deg, #EFE6D6, #E2D6C3); }
.media-frame--sage { background: linear-gradient(160deg, #E4EBE6, #D5E0D9); }
.media-frame img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}
.media-frame--portrait img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  margin-inline: auto;
}

/* Fixed-aspect showcase: uses contain so nothing is ever cut off */
.media-contain {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, #17293D 0%, #0C1C2C 100%);
  display: grid;
  place-items: center;
  padding: clamp(0.6rem, 1.4vw, 1.1rem);
  min-height: 260px;
}
.media-contain img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 10px);
}
.media-contain--tall img { max-height: 620px; }
.media-contain--light { background: linear-gradient(155deg, #EFE9DE 0%, #E1E7E2 100%); }

.media-hover { overflow: hidden; border-radius: var(--radius-lg); }
.media-hover img { transition: transform 1.1s var(--ease); }
.media-hover:hover img { transform: scale(1.028); }

.img-badge {
  position: absolute;
  z-index: 3;
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  max-width: 260px;
}
.img-badge__num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--teal-muted);
  display: block;
}
.img-badge__label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: block;
}

/* --------------------------------------------------------------------------
   9. Cards, panels, lists
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(176,141,87,0.4); }
.card h3, .card h4 { margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); }
.card__index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.9rem;
  line-height: 1;
}

.card--ink {
  background: linear-gradient(165deg, #142639, #0C1C2C);
  border-color: var(--ink-line);
  color: var(--text-on-dark);
}
.card--ink h3, .card--ink h4 { color: var(--ivory); }
.card--ink p { color: var(--text-on-dark-muted); }

.card--flat { background: transparent; border: 0; padding: 0; }
.card--flat:hover { transform: none; box-shadow: none; }

.panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.1rem + 1.8vw, 3rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.panel--ink {
  background: linear-gradient(160deg, #16283C, #0A1826);
  border-color: var(--ink-line);
  color: var(--text-on-dark);
}
.panel--ink h2, .panel--ink h3, .panel--ink h4 { color: var(--ivory); }
.panel--ink p { color: var(--text-on-dark-muted); }

.disclaimer {
  border: 1px solid rgba(176,141,87,0.42);
  background: linear-gradient(160deg, rgba(226,214,195,0.34), rgba(247,243,235,0.7));
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem);
  position: relative;
}
.disclaimer h3, .disclaimer h4 { color: var(--ink); }
.disclaimer p { color: var(--text-muted); }
.disclaimer__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 0.9rem;
}
.section--ink .disclaimer {
  border-color: rgba(176,141,87,0.4);
  background: rgba(255,255,255,0.045);
}
.section--ink .disclaimer h3, .section--ink .disclaimer h4 { color: var(--ivory); }
.section--ink .disclaimer p { color: var(--text-on-dark-muted); }
.section--ink .disclaimer__tag { color: var(--gold); }

/* Clean marker list */
.list-marked { list-style: none; padding: 0; margin: 0; }
.list-marked li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
}
.list-marked li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.list-marked li strong { color: var(--ink); }
.section--ink .list-marked li { color: var(--text-on-dark-muted); }
.section--ink .list-marked li strong { color: var(--ivory); }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.95rem;
  color: var(--text-muted);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 15px; height: 9px;
  border-left: 1.5px solid var(--sage-deep);
  border-bottom: 1.5px solid var(--sage-deep);
  transform: rotate(-45deg);
}
.section--ink .list-check li { color: var(--text-on-dark-muted); }
.section--ink .list-check li::before { border-color: var(--gold); }

.divider-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-block: var(--space-lg);
}
.section--ink .divider-line { background: var(--line-dark); }

/* --------------------------------------------------------------------------
   10. Metrics / counters
   -------------------------------------------------------------------------- */
.metrics { display: grid; gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.metric { position: relative; }
.metric__value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.7rem + 3.2vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
  display: block;
  font-weight: 500;
}
.section--ink .metric__value { color: var(--ivory); }
.metric__label {
  display: block;
  margin-top: 0.7rem;
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
}
.section--ink .metric__label { color: var(--gold); }
.metric__note { display: block; margin-top: 0.6rem; font-size: 0.88rem; color: var(--text-muted); }
.section--ink .metric__note { color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   11. Timeline / process
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.section--ink .timeline::before { background: var(--line-dark); }
.timeline__fill {
  position: absolute;
  left: 21px; top: 8px;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), var(--sage-deep));
  transition: height .4s linear;
  z-index: 1;
}
.timeline__item {
  position: relative;
  padding-left: 4.25rem;
  padding-bottom: clamp(2rem, 1.4rem + 2vw, 3.4rem);
  margin: 0;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 0; top: 0;
  width: 43px; height: 43px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ivory);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--teal-muted);
  z-index: 2;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.section--ink .timeline__dot { background: var(--ink); border-color: var(--ink-line); color: var(--gold); }
.timeline__item.is-active .timeline__dot { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.section--ink .timeline__item.is-active .timeline__dot { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.timeline__step {
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.timeline h3 { margin-bottom: 0.55rem; }
.timeline p { color: var(--text-muted); }
.section--ink .timeline p { color: var(--text-on-dark-muted); }

/* Horizontal stage strip */
.stages {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.section--ink .stages { background: var(--ink-line); border-color: var(--ink-line); }
.stage {
  background: var(--ivory);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.35rem);
  position: relative;
  transition: background-color .45s var(--ease);
}
.section--ink .stage { background: var(--ink); }
.stage:hover { background: #fff; }
.section--ink .stage:hover { background: var(--ink-soft); }
.stage__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.stage h3 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; margin-bottom: 0.55rem; }
.stage p { font-size: var(--fs-small); color: var(--text-muted); }
.section--ink .stage h3 { color: var(--ivory); }
.section--ink .stage p { color: var(--text-on-dark-muted); }

@media (min-width: 760px) { .stages--5 { grid-template-columns: repeat(5, 1fr); } .stages--4 { grid-template-columns: repeat(4, 1fr); } .stages--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 759px) { .stages { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   12. Accordion
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.section--ink .accordion { border-color: var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line); }
.section--ink .acc-item { border-color: var(--line-dark); }

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: 0;
  padding: clamp(1.15rem, 0.9rem + 0.8vw, 1.7rem) 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.14rem, 1rem + 0.55vw, 1.48rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  transition: color .28s var(--ease);
}
.section--ink .acc-trigger { color: var(--ivory); }
.acc-trigger:hover { color: var(--teal-muted); }
.section--ink .acc-trigger:hover { color: var(--gold); }

.acc-icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  margin-top: 0.2rem;
  transition: background-color .32s var(--ease), border-color .32s var(--ease), transform .32s var(--ease);
}
.section--ink .acc-icon { border-color: var(--line-dark); }
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.acc-icon::before { width: 11px; height: 1.4px; }
.acc-icon::after { width: 1.4px; height: 11px; }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.section--ink .acc-trigger[aria-expanded="true"] .acc-icon { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.acc-panel {
  overflow: hidden;
  height: 0;
  transition: height .42s var(--ease);
}
.acc-panel__inner {
  padding: 0 clamp(0, 0, 3rem) 1.7rem 0;
  max-width: 62ch;
  color: var(--text-muted);
}
.section--ink .acc-panel__inner { color: var(--text-on-dark-muted); }
.acc-panel__inner > *:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
}
.field .req { color: var(--copper); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.05rem;
  width: 100%;
  line-height: 1.5;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2355636F' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.6rem;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #97A2AC; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(78,111,102,0.15);
}
.field input:user-invalid, .field textarea:user-invalid {
  border-color: var(--copper);
}
.field__hint { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }
.field__error {
  font-size: 0.82rem;
  color: #A03A2A;
  font-weight: 500;
  min-height: 0;
}

.form-consent { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 0.28rem;
  flex: none;
  accent-color: var(--teal-muted);
  -webkit-appearance: auto;
  appearance: auto;
}
.form-consent label {
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-status {
  font-size: var(--fs-small);
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius);
  display: none;
  line-height: 1.6;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(125,154,142,0.18); color: #2E4E45; border: 1px solid rgba(78,111,102,0.35); }
.form-status--err { background: rgba(169,113,75,0.14); color: #85422A; border: 1px solid rgba(169,113,75,0.35); }

/* --------------------------------------------------------------------------
   14. Contact detail items
   -------------------------------------------------------------------------- */
.contact-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact-item:last-of-type { border-bottom: 0; }
.contact-item__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.contact-item__label {
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
}
.contact-item__value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  color: var(--ivory);
  text-decoration: none;
  line-height: 1.3;
  word-break: break-word;
  transition: color .25s var(--ease);
}
a.contact-item__value:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  position: relative;
  overflow: hidden;
}
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer-grid {
  display: grid;
  gap: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.15fr; } }

.footer-brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  color: var(--ivory);
  margin: 0 0 0.35rem;
}
.footer-brand p { font-size: var(--fs-small); line-height: 1.75; max-width: 34ch; }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.15rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  font-size: var(--fs-small);
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--ease);
}
.footer-links a:hover::after { transform: scaleX(1); }

.footer-contact { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.footer-contact li { margin-bottom: 0.85rem; font-size: var(--fs-small); }
.footer-contact .k {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(169,182,194,0.75);
  margin-bottom: 0.2rem;
}
.footer-contact a { font-size: 1rem; }

.socials { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.3rem; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.03);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.social-icon svg { width: 17px; height: 17px; fill: currentColor; }
.social-icon:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
}
.footer-bottom p { margin: 0; }
.footer-credit a { font-weight: 600; color: var(--ivory); }
.footer-credit a:hover { color: var(--gold); }

.footer-disclaimer {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.6rem;
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(169,182,194,0.85);
  max-width: 96ch;
}

/* --------------------------------------------------------------------------
   16. Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

.parallax { will-change: transform; }

@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;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .parallax { transform: none !important; }
  .drift { animation: none !important; }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2%, -3%, 0) scale(1.06); }
}
.drift { animation: drift 26s ease-in-out infinite; }

/* --------------------------------------------------------------------------
   17. Generic responsive grids
   -------------------------------------------------------------------------- */
.cols-2, .cols-3, .cols-4 { display: grid; gap: clamp(1.25rem, 1rem + 1.4vw, 2.25rem); }
@media (min-width: 640px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cols-4 { grid-template-columns: repeat(4, 1fr); } }

.split {
  display: grid;
  gap: clamp(2rem, 1.4rem + 3vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.22fr 0.78fr; }
  .split--wide-right { grid-template-columns: 0.78fr 1.22fr; }
  .split--reverse > *:first-child { order: 2; }
  .split--top { align-items: start; }
}

.offset-media { position: relative; }
@media (min-width: 900px) {
  .offset-media--down { margin-top: clamp(1.5rem, 3vw, 3.5rem); }
  .offset-media--up { margin-top: clamp(-3.5rem, -3vw, -1.5rem); }
}

/* Editorial column text */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose h3:first-child { margin-top: 0; }

/* Sticky sidebar layout */
.doc-layout { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 250px 1fr; } }
.doc-nav { position: static; }
@media (min-width: 1000px) {
  .doc-nav { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}
.doc-nav h4 {
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}
.doc-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc-nav li { margin: 0; }
.doc-nav a {
  display: block;
  padding: 0.55rem 0 0.55rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
  line-height: 1.45;
}
.doc-nav a:hover, .doc-nav a.is-active { color: var(--ink); border-left-color: var(--gold); }

/* --------------------------------------------------------------------------
   18. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 2.4rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--ivory); }
.page-hero .lead { color: var(--text-on-dark-muted); max-width: 60ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  font-size: 0.79rem;
  letter-spacing: 0.06em;
  color: rgba(169,182,194,0.85);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; opacity: 0.5; }
.breadcrumb a { color: rgba(169,182,194,0.95); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--ivory); }

/* --------------------------------------------------------------------------
   19. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(150deg, #0F2035 0%, #0A1826 55%, #12302C 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-block: clamp(3.75rem, 2.6rem + 5vw, 7rem);
}
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: var(--text-on-dark-muted); }
.cta-band__inner { position: relative; z-index: 2; text-align: center; max-width: 62ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   20. Utility
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 0.85rem; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.relative { position: relative; }
.z-2 { position: relative; z-index: 2; }
.nowrap { white-space: nowrap; }

@media print {
  .site-header, .site-footer, .progress-bar, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --------------------------------------------------------------------------
   21. Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4.5vw, 6.5rem) clamp(3.5rem, 2.4rem + 5vw, 7rem);
  background:
    radial-gradient(900px 620px at 88% 8%, rgba(125,154,142,0.20), transparent 62%),
    radial-gradient(760px 560px at 4% 88%, rgba(226,214,195,0.55), transparent 60%),
    var(--ivory);
}
.hero__grid { display: grid; gap: clamp(2.25rem, 1.6rem + 3vw, 4.25rem); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.02fr 0.98fr; } }

.h1-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 1.15rem;
  line-height: 1.6;
}
.hero h1 { font-size: var(--fs-display); margin-bottom: 0.55em; }
.hero .lead { max-width: 54ch; }

.hero__media { position: relative; }
.hero__media .media-contain img { max-height: 620px; }

.hero-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
}
.hero-strip__grid { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 720px) { .hero-strip__grid { grid-template-columns: repeat(3, 1fr); } }
.hero-strip__item {
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem) 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
@media (min-width: 720px) {
  .hero-strip__item + .hero-strip__item { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 3rem); }
}
@media (max-width: 719px) {
  .hero-strip__item + .hero-strip__item { border-top: 1px solid var(--line); }
}
.hero-strip__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem);
  line-height: 1;
  color: var(--ink);
}
.hero-strip__label {
  font-size: var(--fs-label);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
}
.hero-strip__note { font-size: 0.87rem; color: var(--text-muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   22. Flow steps (horizontal process with connector)
   -------------------------------------------------------------------------- */
.flow { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.25rem); position: relative; }
@media (min-width: 900px) {
  .flow--5 { grid-template-columns: repeat(5, 1fr); }
  .flow--4 { grid-template-columns: repeat(4, 1fr); }
  .flow--3 { grid-template-columns: repeat(3, 1fr); }
}
.flow__step { position: relative; padding-top: 3.5rem; }
.flow__step::before {
  content: "";
  position: absolute;
  left: 0; top: 21px;
  width: 100%; height: 1px;
  background: var(--line-dark);
}
.flow__step:last-child::before { width: 21px; }
.flow__marker {
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  z-index: 2;
}
.flow__step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  margin-bottom: 0.5rem;
}
.flow__step p { font-size: var(--fs-small); }
@media (max-width: 899px) {
  .flow__step { padding-top: 0; padding-left: 3.9rem; padding-bottom: 1.75rem; }
  .flow__step::before { left: 21px; top: 0; width: 1px; height: 100%; }
  .flow__step:last-child::before { height: 21px; width: 1px; }
  .flow__step:last-child { padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   23. Editorial extras
   -------------------------------------------------------------------------- */
.overlap-block {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  box-shadow: var(--shadow);
}
@media (min-width: 980px) {
  .overlap-block--right { margin-left: -16%; margin-top: -3.5rem; }
  .overlap-block--left { margin-right: -16%; margin-top: -3.5rem; }
}

.stat-inline {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 1rem + 2.4vw, 3.5rem);
  margin-top: var(--space-md);
}
.stat-inline__item { min-width: 130px; }

.fact-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .fact-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .fact-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.fact {
  background: #fff;
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.15rem);
  transition: background-color .4s var(--ease);
}
.fact:hover { background: var(--ivory-deep); }
.fact h3 { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 600; margin-bottom: 0.5rem; }
.fact p { font-size: var(--fs-small); color: var(--text-muted); }
.fact__icon { color: var(--sage-deep); margin-bottom: 1rem; }
.section--ink .fact-grid { background: var(--ink-line); border-color: var(--ink-line); }
.section--ink .fact { background: #0E1E30; }
.section--ink .fact:hover { background: var(--ink-soft); }
.section--ink .fact h3 { color: var(--ivory); }
.section--ink .fact p { color: var(--text-on-dark-muted); }
.section--ink .fact__icon { color: var(--gold); }

.quote-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  background: linear-gradient(150deg, rgba(226,214,195,0.55), rgba(125,154,142,0.22));
  border: 1px solid rgba(176,141,87,0.3);
}
.quote-panel p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.05rem + 1.35vw, 2.05rem);
  line-height: 1.42;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}
.quote-panel cite {
  display: block;
  margin-top: 1.3rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-label);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
}

.mini-faq-link {
  display: block;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left .35s var(--ease), color .3s var(--ease);
}
.mini-faq-link:hover { padding-left: 0.75rem; color: var(--teal-muted); }
.mini-faq-link span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  display: block;
}
.mini-faq-link em {
  display: block;
  font-style: normal;
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.6;
}
.section--ink .mini-faq-link { color: var(--ivory); border-color: var(--line-dark); }
.section--ink .mini-faq-link:hover { color: var(--gold); }
.section--ink .mini-faq-link em { color: var(--text-on-dark-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: var(--space-md); padding: 0; list-style: none; }
.chips li {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.6);
}
.section--ink .chips li { border-color: var(--line-dark); color: var(--text-on-dark-muted); background: rgba(255,255,255,0.04); }

.contact-split { display: grid; gap: 0; }
@media (min-width: 980px) { .contact-split { grid-template-columns: 0.92fr 1.08fr; } }
.contact-split__aside {
  background: linear-gradient(160deg, #14283D 0%, #0A1826 100%);
  color: var(--text-on-dark);
  padding: clamp(2rem, 1.5rem + 2.6vw, 3.75rem);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.contact-split__aside h2 { color: var(--ivory); }
.contact-split__aside p { color: var(--text-on-dark-muted); }
.contact-split__form {
  background: #fff;
  padding: clamp(2rem, 1.5rem + 2.6vw, 3.75rem);
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
@media (max-width: 979px) {
  .contact-split__aside { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .contact-split__form { border-left: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

.contrast { display: grid; gap: clamp(1.25rem, 1rem + 1.4vw, 2.25rem); }
@media (min-width: 820px) { .contrast { grid-template-columns: 1fr 1fr; } }
.contrast__col {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem);
  border: 1px solid var(--line);
}
.contrast__col--yes { background: rgba(125,154,142,0.13); border-color: rgba(78,111,102,0.32); }
.contrast__col--no { background: rgba(169,113,75,0.09); border-color: rgba(169,113,75,0.3); }
.contrast__col h3 { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 600; margin-bottom: 1.1rem; }
.contrast__col ul { margin: 0; }
.section--ink .contrast__col--yes { background: rgba(125,154,142,0.14); border-color: rgba(125,154,142,0.3); }
.section--ink .contrast__col--no { background: rgba(176,141,87,0.12); border-color: rgba(176,141,87,0.32); }

.scenario {
  border-left: 2px solid var(--sage);
  background: rgba(255,255,255,0.65);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(1.25rem, 1rem + 1vw, 1.85rem);
  margin-block: var(--space-md);
}
.scenario__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage-deep);
  margin-bottom: 0.7rem;
}
.scenario p { font-size: var(--fs-small); color: var(--text-muted); }
.section--ink .scenario { background: rgba(255,255,255,0.05); border-left-color: var(--gold); }
.section--ink .scenario p { color: var(--text-on-dark-muted); }
.section--ink .scenario__tag { color: var(--gold); }

/* Mosaic gallery — never crops, each tile letterboxes its image */
.mosaic { display: grid; gap: clamp(0.85rem, 0.6rem + 1vw, 1.5rem); }
@media (min-width: 700px) { .mosaic--3 { grid-template-columns: repeat(3, 1fr); } .mosaic--2 { grid-template-columns: repeat(2, 1fr); } }
.mosaic .media-contain { min-height: 220px; }
.mosaic .media-contain img { max-height: 340px; }

/* Ordered editorial list with large numerals */
.numbered { list-style: none; counter-reset: n; margin: 0; padding: 0; }
.numbered > li {
  counter-increment: n;
  position: relative;
  padding-left: 3.35rem;
  margin-bottom: clamp(1.5rem, 1.1rem + 1.2vw, 2.35rem);
}
.numbered > li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0; top: -0.1em;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.numbered h3 { font-family: var(--font-body); font-size: var(--fs-h4); font-weight: 600; margin-bottom: 0.45rem; }
.numbered p { color: var(--text-muted); }
.section--ink .numbered p { color: var(--text-on-dark-muted); }

/* Sitemap-ish quick nav used at the foot of long pages */
.next-pages { display: grid; gap: clamp(1rem, 0.8rem + 1vw, 1.75rem); }
@media (min-width: 760px) { .next-pages { grid-template-columns: repeat(3, 1fr); } }
.next-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  background: #fff;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s var(--ease);
  height: 100%;
}
.next-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(176,141,87,0.45); }
.next-card__label {
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}
.next-card h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); margin-bottom: 0.45rem; }
.next-card p { font-size: var(--fs-small); color: var(--text-muted); margin: 0; }
.section--ink .next-card { background: #0E1E30; border-color: var(--ink-line); }
.section--ink .next-card h3 { color: var(--ivory); }
.section--ink .next-card p { color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   24. Layout hardening — header fit and decorative-glow containment
   -------------------------------------------------------------------------- */

/* Decorative glows sit outside their section box by design; clip them at the
   section so they can never create horizontal scroll on any viewport.
   Applied only to section types that contain no position:sticky children. */
.hero,
.page-hero,
.cta-band,
.site-footer,
.section--ink,
.section--sand,
.section--sage { overflow: hidden; }

/* The primary navigation carries nine items plus a call-to-action. Give the
   header its own wider container and tighten the horizontal rhythm so the row
   always fits between 1101px (where the mobile menu takes over) and up. */
.site-header .wrap { max-width: 1560px; }

@media (min-width: 1101px) {
  .header-inner { gap: 1.15rem; }
  .nav { gap: 0; flex: 0 1 auto; min-width: 0; }
  .nav__list { flex-wrap: nowrap; min-width: 0; }
  .nav__link { padding: 0.6rem 0.5rem; font-size: 0.8rem; }
  .nav__link::after { left: 0.5rem; right: 0.5rem; }
  .header-cta { margin-left: 0.85rem; padding: 0.72rem 1.05rem; font-size: 0.76rem; gap: 0.5rem; }
}

/* Between the mobile breakpoint and 1300px the row is tightest: compact the
   brand lockup and reduce the call-to-action to a short label. */
@media (min-width: 1101px) and (max-width: 1299px) {
  .header-inner { gap: 0.75rem; }
  .brand { gap: 0.6rem; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.14rem; }
  .brand__sub { font-size: 0.57rem; letter-spacing: 0.16em; }
  .nav__link { padding: 0.6rem 0.36rem; font-size: 0.755rem; }
  .nav__link::after { left: 0.36rem; right: 0.36rem; }
  .header-cta { margin-left: 0.55rem; padding: 0.68rem 0.9rem; font-size: 0.72rem; }
  .header-cta .header-cta__full { display: none; }
  .header-cta .header-cta__short { display: inline; }
}

@media (min-width: 1300px) {
  .header-cta .header-cta__short { display: none; }
  .header-cta .header-cta__full { display: inline; }
}

/* On the mobile panel the call-to-action always shows the full number. */
@media (max-width: 1100px) {
  .header-cta .header-cta__short { display: none; }
  .header-cta .header-cta__full { display: inline; }
}

/* --------------------------------------------------------------------------
   25. Corrections found in cross-device review
   -------------------------------------------------------------------------- */

/* The global list rhythm (li margin-bottom) was pushing the last navigation
   item out of alignment with the rest of the row. Navigation items carry no
   vertical rhythm of their own. */
.nav__list li { margin: 0; }

/* .media-hover previously clipped its own <figcaption>: the rounded overflow
   box cut the final line of caption text. Clipping now belongs to the media
   boxes themselves, which already round and hide their own overflow. */
.media-hover { overflow: visible; border-radius: 0; }
.media-hover .media-frame,
.media-hover .media-contain { overflow: hidden; }

/* Cormorant Garamond defaults to old-style figures, which rendered "15+" with
   a short "1" and made the experience metrics harder to read at a glance.
   Force lining, tabular figures everywhere a numeral carries meaning. */
.metric__value,
.hero-strip__value,
.card__index,
.stage__num,
.flow__marker,
.timeline__dot,
.img-badge__num,
.numbered > li::before,
.brand__name,
.contact-item__value {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "tnum" 0;
}

/* Hero balance: a slightly smaller display size keeps the headline to four
   lines at desktop, and a taller media box stops the image floating in an
   over-large column. */
:root { --fs-display: clamp(2.5rem, 1.5rem + 3.8vw, 4.6rem); }

@media (min-width: 980px) {
  .hero__media .media-contain { min-height: clamp(360px, 34vw, 560px); }
  .hero__media .media-contain img { max-height: 540px; }
}

/* Captions sit closer to their media and never inherit the frame's rounding. */
.figure__caption { max-width: 46ch; }

/* --------------------------------------------------------------------------
   26. Mobile navigation containing-block fix
   --------------------------------------------------------------------------
   backdrop-filter on .site-header establishes a containing block for
   position:fixed descendants, which collapsed the full-screen mobile menu
   into the height of the header itself. Below the desktop breakpoint the
   header drops the backdrop filter (using an opaque background instead) so
   the menu panel resolves against the viewport as intended. */
@media (max-width: 1100px) {
  .site-header,
  .site-header.is-stuck {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #F7F3EB;
  }
}

/* Inside the dark mobile panel the primary call-to-action would be
   dark-on-dark; invert it so it reads as a button. */
@media (max-width: 1100px) {
  .nav .header-cta.btn--primary {
    background: var(--ivory);
    border-color: var(--ivory);
    color: var(--ink);
  }
  .nav .header-cta.btn--primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
  }
}

/* --------------------------------------------------------------------------
   27. Contrast corrections
   --------------------------------------------------------------------------
   Found by an automated WCAG contrast sweep across all pages. */

/* `.section--ink a` (specificity 0,1,1) was beating the button colour rules
   (0,1,0), so light buttons placed inside dark sections rendered sand text on
   an ivory pill — effectively invisible. Buttons now restate their own colour
   at matching specificity. */
.section--ink a.btn--light,
.cta-band a.btn--light { color: var(--ink); }
.section--ink a.btn--light:hover,
.cta-band a.btn--light:hover { color: var(--ink); }

.section--ink a.btn--outline-light,
.cta-band a.btn--outline-light { color: var(--ivory); }
.section--ink a.btn--outline-light:hover,
.cta-band a.btn--outline-light:hover { color: #fff; }

.section--ink a.btn--primary,
.cta-band a.btn--primary { color: var(--ivory); }
.section--ink a.btn--ghost { color: var(--ivory); border-color: rgba(233,227,216,0.42); }
.section--ink a.btn--ghost:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* .page-hero is dark but is not a .section--ink, so several muted-on-light
   colours were inherited onto a dark ground. */
.page-hero .eyebrow { color: var(--gold); }
.page-hero .note { color: var(--text-on-dark-muted); }
.page-hero .chips li {
  border-color: var(--line-dark);
  color: var(--text-on-dark-muted);
  background: rgba(255,255,255,0.04);
}
.page-hero .figure__caption { color: var(--text-on-dark-muted); }
.page-hero .list-marked li,
.page-hero .list-check li { color: var(--text-on-dark-muted); }
.page-hero .list-marked li strong,
.page-hero .list-check li strong { color: var(--ivory); }
.page-hero a:not(.btn) { color: var(--sand); }

/* .note kept its light-ground muted grey when placed on a dark section. */
.section--ink .note,
.cta-band .note { color: var(--text-on-dark-muted); }

/* Small uppercase labels in copper fell just under 4.5:1 on ivory. */
.disclaimer__tag { color: #8A5533; }
.field .req { color: #8A5533; }

/* Small uppercase gold labels need a deeper tone on light cards to clear
   4.5:1; the original gold is retained on dark grounds where it passes. */
.next-card__label { color: #8C6B36; }
.section--ink .next-card__label { color: var(--gold); }
