/* Cascade Financial Protection — shared styles
   Visual language: a Pacific Northwest field guide — numbered entries, small-caps labels,
   ridgeline rules, topographic linework and forest silhouettes. */
/* Wide-screen scaling (same as /matrix): everything is in rem and the root grows with the viewport. */
html { font-size: max(16px, min(100vw / 90, 100vh / 45)); }

:root {
  --evergreen: #064B49;
  --teal: #073D3B;
  --deep: #042F30;
  --ivory: #FAF9F5;
  --parchment: #F3EDE0;
  --white: #FFFFFF;
  --sage: #DCE9E4;
  --sage-lt: #EDF3F0;
  --sage-dk: #9DBAB1;
  --text: #182C30;
  --muted: #55676A;
  --gold: #B59A65;
  --gold-dk: #8A7243;
  --gold-lt: #D8C7A2;
  --line: rgba(24,44,48,.12);
  --line-strong: rgba(24,44,48,.22);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sc: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --radius: 0.75rem;
  --shadow: 0 1px 2px rgba(7,61,59,.05), 0 0.75rem 2rem -1.25rem rgba(7,61,59,.22);
  --shadow-lg: 0 1px 2px rgba(7,61,59,.06), 0 2rem 3.5rem -1.75rem rgba(7,61,59,.35);
  --max: 87.5rem;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; overflow-x: hidden; } /* on the root it applies to the viewport, so phones can't pan sideways and the sticky header still works */
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* faint paper grain, so the ivory reads as stock rather than a flat screen fill */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
p, li, dd, figcaption { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 0.25rem; }
.break { overflow-wrap: anywhere; }
::selection { background: var(--gold-lt); color: var(--deep); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: 0.625rem 1rem; background: var(--evergreen); color: #fff; border-radius: 0.5rem; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.label { font-family: var(--sc); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.12em; line-height: 1.4; color: var(--gold-dk); }
.label i { font-style: normal; color: var(--gold); padding: 0 0.25rem; }
.label.on-dark { color: var(--gold-lt); }
.h1, .h2, .h3, .h4, .display { font-family: var(--serif); color: var(--text); letter-spacing: -0.01em; text-wrap: balance; }
.h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1; margin-top: 0.75rem; }
.h2 { font-size: clamp(2.375rem, 3.8vw, 3.5rem); line-height: 1.02; margin-top: 0.5rem; }
.h3 { font-size: clamp(1.875rem, 2.6vw, 2.375rem); line-height: 1.1; margin-top: 0.375rem; }
.h4 { font-size: 1.625rem; line-height: 1.15; margin-top: 0.25rem; }
.h1 em, .h2 em, .display em { font-style: italic; font-weight: 500; color: var(--evergreen); }
.page-lede { margin-top: 1.25rem; max-width: 42rem; font-size: 1.1875rem; line-height: 1.6; color: var(--muted); }

/* Ridgeline rule: a hairline that rises into a small mountain profile */
.ridge-rule { display: flex; align-items: flex-end; width: 100%; max-width: 20rem; margin: 1.75rem 0; color: var(--gold); }
.ridge-rule .peaks { width: 4.5rem; height: 1rem; flex-shrink: 0; overflow: visible; }
.ridge-rule i { flex: 1; height: 1px; margin-bottom: 0.0625rem; background: currentColor; opacity: .55; }
.ridge-rule.on-dark { color: var(--gold-lt); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  height: 3.125rem; padding: 0 1.625rem; border-radius: 0.5rem; border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary { background: var(--evergreen); color: #fff; }
.btn-primary:hover { background: var(--deep); }
.btn-outline { border-color: var(--evergreen); color: var(--evergreen); }
.btn-outline:hover { background: var(--evergreen); color: #fff; }
.btn-light { background: var(--ivory); color: var(--evergreen); }
.btn-light:hover { background: var(--gold-lt); }
.btn .arrow, .text-link .arrow { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(0.25rem); }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--evergreen); }
.text-link.quiet { color: var(--text); padding-bottom: 0.25rem; background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.text-link.quiet:hover { background-size: 40% 1px; }
.text-link.small { font-size: 0.875rem; }
.ico { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }

/* ---------- image slots ---------- */
/* Missing images show a quiet tag naming the file to add to public/images. */
.ph { position: relative; overflow: hidden; background: var(--sage); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph.img-error img { display: none; }
.ph.img-error { background: linear-gradient(160deg, var(--sage-lt), var(--sage)); }
.ph.img-error::after {
  content: attr(data-label);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  max-width: calc(100% - 1.5rem);
  padding: 0.375rem 0.75rem 0.375rem 1.75rem; border-radius: 999px;
  background: rgba(255,255,255,.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064B49' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='9.5' r='1.6'/%3E%3Cpath d='m21 15.5-5-5L5 20'/%3E%3C/svg%3E") no-repeat 0.625rem center / 0.8125rem;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--evergreen); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 1px 2px rgba(7,61,59,.08);
}

/* ---------- header ---------- */
/* top offset = topbar height: the topbar scrolls away naturally while the nav row sticks (no height collapse, so no scroll feedback loop) */
.site-header { position: sticky; top: -2.375rem; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .4s var(--ease); }
.site-header.scrolled { box-shadow: 0 0.75rem 1.75rem -1.25rem rgba(7,61,59,.35); }
/* Home: the hero photo runs under the nav row, which stays frosted until the page scrolls */
[data-page="home"] .site-header { background: rgba(255,255,255,.6); border-bottom-color: rgba(255,255,255,.45); -webkit-backdrop-filter: blur(0.875rem) saturate(1.2); backdrop-filter: blur(0.875rem) saturate(1.2); transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
[data-page="home"] .site-header.scrolled { background: #fff; border-bottom-color: var(--line); }
.topbar { background: var(--deep); color: rgba(250,249,245,.72); height: 2.375rem; overflow: hidden; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 2.375rem; }
.topbar-motto { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--gold-lt); }
.topbar-meta { display: flex; gap: 0; font-size: 0.75rem; letter-spacing: 0.06em; }
.topbar-meta span + span::before { content: '·'; padding: 0 0.75rem; color: var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.5rem; transition: height .4s var(--ease); }
.site-header.scrolled .header-inner { height: 3.875rem; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; width: 13rem; height: 2.75rem; background: none; transition: width .4s var(--ease), height .4s var(--ease); }
/* logo.png has wide white margins — scale past them so the mark and wordmark fill the slot */
.brand-logo img { position: absolute; left: -3.3%; top: 50%; width: 106.6%; height: auto; transform: translateY(-50%); object-fit: initial; }
.site-header.scrolled .brand-logo { width: 11.5rem; height: 2.4375rem; }
.brand-logo.img-error { background: none; }
.brand-logo.img-error::after { left: 0; transform: translateY(-50%); background-color: var(--sage-lt); }

.main-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.main-nav > a, .nav-trigger { position: relative; display: inline-flex; white-space: nowrap; align-items: center; gap: 0.375rem; padding: 0.5rem 0; font-size: 0.9375rem; font-weight: 500; color: var(--text); transition: color .3s var(--ease); }
.main-nav > a::after, .nav-trigger::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > a:hover, .nav-trigger:hover, .main-nav > a.active, .nav-trigger.active { color: var(--evergreen); }
.main-nav > a.active::after, .nav-trigger.active::after, .main-nav > a:hover::after, .has-dropdown:hover .nav-trigger::after { transform: scaleX(1); }
.chev { width: 0.875rem; height: 0.875rem; transition: transform .3s var(--ease); }
.has-dropdown:hover .chev, .has-dropdown:focus-within .chev { transform: rotate(180deg); }

.nav-item { position: relative; }
.nav-dropdown { position: absolute; top: 100%; left: 50%; z-index: 130; padding-top: 1rem; opacity: 0; visibility: hidden; transform: translate(-50%, 0.5rem); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown.closed .nav-dropdown { opacity: 0; visibility: hidden; }
.dd-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.75rem; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; width: 36rem; gap: 0.125rem 0.5rem; }
.dd-head { grid-column: 1 / -1; padding: 0.375rem 0.75rem 0.625rem; margin-bottom: 0.25rem; border-bottom: 1px solid var(--line); font-family: var(--sc); font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-dk); }
.dd-narrow { width: 24rem; }
.dd-link { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.625rem 0.75rem; border-radius: 0.5rem; font-size: 0.9063rem; font-weight: 500; transition: background .25s var(--ease), color .25s var(--ease); }
.dd-link:hover, .dd-link:focus-visible { background: var(--sage-lt); color: var(--evergreen); }
.dd-no { flex-shrink: 0; min-width: 1.5rem; font-family: var(--sc); font-size: 0.9375rem; font-weight: 600; color: var(--gold-dk); }
.dd-link-lg { padding: 0.875rem; }
.dd-link-lg .dd-no { min-width: 3rem; }
.dd-title { display: block; line-height: 1.3; }
.dd-desc { display: block; margin-top: 0.25rem; font-size: 0.8125rem; font-weight: 400; color: var(--muted); line-height: 1.45; }
.dd-all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 0.375rem; padding: 0.875rem 0.75rem 0.375rem; border-top: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; color: var(--evergreen); }
.dd-all .arrow { width: 1rem; height: 1rem; }
.dd-subs { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; padding: 0 0.75rem 0.5rem 3rem; }
.dd-subs a { font-size: 0.8125rem; font-weight: 500; color: var(--muted); transition: color .25s var(--ease); }
.dd-subs a::before { content: '— '; color: var(--gold-dk); }
.dd-subs a:hover, .dd-subs a:focus-visible { color: var(--evergreen); }

.header-right { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: var(--evergreen); white-space: nowrap; }
.header-phone .ico { width: 1.125rem; height: 1.125rem; }
.header-cta { height: 2.75rem; padding: 0 1.25rem; font-size: 0.875rem; }

.menu-toggle { display: none; position: relative; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 1px solid var(--line-strong); border-radius: 0.5rem; cursor: pointer; }
.menu-toggle span { position: absolute; left: 0.75rem; right: 0.75rem; height: 1.5px; background: var(--evergreen); transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.menu-toggle span:nth-child(1) { top: 0.9375rem; }
.menu-toggle span:nth-child(2) { top: 1.3125rem; }
.menu-toggle span:nth-child(3) { top: 1.6875rem; }
.menu-open .menu-toggle span:nth-child(1) { top: 1.3125rem; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 1.3125rem; transform: rotate(-45deg); }

.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 100%); overflow-y: auto; overscroll-behavior: contain; background: var(--ivory); border-top: 1px solid var(--line); }
.site-header.scrolled .mobile-menu { height: calc(100dvh - 100% + 2.375rem); } /* topbar is above the viewport once stuck */
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 1rem; padding-bottom: 2rem; }
.mm-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-family: var(--serif); font-size: 1.625rem; font-weight: 600; color: var(--text); cursor: pointer; }
.mm-toggle .chev { width: 1.125rem; height: 1.125rem; color: var(--evergreen); }
.mm-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mm-sub { display: flex; flex-direction: column; padding: 0.5rem 0 1rem 0.25rem; border-bottom: 1px solid var(--line); }
.mm-sub[hidden] { display: none; }
.mm-sub a { padding: 0.5625rem 0; font-size: 1rem; color: var(--muted); }
.mm-sub a.mm-all { color: var(--evergreen); font-weight: 600; }
.mm-sub a.mm-subsub { padding: 0.375rem 0 0.375rem 1rem; font-size: 0.9375rem; }
.mm-sub a.mm-subsub::before { content: '— '; color: var(--gold-dk); }
.mm-foot { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.mm-phone { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; color: var(--evergreen); }
.mm-phone .ico { width: 1.125rem; height: 1.125rem; }
.mm-motto { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--gold-dk); }
html.menu-open { overflow: hidden; } /* lock on the root: locking body would turn it into its own scroller and drop the sticky header */

