/* ==========================================================================
   Clwydian Academy — design system
   Heather-led palette · Fraunces display · Inter text · IBM Plex Mono labels
   ========================================================================== */

:root {
  --heather: #574463;
  --heather-deep: #453550;
  --heather-ink: #33283b;
  --heather-tint: #eee9f0;
  --heather-tint-2: #e3dbe7;
  --slate: #30363c;
  --ink: #24292e;
  --muted: #5c636b;
  --gold: #c2a14d;
  --gold-deep: #a2843a;
  --paper: #f7f5f2;
  --card: #fffefc;
  --navy: #1c2a45;
  --navy-deep: #152138;
  --line: rgba(48, 54, 60, 0.13);
  --line-soft: rgba(48, 54, 60, 0.08);

  --font-display: "Fraunces", "P052", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1720px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(36, 41, 46, 0.05), 0 8px 28px rgba(36, 41, 46, 0.06);
  --shadow-2: 0 2px 6px rgba(36, 41, 46, 0.07), 0 18px 48px rgba(36, 41, 46, 0.11);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--heather); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--heather-deep); }
::selection { background: var(--heather); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 200;
  background: var(--navy); color: var(--paper); padding: 0.6rem 1.1rem; border-radius: 8px;
  font-size: 0.9rem; text-decoration: none;
}
.skip-link:focus { left: 12px; color: var(--paper); }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--slate); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.05rem); }
h3 { font-size: clamp(1.28rem, 2vw, 1.55rem); line-height: 1.28; }
h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; color: var(--slate); }
.lede { font-size: clamp(1.14rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--muted); max-width: 46em; }
.measure { max-width: 66ch; }
strong { color: var(--slate); }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-deep);
  display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.3rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); flex: none; }
.eyebrow--bare::before { display: none; }
.on-dark .eyebrow, .eyebrow.on-gold { color: var(--gold); }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4.5vw, 4.5rem); }
.section { padding-block: clamp(4.25rem, 9vw, 7.75rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { margin-top: 1.1rem; }
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.divide { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand-seal { width: 42px; height: 42px; transition: transform 0.5s var(--ease); }
.brand:hover .brand-seal { transform: rotate(8deg); }
.brand-divider { width: 1.5px; height: 38px; background: var(--gold); opacity: 0.85; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name { font-family: "Jost", var(--font-sans); font-weight: 500; font-size: 1.08rem; letter-spacing: 0.16em; color: var(--slate); text-transform: uppercase; }
.brand-sub { font-family: "Jost", var(--font-sans); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.4em; color: var(--gold-deep); text-transform: uppercase; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.site-nav a { font-size: 0.95rem; font-weight: 500; color: var(--slate); text-decoration: none; position: relative; padding-block: 0.4rem; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right 0.3s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav a[aria-current="page"] { color: var(--heather); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.97rem; line-height: 1;
  padding: 0.95rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--heather); color: #fff; box-shadow: 0 6px 20px rgba(87, 68, 99, 0.28); }
.btn-primary:hover { background: var(--heather-deep); color: #fff; box-shadow: 0 10px 26px rgba(87, 68, 99, 0.34); }
.btn-outline { border-color: rgba(48, 54, 60, 0.35); color: var(--slate); background: transparent; }
.btn-outline:hover { border-color: var(--slate); color: var(--slate); background: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #d0b05c; color: var(--navy-deep); }
.btn-ghost-light { border-color: rgba(247, 245, 242, 0.4); color: var(--paper); }
.btn-ghost-light:hover { border-color: var(--paper); color: var(--paper); }
.btn-sm { padding: 0.7rem 1.25rem; font-size: 0.9rem; }

.site-nav .lang-switch {
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 0.95rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.site-nav .lang-switch:hover { border-color: var(--gold); color: var(--gold-deep); }
.site-nav .lang-switch::after { display: none; }

.nav-toggle { display: none; }

@media (max-width: 920px) {
  .site-nav {
    position: fixed; inset: 78px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.5rem 1.75rem;
    transform: translateY(-115%); transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow-2);
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a { padding: 0.85rem 0.25rem; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .site-nav a::after { display: none; }
  .site-nav .btn { margin-top: 1.1rem; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--slate); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4.5rem, 9vw, 7rem); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(87, 68, 99, 0.09), transparent 60%),
    radial-gradient(45% 70% at 5% 95%, rgba(194, 161, 77, 0.08), transparent 60%);
}
.hero-ridge { position: absolute; right: -14%; top: 50%; width: 62vw; max-width: 980px; transform: translateY(-50%); opacity: 0.10; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 300px; } }
.hero h1 { margin: 1.4rem 0 1.5rem; }
.hero h1 em { font-style: italic; color: var(--heather); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-note { margin-top: 1.6rem; font-size: 0.92rem; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* dark navy hero — the brand's "reversed on dark" treatment */
.hero--dark { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, #253a5e); }
.hero--dark .hero-bg {
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(140, 111, 160, 0.20), transparent 60%),
    radial-gradient(45% 70% at 5% 95%, rgba(194, 161, 77, 0.10), transparent 60%);
}
.hero--dark .hero-ridge { opacity: 0.2; }
.hero--dark .eyebrow { color: var(--gold); }
.hero--dark h1 { color: var(--paper); }
.hero--dark h1 em { color: var(--gold); }
.hero--dark .lede { color: rgba(247, 245, 242, 0.78); }
.hero--dark .hero-note { color: rgba(247, 245, 242, 0.66); }
.hero--dark .art-caption p { color: rgba(247, 245, 242, 0.72); }
.hero--dark .art-caption em { color: var(--gold); }
.hero--dark .orbit { border-color: rgba(247, 245, 242, 0.3); }
.hero--dark .seal-main { filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45)); }
.hero--dark .btn-primary { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); }

.hero-art { margin-inline: auto; width: min(100%, 500px); }
.hero-art .seal-wrap { position: relative; aspect-ratio: 1; }
.hero-art .seal-main { width: 100%; filter: drop-shadow(0 24px 48px rgba(87, 68, 99, 0.3)); }
.hero-art .orbit {
  position: absolute; inset: -7.5%; border: 1px solid rgba(87, 68, 99, 0.25); border-radius: 50%;
}
.hero-art .orbit::after {
  content: ""; position: absolute; top: 11%; right: 11%; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold);
}
.hero-art .art-caption { margin-top: 2.2rem; text-align: center; }
.hero-art .art-caption svg { width: 60px; height: 14px; margin: 0 auto 0.65rem; display: block; opacity: 0.9; }
.hero-art .art-caption p {
  font-family: var(--font-display); font-style: italic; font-size: 1.04rem;
  line-height: 1.5; color: var(--muted); max-width: 30ch; margin-inline: auto;
}
.hero-art .art-caption em { font-style: italic; color: var(--gold-deep); }

/* ---------- stat band ---------- */
.stat-band { border-block: 1px solid var(--line); background: var(--card); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: clamp(1.6rem, 3vw, 2.6rem) 1.4rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
@media (max-width: 880px) { .stat:nth-child(3)::before { display: none; } }
.stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--heather); line-height: 1.05; }
.stat span { display: block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.7rem, 3vw, 2.4rem);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(194, 161, 77, 0.55); }
.card .card-kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; display: block; }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--muted); font-size: 0.99rem; }
.card .card-cta { margin-top: auto; padding-top: 1.4rem; font-weight: 600; font-size: 0.95rem; color: var(--heather); display: inline-flex; align-items: center; gap: 0.45rem; }
.card:hover .card-cta .arr { transform: translateX(4px); }
.card .arr { transition: transform 0.3s var(--ease); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--heather-tint);
  display: grid; place-items: center; margin-bottom: 1.3rem; color: var(--heather);
}
.card-icon svg { width: 26px; height: 26px; }

