/* ============================================================
   HelloBaltistan — site stylesheet
   Design language: deep Karakoram navy, warm stone, one accent.
   No framework, no JS dependency for core content.
   Breakpoints: 640 / 900 / 1100
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --ink: #0e1c2a;
  --ink-soft: #1b3448;
  --ink-deep: #081420;
  --stone: #fbf8f3;
  --stone-2: #f4ede2;
  --stone-3: #e7dfd2;
  --stone-4: #d8cdba;
  --accent: #b4552d;
  --accent-2: #96441f;
  --accent-soft: #f2e2d8;
  --muted: #5c6b78;
  --white: #fff;
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --shadow-s: 0 1px 2px rgba(14, 28, 42, .05), 0 2px 8px rgba(14, 28, 42, .04);
  --shadow-m: 0 2px 6px rgba(14, 28, 42, .06), 0 12px 32px rgba(14, 28, 42, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

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

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

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--radius, 4px); font-size: .9rem; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

/* ---------- micro type ---------- */
.eyebrow {
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: currentColor; opacity: .6;
  flex: none;
}
.eyebrow--plain::before { display: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .88);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--stone-3);
}
.header-in {
  display: flex; align-items: center; gap: 1.25rem;
  height: 74px;
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; flex: none;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.brand-mark .peak-accent { fill: var(--accent); stroke: none; }
.brand-text {
  font-family: var(--serif);
  font-size: 1.3125rem;
  letter-spacing: -.02em;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.brand-text .tld { color: var(--accent); }

.nav { margin-left: auto; }
.nav-list {
  display: flex; align-items: center; gap: .25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-link, .nav-toggle {
  font-family: var(--sans);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: none; border: 0; cursor: pointer;
  padding: .55rem .7rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
  line-height: 1.2;
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-toggle:hover { color: var(--ink); background: rgba(14,28,42,.05); }
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle::marker { content: ''; }
.nav-toggle .chev {
  width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .2s;
  margin-top: -3px;
}
.nav-drop[open] > .nav-toggle .chev { transform: rotate(-135deg) translate(-2px,-2px); }

.nav-drop { position: relative; }
.nav-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--stone-3);
  border-radius: 8px;
  box-shadow: var(--shadow-m);
  padding: .75rem;
  min-width: 420px;
  display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .75rem;
  animation: dropIn .16s ease-out;
}
@keyframes dropIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.nav-panel a {
  display: block; padding: .5rem .65rem; border-radius: 5px;
  text-decoration: none; font-size: .9rem; color: var(--ink-soft);
  transition: background .12s, color .12s;
}
.nav-panel a:hover { background: var(--stone-2); color: var(--ink); }
.nav-panel .panel-note {
  grid-column: 1 / -1; font-size: .75rem; color: var(--muted);
  padding: .5rem .65rem 0; margin-top: .35rem; border-top: 1px solid var(--stone-2);
}
.nav-panel--slim { min-width: 240px; grid-template-columns: 1fr; }

.header-cta { flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600;
  padding: .78rem 1.35rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.1;
  transition: background .16s, color .16s, border-color .16s, transform .16s;
  min-height: 44px;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--stone-4); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(14,28,42,.04); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--stone-2); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: .55rem 1rem; font-size: .875rem; min-height: 38px; }
.btn svg { flex: none; width: 15px; height: 15px; }
.btn .arr { transition: transform .16s; }
.btn:hover .arr { transform: translateX(3px); }

/* mobile menu */
.menu-btn {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--stone-3); background: #fff;
  border-radius: 6px; cursor: pointer; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}

/* the desktop navigation collapses below 1024px */
@media (max-width: 1023px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: flex; }
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--stone-3);
  background: var(--stone);
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  padding: .5rem 0 1.5rem;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav details { border-bottom: 1px solid var(--stone-2); }
.mobile-nav summary {
  list-style: none; cursor: pointer;
  padding: .95rem 0; font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after {
  content: '+'; font-size: 1.15rem; color: var(--muted); font-weight: 400;
}
.mobile-nav details[open] summary::after { content: '−'; }
.mobile-nav .m-links { padding: 0 0 .75rem; display: grid; gap: .1rem; }
.mobile-nav .m-links a {
  text-decoration: none; padding: .55rem 0 .55rem .85rem; font-size: .9375rem;
  color: var(--ink-soft); border-left: 1px solid var(--stone-3);
}
.mobile-nav > .wrap > a.m-top {
  display: block; padding: .95rem 0; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--stone-2);
}
.mobile-nav .btn { width: 100%; margin-top: 1rem; }