/* ---------- hero ---------- */
.hero { --nav-h: 4.5rem; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; margin-top: calc(-1 * var(--nav-h)); padding-top: var(--nav-h); background: var(--sage-lt); }
.hero > .hero-grid { flex: 1; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: none; }
.hero-bg img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.88) contrast(.98); }
.hero-video { transition: opacity .8s var(--ease); }
.hero-video.is-waiting { opacity: 0; visibility: hidden; } /* hero.png underneath shows until playback starts */
.hero-video::-webkit-media-controls, .hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg.img-error { background: none; }
.hero-bg.img-error::after { left: auto; right: 1.25rem; top: 1.25rem; transform: none; }
/* Ivory haze on the copy side for legibility, over a light 10% teal tint on the whole video */
.hero-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250,249,245,.95) 0%, rgba(250,249,245,.92) 30%, rgba(250,249,245,.74) 42%, rgba(250,249,245,.32) 51%, rgba(250,249,245,0) 60%),
    linear-gradient(rgba(6,75,73,.1), rgba(6,75,73,.1)); /* 10% evergreen tint over the whole video */
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; }
.hero-copy { align-self: center; padding: 3rem 0 3.25rem; text-shadow: 0 0 1.5rem rgba(250,249,245,.85), 0 0 0.375rem rgba(250,249,245,.6); } /* lifts the type where it crosses the video */
.hero-copy .btn { text-shadow: none; }
.hero-title { margin-top: 1.375rem; font-family: var(--serif); font-weight: 600; font-size: clamp(2.75rem, 4.3vw, 4rem); line-height: 1.02; letter-spacing: -0.015em; color: var(--text); }
.hero-title > span { display: block; }
.hero-title .l1 { white-space: nowrap; }
.hero-title .l2 { margin-top: 0.14em; color: var(--evergreen); font-style: italic; font-weight: 500; font-size: 0.94em; line-height: 1.06; letter-spacing: -0.01em; }
.hero-title .nb { white-space: nowrap; }
.hero-rule { max-width: 22rem; margin: 1.75rem 0 1.5rem; }
.hero-sub { max-width: 32rem; font-size: 1.1875rem; line-height: 1.6; color: #22363A; }
.hero-actions { display: flex; align-items: center; gap: 2.25rem; margin-top: 2.75rem; }
.hero-actions .btn-primary { transition: background .3s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.hero-actions .btn-primary:hover { transform: translateY(-0.125rem); box-shadow: 0 1rem 1.75rem -1rem rgba(4,47,48,.65); }
.hero-actions .text-link.quiet:hover { color: var(--evergreen); }

.hero-john { position: relative; isolation: isolate; }
.john-photo { position: absolute; bottom: 0; right: 13rem; height: 97%; aspect-ratio: 1086 / 1448; background: none; }
.john-photo img { object-fit: contain; object-position: bottom center; }
.john-photo.img-error { height: 80%; border-radius: 12rem 12rem 0 0; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); border: 1px dashed rgba(255,255,255,.5); border-bottom: 0; }
/* Signature (same treatment as the Aleksey site): hand-signed name on the landscape, small caps line beneath */
.hero-signature { position: absolute; right: 0; bottom: 9%; text-align: center; color: #fff; }
.hero-signature .sig { display: block; font-family: 'Great Vibes', var(--script); font-size: clamp(2.375rem, min(3.5vw, 3.15rem), 3.375rem); line-height: 1; transform: rotate(-4deg); text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 1rem rgba(0,0,0,.55), 0 0 2.5rem rgba(0,0,0,.4); }
.hero-signature .sig-sub { display: block; margin-top: 0.625rem; text-transform: uppercase; font-size: 0.59375rem; font-weight: 500; letter-spacing: 0.18em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 0 0.75rem rgba(0,0,0,.6), 0 0 1.75rem rgba(0,0,0,.4); }
@media (min-width: 1101px) { .hero { min-height: calc(100vw * 9 / 21); } } /* 21:9 including the nav band */
@media (min-width: 1101px) and (max-width: 1400px) {
  .john-photo { right: 12rem; height: 90%; }
}

/* trust bar — the three commitments, directly under the hero */
.trust-bar { background: var(--deep); color: rgba(250,249,245,.9); }
.trust-list { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 2rem; padding-top: 1.375rem; padding-bottom: 1.375rem; }
.trust-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.005em; }
.trust-list li + li { padding-left: 2rem; border-left: 1px solid rgba(216,199,162,.25); }
.trust-list .ico { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--gold-lt); }

