/* ==========================================================================
   hypnotherapyforstopsmoking.com
   Hypnotherapy Pvt Ltd — Vibha Jain
   Design system & site styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Core palette */
  --ink:        #0E1C22;
  --ink-2:      #133039;
  --ink-3:      #1C444C;
  --teal:       #2C6E6B;
  --teal-mid:   #47908A;
  --teal-soft:  #DCEAE4;
  --sage:       #B5CCC1;
  --copper:     #A85A2C;
  --copper-mid: #C4753F;
  --copper-soft:#F5E7DB;

  --paper:      #FAF7F2;
  --paper-2:    #F2ECE3;
  --paper-3:    #EAE2D6;
  --card:       #FFFFFF;

  --text:       #1A2B31;
  --muted:      #566A70;
  --muted-2:    #7A8B90;
  --line:       #E4DCD0;
  --line-soft:  #EFE9E0;

  --on-dark:        #F3EFE8;
  --on-dark-muted:  #A9BFBB;
  --line-dark:      rgba(181, 204, 193, 0.22);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.55rem, 1.5rem + 4.4vw, 4.5rem);
  --fs-h1:      clamp(2.1rem, 1.35rem + 3.2vw, 3.5rem);
  --fs-h2:      clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem);
  --fs-h3:      clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  --fs-h4:      clamp(1.03rem, 0.99rem + 0.2vw, 1.15rem);
  --fs-body:    clamp(1rem, 0.965rem + 0.16vw, 1.09rem);
  --fs-lede:    clamp(1.09rem, 1.02rem + 0.34vw, 1.28rem);
  --fs-small:   clamp(0.9rem, 0.88rem + 0.1vw, 0.95rem);
  --fs-label:   0.735rem;

  /* Space */
  --gap:      clamp(1.25rem, 0.9rem + 1.5vw, 2.25rem);
  --sec-y:    clamp(3.75rem, 2.4rem + 5.4vw, 7.5rem);
  --sec-y-sm: clamp(2.75rem, 2rem + 3.2vw, 5rem);
  --shell:    1240px;
  --shell-nar: 860px;

  /* Effects */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(14, 28, 34, 0.05), 0 6px 18px -12px rgba(14, 28, 34, 0.22);
  --sh-2: 0 2px 6px rgba(14, 28, 34, 0.06), 0 20px 44px -26px rgba(14, 28, 34, 0.34);
  --sh-3: 0 30px 70px -40px rgba(14, 28, 34, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --hdr-h: 74px;
}