/* ============================================================
   HERO — homepage
   ============================================================ */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(8,20,32,0) 40%, rgba(8,20,32,.55) 100%);
  z-index: 1; pointer-events: none;
}
.hero-art {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
}
.hero-in {
  position: relative; z-index: 2;
  isolation: isolate;
  padding-block: clamp(64px, 9vw, 112px) clamp(96px, 12vw, 140px);
  max-width: 780px;
}
/* keeps the hero copy legible where it meets the ridge art */
.hero-in::before {
  content: '';
  position: absolute; inset: -60px -80px -40px -80px; z-index: -1;
  background: radial-gradient(120% 78% at 12% 38%,
      rgba(5, 14, 23, .88) 0%, rgba(5, 14, 23, .62) 44%, rgba(5, 14, 23, 0) 78%);
  pointer-events: none;
}
.hero .eyebrow { color: #e0b48f; }
.hero .eyebrow::before { background: #e0b48f; }
.hero h1 {
  font-size: clamp(2.45rem, 6.1vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -.025em;
  margin-bottom: 1.55rem;
  font-weight: 400;
  color: #fff;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: #e9c9a8;
}
.hero-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.72;
  color: rgba(255,255,255,.82);
  max-width: 62ch;
  margin-bottom: 2.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-trust {
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: .4rem 1.75rem;
  font-size: .8125rem; color: rgba(255,255,255,.6);
  letter-spacing: .01em;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 14px; height: 14px; opacity: .75; flex: none; }

/* ============================================================
   PAGE HERO — inner pages
   ============================================================ */
.page-hero {
  background: linear-gradient(180deg, var(--stone-2) 0%, var(--stone) 100%);
  border-bottom: 1px solid var(--stone-3);
  padding-block: clamp(28px, 4vw, 44px) clamp(38px, 5.5vw, 62px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -60px; top: -40px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(180,85,45,.07), rgba(180,85,45,0) 68%);
  pointer-events: none;
}
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  font-size: .78rem; color: var(--muted); margin-bottom: 1.5rem;
  list-style: none; padding: 0;
}
.crumbs li { display: flex; align-items: center; gap: .45rem; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs .sep { opacity: .45; }
.crumbs [aria-current] { color: var(--ink-soft); }

.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -.022em;
  margin-bottom: 1.2rem;
  max-width: 20ch;
  font-weight: 400;
}
.page-hero .lead {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 66ch;
  margin: 0;
}
.page-hero .hero-actions { margin-top: 1.85rem; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding-block: clamp(52px, 7vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--stone { background: var(--stone-2); }
.section--ink { background: var(--ink); color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 3.5vw, 46px); }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.14;
  margin-bottom: .9rem;
  font-weight: 500;
}
.section-head p { color: var(--muted); font-size: 1.0625rem; margin: 0; }
.section--ink .section-head p { color: rgba(255,255,255,.66); }

/* ============================================================
   CONTENT LAYOUT
   ============================================================ */
.doc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 1000px) {
  .doc-layout--toc { grid-template-columns: 226px minmax(0, 1fr); }
}

/* grid children default to min-content and blow out the layout when a
   wide table sits inside them */
.doc-layout > *,
.split > * { min-width: 0; }

.toc {
  position: sticky; top: 100px;
  border-left: 1px solid var(--stone-3);
  padding-left: 1.15rem;
  font-size: .875rem;
}
.toc-title {
  font-size: .6875rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .9rem; font-weight: 600;
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc a {
  text-decoration: none; color: var(--ink-soft); display: block;
  padding: .32rem 0 .32rem .2rem; line-height: 1.45;
  border-left: 2px solid transparent; margin-left: -1.17rem; padding-left: 1rem;
  transition: color .14s, border-color .14s;
}
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
@media (max-width: 999px) { .toc { display: none; } }

/* prose */
.prose { max-width: 74ch; min-width: 0; }
.doc-layout--toc .prose { max-width: none; }
.prose > * + * { margin-top: 0; }
.prose h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.2;
  margin: 2.6rem 0 1rem;
  font-weight: 500;
  scroll-margin-top: 100px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .num {
  display: block;
  font-family: var(--sans);
  font-size: .6875rem;
  letter-spacing: .18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .55rem;
  font-variant-numeric: tabular-nums;
}
.prose p { color: var(--ink-soft); margin-bottom: 1.15rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose > p:first-of-type { font-size: 1.125rem; color: var(--ink); }

.bullet-list {
  list-style: none; margin: 0 0 1.4rem; padding: 0;
  display: grid; gap: .55rem;
}
.bullet-list li {
  position: relative; padding-left: 1.5rem;
  color: var(--ink-soft); font-size: 1rem; line-height: 1.6;
}
.bullet-list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; opacity: .85;
}

/* direct answer callout */
.answer-box {
  background: #fff;
  border: 1px solid var(--stone-3);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-s);
  margin-bottom: clamp(30px, 4vw, 46px);
}
.answer-box p {
  margin: 0; color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.0625rem); line-height: 1.72;
}
.answer-box .ab-label {
  display: block; font-size: .625rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: .7rem;
}

