/* ==========================================================================
   Britannica Capital — site stylesheet
   Design system recreated from the legacy site: deep navy/black grounds,
   Cormorant Garamond serif display, gold letterspaced small-caps kickers,
   hairline rules, stat bands, pull-quotes, sidebar-TOC longform layout.
   ========================================================================== */

:root {
  --ink: #050810;
  --black: #0a0a0a;
  --navy: #0c1626;
  --navy-2: #101f36;
  --navy-3: #16283f;
  --gold: #c8a35f;
  --gold-soft: #d9bd8c;
  --gold-dim: rgba(200, 163, 95, 0.35);
  --cream: #f3eee2;
  --text: #e9e5da;
  --text-dim: #b9bfc9;
  --muted: #8b94a3;
  --hairline: rgba(233, 229, 218, 0.16);
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body.theme-black { background: var(--black); }

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

a { color: inherit; text-decoration: none; }

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

/* ---------- type ---------- */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

.em { font-style: italic; color: var(--gold-soft); }

p + p { margin-top: 1em; }

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.1rem;
}

.kicker::after {
  content: "";
  display: block;
  width: 46px;
  border-bottom: 1px solid var(--gold-dim);
  margin-top: 0.9rem;
}

.kicker.centered { text-align: center; }
.kicker.centered::after { margin-left: auto; margin-right: auto; }

.lede { font-size: 1.25rem; color: var(--text-dim); }

.small, small { font-family: var(--sans); font-size: 0.8rem; line-height: 1.6; color: var(--muted); }

/* ---------- layout ---------- */

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wrap.narrow { max-width: 880px; }

section.band { padding: clamp(64px, 9vw, 130px) 0; }
section.band.tight { padding: clamp(44px, 6vw, 80px) 0; }

.band.black { background: var(--black); }
.band.navy { background: var(--navy); }
.band.navy2 { background: var(--navy-2); }
.band.rule-top { border-top: 1px solid var(--hairline); }

.cols {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cols.c2 { grid-template-columns: 1fr 1fr; }
.cols.c2-wide { grid-template-columns: 7fr 5fr; }
@media (max-width: 860px) { .cols.c2, .cols.c2-wide { grid-template-columns: 1fr; } }

.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid.g3 { grid-template-columns: 1fr; } .grid.g2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid.g4 { grid-template-columns: 1fr; } }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled,
body.no-hero .site-header {
  background: rgba(6, 9, 16, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hairline);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px clamp(18px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand svg { width: 30px; height: 30px; fill: #fff; opacity: 0.92; }
.brand img.logo-img { height: 44px; width: auto; display: block; }
.site-footer .brand img.logo-img { height: 40px; }
@media (max-width: 560px) { .brand img.logo-img { height: 34px; } .site-footer .brand img.logo-img { height: 34px; } }
.brand .wordmark {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.nav .nav-item { position: relative; }

.nav .nav-top {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 13px;
  cursor: pointer;
  background: none;
  border: 0;
}
.nav .nav-top .caret { font-size: 0.6rem; opacity: 0.6; margin-left: 4px; }
.nav .nav-top:hover { color: var(--gold-soft); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: rgba(8, 12, 22, 0.97);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
  display: block;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 9px 20px;
}
.dropdown a:hover { color: var(--gold-soft); background: rgba(255, 255, 255, 0.04); }
.dropdown .dd-rule { border-top: 1px solid var(--hairline); margin: 8px 0; }

.account-btn {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-family: var(--sans);
}
.account-btn:hover { border-color: var(--gold); color: var(--gold-soft); }

.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(6, 9, 16, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--hairline);
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border: 0; background: none;
    display: none;
    padding-left: 14px;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-toggle {
    display: block;
    margin-left: auto;
    background: none; border: 0;
    color: #fff; font-size: 1.5rem;
    cursor: pointer;
  }
  .nav { margin-left: 0; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 70% 20%, rgba(200, 163, 95, 0.08), transparent 60%),
    linear-gradient(180deg, #0e1a2e 0%, var(--navy) 55%, #0a1322 100%);
}
.hero.short { min-height: 62vh; }

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(6, 9, 16, 0.65));
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; padding: 120px 24px 80px; max-width: 980px; }

.hero .kicker { text-align: center; }
.hero .kicker::after { margin-left: auto; margin-right: auto; }

.hero .tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1.1rem;
}
.hero .tagline .em { color: var(--gold-soft); }


/* ---------- media placeholders ---------- */

.media-ph {
  position: relative;
  border: 1px dashed rgba(200, 163, 95, 0.55);
  border-radius: 4px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--navy-2), var(--navy-3));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
  min-height: 220px;
}
.media-ph.r16x9 { aspect-ratio: 16 / 9; }
.media-ph.r4x3 { aspect-ratio: 4 / 3; }
.media-ph.r3x2 { aspect-ratio: 3 / 2; }
.media-ph.r21x9 { aspect-ratio: 21 / 9; min-height: 160px; }
.media-ph.r1x1 { aspect-ratio: 1 / 1; }