@media (min-width: 1140px) {
  :root { --hdr-h: 86px; }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: 0.002em;
  /* Long addresses and unbroken strings wrap instead of widening the layout */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Fine paper grain — purely decorative, very low contrast */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.32;
  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%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4, h5 {
  margin: 0 0 0.55em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-variation-settings: "opsz" 40, "SOFT" 0, "WONK" 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 {
  font-size: var(--fs-h3);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
h4 {
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.45;
}

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

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

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

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

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

::selection { background: var(--teal); color: #fff; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}
.shell--narrow { max-width: var(--shell-nar); }
.shell--wide { max-width: 1440px; }

/* Grid and flex children default to min-width:auto, which lets a single long
   word push a track wider than its container. Reset it on every layout wrapper. */
.hero__grid > *,
.pagehead__grid > *,
.cta-band__grid > *,
.split > *,
.grid > *,
.pair > *,
.footer__grid > *,
.stats > *,
.flow > *,
.steps > *,
.step > *,
.trig-grid > *,
.trig-detail__cols > *,
.prompts > *,
.related > * { min-width: 0; }

.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: var(--sec-y-sm); }
.section--flush-top { padding-top: 0; }

.section--paper2 { background: var(--paper-2); }
.section--tint {
  background: linear-gradient(180deg, var(--paper) 0%, var(--teal-soft) 100%);
}
.section--ink {
  background: var(--ink);
  color: var(--on-dark);
}
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-dark); }
.section--ink a { color: var(--sage); }
.section--ink a:hover { color: #fff; }

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

/* Section heads */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.section--ink .eyebrow { color: var(--sage); }
.eyebrow--copper { color: var(--copper); }

.sec-head { max-width: 44rem; margin-bottom: clamp(2rem, 3.5vw, 3.25rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }
.sec-head p { color: var(--muted); font-size: var(--fs-lede); line-height: 1.6; }
.section--ink .sec-head p { color: var(--on-dark-muted); }

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

.measure { max-width: 40rem; }
.measure-wide { max-width: 52rem; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: #fff;
  --btn-bd: var(--copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.82rem 1.5rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background-color 0.28s var(--ease),
              color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  box-shadow: 0 10px 26px -16px rgba(168, 90, 44, 0.85);
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -18px rgba(14, 28, 34, 0.7);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn--onink {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  --btn-bd: var(--line-dark);
  box-shadow: none;
}
.btn--onink:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }

.btn--sm { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.87rem; }

.btn .ico { width: 17px; height: 17px; flex: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 110, 107, 0.32);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.tlink svg { width: 15px; height: 15px; transition: transform 0.28s var(--ease); }
.tlink:hover { color: var(--copper); border-color: var(--copper); gap: 0.72rem; }
.tlink:hover svg { transform: translateX(2px); }
.section--ink .tlink { color: var(--sage); border-color: var(--line-dark); }
.section--ink .tlink:hover { color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   5. Skip link, scroll progress
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  z-index: 120;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(14, 28, 34, 0.8);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
  color: var(--teal);
  transition: transform 0.6s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-25deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 3px;
}

/* The header runs wider than the content column so eight nav items,
   the wordmark and the CTA all fit on one line without crowding. */
.site-header .shell { max-width: 1440px; }

.nav { display: flex; align-items: center; gap: clamp(0.75rem, 1.4vw, 1.4rem); }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 0.95vw, 1.05rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
/* The global li spacing would otherwise offset the last item in the flex line */
.nav__list li { margin: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.15rem;
  font-size: clamp(0.79rem, 0.62rem + 0.22vw, 0.875rem);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.24s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.32s var(--ease);
}
.nav__link:hover { color: var(--copper); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--teal); }
.nav__link[aria-current="page"]::after { background: var(--teal); transform: scaleX(1); }

.nav__cta { flex: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: auto;
  min-height: 46px;
  padding: 0.5rem 0.95rem 0.5rem 0.8rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 20px; height: 12px; flex: none; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.34s var(--ease), opacity 0.2s linear;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) 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(-5px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(14, 28, 34, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  z-index: 98;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

@keyframes navPanelIn  { from { transform: translateX(102%); } to { transform: none; } }
@keyframes navPanelOut { from { transform: none; } to { transform: translateX(102%); } }

@media (max-width: 1139px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    /* Kept out of the layout entirely while closed: an off-canvas panel parked
       with a transform still widens the document and causes horizontal scroll. */
    display: none;
    position: fixed;
    top: 0; right: 0;
    z-index: 99;
    width: min(400px, 88vw);
    height: 100dvh;
    padding: calc(var(--hdr-h) + 1.75rem) clamp(1.4rem, 5vw, 2.25rem) 2.5rem;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: var(--sh-3);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  body.nav-open .nav,
  body.nav-closing .nav { display: flex; }
  body.nav-open .nav { animation: navPanelIn 0.42s var(--ease-out) both; }
  body.nav-closing .nav { animation: navPanelOut 0.3s var(--ease) both; }
  /* Scroll stays locked while the panel animates out, so the transform cannot
     briefly expose a horizontal scrollbar. */
  body.nav-closing { overflow: hidden; }
  body.nav-closing .nav-scrim { opacity: 0; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__list li { border-bottom: 1px solid var(--line-soft); }
  .nav__link {
    padding: 0.95rem 0;
    font-size: 1.02rem;
    font-weight: 600;
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--copper); }
  .nav__cta { margin-top: 1.75rem; }
  .nav__cta .btn { width: 100%; }
  .nav__aside {
    margin-top: auto;
    padding-top: 2rem;
    font-size: var(--fs-small);
    color: var(--muted);
  }
  .nav__aside a { display: block; font-weight: 700; text-decoration: none; margin-top: 0.35rem; }
}

@media (min-width: 1140px) {
  .nav__aside { display: none; }
}

/* --------------------------------------------------------------------------
   7. Media frames — full subject always visible
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, #F7F2EA 0%, #E9E2D7 55%, #DFD6C8 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* The frame hugs its image rather than imposing a ratio on it. Nothing is ever
   cropped or stretched, and no image sits inside a large empty letterbox —
   the modifier classes simply set how tall the image is allowed to become. */
.frame {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--frame-h, 560px);
  object-fit: contain;
  object-position: center;
}
.frame--portrait { --frame-h: 660px; }
.frame--tall     { --frame-h: 580px; }
.frame--square   { --frame-h: 520px; }
.frame--land     { --frame-h: 500px; }
.frame--wide     { --frame-h: 470px; }
.frame--pano     { --frame-h: 430px; }
.frame--auto     { --frame-h: none; }

.frame--teal { background: radial-gradient(120% 90% at 50% 0%, #E8F1EC 0%, #D3E3DA 60%, #C3D8CD 100%); }
.frame--ink  { background: radial-gradient(120% 90% at 50% 0%, #1D3D45 0%, #122B33 60%, #0E1C22 100%); border-color: var(--line-dark); }
.frame--pad  { padding: clamp(0.75rem, 2vw, 1.4rem); }

.frame--edge { border-radius: 0; }
.frame--soft-tr { border-radius: var(--r-lg) 96px var(--r-lg) var(--r-lg); }
.frame--soft-bl { border-radius: var(--r-lg) var(--r-lg) 96px var(--r-lg); }

.figure { margin: 0; }
.figure figcaption {
  margin-top: 0.85rem;
  font-size: var(--fs-small);
  color: var(--muted-2);
  line-height: 1.55;
}
.section--ink .figure figcaption { color: var(--on-dark-muted); }

/* Floating badge over a frame */
.frame-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--sh-2);
  max-width: 15rem;
}
.frame-badge__n {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  display: block;
}
.frame-badge__t {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
  display: block;
  line-height: 1.4;
}
.frame-badge--br { right: -14px; bottom: -18px; }
.frame-badge--bl { left: -14px; bottom: -18px; }

@media (max-width: 640px) {
  .frame-badge--br, .frame-badge--bl { right: 10px; left: auto; bottom: 10px; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 1.5rem + 5vw, 5.5rem) clamp(3rem, 2rem + 4.5vw, 5.75rem);
  background:
    radial-gradient(90% 120% at 92% 6%, rgba(220, 234, 228, 0.85) 0%, rgba(250, 247, 242, 0) 62%),
    radial-gradient(70% 80% at 4% 92%, rgba(245, 231, 219, 0.75) 0%, rgba(250, 247, 242, 0) 60%),
    var(--paper);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2.5rem, 4.5vw, 4.5rem); }
}

.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin-bottom: 0.5em;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal);
  font-variation-settings: "opsz" 100, "SOFT" 20;
}
.hero__lede {
  font-size: var(--fs-lede);
  color: var(--muted);
  line-height: 1.62;
  max-width: 34rem;
  margin-bottom: 1.9rem;
}
.hero__note {
  margin-top: 1.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted-2);
  max-width: 33rem;
  line-height: 1.6;
}

.hero__media { position: relative; }

/* Compact page hero for inner pages */
.pagehead {
  position: relative;
  padding-block: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem) clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  background:
    radial-gradient(80% 130% at 88% 0%, rgba(220, 234, 228, 0.9) 0%, rgba(250, 247, 242, 0) 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pagehead--ink {
  background:
    radial-gradient(85% 140% at 88% 0%, rgba(28, 68, 76, 0.95) 0%, rgba(14, 28, 34, 0) 62%),
    var(--ink);
  border-bottom-color: var(--line-dark);
  color: var(--on-dark);
}
.pagehead--ink h1 { color: var(--on-dark); }
.pagehead--ink .eyebrow { color: var(--sage); }
.pagehead--ink .lede { color: var(--on-dark-muted); }
.pagehead--ink .crumbs, .pagehead--ink .crumbs a { color: var(--on-dark-muted); }
.pagehead--ink .crumbs a:hover { color: #fff; }

.pagehead__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
  align-items: center;
}
@media (min-width: 900px) {
  .pagehead__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .pagehead__grid--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  font-size: 0.8rem;
  color: var(--muted-2);
}
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.45rem; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--copper); }
.crumbs [aria-current="page"] { color: var(--teal); font-weight: 700; }