/* The one orchestrated moment: copy settles in, then the ridgeline draws itself under the headline */
.hero-load { opacity: 0; transform: translateY(0.875rem); animation: rise .9s var(--ease) forwards; }
.hero-load.d1 { animation-delay: .1s; } .hero-load.d2 { animation-delay: .25s; } .hero-load.d3 { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-rule .peaks path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease) .45s forwards; }
.hero-rule i { transform: scaleX(0); transform-origin: left; animation: grow 1.1s var(--ease) 1.25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: none; } }

/* ---------- scroll choreography (tagged by site.js; absent under reduced motion) ---------- */
[data-reveal] { --rv: cubic-bezier(.16,1,.3,1); transition: opacity 1s var(--rv) var(--d, 0ms), transform 1.25s var(--rv) var(--d, 0ms), clip-path 1.25s var(--rv) var(--d, 0ms); }
[data-reveal="up"]:not(.in) { opacity: 0; transform: translate3d(0, 2.25rem, 0); }
[data-reveal="fade"]:not(.in) { opacity: 0; }
[data-reveal="title"] { will-change: transform; }
[data-reveal="title"]:not(.in) { opacity: 0; transform: translate3d(0, 1.75rem, 0); clip-path: inset(0 0 100% 0); }
[data-reveal="title"].in { clip-path: inset(-25% -5% -35% -5%); }
[data-reveal="img"]:not(.in) { clip-path: inset(10% 6% 10% 6% round 0.875rem); }
[data-reveal="img"].in { clip-path: inset(0 0 0 0 round 0); }
[data-reveal="img"] img { transition: transform 1.6s var(--rv) var(--d, 0ms); }
[data-reveal="img"]:not(.in) img { transform: scale(1.14); }
[data-reveal="line"] .peaks path { stroke-dasharray: 1; transition: stroke-dashoffset 1.3s var(--rv) calc(var(--d, 0ms) + .15s); }
[data-reveal="line"]:not(.in) .peaks path { stroke-dashoffset: 1; }
[data-reveal="line"] i { transform-origin: left; transition: transform 1.1s var(--rv) calc(var(--d, 0ms) + .6s); }
[data-reveal="line"]:not(.in) i { transform: scaleX(0); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section.tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: start; margin-bottom: 2.75rem; }
.section.coverage { padding-top: clamp(3rem, 5vw, 4.5rem); } /* follows the promise band, which already provides the lead-in */

/* home: "I don't sell need" — the site's stance, stated once and plainly, right under the hero */
.promise { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.75rem, 4.5vw, 4rem) 0; background: linear-gradient(180deg, var(--parchment) 0%, #F7F3EA 100%); border-bottom: 1px solid var(--line); }
.topo-promise { inset: 0; width: 100%; height: 100%; stroke: rgba(138,114,67,.13); stroke-width: 1; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, transparent 55%); }
.promise-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem clamp(3rem, 6vw, 6rem); align-items: center; }
.promise-title { font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -0.01em; color: var(--evergreen); }
.promise-title .pq { color: var(--gold); font-style: italic; }
.promise-by { margin-top: 0.75rem; font-family: 'Great Vibes', var(--script); font-size: 2.125rem; line-height: 1.2; color: var(--gold-dk); }
.promise-by span::before { content: '— '; font-family: var(--serif); font-size: 1.5rem; }
.promise-rule { margin: 1.75rem 0 0; }
.promise-lede { margin-top: 1.5rem; max-width: 33rem; font-size: 1.1875rem; line-height: 1.65; color: #22363A; }

/* the three steps sit on a sheet of card stock, like a page from the guide */
.promise-panel { position: relative; padding: 1.75rem clamp(1.5rem, 3vw, 2.5rem) 1.25rem; border-radius: 0.875rem; background: rgba(255,255,255,.72); border: 1px solid rgba(138,114,67,.2); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 1.75rem 3.5rem -2rem rgba(74,58,28,.28); }
.promise-panel::before { content: ''; position: absolute; inset: 0.4375rem; border: 1px solid rgba(138,114,67,.12); border-radius: 0.5rem; pointer-events: none; }
.promise-panel-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(138,114,67,.18); font-family: var(--sc); font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; color: var(--gold-dk); }
.promise-panel-head span + span { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.promise-steps { position: relative; }
.promise-steps li { position: relative; display: grid; grid-template-columns: 2.875rem minmax(0, 1fr); gap: 1.375rem; padding: 1.125rem 0; }
/* connector: runs from the bottom of one bubble to the top of the next, so nothing hangs below the last */
.promise-steps li:not(:last-child)::after { content: ''; position: absolute; left: 1.4375rem; top: calc(1.125rem + 2.875rem + 0.375rem); bottom: calc(-1.125rem + 0.375rem); width: 1px; background: linear-gradient(180deg, var(--gold) 0%, var(--gold-lt) 100%); transform-origin: top; }
.ps-no { position: relative; display: grid; place-items: center; width: 2.875rem; height: 2.875rem; border-radius: 50%; border: 1px solid var(--gold); background: #FBF8F1; font-family: var(--serif); font-style: italic; font-size: 1.25rem; font-weight: 600; color: var(--gold-dk); transition: background-color .6s var(--ease), border-color .6s var(--ease), color .6s var(--ease); }
.promise-steps li:last-child .ps-no { background: var(--evergreen); border-color: var(--evergreen); color: var(--gold-lt); }
.promise-steps h3 { margin-top: 0.3125rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.promise-steps p { margin-top: 0.375rem; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.promise-steps strong { font-weight: 600; color: var(--evergreen); }

/* choreography (JS adds .armed, then .in once on screen): each bubble lights in turn, and the
   line draws down to the next one before it lights. Without JS or with reduced motion it's static. */
.promise.armed .promise-steps li > div { opacity: 0; transform: translateY(0.75rem); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.promise.armed .promise-steps li::after { transform: scaleY(0); transition: transform .75s cubic-bezier(.65,0,.35,1); }
.promise.armed .ps-no { opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.34,1.56,.64,1), background-color .6s var(--ease), border-color .6s var(--ease), color .6s var(--ease); }
.promise.armed .promise-steps li:last-child .ps-no { background: #FBF8F1; border-color: var(--gold); color: var(--gold-dk); }
.promise.in .promise-steps li > div { opacity: 1; transform: none; }
.promise.in .promise-steps li::after { transform: scaleY(1); }
.promise.in .ps-no { opacity: 1; transform: none; }
.promise.in .ps-no::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; animation: psRing 1.4s var(--ease) both; animation-delay: inherit; }
.promise.in .promise-steps li:last-child .ps-no { background: var(--evergreen); border-color: var(--evergreen); color: var(--gold-lt); transition-delay: 2.15s; }
.promise.in li:nth-child(1) .ps-no, .promise.in li:nth-child(1) > div { transition-delay: .15s; }
.promise.in li:nth-child(1)::after { transition-delay: .55s; }
.promise.in li:nth-child(2) .ps-no, .promise.in li:nth-child(2) > div { transition-delay: 1.2s; }
.promise.in li:nth-child(2)::after { transition-delay: 1.6s; }
.promise.in li:nth-child(3) .ps-no, .promise.in li:nth-child(3) > div { transition-delay: 2.25s; }
.promise.in li:nth-child(1) .ps-no::after { animation-delay: .3s; }
.promise.in li:nth-child(2) .ps-no::after { animation-delay: 1.35s; }
.promise.in li:nth-child(3) .ps-no::after { animation-delay: 2.4s; }
@keyframes psRing { from { box-shadow: 0 0 0 0 rgba(181,154,101,.55); } to { box-shadow: 0 0 0 0.875rem rgba(181,154,101,0); } }
.sec-head-aside { padding-bottom: 0.375rem; }
.sec-head-aside p { font-size: 1.0625rem; color: var(--muted); max-width: 32rem; }
.sec-head-aside .text-link { margin-top: 1.25rem; }
.spacer { height: clamp(3.5rem, 6vw, 5.5rem); }

/* coverage guide */
.cov-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding: 0 1.125rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: 0.875rem; font-weight: 500; color: var(--text); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chip span { font-family: var(--sc); font-size: 0.9375rem; font-weight: 600; color: var(--gold-dk); }
.chip:hover { border-color: var(--evergreen); }
.chip[aria-pressed="true"] { background: var(--evergreen); border-color: var(--evergreen); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--gold-lt); }

.cov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.75rem; }
.cov-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.cov-card[hidden] { display: none; }
.cov-card.enter { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(0.5rem); } }
.cov-card:hover { box-shadow: var(--shadow); border-color: rgba(6,75,73,.3); }
.cov-link { display: flex; flex-direction: column; height: 100%; }
.cov-media { position: relative; }
.cov-img { aspect-ratio: 16 / 9; }
.cov-img img { transition: transform 1s var(--ease); }
.cov-card:hover .cov-img img { transform: scale(1.04); }
.cov-no { font-family: var(--serif); font-style: italic; font-size: 1.125rem; font-weight: 600; letter-spacing: 0; color: var(--evergreen); }
.cov-no::after { content: ''; display: inline-block; vertical-align: middle; width: 1.25rem; height: 1px; margin: 0 0.25rem 0 0.75rem; background: var(--gold); }
.cov-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.625rem 1.375rem; }
.cov-meta { display: flex; align-items: baseline; gap: 0; font-family: var(--sc); font-size: 0.9688rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-dk); }
.cov-body h3 { margin-top: 0.625rem; font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; color: var(--text); }
.cov-desc { margin: 0.625rem 0 1.375rem; font-size: 0.9375rem; color: var(--muted); }
.cov-more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; color: var(--evergreen); }
.cov-more .arrow { width: 1.125rem; height: 1.125rem; transition: transform .35s var(--ease); }
.cov-card:hover .cov-more .arrow { transform: translateX(0.3rem); }
/* Hub card: the body links to the overview page, the buttons go straight to each option */
.cov-hub { display: flex; flex-direction: column; }
.cov-hub .cov-link { height: auto; flex: 1; }
.cov-hub .cov-desc { margin-bottom: 1rem; }
.cov-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0 1.625rem 1.375rem; }
.cov-opt { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 0.875rem; border: 1px solid var(--line); border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; line-height: 1.25; color: var(--evergreen); transition: background .25s var(--ease), border-color .25s var(--ease); }
.cov-opt .arrow { flex-shrink: 0; width: 1rem; height: 1rem; transition: transform .35s var(--ease); }
.cov-opt:hover, .cov-opt:focus-visible { background: var(--sage-lt); border-color: rgba(6,75,73,.3); }
.cov-opt:hover .arrow { transform: translateX(0.2rem); }
.cov-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cov-group + .cov-group { margin-top: 4rem; }
.cov-group-title { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; font-family: var(--sc); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.08em; color: var(--evergreen); }
.cov-group-title::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }

/* ---------- philosophy (full width) ---------- */
.philosophy { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--evergreen) 0%, var(--teal) 70%, #063936 100%); color: #E9EFEA; padding: clamp(5rem, 8vw, 7.5rem) 0 clamp(11rem, 17vw, 16rem); }
.topo { position: absolute; pointer-events: none; fill: none; z-index: -1; }
.topo .idx { stroke-width: 1.6; }
.topo-philo { inset: 0; width: 100%; height: 100%; stroke: rgba(220,233,228,.075); stroke-width: 1; }
.philo-grid { display: grid; grid-template-columns: 55fr 45fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.philo-title { margin-top: 1rem; font-family: var(--serif); font-weight: 600; font-size: clamp(3.5rem, 6.4vw, 6.25rem); line-height: 0.94; letter-spacing: -0.02em; color: #fff; }
.philo-title em { display: block; font-style: italic; font-weight: 500; color: var(--gold-lt); }
.philo-title.small { font-size: clamp(2.5rem, 4vw, 3.75rem); text-align: center; margin-bottom: 3.5rem; }
.philo-title.small em { display: inline; }
.philo-text { margin-top: 2.25rem; max-width: 36rem; }
.philo-text p { font-size: 1.0625rem; line-height: 1.75; color: rgba(250,249,245,.8); }
.philo-text p + p { margin-top: 1.125rem; }
.philo-text .philo-lead { font-family: var(--serif); font-size: 1.75rem; line-height: 1.3; color: #fff; }
.philo-goal { margin-top: 2.25rem; max-width: 36rem; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--sage); }
.philo-list { margin-top: 0.5rem; }
.philo-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; padding: 1.875rem 0; border-top: 1px solid rgba(220,233,228,.16); }
.philo-list li:last-child { border-bottom: 1px solid rgba(220,233,228,.16); }
.pl-no { font-family: var(--serif); font-style: italic; font-size: 1.625rem; font-weight: 500; line-height: 1.15; color: var(--gold-lt); }
.philo-list h3 { font-family: var(--serif); font-size: 1.875rem; line-height: 1.1; color: #fff; }
.philo-list p { margin-top: 0.375rem; color: rgba(250,249,245,.74); font-size: 0.9688rem; }
.philo-list.row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; margin: 0; }
.philo-list.row li { grid-template-columns: 1fr; align-content: start; gap: 0.75rem; border: 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(220,233,228,.2); }
.philo-list.row li:last-child { border-bottom: 0; }
.philosophy.slim { padding-top: clamp(4rem, 6vw, 5.5rem); }

.philo-forest { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(9rem, 16vw, 15rem); z-index: -1; pointer-events: none; }
.philo-forest .layer { transform-box: fill-box; transition: transform 1.8s var(--ease); }
.js .philosophy:not(.in) .philo-forest .l0 { transform: translateY(12%); }
.js .philosophy:not(.in) .philo-forest .l1 { transform: translateY(18%); }
.js .philosophy:not(.in) .philo-forest .l2 { transform: translateY(24%); }
.js .philosophy:not(.in) .philo-forest .l3 { transform: translateY(30%); }
.philo-forest .l1 { transition-delay: .1s; } .philo-forest .l2 { transition-delay: .2s; } .philo-forest .l3 { transition-delay: .3s; }

/* ---------- licensed states map ---------- */
.states { background: var(--ivory); overflow: hidden; isolation: isolate; }
.topo-map { inset: 0; width: 100%; height: 100%; stroke: rgba(6,75,73,.085); stroke-width: 1; }
.states-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 1.75rem; align-items: stretch; }
.map-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 0.875rem; box-shadow: var(--shadow); padding: 1.5rem clamp(1rem, 2.5vw, 2rem) 1.5rem; }
.map-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.map-count { font-size: 0.875rem; color: var(--muted); }
.map-count strong { font-family: var(--serif); font-size: 1.5rem; color: var(--evergreen); margin-right: 0.125rem; }
.map-wrap { position: relative; flex: 1; display: flex; align-items: center; padding: 1.5rem 0 0.5rem; }
.us-map { display: block; width: 100%; height: auto; overflow: visible; }
.us-map:focus { outline: none; }
.us-map .st { fill: #E4ECE8; stroke: #fff; stroke-width: 1; stroke-linejoin: round; cursor: pointer; transition: fill .3s var(--ease); }
.us-map .st:hover, .us-map .st.is-active { fill: #C9DAD3; }
.us-map .st.licensed { fill: var(--evergreen); }
.us-map .st.licensed:hover, .us-map .st.licensed.is-active { fill: var(--gold); }
.us-map .st:focus { outline: none; }
.us-map .st.is-focus { stroke: var(--text); stroke-width: 2; }
.js .states:not(.in) .us-map .st.licensed { fill: #E4ECE8; }
.us-map .st.licensed { transition: fill .7s var(--ease) calc(var(--d, 0) * 140ms + 250ms); }
.us-map .st.licensed:hover, .us-map .st.licensed.is-active { transition-delay: 0s; transition-duration: .25s; }
.us-map .st-label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; fill: #fff; pointer-events: none; opacity: 0; transition: opacity .6s .9s; }
.states.in .us-map .st-label { opacity: .92; }
.compass { position: absolute; right: 0; bottom: 0.5rem; width: 5.5rem; height: 5.5rem; color: var(--sage-dk); pointer-events: none; }
.compass text { fill: var(--evergreen); font-family: var(--sc); font-size: 10px; font-weight: 600; }

.map-tip { position: absolute; z-index: 5; left: 0; top: 0; pointer-events: none; padding: 0.5rem 0.75rem; border-radius: 0.5rem; background: var(--deep); color: #fff; font-size: 0.8125rem; line-height: 1.35; white-space: nowrap; box-shadow: 0 0.5rem 1.25rem -0.5rem rgba(4,47,48,.5); opacity: 0; transform: translate(-50%, calc(-100% - 0.75rem)); transition: opacity .2s; }
.map-tip.show { opacity: 1; }
.map-tip strong { display: block; font-family: var(--serif); font-size: 1.0625rem; }
.map-tip span { color: var(--sage); font-size: 0.75rem; }
.map-tip.on span { color: var(--gold-lt); }

.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.map-readout { font-size: 0.9375rem; color: var(--muted); min-height: 1.6em; }
.map-readout strong { font-family: var(--serif); font-size: 1.125rem; color: var(--text); }
.map-readout .ok { color: var(--evergreen); font-weight: 600; }
.map-legend { display: flex; gap: 1.25rem; font-size: 0.8125rem; color: var(--muted); }
.map-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.lg-sw { width: 0.875rem; height: 0.875rem; border-radius: 0.1875rem; background: #E4ECE8; border: 1px solid var(--line); }
.lg-sw.lg-on { background: var(--evergreen); border-color: var(--evergreen); }
.map-noscript { font-size: 0.875rem; color: var(--muted); }

.ls-panel { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; background: var(--deep); color: rgba(250,249,245,.78); border-radius: 0.875rem; padding: 2.25rem 2rem 2rem; box-shadow: var(--shadow-lg); }
.ls-panel .topo-page { inset: 0; width: 100%; height: 100%; stroke: rgba(220,233,228,.07); -webkit-mask-image: none; mask-image: none; opacity: 1; }
.ls-panel h3 { font-family: var(--serif); font-size: 2.125rem; line-height: 1.05; color: #fff; }
.ls-intro { margin-top: 0.875rem; font-size: 0.9375rem; }
.ls-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ls-item { display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 0.75rem; width: 100%; padding: 0.875rem 1rem; border-radius: 0.625rem; border: 1px solid rgba(220,233,228,.16); background: rgba(255,255,255,.035); color: #fff; text-align: left; cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease); }
.ls-item:hover { border-color: rgba(216,199,162,.6); }
.ls-item[aria-pressed="true"] { background: rgba(181,154,101,.16); border-color: var(--gold); }
.ls-code { font-family: var(--sc); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-lt); }
.ls-name { font-family: var(--serif); font-size: 1.4375rem; font-weight: 600; line-height: 1.2; }
.ls-status { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep); background: var(--sage); border-radius: 999px; padding: 0.1875rem 0.5rem; }
.ls-note { margin-top: 1.25rem; font-size: 0.8125rem; line-height: 1.55; font-style: italic; color: rgba(250,249,245,.62); }
.ls-npn { margin: 1.5rem 0; padding: 1rem 0; border-top: 1px solid rgba(220,233,228,.16); border-bottom: 1px solid rgba(220,233,228,.16); }
.ls-npn small { display: block; font-family: var(--sc); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-lt); }
.ls-npn strong { font-family: var(--serif); font-size: 2.125rem; letter-spacing: 0.05em; color: #fff; }
.ls-link { margin-top: auto; font-size: 0.875rem; line-height: 1.5; }
.ls-link span { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600; color: #fff; }
.ls-link .arrow { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.ls-link:hover .arrow { transform: translateX(0.25rem); }

/* ---------- educational resources as volumes ---------- */
.resources-home { background: #fff; }
.vol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.vol { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 26rem; padding: 2.25rem 2.25rem 6rem 2.875rem; border-radius: var(--radius); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.vol::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0.75rem; background: rgba(0,0,0,.14); }
.vol::after { content: ''; position: absolute; inset: 0.875rem 0.875rem 0.875rem 1.625rem; border: 1px solid currentColor; border-radius: 0.375rem; opacity: .16; pointer-events: none; }
.vol:hover { transform: translateY(-0.375rem); box-shadow: var(--shadow-lg); }
.vol-1 { background: var(--evergreen); color: var(--ivory); }
.vol-2 { background: var(--sage); color: var(--deep); }
.vol-3 { background: var(--parchment); color: var(--text); }
.vol-top { display: flex; align-items: center; justify-content: space-between; }
.vol-no { font-family: var(--sc); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.12em; color: var(--gold-dk); }
.vol-1 .vol-no { color: var(--gold-lt); }
.vol h3 { margin-top: auto; padding-top: 3rem; font-family: var(--serif); font-size: clamp(2rem, 2.6vw, 2.5rem); line-height: 1.02; }
.vol p { margin-top: 0.875rem; font-size: 0.9688rem; opacity: .82; max-width: 20rem; }
.vol-cta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; }
.vol-cta .arrow { width: 1rem; height: 1rem; transition: transform .35s var(--ease); }
.vol:hover .vol-cta .arrow { transform: translateX(0.3rem); }
.vol-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 5.5rem; z-index: -1; pointer-events: none; }

/* ---------- calling card & contact band ---------- */
.calling-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 0.875rem; box-shadow: var(--shadow-lg); padding: 2.25rem 2.25rem 2rem; }
.calling-card::before { content: ''; position: absolute; inset: 0.5rem; border: 1px solid rgba(181,154,101,.35); border-radius: 0.5rem; pointer-events: none; }
.cc-name { font-family: var(--script); font-size: 3rem; line-height: 1.05; color: var(--evergreen); }
.cc-title { margin-top: 0.25rem; font-family: var(--sc); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.12em; color: var(--gold-dk); }
.calling-card .ridge-rule { margin: 1rem 0 0.5rem; }
.cc-row { display: block; padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.cc-row small { display: block; font-family: var(--sc); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.cc-row strong { display: block; font-family: var(--serif); font-size: 1.625rem; line-height: 1.2; font-weight: 600; color: var(--text); transition: color .25s; }
.cc-row strong.break { font-size: 1.375rem; }
a.cc-row:hover strong { color: var(--evergreen); }
.calling-card .text-link { position: relative; margin-top: 1.375rem; }
.cc-note { margin-top: 1.25rem; font-family: var(--serif); font-style: italic; font-size: 1.3125rem; color: var(--evergreen); }

.contact-band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #F4F1E8 0%, var(--ivory) 100%); padding: clamp(5rem, 8vw, 7.5rem) 0 clamp(10rem, 15vw, 13rem); }
.contact-forest { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(8rem, 14vw, 13rem); z-index: -1; pointer-events: none; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.display { margin-top: 0.75rem; font-size: clamp(2.75rem, 4.8vw, 4.5rem); font-weight: 600; line-height: 1; }
.display em { display: block; }
.contact-lede { margin-top: 1.5rem; max-width: 33rem; font-size: 1.125rem; color: var(--muted); }
.contact-aside { margin-top: 1.75rem; padding-left: 1.25rem; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.4375rem; color: var(--evergreen); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--deep); color: rgba(250,249,245,.72); padding: 4.5rem 0 2rem; }
.footer-ridge { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: 3.5rem; color: var(--deep); pointer-events: none; }
.site-footer .brand { padding: 0.875rem 1.25rem; background: #fff; border-radius: 0.625rem; }
.site-footer .brand-logo { width: 13rem; height: 2.75rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1.1fr 0.85fr 1.45fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(220,233,228,.14); }
.footer-motto { margin-top: 1.75rem; font-family: var(--serif); font-size: 2rem; line-height: 1.12; color: #fff; }
.footer-motto em { color: var(--gold-lt); }
.footer-col h2 { font-family: var(--sc); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-lt); margin-bottom: 1.125rem; }
.footer-col li + li { margin-top: 0.625rem; }
.footer-col a { font-size: 0.9375rem; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-col li.ft-sub { margin-top: 0.375rem; padding-left: 0.875rem; }
.footer-col li.ft-sub a { font-size: 0.875rem; opacity: .85; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; }
.footer-contact .ico { width: 1.0625rem; height: 1.0625rem; color: var(--gold-lt); }
.footer-legal { padding: 1.75rem 0; border-bottom: 1px solid rgba(220,233,228,.14); }
.footer-legal p { max-width: 62rem; font-size: 0.8125rem; line-height: 1.65; color: rgba(250,249,245,.56); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: 0.8125rem; color: rgba(250,249,245,.56); }

/* ---------- inner page heroes ---------- */
.page-hero, .cov-hero, .about-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fff 0%, var(--ivory) 100%); border-bottom: 1px solid var(--line); }
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem); }
.topo-page { right: 0; top: 0; width: min(65%, 56rem); height: 100%; stroke: var(--sage-dk); stroke-width: 1; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; font-size: 0.8125rem; color: var(--muted); }
.crumbs a:hover { color: var(--evergreen); text-decoration: underline; text-underline-offset: 0.2rem; }
.crumbs span[aria-current] { color: var(--text); font-weight: 500; }

.cov-hero { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cov-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cov-hero .ridge-rule { margin: 1.75rem 0 1rem; }
.plate figcaption { display: flex; align-items: baseline; gap: 0.75rem; margin-top: 0.875rem; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--muted); }
.plate figcaption span { font-family: var(--sc); font-style: normal; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-dk); }
.cov-hero-img { aspect-ratio: 4 / 3; border-radius: 0.875rem; box-shadow: var(--shadow-lg); }
.edu-flag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.edu-flag .ico { width: 1.125rem; height: 1.125rem; color: var(--evergreen); }

/* ---------- article layout ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2.5rem, 6vw, 6rem); padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4rem); align-items: start; }
.article { max-width: 48rem; }
.article > section + section { margin-top: clamp(3.5rem, 6vw, 5rem); }
.article p { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.75; color: #2D4246; }
.article h2 + p { margin-top: 1.25rem; }
.dropcap::first-letter { float: left; padding: 0.375rem 0.625rem 0 0; font-family: var(--serif); font-size: 4.5rem; line-height: 0.8; font-weight: 600; color: var(--evergreen); }
.article-note { padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--sage-lt); font-size: 0.875rem !important; color: var(--muted) !important; margin-top: 3.5rem !important; }

.article-aside { position: sticky; top: 7rem; display: flex; flex-direction: column; gap: 1.5rem; }
.toc { display: flex; flex-direction: column; padding-left: 1.25rem; border-left: 1px solid var(--line-strong); }
.toc-title { font-family: var(--sc); font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-dk); margin-bottom: 0.625rem; }
.toc a { position: relative; padding: 0.375rem 0; font-size: 0.9063rem; color: var(--text); transition: color .2s; line-height: 1.4; }
.toc a:hover, .toc a.current { color: var(--evergreen); }
.toc a.current { font-weight: 600; }
.toc a.current::before { content: ''; position: absolute; left: -1.3125rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--gold); }
.aside-card { position: relative; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.aside-card p { font-size: 0.875rem; color: var(--muted); }
.aside-card .aside-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--text); margin-bottom: 0.375rem; line-height: 1.15; }
.aside-card a { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--evergreen); }
.aside-card .ico { width: 1.0625rem; height: 1.0625rem; }

.steps { counter-reset: step; margin-top: 1.75rem; border-bottom: 1px solid var(--line); }
.steps li { position: relative; counter-increment: step; padding: 1.25rem 0 1.25rem 4.25rem; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0.875rem; font-family: var(--serif); font-style: italic; font-size: 2.125rem; line-height: 1; font-weight: 500; color: var(--gold); }
.steps h3 { font-family: var(--serif); font-size: 1.4375rem; font-weight: 600; line-height: 1.2; }
.steps p { margin-top: 0.25rem !important; font-size: 1rem !important; color: var(--muted) !important; }

.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pc { padding: 1.875rem; border-radius: var(--radius); border: 1px solid var(--line); }
.pc-pro { background: #fff; }
.pc-con { background: var(--parchment); border-color: rgba(181,154,101,.35); }
.pc ul { margin-top: 1.25rem; }
.pc li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; font-size: 0.9688rem; line-height: 1.6; color: #2D4246; }
.pc li + li { margin-top: 0.875rem; }
.pc li .ico { width: 1.125rem; height: 1.125rem; margin-top: 0.25rem; color: var(--evergreen); }
.pc-con li .ico { color: var(--gold-dk); }

.compare { margin-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.cmp-row { display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem; padding: 1.125rem 0; border-bottom: 1px solid var(--line); }
.cmp-row h3 { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.3; }
.cmp-row p { margin: 0 !important; font-size: 0.9688rem !important; color: var(--muted) !important; }

.faq { margin-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.375rem; font-weight: 600; line-height: 1.3; color: var(--text); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 1.125rem; height: 1.125rem; color: var(--gold-dk); flex-shrink: 0; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq summary:hover { color: var(--evergreen); }
.faq details p { margin: 0 0 1.25rem !important; padding-right: 2rem; font-size: 1rem !important; line-height: 1.7; color: #2D4246; }
/* full width: each part's title holds the left column while its questions run down the right */
.faq-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 1.5rem 5rem; align-items: start; }
.faq-group-head { position: sticky; top: 6.5rem; }
.faq-group .faq { margin-top: 0; }
.faq-group + .faq-group { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--line); }

.invite { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem 3rem; padding: 2.75rem 3rem; border-radius: 0.875rem; background: var(--evergreen); color: #fff; }
.invite h2 { margin-top: 0.375rem; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.05; color: #fff; }
.invite p:not(.label) { margin-top: 0.5rem; color: rgba(250,249,245,.8); max-width: 36rem; }
.invite-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.875rem; }
.invite-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9375rem; color: #fff; }
.invite-phone .ico { width: 1.0625rem; height: 1.0625rem; color: var(--gold-lt); }
.related { padding-top: clamp(4rem, 6vw, 5.5rem); }

/* resources */
.guide-index { border-top: 1px solid var(--line-strong); }
.guide-index a { display: grid; grid-template-columns: 3.5rem 1fr auto auto; align-items: center; gap: 1.5rem; padding: 1.375rem 0; border-bottom: 1px solid var(--line); }
.gi-no { font-family: var(--serif); font-style: italic; font-size: 1.875rem; color: var(--gold); line-height: 1; }
.gi-title { font-family: var(--serif); font-size: 1.625rem; font-weight: 600; line-height: 1.2; transition: color .25s; }
.guide-index small { font-size: 0.8125rem; color: var(--muted); }
.guide-index .arrow { width: 1.125rem; height: 1.125rem; color: var(--evergreen); transition: transform .3s var(--ease); }
.guide-index a:hover .gi-title { color: var(--evergreen); }
.guide-index a:hover .arrow { transform: translateX(0.25rem); }
.guide + .guide { padding-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }

.worksheet { margin-top: 1.75rem; display: grid; gap: 1.5rem; }
.worksheet fieldset { margin: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.worksheet legend { padding: 0 0.5rem; margin-left: -0.5rem; font-family: var(--sc); font-size: 1.1875rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-dk); }
.ws-field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; }
.ws-field small { display: block; margin-top: 0.3125rem; font-size: 0.8125rem; color: var(--muted); }
.ws-input { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 0.5rem; background: var(--ivory); padding: 0 0.875rem; transition: border-color .2s, box-shadow .2s; }
.ws-input:focus-within { border-color: var(--evergreen); box-shadow: 0 0 0 3px rgba(6,75,73,.12); }
.ws-input span { color: var(--muted); font-size: 0.9375rem; }
.ws-input input { flex: 1; min-width: 0; height: 2.875rem; border: 0; background: none; padding: 0 0.5rem; font: inherit; font-size: 1rem; color: var(--text); outline: none; }
.ws-result { display: grid; gap: 0.25rem; padding: 1.75rem; border-radius: var(--radius); background: var(--evergreen); color: #fff; }
.ws-result span { font-family: var(--sc); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-lt); }
.ws-result strong { font-family: var(--serif); font-size: 3.25rem; line-height: 1.1; }
.ws-result small { font-size: 0.875rem; color: rgba(250,249,245,.78); max-width: 34rem; }

.table-scroll { margin-top: 1.5rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cmp-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9063rem; }
.cmp-table th, .cmp-table td { padding: 0.875rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--sage-lt); font-family: var(--sc); font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; color: var(--evergreen); }
.cmp-table tbody th { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; white-space: nowrap; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table td { color: #2D4246; }
.checklists { display: grid; gap: 1.5rem; }
.checklist { padding: 1.875rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.checklist:nth-child(2) { background: var(--parchment); }
.checklist ul { margin-top: 1.125rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.75rem; }
.checklist li { position: relative; padding-left: 1.75rem; font-size: 0.9688rem; color: #2D4246; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.25rem; width: 1rem; height: 1rem; border-radius: 0.25rem; border: 1.5px solid var(--sage-dk); }

/* about */
.about-hero { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { aspect-ratio: 1086 / 1448; border-radius: 0.875rem; box-shadow: var(--shadow-lg); max-height: 36rem; background: linear-gradient(180deg, var(--sage-lt) 0%, var(--sage) 100%); }
/* same transparent cutout as the hero, standing on a soft sage backdrop */
.about-photo img { object-fit: contain; object-position: bottom center; }
.about-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.about-meta dt { font-family: var(--sc); font-size: 0.9688rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-dk); }
.about-meta dd { font-family: var(--serif); font-size: 1.625rem; font-weight: 600; line-height: 1.2; color: var(--evergreen); }
.about-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.about-steps { padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); align-self: start; }
.steps.compact { margin-top: 1.25rem; }
.steps.compact h3 { font-size: 1.3125rem; }
.licensing-strip { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 1rem; }
.licensing-strip p:not(.label) { margin-top: 0.75rem; max-width: 44rem; color: var(--muted); }

/* contact page */
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-form { padding: 2.25rem; border-radius: 0.875rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-sub { margin-top: 0.5rem; color: var(--muted); font-size: 0.9375rem; }
.field { margin-top: 1.25rem; }
.field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 0.75rem 0.875rem; border-radius: 0.5rem; border: 1px solid var(--line-strong); background: var(--ivory); font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--evergreen); box-shadow: 0 0 0 3px rgba(6,75,73,.12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A4553E; }
.form-privacy { display: flex; gap: 0.625rem; margin: 1.25rem 0 1.5rem; padding: 0.875rem 1rem; border-radius: 0.5rem; background: var(--sage-lt); font-size: 0.8438rem; color: var(--muted); line-height: 1.5; }
.form-privacy .ico { width: 1.125rem; height: 1.125rem; color: var(--evergreen); margin-top: 0.0625rem; }
.form-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--evergreen); min-height: 1.5em; }
.form-note.err { color: #A4553E; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .header-phone span { display: none; }
  .header-phone { width: 2.75rem; height: 2.75rem; justify-content: center; border: 1px solid var(--line-strong); border-radius: 0.5rem; }
  .main-nav { gap: 1.25rem; }
  .main-nav > a, .nav-trigger { font-size: 0.875rem; }
}
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-phone span { display: inline; }
  .header-phone { width: auto; height: auto; border: 0; }
  .states-grid { grid-template-columns: 1fr; }
  .philo-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
  .philo-list.row { grid-template-columns: 1fr 1fr; }
  .vol-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .cov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-inner, .cov-hero-grid, .about-grid, .about-body, .contact-page { grid-template-columns: 1fr; }
  .cov-hero .plate { order: -1; }
  .faq-group { grid-template-columns: 1fr; }
  .faq-group-head { position: static; }
  .faq-group .faq { margin-top: 0.25rem; }
  .faq-group + .faq-group { margin-top: 3rem; padding-top: 0; border-top: 0; }
  .invite { grid-template-columns: 1fr; padding: 2.25rem 2rem; }
  .licensing-strip { flex-direction: column; align-items: flex-start; }
  .about-photo { max-height: 30rem; }
  .topbar-meta { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
  .header-phone span { display: none; }
  .header-phone { width: 2.75rem; height: 2.75rem; justify-content: center; border: 1px solid var(--line-strong); border-radius: 0.5rem; }
  .header-inner { height: 4.25rem; }
  .hero { --nav-h: 4.25rem; }
  .brand-logo { width: 11.5rem; height: 2.4375rem; }
  .topbar-motto { font-size: 0.9375rem; }
  .hero-title .l1 { white-space: normal; }
  .hero-actions { flex-wrap: wrap; gap: 1.25rem; }
  .cov-grid, .cov-grid.two, .vol-grid { grid-template-columns: 1fr; }
  .vol { min-height: 21rem; }
  .philo-list.row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
  .pc-grid { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .worksheet fieldset { grid-template-columns: 1fr; }
  /* comparison table becomes one card per policy type, each value labelled */
  .table-scroll { overflow: visible; border: 0; background: none; }
  .cmp-table { min-width: 0; }
  .cmp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; }
  .cmp-table tbody { display: grid; gap: 0.875rem; }
  .cmp-table tr { padding: 1.125rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
  .cmp-table tbody th { padding: 0 0 0.625rem; margin-bottom: 0.25rem; border-bottom: 1px solid var(--line); white-space: normal; }
  .cmp-table td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.5rem 0; border-bottom: 0; }
  .cmp-table td::before { content: attr(data-label); font-family: var(--sc); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold-dk); }
  .cmp-table tbody tr:last-child > * { border-bottom: 0; }
  .cmp-table tbody tr:last-child > th { border-bottom: 1px solid var(--line); }

  .checklist ul { grid-template-columns: 1fr; }
  .map-foot { flex-direction: column; align-items: flex-start; }
  .compass { width: 3.5rem; height: 3.5rem; bottom: 0; }
  .ls-panel, .calling-card, .contact-form { padding: 1.75rem 1.5rem; }
  .cc-row strong { font-size: 1.375rem; }
  .cc-row strong.break { font-size: 1.0625rem; font-family: var(--sans); }
  .about-meta { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .guide-index a { grid-template-columns: 2.5rem 1fr auto; }
  .guide-index small { display: none; }
  .invite { padding: 2rem 1.5rem; }
}
/* Hero, tablet & phone: copy over a soft haze, then a portrait "stage" with the signature in the sky beside him */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 3.5rem 0 1.5rem; }
  /* one continuous haze: solid behind the copy, then fading down through the top of the portrait stage */
  .hero-veil { background: rgba(6,75,73,.1); }
  .hero-copy { position: relative; isolation: isolate; }
  .hero-copy::before { content: ''; position: absolute; z-index: -1; top: calc(-1 * var(--nav-h)); bottom: 0; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background: rgba(250,249,245,.93); }
  .hero-john { height: clamp(22rem, 62vw, 32rem); }
  /* keeps the sky behind the signature soft so dark type reads, while John stands in full colour */
  .hero-john::before { content: ''; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: linear-gradient(180deg, rgba(250,249,245,.9) 0%, rgba(250,249,245,.78) 30%, rgba(250,249,245,0) 62%); }
  .john-photo { right: calc(-1 * var(--gutter)); height: 92%; }
  .hero-signature { left: 0; right: auto; top: 1.75rem; bottom: auto; text-align: left; color: var(--evergreen); }
  .hero-signature .sig { font-size: 2.75rem; text-shadow: none; }
  .hero-signature .sig-sub { color: var(--gold-dk); text-shadow: none; }
  .trust-list { grid-template-columns: 1fr; gap: 0; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .trust-list li { padding: 0.875rem 0; }
  .trust-list li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(216,199,162,.2); }
}
/* Phone (after /Aleksey): headline high, paragraph beside John's face, buttons across the bottom over his chest */
@media (max-width: 760px) {
  .hero-veil { background: linear-gradient(90deg, rgba(250,249,245,.94) 0%, rgba(250,249,245,.86) 42%, rgba(250,249,245,.45) 66%, rgba(250,249,245,0) 88%), linear-gradient(0deg, rgba(250,249,245,.55) 0%, rgba(250,249,245,0) 22%), rgba(6,75,73,.1); }
  .hero-copy::before { display: none; }
  .hero-grid { position: relative; }
  .hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 34rem; padding: 2.25rem 0 1.75rem; }
  .hero-copy > .label { display: none; }
  .hero-sub { max-width: 51%; font-size: 1rem; line-height: 1.5; }
  .hero-actions { flex-direction: row; align-items: stretch; gap: 0.625rem; margin-top: auto; padding-top: 1.5rem; }
  .hero-actions .btn { flex: 1.45; justify-content: center; padding-left: 0.75rem; padding-right: 0.75rem; font-size: 0.9375rem; box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(4,47,48,.55); }
  .hero-actions .text-link.quiet { flex: 1; justify-content: center; padding: 0.8125rem 0.75rem; border: 1px solid var(--evergreen); border-radius: 0.5rem; background: rgba(250,249,245,.92); text-shadow: none; box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(4,47,48,.4); }
  .hero-actions .text-link.quiet:hover { background: #fff; }
  .hero-john { position: absolute; z-index: 1; right: calc(-1 * var(--gutter) - 2.75rem); bottom: 0; height: 63%; width: auto; aspect-ratio: 1086 / 1448; }
  .hero-john::before { display: none; }
  .john-photo { right: 0; height: 100%; }
  .hero-signature { display: none; }
  .trust-list { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .trust-list li { flex-direction: column; justify-content: flex-start; gap: 0.5rem; padding: 0 0.5rem; text-align: center; font-size: 0.8125rem; line-height: 1.35; }
  .trust-list li + li { padding-left: 0.5rem; border-top: 0; border-left: 1px solid rgba(216,199,162,.25); }
  .trust-list .ico { width: 1.5rem; height: 1.5rem; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- coverage pages: video placeholder in the hero ---------- */
.video-soon { position: relative; border-radius: 0.875rem; overflow: hidden; box-shadow: var(--shadow-lg); }
.video-soon .cov-hero-img { box-shadow: none; border-radius: 0; }
.video-soon .cov-hero-img img { filter: saturate(.8) brightness(.92); }
.vs-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.875rem; text-align: center; padding: 1.5rem; color: #fff; background: radial-gradient(ellipse at center, rgba(4,47,48,.5) 0%, rgba(4,47,48,.28) 55%, rgba(4,47,48,.42) 100%); }
.vs-play { position: relative; display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: rgba(250,249,245,.16); border: 1px solid rgba(250,249,245,.7); -webkit-backdrop-filter: blur(0.5rem); backdrop-filter: blur(0.5rem); color: #fff; }
.vs-play svg { width: 1.875rem; height: 1.875rem; margin-left: 0.25rem; }
.vs-play::before, .vs-play::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(216,199,162,.8); animation: vsRing 3.2s var(--ease) infinite; }
.vs-play::after { animation-delay: 1.6s; }
@keyframes vsRing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.75); opacity: 0; } }
.vs-tag { font-family: var(--sc); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.16em; color: var(--gold-lt); text-shadow: 0 1px 0.75rem rgba(0,0,0,.4); }
.vs-note { max-width: 21rem; text-wrap: balance; font-family: var(--serif); font-style: italic; font-size: 1.1875rem; line-height: 1.3; color: rgba(250,249,245,.92); text-shadow: 0 1px 0.75rem rgba(0,0,0,.45); }