.feature-list { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
.feature-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--muted); }
.feature-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 0.25rem;
  background: var(--heather-tint); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23574463' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}

/* ---------- dark sections ---------- */
.on-dark { background: var(--navy); color: rgba(247, 245, 242, 0.86); position: relative; overflow: hidden; }
.on-dark h2, .on-dark h3 { color: var(--paper); }
.on-dark .lede, .on-dark p { color: rgba(247, 245, 242, 0.75); }
.on-dark a:not(.btn) { color: var(--gold); }
.on-dark .watermark {
  position: absolute; right: -12%; bottom: -34%; width: 56vw; max-width: 820px; opacity: 0.05; pointer-events: none;
}
.on-dark .card { background: rgba(247, 245, 242, 0.045); border-color: rgba(247, 245, 242, 0.14); }
.on-dark .card:hover { border-color: rgba(194, 161, 77, 0.6); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35); }
.on-dark .card h3 { color: var(--paper); }
.on-dark .card p { color: rgba(247, 245, 242, 0.68); }
.on-dark .stat b { color: var(--gold); }
.on-dark .stat span { color: rgba(247, 245, 242, 0.55); }

.on-heather, .on-navy { background: linear-gradient(135deg, var(--heather-deep), var(--heather) 55%, #64507a); color: rgba(247, 245, 242, 0.9); position: relative; overflow: hidden; }
.on-navy { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #26395c); }
.on-heather h2, .on-navy h2 { color: #fff; }
.on-heather p, .on-navy p { color: rgba(247, 245, 242, 0.82); }
.on-navy .btn-ghost-light { border-color: rgba(247, 245, 242, 0.35); }

/* ---------- editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.25rem, 6vw, 5.5rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split h2 { margin-bottom: 1.2rem; }
.split .lede { margin-bottom: 1.4rem; }
.split-media { position: relative; }
.split-media .frame {
  border-radius: var(--radius); overflow: hidden; background: var(--heather-tint);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.split-media .frame-pad { padding: clamp(2rem, 5vw, 3.5rem); }

/* quote */
.pull-quote { border-left: 3px solid var(--gold); padding-left: 1.6rem; margin: 2rem 0; }
.pull-quote p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; color: var(--slate); font-style: italic; }
.pull-quote cite { display: block; margin-top: 0.8rem; font-style: normal; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ---------- course meta table ---------- */
.meta-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.meta-panel dl { display: grid; grid-template-columns: 1fr; margin: 0; }
.meta-row { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding: 1.05rem 1.6rem; border-bottom: 1px solid var(--line-soft); }
.meta-row:last-child { border-bottom: 0; }
@media (max-width: 560px) { .meta-row { grid-template-columns: 1fr; gap: 0.15rem; } }
.meta-row dt { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 0.25rem; }
.meta-row dd { margin: 0; color: var(--slate); font-weight: 500; }
.meta-row dd small { display: block; font-weight: 400; color: var(--muted); }

/* price highlight */
.price-flag {
  display: inline-flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap;
  background: var(--heather-tint); border: 1px solid var(--heather-tint-2);
  border-radius: var(--radius-sm); padding: 1rem 1.4rem; margin-top: 1.4rem;
}
.price-flag b { font-family: var(--font-display); font-size: 1.7rem; color: var(--heather); font-weight: 600; }
.price-flag span { color: var(--muted); font-size: 0.92rem; }

/* ---------- steps / timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 0; position: relative; }
.step { position: relative; padding: 1.9rem 0 1.9rem 4.4rem; border-bottom: 1px solid var(--line-soft); counter-increment: step; }
.step:last-child { border-bottom: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.75rem;
  font-family: var(--font-mono); font-size: 0.95rem; font-weight: 500; color: var(--gold-deep);
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; background: var(--card);
}
.step h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); max-width: 62ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.9rem; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden; transition: border-color 0.3s var(--ease);
}
.faq details[open] { border-color: rgba(194, 161, 77, 0.55); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 1.5rem; font-weight: 600; color: var(--slate); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-deep);
  line-height: 1; transition: transform 0.3s var(--ease); flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.5rem 1.4rem; color: var(--muted); max-width: 72ch; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--slate); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 0.8rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--heather); box-shadow: 0 0 0 4px rgba(87, 68, 99, 0.12);
}
.form-note { font-size: 0.86rem; color: var(--muted); }

/* ---------- funders / document panel ---------- */
.doc-panel {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 2rem; box-shadow: var(--shadow-1);
}
@media (max-width: 720px) { .doc-panel { grid-template-columns: 1fr; text-align: left; } }
.doc-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--heather); color: #fff; display: grid; place-items: center; }
.doc-icon svg { width: 28px; height: 28px; }
.doc-panel h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.doc-panel p { color: var(--muted); font-size: 0.95rem; }
.pdf-frame { width: 100%; aspect-ratio: 8.5 / 11; max-height: 780px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.05rem; color: var(--muted); background: var(--card);
}
.on-dark .chip { border-color: rgba(247, 245, 242, 0.22); color: rgba(247, 245, 242, 0.75); background: transparent; }

/* ---------- people ---------- */
.person { display: grid; gap: 1.1rem; }
.person .person-seal {
  width: 76px; height: 76px; border-radius: 50%; background: var(--heather);
  display: grid; place-items: center; color: var(--paper);
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.02em;
}
.person h3 { font-size: 1.3rem; }
.person .role { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-top: 0.3rem; }
.person p { color: var(--muted); font-size: 0.98rem; }

/* ---------- CTA banner ---------- */
.cta-banner { border-radius: calc(var(--radius) + 8px); padding: clamp(2.75rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner .lede { margin-inline: auto; }
.cta-banner .hero-actions { justify-content: center; }
.cta-banner .watermark { right: -18%; bottom: auto; top: -40%; opacity: 0.07; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(247, 245, 242, 0.72); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), rgba(194, 161, 77, 0.2)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(3.25rem, 6vw, 4.75rem) 2.5rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand p { font-size: 0.95rem; margin-top: 1.1rem; max-width: 34ch; color: rgba(247, 245, 242, 0.6); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.15rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(247, 245, 242, 0.75); text-decoration: none; font-size: 0.96rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; font-size: 0.96rem; line-height: 1.8; }
.footer-legal { border-top: 1px solid rgba(247, 245, 242, 0.14); padding-block: 1.5rem 2rem; font-size: 0.84rem; color: rgba(247, 245, 242, 0.5); display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between; }
.footer-legal a { color: rgba(247, 245, 242, 0.65); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- breadcrumb ---------- */
.crumbs { padding-top: 1.6rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.6rem; color: var(--gold-deep); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--heather); }
.crumbs [aria-current] { color: var(--slate); }

/* page hero (interior) */
.page-hero { padding-block: clamp(3rem, 6.5vw, 5.5rem) clamp(2.75rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); max-width: 21ch; margin-top: 1.2rem; }
.page-hero .lede { margin-top: 1.3rem; }
.page-hero .hero-ridge { opacity: 0.07; }

/* utility */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.gold-rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 1.6rem 0; }
.center .gold-rule { margin-inline: auto; }