/* --------------------------------------------------------------------------
   9. Grids & cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--75 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--48 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split--84 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .split--top { align-items: start; }
  .split__media--first { order: -1; }
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card--lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--sage);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: var(--fs-small); line-height: 1.68; }
.card--flat { background: transparent; border: 0; padding: 0; }
.card--ink { background: var(--ink-2); border-color: var(--line-dark); color: var(--on-dark); }
.card--ink h3 { color: var(--on-dark); }
.card--ink p { color: var(--on-dark-muted); }

.card__ico {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.card__ico svg { width: 21px; height: 21px; }
.card__ico--copper { background: var(--copper-soft); color: var(--copper); }
.card--ink .card__ico { background: rgba(181, 204, 193, 0.14); color: var(--sage); }

.card__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--copper);
  display: block;
  margin-bottom: 0.9rem;
}

/* Numbered "index" cards with hairline rules */
.index-list { list-style: none; margin: 0; padding: 0; }
.index-list li {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 0.5rem 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list__n {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--copper);
  padding-top: 0.28rem;
  letter-spacing: 0.04em;
}
.index-list h3, .index-list h4 { margin-bottom: 0.4rem; }
.index-list p { color: var(--muted); font-size: var(--fs-small); margin: 0; }
.section--ink .index-list li { border-color: var(--line-dark); }
.section--ink .index-list p { color: var(--on-dark-muted); }
.section--ink .index-list__n { color: var(--sage); }