.media-ph .ph-tag {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 5px 10px;
  text-transform: uppercase;
}
.media-ph .ph-desc {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.5;
}
.media-ph .ph-play {
  width: 54px; height: 54px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
}

/* real wired media */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,9,16,0.55), rgba(6,9,16,0.35) 45%, rgba(6,9,16,0.7));
}

.media-real { margin: 0; }
.media-real img, .media-real video {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--hairline);
  border-radius: 4px;
}
.media-real.r16x9 { aspect-ratio: 16 / 9; }
.media-real.r4x3 { aspect-ratio: 4 / 3; }
.media-real.r3x2 { aspect-ratio: 3 / 2; }
.media-real.r21x9 { aspect-ratio: 21 / 9; }
.media-real.r1x1 { aspect-ratio: 1 / 1; }

.hero .hero-media-tag {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  right: 16px;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(6, 9, 16, 0.72);
  border: 1px dashed var(--gold-dim);
  border-radius: 3px;
  padding: 6px 10px;
}

/* ---------- cards ---------- */

.card {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: linear-gradient(170deg, rgba(255,255,255,0.028), rgba(255,255,255,0.006));
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }

.card .card-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}
.card h3 { font-size: 1.35rem; }
.card p { font-size: 0.98rem; color: var(--text-dim); }
.card .card-link {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.card .card-link:hover { color: var(--gold-soft); }

.card .tag {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 4px 9px;
}

/* ---------- stat band ---------- */

.stat-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(30px, 4vw, 48px) 0;
}
.stat-band .grid { align-items: start; }
.stat .stat-value {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.15;
}
.stat .stat-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}
.stat .stat-sub { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

/* ---------- pull quote ---------- */

.pullquote {
  border-left: 2px solid var(--gold);
  padding: 10px 0 10px clamp(22px, 3vw, 40px);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-style: italic;
  color: var(--gold-soft);
  line-height: 1.4;
  max-width: 820px;
}

/* ---------- marquee (legacy curved scrolling text) ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
  background: var(--black);
}
.marquee .track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: rgba(255,255,255,0.55);
}
.marquee .track .sep { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sidebar longform (process / research notes) ---------- */

.longform {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 980px) { .longform { grid-template-columns: 1fr; } }

.side-toc {
  position: sticky;
  top: 96px;
  font-family: var(--sans);
}
@media (max-width: 980px) { .side-toc { position: static; } }
.side-toc .toc-head {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 18px 0 10px;
}
.side-toc a {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--hairline);
}
.side-toc a:hover, .side-toc a.active { color: #fff; border-left-color: var(--gold); }

.longform article section { margin-bottom: clamp(48px, 6vw, 84px); scroll-margin-top: 110px; }

.sec-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.meta-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 26px 0;
  font-family: var(--sans);
}
@media (max-width: 860px) { .meta-band { grid-template-columns: repeat(2, 1fr); } }
.meta-band .m-label { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.meta-band .m-value { font-size: 0.92rem; color: var(--text); margin-top: 6px; line-height: 1.5; }

/* ---------- lists ---------- */

.gold-list { list-style: none; }
.gold-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--text-dim);
  font-size: 1.02rem;
}
.gold-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.gold-list li strong { color: var(--text); font-weight: 600; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  border-radius: 2px;
  background: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn.solid { background: var(--gold); color: var(--ink); }
.btn.solid:hover { background: var(--gold-soft); }

.text-link {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 4px;
}
.text-link:hover { color: var(--gold-soft); }

/* long email addresses must not force the page sideways on phones */
.text-link {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .text-link[href^="mailto:"] { letter-spacing: 0.1em; font-size: 0.7rem; }
}

/* ---------- forms ---------- */

.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }

.form label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.form input, .form select, .form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 13px 15px;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form select { appearance: none; }
.form option { background: var(--navy-2); }
.form textarea { min-height: 140px; resize: vertical; }

.form .consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}
.form .consent input { width: auto; margin-top: 3px; }
.form label.consent {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-size: 0.8rem;
}

.form-note { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }

/* honeypot: off-screen, never display:none (bots skip hidden inputs) */
.form .hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* submit outcome, inserted after the button */
.form-status {
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text);
  padding: 13px 15px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
}
.form-status.ok { border-color: var(--gold); }
.form-status.err { border-color: rgba(214, 122, 106, 0.7); }

/* ---------- disclosures ---------- */

.disclosures {
  border-top: 1px solid var(--hairline);
  padding-top: clamp(30px, 4vw, 44px);
}
.disclosures h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.disclosures p {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted);
}
.disclosures p + p { margin-top: 0.8em; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--hairline);
  padding: clamp(48px, 6vw, 80px) 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand .wordmark { font-size: 1.15rem; }

.footer-col .f-head {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a, .footer-col .f-line {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 4px 0;
}
.footer-col a:hover { color: var(--gold-soft); }

.footer-legal {
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  font-family: var(--sans);
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.7;
}
.footer-legal p + p { margin-top: 0.7em; }
.footer-legal .pastperf { font-style: italic; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media print {
  .reveal { opacity: 1; transform: none; }
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track { animation: none; }
}

/* ---------- misc ---------- */

.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

.divider { border: 0; border-top: 1px solid var(--hairline); margin: clamp(40px, 6vw, 72px) 0; }

.cta-band {
  text-align: center;
  padding: clamp(70px, 9vw, 120px) 0;
  position: relative;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(200, 163, 95, 0.1), transparent 65%),
    var(--black);
}
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band p { max-width: 640px; margin: 0 auto 2rem; color: var(--text-dim); }

table.simple {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.9rem;
}
table.simple th, table.simple td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
table.simple th {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
table.simple td { color: var(--text-dim); }
.table-scroll { overflow-x: auto; }

/* ---------- research hub hero (legacy layout: text-only, left-aligned) ---------- */

.research-hero {
  background: var(--navy);
  padding: 150px 0 clamp(48px, 6vw, 76px);
}
.rh-eyebrow {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(20px, 3vw, 34px);
}
.rh-title {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.02;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.rh-lede {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dim);
}
.rh-rule {
  max-width: 620px;
  border-top: 1px solid var(--hairline);
  margin: clamp(28px, 4vw, 46px) 0 clamp(20px, 3vw, 30px);
}
.rh-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(28px, 5vw, 72px);
  justify-content: start;
}
@media (max-width: 720px) { .rh-stats { grid-template-columns: repeat(2, auto); gap: 26px 40px; } }
.rh-stat-value {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: #fff;
  line-height: 1.1;
}
.rh-stat-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* featured report card */
.featured-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.006));
  margin-top: 1.5rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.featured-card:hover { border-color: var(--gold-dim); border-top-color: var(--gold); }
@media (max-width: 860px) { .featured-card { grid-template-columns: 1fr; } }
.fc-body { padding: clamp(26px, 3.5vw, 44px); }
.fc-body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.18; }
.fc-body p { color: var(--text-dim); font-size: 0.98rem; max-width: 640px; }
.fc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
}
.fc-meta .m-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.fc-meta .m-value { font-size: 0.86rem; color: var(--text); margin-top: 6px; }
.fc-art {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (max-width: 860px) { .fc-art { border-left: 0; border-top: 1px solid var(--hairline); } }
.fc-art .media-real, .fc-art .media-ph { flex: 1; border: 0; border-radius: 0; }
.fc-art .media-real img { border: 0; border-radius: 0; height: 100%; }
.fc-cta {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px 22px;
  text-align: right;
}

/* ---------- contact video banner ---------- */

.video-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 860px) { .video-banner { min-height: 300px; } }
.video-banner video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6,9,16,0.35) 0%, rgba(6,9,16,0.55) 55%, rgba(6,9,16,0.88) 100%);
}
.video-banner .vb-caption {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 3vw, 34px);
}
.video-banner .vb-caption p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* ---------- fund pages ---------- */