/* ---------- contact form: preferred response method ---------- */
.field.method { margin: 1.25rem 0 0; padding: 0; border: 0; min-width: 0; }
.field.method legend { padding: 0; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.method-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.method-opts label { position: relative; cursor: pointer; }
.method-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.method-opts span { display: block; padding: 0.6875rem 0.5rem; border: 1px solid var(--line-strong); border-radius: 0.5rem; background: var(--ivory); text-align: center; font-size: 0.9375rem; font-weight: 600; transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s; }
.method-opts label:hover span { border-color: var(--evergreen); }
.method-opts input:checked + span { background: var(--evergreen); border-color: var(--evergreen); color: #fff; }
.method-opts input:focus-visible + span { box-shadow: 0 0 0 3px rgba(181,154,101,.45); }
.field.method.invalid .method-opts span { border-color: #A4553E; }
.field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; }
.field label small { margin-left: 0.375rem; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
@media (max-width: 560px) { .field-pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- website assistant ---------- */
.chat-launch { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 150; display: flex; align-items: center; gap: 0.625rem; padding: 0.4375rem 1.25rem 0.4375rem 0.4375rem; border: 1px solid rgba(216,199,162,.35); border-radius: 999px; background: var(--deep); color: #fff; font-size: 0.9375rem; font-weight: 600; cursor: pointer; box-shadow: 0 1rem 2rem -0.75rem rgba(4,47,48,.6); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s; }
.chat-launch:hover { transform: translateY(-0.125rem); box-shadow: 0 1.25rem 2.25rem -0.75rem rgba(4,47,48,.7); }
.chat-launch-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--gold); color: var(--deep); }
.chat-launch-mark svg { width: 1.125rem; height: 1.125rem; }
.chat-open .chat-launch { opacity: 0; pointer-events: none; }
.menu-open .chat-launch { display: none; }

.chat-panel { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 160; display: flex; flex-direction: column; width: min(24.5rem, calc(100vw - 2rem)); height: min(38rem, calc(100dvh - 2rem)); border-radius: 1rem; overflow: hidden; background: var(--ivory); border: 1px solid rgba(138,114,67,.25); box-shadow: 0 2rem 4rem -1.5rem rgba(4,47,48,.55); animation: chatIn .45s var(--ease) both; }
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(1rem) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 1.125rem 1.5rem; background: linear-gradient(160deg, var(--evergreen), var(--deep)); color: #fff; }
.chat-kicker { font-family: var(--sc); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-lt); }
.chat-title { margin: 0.125rem 0 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
.chat-sub { margin-top: 0.375rem; font-size: 0.8125rem; color: rgba(250,249,245,.75); }
.chat-close { flex-shrink: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgba(250,249,245,.25); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: background-color .2s; }
.chat-close:hover { background: rgba(250,249,245,.12); }
.chat-close svg { width: 1.125rem; height: 1.125rem; }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.25rem 0.75rem; }
.chat-msg { max-width: 88%; padding: 0.75rem 1rem; border-radius: 0.875rem; font-size: 0.9375rem; line-height: 1.55; overflow-wrap: anywhere; }
.chat-msg.assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 0.25rem; color: var(--text); }
.chat-msg.user { align-self: flex-end; background: var(--evergreen); color: #fff; border-bottom-right-radius: 0.25rem; }
.chat-msg.error { background: #FBF3EE; border-color: rgba(164,85,62,.25); }
.chat-msg a { color: var(--evergreen); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.15em; }
.chat-msg.typing { display: flex; gap: 0.3125rem; padding: 0.9375rem 1rem; }
.chat-msg.typing span { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--gold); animation: chatDot 1.2s ease-in-out infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-0.1875rem); } }
.chat-form { display: flex; align-items: flex-end; gap: 0.5rem; margin: 0 1rem; padding: 0.375rem 0.375rem 0.375rem 1rem; border: 1px solid var(--line-strong); border-radius: 0.75rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.chat-form:focus-within { border-color: var(--evergreen); box-shadow: 0 0 0 3px rgba(6,75,73,.1); }
.chat-form textarea { flex: 1; min-width: 0; padding: 0.5rem 0; border: 0; background: none; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--text); resize: none; outline: none; }
.chat-send { flex-shrink: 0; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 0.5rem; background: var(--evergreen); color: #fff; cursor: pointer; transition: background-color .2s; }
.chat-send:hover { background: var(--deep); }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-send svg { width: 1.125rem; height: 1.125rem; }
.chat-foot { padding: 0.625rem 1.25rem 0.875rem; font-size: 0.75rem; line-height: 1.4; color: var(--muted); text-align: center; }
@media (max-width: 560px) {
  .chat-launch { padding-right: 0.4375rem; }
  .chat-launch-text { display: none; }
  .chat-launch-mark { width: 2.75rem; height: 2.75rem; }
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  html.chat-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-load { opacity: 1; transform: none; }
}