/* tables */
.table-wrap {
  overflow-x: auto; margin: 1.6rem 0 1.9rem;
  border: 1px solid var(--stone-3); border-radius: 6px; background: #fff;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%; border-collapse: collapse; font-size: .9375rem;
  min-width: 480px;
}
.data-table thead th {
  background: var(--stone-2);
  text-align: left; padding: .85rem 1.1rem;
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-weight: 700;
  border-bottom: 1px solid var(--stone-3); white-space: nowrap;
}
.data-table td {
  padding: .85rem 1.1rem; border-bottom: 1px solid var(--stone-2);
  color: var(--ink-soft); vertical-align: top; line-height: 1.55;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(244,237,226,.4); }
.table-caption {
  font-size: .6875rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: .7rem;
}

/* inline link inside prose/table */
.ilink {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(180,85,45,.3);
  transition: border-color .14s, color .14s;
}
.ilink:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

/* ============================================================
   FEATURE / CARD GRIDS
   ============================================================ */
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--stone-3);
  border-radius: 8px; padding: clamp(20px, 2.6vw, 28px);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--stone-4); }
.card h3 {
  font-size: 1.1875rem; line-height: 1.3; margin-bottom: .55rem; font-weight: 500;
  letter-spacing: -.01em;
}
.card p { color: var(--muted); font-size: .9375rem; line-height: 1.6; margin: 0; }
.card .card-arrow {
  margin-top: auto; padding-top: 1.1rem;
  font-size: .8125rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card .card-arrow svg { width: 13px; height: 13px; transition: transform .16s; }
a.card:hover .card-arrow svg { transform: translateX(3px); }

.card--feature { background: transparent; border: 0; padding: 0; }
.card--feature .fnum {
  font-family: var(--serif); font-size: 1.75rem; color: var(--stone-4);
  line-height: 1; margin-bottom: .8rem; font-variant-numeric: tabular-nums;
}
.card--feature h3 { font-size: 1.0625rem; margin-bottom: .35rem; }

/* two-column editorial split (heading left, content right) */
.split {
  display: grid; gap: clamp(26px, 4vw, 56px);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 880px) {
  .split { grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr); }
  .split-head { position: sticky; top: 104px; }
}
.split-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.15;
  margin-bottom: .85rem; font-weight: 500;
}
.split-head p:not(.eyebrow) { color: var(--muted); font-size: 1rem; margin: 0; }

/* steps */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 1.1rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--stone-3);
  align-items: start;
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num {
  font-family: var(--serif); font-size: 1.5rem; color: var(--accent);
  line-height: 1.15; font-variant-numeric: tabular-nums; font-weight: 400;
  border-top: 1px solid var(--stone-4); padding-top: .35rem;
}
.step h3 { font-size: 1.0625rem; margin-bottom: .3rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }
.step p { color: var(--muted); font-size: .9375rem; margin: 0; line-height: 1.6; }

/* stats band */
.stat-band {
  background: var(--ink); color: #fff;
  border-radius: 10px; padding: clamp(26px, 4vw, 40px);
  display: grid; gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.stat .n {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1; color: #fff; margin-bottom: .5rem; font-variant-numeric: tabular-nums;
}
.stat .l { font-size: .8125rem; color: rgba(255,255,255,.62); line-height: 1.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--stone-3); margin-top: 1rem; }
.faq details {
  border-bottom: 1px solid var(--stone-3);
  padding: .2rem 0;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 2.4rem 1.15rem 0;
  position: relative;
  font-family: var(--serif); font-size: 1.0625rem; font-weight: 500;
  color: var(--ink); line-height: 1.45;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .35rem; top: 1.55rem;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-a { padding: 0 2rem 1.35rem 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.faq .faq-a p { margin: 0; }

/* ============================================================
   RELATED
   ============================================================ */
.related { margin-top: clamp(44px, 6vw, 68px); }
.related-head {
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 1.15rem;
  padding-bottom: .8rem; border-bottom: 1px solid var(--stone-3);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: clamp(30px, 5vw, 52px);
  position: relative; overflow: hidden;
  display: grid; gap: clamp(22px, 3vw, 36px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .cta-band { grid-template-columns: 1.55fr 1fr; } }
.cta-band::before {
  content: ''; position: absolute; right: -80px; bottom: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(180,85,45,.28), rgba(180,85,45,0) 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.05rem);
  line-height: 1.16; margin-bottom: .75rem; color: #fff; font-weight: 500;
}
.cta-band p { color: rgba(255,255,255,.68); font-size: .9688rem; margin: 0; max-width: 46ch; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .65rem; position: relative; z-index: 1; }
@media (min-width: 760px) { .cta-band .cta-actions { justify-content: flex-end; } }

/* ============================================================
   FORM
   ============================================================ */
.form-card {
  background: #fff; border: 1px solid var(--stone-3); border-radius: 10px;
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-s);
}
.form-card h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: .5rem; font-weight: 500; }
.form-card .form-intro { color: var(--muted); font-size: .9375rem; margin-bottom: 1.6rem; }
.form-grid { display: grid; gap: 1.05rem; grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: .38rem; }
.field label {
  font-size: .8125rem; font-weight: 600; color: var(--ink-soft);
  letter-spacing: .01em;
}
.field .hint { font-weight: 400; color: var(--muted); font-size: .75rem; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .9375rem; color: var(--ink);
  background: var(--stone); border: 1px solid var(--stone-3);
  border-radius: 5px; padding: .72rem .85rem; width: 100%;
  transition: border-color .14s, background .14s, box-shadow .14s;
  min-height: 44px;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(180,85,45,.1);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa6b0; }