@media (max-width: 520px) {
  .index-list li { grid-template-columns: 1fr; gap: 0.25rem; }
  .index-list__n { padding-top: 0; }
}

/* Highlight / key insight panels */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: clamp(1.3rem, 2.4vw, 1.85rem) clamp(1.35rem, 2.6vw, 2.1rem);
}
.panel--copper { border-left-color: var(--copper); }
.panel--sage { border-left-color: var(--sage); }
.panel__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}
.panel--copper .panel__title { color: var(--copper); }
.panel__title svg { width: 17px; height: 17px; flex: none; }
.panel p { color: var(--muted); }
.panel p:first-of-type { margin-top: 0; }
.section--ink .panel { background: var(--ink-2); border-color: var(--line-dark); border-left-color: var(--sage); }
.section--ink .panel p { color: var(--on-dark-muted); }
.section--ink .panel__title { color: var(--sage); }

/* Pull quote (site voice, not an attributed quotation) */
.pullquote {
  position: relative;
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.5rem, 3vw, 2.25rem) clamp(1.4rem, 3vw, 2.5rem);
  border-left: 2px solid var(--copper);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
  line-height: 1.44;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 400;
}
.section--ink .pullquote { color: var(--on-dark); border-left-color: var(--sage); }
.pullquote p { margin: 0; }

/* Checklists */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
/* The tick is positioned rather than laid out as a grid/flex sibling, so items
   may contain any mix of inline markup without fragmenting into extra cells. */