.fund-head { padding: 130px 0 40px; border-bottom: 1px solid var(--hairline); }
.fund-tags { display: flex; gap: 10px; margin: 14px 0 18px; }
.fund-tags .tag {
  font-family: var(--sans);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid var(--gold-dim); border-radius: 3px;
  color: var(--gold); padding: 4px 9px;
}
.fund-tags .tag.status { color: #7fc79b; border-color: rgba(127, 199, 155, 0.4); }
.fund-tags .tag.status-prep { color: var(--muted); border-color: var(--hairline); }
.fund-sub { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-soft); margin: 6px 0 18px; }

.fund-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 980px) { .fund-layout { grid-template-columns: 1fr; } }

.fund-side { display: grid; gap: 24px; position: sticky; top: 96px; }
@media (max-width: 980px) { .fund-side { position: static; } }

.chart-card {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--ink);
  padding: 20px;
}
.chart-card .cc-kicker {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
}
.chart-card h3 { font-size: 1.15rem; margin: 8px 0 2px; }
.chart-card .cc-note {
  font-family: var(--sans); font-size: 0.64rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.chart-card svg { width: 100%; height: auto; display: block; }
.chart-card .cc-caption { font-family: var(--sans); font-size: 0.72rem; color: var(--muted); font-style: italic; margin-top: 12px; line-height: 1.5; }

.fund-meta {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: linear-gradient(170deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  padding: 20px 22px;
  font-family: var(--sans);
}
.fund-meta .fm-head {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.fund-meta .fm-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-top: 1px solid var(--hairline);
  font-size: 0.84rem;
}
.fund-meta .fm-row span:first-child { color: var(--muted); }
.fund-meta .fm-row span:last-child { color: var(--text); text-align: right; }

.risk-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 640px) { .risk-row { grid-template-columns: 1fr; gap: 6px; } }
.risk-row .rr-label {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  padding-top: 4px;
}
.risk-row p { font-size: 0.98rem; color: var(--text-dim); }
.risk-row p strong { color: var(--text); }

/* ==========================================================================
   2026-09-03 additions
   ========================================================================== */

/* ---------- hero entrance (staggered reveal, modelled on the SFI home hero) ---------- */
.hero .hero-content > * {
  opacity: 0;
  animation: hero-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero .hero-content > :nth-child(1) { animation-delay: 0.10s; }
.hero .hero-content > :nth-child(2) { animation-delay: 0.22s; }
.hero .hero-content > :nth-child(3) { animation-delay: 0.34s; }
.hero .hero-content > :nth-child(4) { animation-delay: 0.46s; }
@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- home hero (2026-09-04): left-aligned editorial layout after the
   Swiss Finance Institute home hero - eyebrow, display title, lead, two
   buttons, over a dark navy scrim, with the media fading in beneath the
   staggered text reveal ---------- */
.hero.hero-home {
  min-height: 94vh;
  justify-content: flex-start;
  text-align: left;
  background: #000919;
}
.hero-home .hero-content {
  width: min(1140px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 150px 28px 96px;
}
.hero-home .hero-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #c8a35f;
}
.hero-home h1 {
  font-weight: 500;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.06;
  max-width: 860px;
  color: #fff;
}
.hero-home .hero-lead {
  max-width: 640px;
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(248, 248, 248, 0.85);
}
.hero-home .btn-row { justify-content: flex-start; margin-top: 40px; }
/* uniform deep-navy scrim (SFI: 0.72 -> 0.86) so the type carries the frame
   and the footage reads as atmosphere; wins over the light theme's
   .hero-on-video rule by specificity, so both builds are identical here */
.hero.hero-home .hero-bg::after {
  background: linear-gradient(180deg, rgba(0, 9, 25, 0.68), rgba(0, 9, 25, 0.84));
}
.hero.hero-home::after {
  background: linear-gradient(180deg, transparent, rgba(0, 9, 25, 0.35));
}
/* soft gold glow drifting in the lower-left corner, as on the SFI hero */
.hero-home::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 480px; height: 480px;
  left: -140px; bottom: -200px;
  border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(circle, rgba(201, 169, 97, 0.16), transparent 65%);
  animation: hero-drift 20s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
@keyframes hero-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}
/* the media fades up from the navy plate while the text reveals */
.hero-home .hero-bg {
  opacity: 0;
  animation: hero-bg-in 1.4s ease-out 0.05s forwards;
}
@keyframes hero-bg-in { to { opacity: 1; } }
@media (max-width: 720px) {
  .hero-home { min-height: 88vh; }
  .hero-home .hero-content { padding: 124px 22px 64px; }
  .hero-home .hero-lead { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-bg { animation: none; opacity: 1; }
  .hero-home::before { animation: none; }
}
.btn-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.btn { transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s; }
.btn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-content > * { animation: none; opacity: 1; }
  .btn:hover { transform: none; }
}

/* ---------- top-level nav link (Research & Intelligence has no submenu) ---------- */
.nav a.nav-top { text-decoration: none; }

/* ---------- fund pages: cross-fund strip, animated charts (restored from the legacy strategy pages) ---------- */
.fund-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.fund-nav a { color: var(--muted); padding: 4px 0; transition: color 0.2s; }
.fund-nav a:hover { color: var(--gold-soft); }
.fund-nav a.current { color: var(--gold); border-bottom: 1px solid var(--gold); }
.fund-nav a.all { color: var(--text-dim); }

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-line { display: inline-block; width: 14px; height: 2px; }
.legend-line.gold { background: var(--gold); }
.legend-line.teal { background: #6fb7b7; }
.legend-line.red { background: #b45050; }
.legend-line.green { background: #7fc79b; }
.legend-line.grey { background: rgba(233, 229, 218, 0.4); }

@keyframes drawLine { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1); opacity: 0; } }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes cell-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pt-in { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.chart-card .draw-in { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.chart-card.in .draw-in { animation: drawLine 2.2s ease-out 0.2s forwards; }
.chart-card.in .draw-in.d2 { animation-delay: 0.6s; }
.chart-card.in .draw-in.d3 { animation-delay: 1s; }
.chart-card .pulse-ring { transform-origin: center; transform-box: fill-box; animation: pulseRing 2.4s ease-out infinite; }
.chart-card .pulse-dot-core { animation: pulseDot 2.4s ease-in-out infinite; }
.chart-card .cell { opacity: 0; transform-origin: center; transform-box: fill-box; }
.chart-card.in .cell { animation: cell-in 0.5s ease forwards; }
.chart-card .bar { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.chart-card.in .bar { animation: bar-grow 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.chart-card .pt { opacity: 0; transform-origin: center; transform-box: fill-box; }
.chart-card.in .pt { animation: pt-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.chart-card .late { opacity: 0; }
.chart-card.in .late { animation: fade-in 0.6s ease 1.2s forwards; }
@media (prefers-reduced-motion: reduce) {
  .chart-card .draw-in { stroke-dashoffset: 0; animation: none; }
  .chart-card .pulse-ring, .chart-card .pulse-dot-core { animation: none; }
  .chart-card .cell, .chart-card .pt, .chart-card .late { opacity: 1; animation: none; }
  .chart-card .bar { transform: none; animation: none; }
}
.chart-card.wide { padding: clamp(22px, 3vw, 32px); }
.chart-card.wide h3 { font-size: 1.35rem; }
.chart-card .cc-source { font-family: var(--sans); font-size: 0.7rem; color: var(--muted); margin-top: 10px; line-height: 1.55; }

/* ---------- Invest page ---------- */
.asof-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.asof {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 8px 14px;
  margin-bottom: 1.1rem;
}
.perf-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.perf-ribbon .pr {
  padding: clamp(26px, 3vw, 40px) clamp(18px, 2.5vw, 34px);
  border-right: 1px solid var(--hairline);
}
.perf-ribbon .pr:last-child { border-right: 0; }
@media (max-width: 900px) {
  .perf-ribbon { grid-template-columns: 1fr 1fr; }
  .perf-ribbon .pr:nth-child(2) { border-right: 0; }
  .perf-ribbon .pr:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 480px) {
  .perf-ribbon { grid-template-columns: 1fr; }
  .perf-ribbon .pr { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .perf-ribbon .pr:last-child { border-bottom: 0; }
}
.perf-ribbon .pr-value {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.perf-ribbon .pr-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 12px;
}
.perf-ribbon .pr-sub { font-family: var(--sans); font-size: 0.76rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.footnote {
  font-family: var(--sans);
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 18px;
}
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: stretch;
}
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare .cmp-vs { padding: 4px 0; } }
.compare .cmp {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(170deg, rgba(255,255,255,0.028), rgba(255,255,255,0.006));
  text-align: center;
}
.compare .cmp-bc { border-color: var(--gold); border-top-width: 3px; }
.compare .cmp-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.compare .cmp-value {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--cream);
  margin: 16px 0 14px;
  font-variant-numeric: tabular-nums;
}
.compare .cmp-sub { font-family: var(--sans); font-size: 0.82rem; line-height: 1.65; color: var(--text-dim); }
.compare .cmp-vs {
  align-self: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-soft);
  text-align: center;
}
.footnote-box {
  margin-top: clamp(26px, 3vw, 40px);
  border: 1px solid var(--gold-dim);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 20px 24px;
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-dim);
}
.footnote-box .fn-head {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.footnote-box p + p { margin-top: 0.5em; }
.footnote-box strong { color: var(--text); font-weight: 600; }
table.perf-table td.pos { color: #7fc79b; font-weight: 600; }
table.perf-table td.neg { color: #d07272; }
table.perf-table tr.total td { border-top: 1px solid var(--gold-dim); color: var(--text); font-weight: 600; }
table.perf-table { font-size: 0.86rem; }
table.perf-table td, table.perf-table th { white-space: nowrap; padding: 11px 8px; }
table.perf-table td:first-child, table.perf-table td:nth-child(2) { white-space: normal; }
.legend-line.grey { background: #8b94a3; opacity: 0.7; }
.provider-strip {
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}
.provider-strip .ps-head {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.6;
}
.provider-strip .ps-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #ffffff;
}
@media (max-width: 900px) { .provider-strip .ps-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .provider-strip .ps-logos { grid-template-columns: repeat(2, 1fr); } }
.provider-strip .ps-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 14px;
  border-right: 1px solid rgba(12, 22, 38, 0.08);
  border-bottom: 1px solid rgba(12, 22, 38, 0.08);
}
.provider-strip .ps-logo img { height: 34px; width: auto; max-width: 100%; object-fit: contain; }
.provider-strip .ps-logo span {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a5468;
  text-align: center;
}
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  color: var(--text-dim);
  font-size: 1rem;
  border-top: 1px solid var(--hairline);
}
.check-list li:first-child { border-top: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}
.check-list li.is::before { background: var(--gold); }
.check-list li strong { color: var(--text); font-weight: 600; }

/* ---------- forms: file upload ---------- */
.form .file-field { position: relative; }
.form .file-field input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.form .file-drop {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px dashed rgba(200, 163, 95, 0.55);
  border-radius: 3px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--text-dim);
  transition: border-color 0.25s, background 0.25s;
}
.form .file-field:hover .file-drop, .form .file-field:focus-within .file-drop {
  border-color: var(--gold);
  background: rgba(200, 163, 95, 0.06);
}
.form .file-drop .fd-btn {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 9px 14px;
}
.form .file-drop .fd-name { overflow-wrap: anywhere; }
.form .file-drop .fd-hint { color: var(--muted); font-size: 0.74rem; }

/* ---------- email contact block (stands in for a parked form) ---------- */
.email-block {
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--gold);
  border-radius: 4px;
  background: linear-gradient(170deg, rgba(255,255,255,0.028), rgba(255,255,255,0.006));
  padding: clamp(26px, 3.5vw, 44px);
  margin-top: 1.5rem;
}
.email-block .eb-lead { font-size: 1.1rem; color: var(--text-dim); }
.email-block .email-cta {
  display: inline-block;
  margin: 10px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  color: var(--gold-soft);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  max-width: 100%;
  overflow-wrap: anywhere;
  transition: color 0.25s, border-color 0.25s;
}
.email-block .email-cta:hover { color: #fff; border-bottom-color: var(--gold); }
.email-block .eb-note { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