.form-foot {
  margin-top: 1.35rem; display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.form-note { font-size: .75rem; color: var(--muted); max-width: 42ch; line-height: 1.55; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none; margin-top: 1.1rem; padding: .9rem 1.1rem;
  border-radius: 5px; font-size: .875rem; line-height: 1.55;
  border: 1px solid var(--stone-3); background: var(--stone-2); color: var(--ink-soft);
}
.form-status[data-state="show"] { display: block; }
.form-status[data-tone="warn"] { border-color: #e2c9a0; background: #fdf6e9; color: #7a5a22; }
.form-status[data-tone="ok"] { border-color: #b7d3bf; background: #f0f8f2; color: #26583a; }
.form-status[data-tone="err"] { border-color: #e0b3a6; background: #fdf1ed; color: #8a3a21; }

.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: .1rem; flex: none; accent-color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.7); padding-block: clamp(44px, 6vw, 68px) 0; margin-top: 0; }
.footer-grid {
  display: grid; gap: clamp(26px, 4vw, 42px);
  grid-template-columns: 1fr;
  padding-bottom: clamp(34px, 4vw, 50px);
}
@media (min-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand .brand-text { color: #fff; font-size: 1.375rem; }
.footer-brand .brand-mark path { stroke: #fff; }
.footer-brand p { font-size: .875rem; line-height: 1.65; margin: 1rem 0 0; max-width: 34ch; color: rgba(255,255,255,.55); }
.footer-col h3 {
  font-family: var(--sans); font-size: .6875rem; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
  font-weight: 700; margin-bottom: .95rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .52rem; }
.footer-col a { text-decoration: none; font-size: .875rem; color: rgba(255,255,255,.72); transition: color .14s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.4rem 1.6rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.42);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   404
   ============================================================ */
.err-page {
  min-height: 68vh; display: grid; place-content: center;
  padding-block: clamp(60px, 10vw, 120px); text-align: center;
}
.err-page .code {
  font-family: var(--serif); font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1; color: var(--stone-4); margin-bottom: .5rem;
}
.err-page h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1rem; }
.err-page p { color: var(--muted); max-width: 46ch; margin-inline: auto; margin-bottom: 2rem; }

/* ============================================================
   UTIL
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.notice {
  background: var(--accent-soft); border: 1px solid #e0c3b1;
  border-radius: 6px; padding: .95rem 1.15rem; font-size: .875rem;
  color: #7a3a1c; line-height: 1.6; margin-bottom: 1.5rem;
}
.notice strong { font-weight: 700; }
.hr { height: 1px; background: var(--stone-3); border: 0; margin-block: clamp(32px, 4vw, 48px); }

@media (max-width: 560px) {
  .eb-hide-sm { display: none; }
}

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

@media print {
  .site-header, .cta-band, .form-card, .site-footer, .toc { display: none; }
  body { background: #fff; }
}

/* ============================================================
   POSTER CARDS — original vector landscape art
   ============================================================ */
.poster {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 268px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #0b1926;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.poster:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(8, 20, 32, .28); }
.poster-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s ease;
}
.poster:hover .poster-img { transform: scale(1.04); }
.poster-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4,12,20,0) 0%, rgba(4,12,20,.30) 42%, rgba(4,12,20,.86) 100%);
}
.poster-body {
  position: relative; z-index: 2;
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: .35rem;
  width: 100%;
}
.poster-kicker {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: #fff;
}
.poster-line {
  font-size: .875rem;
  line-height: 1.5;
  color: rgba(255,255,255,.74);
  max-width: 32ch;
}
.poster-cta {
  margin-top: .55rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #e6b48d;
  display: inline-flex; align-items: center; gap: .4rem;
}
.poster-cta svg { width: 13px; height: 13px; transition: transform .16s; }
.poster:hover .poster-cta svg { transform: translateX(3px); }