.checklist li {
  position: relative;
  display: block;
  padding-left: 2.55rem;
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C6E6B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--copper li::before {
  background-color: var(--copper-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A85A2C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.section--ink .checklist li { color: var(--on-dark-muted); }
.section--ink .checklist li::before { background-color: rgba(181, 204, 193, 0.16); }

/* Tag pills */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.tags li {
  margin: 0;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.section--ink .tags li { background: transparent; border-color: var(--line-dark); color: var(--on-dark-muted); }

/* Contrast pair (myth / reality) */
.pair { display: grid; gap: var(--gap); }
@media (min-width: 760px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair__side {
  padding: clamp(1.3rem, 2.4vw, 1.85rem);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.pair__side--yes { background: var(--teal-soft); border-color: rgba(44, 110, 107, 0.22); }
.pair__side h3, .pair__side h4 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.pair__side--yes h3, .pair__side--yes h4 { color: var(--teal); }
.pair__side ul { margin: 0; padding-left: 1.1rem; }
.pair__side li { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }
.pair__side--yes li { color: #2c4a48; }

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.stat {
  background: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.25rem, 2.4vw, 1.9rem);
}
.stat__n {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.15rem);
  font-weight: 600;
  line-height: 1;
  color: var(--sage);
  letter-spacing: -0.02em;
}
.stat__t {
  margin-top: 0.75rem;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.stat__d {
  margin-top: 0.6rem;
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  line-height: 1.6;
}
.stats--light { background: var(--line); border-color: var(--line); }
.stats--light .stat { background: var(--card); }
.stats--light .stat__n { color: var(--teal); }
.stats--light .stat__t { color: var(--ink); }
.stats--light .stat__d { color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Accordion (FAQ + trigger explorer)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.acc__btn:hover { color: var(--copper); }
.acc__ico {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.acc__ico::before, .acc__ico::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.8px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease);
}
.acc__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn:hover .acc__ico { border-color: var(--copper); }
.acc__btn[aria-expanded="true"] .acc__ico { background: var(--teal); border-color: var(--teal); transform: rotate(180deg); }
.acc__btn[aria-expanded="true"] .acc__ico::before,
.acc__btn[aria-expanded="true"] .acc__ico::after { background: #fff; }
.acc__btn[aria-expanded="true"] .acc__ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__btn[aria-expanded="true"] { color: var(--teal); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease-out);
}
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__body {
  padding: 0 0 1.6rem;
  max-width: 58rem;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.75;
}
.acc__body > *:first-child { margin-top: 0; }
.acc--onink { border-top-color: var(--line-dark); }
.acc--onink .acc__item { border-bottom-color: var(--line-dark); }
.acc--onink .acc__btn { color: var(--on-dark); }
.acc--onink .acc__btn:hover { color: var(--sage); }
.acc--onink .acc__ico { border-color: var(--line-dark); }
.acc--onink .acc__ico::before, .acc--onink .acc__ico::after { background: var(--on-dark); }
.acc--onink .acc__body { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   12. Trigger explorer
   -------------------------------------------------------------------------- */
.trig-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.trig {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 1.3rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
              transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.trig:hover { border-color: var(--sage); transform: translateY(-3px); box-shadow: var(--sh-1); }
.trig[aria-expanded="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}
.trig__ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.trig__ico svg { width: 19px; height: 19px; }
.trig[aria-expanded="true"] .trig__ico { background: rgba(181, 204, 193, 0.18); color: var(--sage); }
.trig__name { font-weight: 700; font-size: 0.99rem; line-height: 1.35; }
.trig__hint {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trig[aria-expanded="true"] .trig__hint { color: var(--sage); }
.trig__hint svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.trig[aria-expanded="true"] .trig__hint svg { transform: rotate(180deg); }

.trig-detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.trig-detail[data-open="true"] { grid-template-rows: 1fr; }
.trig-detail > div { overflow: hidden; }
.trig-detail__inner {
  margin-top: 0.35rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.trig-detail__inner h3 { margin-bottom: 0.75rem; }
.trig-detail__inner p { color: var(--muted); font-size: var(--fs-small); }
.trig-detail__cols { display: grid; gap: 1.5rem; }
@media (min-width: 780px) { .trig-detail__cols { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.trig-detail__aside {
  padding: 1.15rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.trig-detail__aside h4 {
  font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.7rem;
}
.trig-detail__aside ul { margin: 0; padding-left: 1.05rem; }
.trig-detail__aside li { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   13. Journey flow (Trigger -> Response -> Pattern -> Change)
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  counter-reset: flowstep;
}
.flow__node {
  position: relative;
  padding: clamp(1.3rem, 2.3vw, 1.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.flow__node::after {
  content: "";
  position: absolute;
  right: -0.85rem;
  top: 50%;
  width: 0.85rem;
  height: 1px;
  background: var(--line);
  z-index: 1;
}
.flow__node:last-child::after { display: none; }
@media (max-width: 900px) { .flow__node::after { display: none; } }

.flow__node:hover { border-color: var(--sage); box-shadow: var(--sh-1); transform: translateY(-3px); }
.flow__k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}
.flow__node h3 { font-size: 1.02rem; margin-bottom: 0.55rem; }
.flow__node p { font-size: 0.87rem; color: var(--muted); line-height: 1.62; margin: 0; }
.flow__node--accent { background: var(--teal-soft); border-color: rgba(44, 110, 107, 0.25); }
.flow__node--accent .flow__k { background: var(--teal); }

/* Vertical framework */
.ladder { position: relative; margin: 0; padding: 0; list-style: none; }
.ladder::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--teal), var(--copper));
  opacity: 0.35;
}
.ladder__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.35rem;
  padding: 0 0 clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
}
.ladder__item:last-child { padding-bottom: 0; }
.ladder__dot {
  position: relative;
  z-index: 2;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--teal);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.ladder__dot svg { width: 18px; height: 18px; }
.ladder__item.is-active .ladder__dot,
.ladder__item:hover .ladder__dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.ladder__body h3 { margin-bottom: 0.45rem; }
.ladder__body p { color: var(--muted); font-size: var(--fs-small); margin: 0; }
.ladder__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
}
.section--ink .ladder__dot { background: var(--ink); border-color: var(--line-dark); color: var(--sage); }
.section--ink .ladder__body p { color: var(--on-dark-muted); }
.section--ink .ladder__tag { color: var(--sage); }

/* --------------------------------------------------------------------------
   14. Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.1rem, 2.4vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.35rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
@media (min-width: 820px) {
  .step { grid-template-columns: 8.5rem minmax(0, 1fr); align-items: start; }
  .step--media { grid-template-columns: 8.5rem minmax(0, 1.35fr) minmax(0, 0.9fr); align-items: start; }
  .step--media > .figure { align-self: center; }
}
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal), var(--copper));
  opacity: 0.55;
}
.step__k {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}
.step__k b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-top: 0.35rem;
}
.step h3 { margin-bottom: 0.7rem; }
.step p { color: var(--muted); }
.step__meta {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--muted-2);
}
.step__meta strong { color: var(--teal); }

/* --------------------------------------------------------------------------
   15. Reflection prompts
   -------------------------------------------------------------------------- */
.prompts { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.prompt {
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem 1.35rem;
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-small);
  line-height: 1.62;
  color: var(--muted);
}
.prompt__q {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(70% 130% at 12% 0%, rgba(28, 68, 76, 0.9) 0%, rgba(14, 28, 34, 0) 60%),
    radial-gradient(60% 120% at 92% 100%, rgba(168, 90, 44, 0.45) 0%, rgba(14, 28, 34, 0) 62%),
    var(--ink);
  color: var(--on-dark);
  padding-block: clamp(3.25rem, 2.2rem + 4vw, 5.5rem);
  overflow: hidden;
}
.cta-band h2 { color: var(--on-dark); max-width: 22ch; }
.cta-band p { color: var(--on-dark-muted); }
.cta-band__grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: center; }
@media (min-width: 880px) { .cta-band__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }

.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-lines li { margin: 0; }
.contact-lines > li > a,
.contact-lines > li > span {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-lines a:hover { background: rgba(181, 204, 193, 0.1); border-color: var(--sage); transform: translateX(3px); color: #fff; }
.contact-lines svg { width: 19px; height: 19px; flex: none; color: var(--sage); }
.contact-lines small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 2px;
}

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

.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.field label .req { color: var(--copper); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  min-height: 50px;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.62; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); opacity: 0.75; }
.field input:hover, .field textarea:hover { border-color: var(--sage); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44, 110, 107, 0.14);
}
.field__hint { font-size: 0.79rem; color: var(--muted-2); line-height: 1.5; }
.field__err {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9C3626;
}
.field__err svg { width: 14px; height: 14px; flex: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #C6553F; background: #FFF8F6; }
.field.is-invalid .field__err { display: flex; }

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 1.15rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.consent input[type="checkbox"] {
  width: 22px; height: 22px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--teal);
  cursor: pointer;
  flex: none;
}
.consent label { font-size: 0.86rem; font-weight: 500; line-height: 1.6; color: var(--muted); letter-spacing: 0; }
.consent.is-invalid { border-color: #C6553F; background: #FFF8F6; }
.consent .field__err { margin-top: 0.4rem; }
.consent.is-invalid .field__err { display: flex; }

.form-note {
  font-size: 0.82rem;
  color: var(--muted-2);
  line-height: 1.6;
}

.form-status {
  display: none;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  line-height: 1.6;
}
.form-status[data-state="success"] {
  display: flex;
  background: var(--teal-soft);
  border: 1px solid rgba(44, 110, 107, 0.3);
  color: #234B49;
}
.form-status[data-state="error"] {
  display: flex;
  background: #FDF0EC;
  border: 1px solid rgba(198, 85, 63, 0.35);
  color: #8E3421;
}
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-status strong { display: block; margin-bottom: 0.2rem; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: clamp(3rem, 2rem + 3.4vw, 4.75rem) 0;
  font-size: var(--fs-small);
  position: relative;
  z-index: 2;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.25fr; } }

.footer h3 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.2rem;
}
.footer__brand .brand__name { color: var(--on-dark); font-size: 1.2rem; }
.footer__brand .brand__sub { color: var(--on-dark-muted); }
.footer__brand .brand__mark { color: var(--sage); }
.footer__blurb { margin-top: 1.25rem; max-width: 30rem; line-height: 1.7; color: var(--on-dark-muted); }

.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__list li { margin: 0; }
.footer__list a {
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color 0.24s var(--ease), padding-left 0.24s var(--ease);
  display: inline-block;
}
.footer__list a:hover { color: #fff; padding-left: 4px; }

.footer__contact { display: grid; gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.footer__contact li { margin: 0; }
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.24s var(--ease);
}
.footer__contact a:hover { color: var(--sage); }
.footer__contact svg { width: 17px; height: 17px; color: var(--sage); flex: none; }
.footer__contact small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  font-weight: 700;
  margin-bottom: 3px;
}

.social { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 1.35rem 0 0; padding: 0; }
.social li { margin: 0; }
.social__btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--on-dark-muted);
  background: transparent;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease), background-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.social__btn svg { width: 17px; height: 17px; }
.social__btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.social__btn:not([aria-disabled="true"]):hover {
  color: var(--ink);
  background: var(--sage);
  border-color: var(--sage);
  transform: translateY(-2px);
}
.social__note { margin-top: 0.9rem; font-size: 0.76rem; color: var(--muted-2); line-height: 1.55; }

.footer__bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.83rem;
}
.footer__bar p { margin: 0; }
.footer__credit { color: var(--on-dark-muted); }
.footer__credit a {
  color: var(--sage);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(181, 204, 193, 0.4);
  padding-bottom: 1px;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.footer__credit a:hover { color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   19. Legal / long-form pages
   -------------------------------------------------------------------------- */
.doc { max-width: 46rem; }
.doc h2 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
  margin-top: clamp(2.5rem, 4vw, 3.25rem);
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
}
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h3 { margin-top: 2rem; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.15rem; }

.toc {
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.toc h2 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}
.toc ol { margin: 0; padding-left: 1.15rem; }
.toc li { font-size: var(--fs-small); margin-bottom: 0.55rem; }
.toc a { color: var(--muted); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--copper); }
@media (min-width: 1000px) {
  .toc--sticky { position: sticky; top: calc(var(--hdr-h) + 24px); }
}

/* Related pages */
.related { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.related__card {
  display: block;
  padding: 1.35rem 1.45rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.related__card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--sage); }
.related__k {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--copper); display: block; margin-bottom: 0.6rem;
}
.related__card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; color: var(--ink); }
.related__card p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   20. Motion
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal="fade"] { transform: none; }

.parallax-media { 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;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .progress-bar { display: none; }
}

/* --------------------------------------------------------------------------
   21. Utilities
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.75rem; }
.mt-3 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.75rem; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   22. Explorer stage (detail panels below the trigger grid)
   -------------------------------------------------------------------------- */
.explorer { display: grid; gap: 0.9rem; }
.explorer .trig-detail { grid-column: auto; }
.trig-detail__inner [data-panel] { display: block; }
.trig-detail__inner [data-panel][hidden] { display: none; }
.trig-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.trig-detail__meta span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.form-status__text { line-height: 1.62; }
.form-status__text a { color: inherit; font-weight: 700; }
.form-status:focus-visible { outline-offset: 5px; }

/* --------------------------------------------------------------------------
   23. Form status icons
   -------------------------------------------------------------------------- */
.form-status .fs-ico { display: none; }
.form-status[data-state="success"] .fs-ico--ok { display: block; }
.form-status[data-state="error"] .fs-ico--err { display: block; }

/* --------------------------------------------------------------------------
   24. Very small handsets (≤400px)
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
  .hdr-inner { gap: 0.7rem; }
  .brand { gap: 0.55rem; }
  .brand__mark { width: 33px; height: 33px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { font-size: 0.64rem; letter-spacing: 0.13em; }
  .nav-toggle { padding: 0.5rem 0.75rem 0.5rem 0.65rem; gap: 0.45rem; font-size: 0.72rem; }
  .eyebrow { flex-wrap: wrap; }
  .eyebrow::before { width: 18px; }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .frame-badge { position: static; margin-top: 0.9rem; max-width: none; }
  .stat { padding-inline: 1.15rem; }
}

@media (max-width: 340px) {
  .brand__sub { display: none; }
  .nav-toggle > span:last-child { display: none; }
  .nav-toggle { padding: 0.5rem 0.7rem; }
}

/* Nested grid/flex containers need the same min-width reset as their parents */
.contact-lines > li, .contact-lines a, .contact-lines a > span,
.footer__contact > li, .footer__contact a, .footer__contact a > span,
.index-list > li > *, .ladder__item > *, .consent > *,
.form__row > *, .field > *, .acc__btn > *, .checklist > li,
.trig > *, .card > *, .panel > *, .step > * > *,
.pair__side > *, .toc > * { min-width: 0; }

/* --------------------------------------------------------------------------
   25. Media on small screens
   On narrow viewports a fixed ratio plus object-fit:contain letterboxes heavily.
   Let every frame take the image's own proportions instead: nothing is cropped,
   nothing is distorted, and the subject fills the available width.
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .frame { width: 100%; }
  .frame img { width: 100%; height: auto; max-height: none; }
  .frame-badge { position: static; margin-top: 0.9rem; max-width: none; }
  .frame-badge--br, .frame-badge--bl { right: auto; left: auto; bottom: auto; }
  .frame--soft-tr, .frame--soft-bl { border-radius: var(--r-lg); }
}
