/* ==========================================================================
   Reconnaissance Capital — site stylesheet
   Palette from the legacy site: near-black #0A151C, bronze #917151, off-white paper.
   Display: Playfair Display. Body/UI: Manrope. Both self-hosted (fonts.css).
   ========================================================================== */

:root {
  --ink: #0A151C;
  --ink-2: #10202B;
  --ink-3: #172B38;
  --bronze: #917151;
  --bronze-2: #CDAE82;     /* bronze for text on dark grounds */
  --bronze-dim: #6E553C;   /* bronze for text on light grounds (AA) */
  --paper: #F6F3EC;
  --paper-2: #FBFAF7;
  --white: #FFFFFF;
  --text: #1C2530;
  --muted: #5A626B;
  --muted-dark: #A9B1B8;   /* secondary text on dark */
  --rule: rgba(10, 21, 28, 0.14);
  --rule-dark: rgba(246, 243, 236, 0.16);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.dark { background: var(--ink); color: rgba(246, 243, 236, 0.86); }
img, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.dark :focus-visible, .section--dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--bronze-2); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 1000;
  background: var(--bronze); color: var(--white); padding: 10px 18px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 12px; }

.container { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { width: min(860px, 100%); }
.container--prose { width: min(760px, 100%); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.12; }
.dark h1, .dark h2, .dark h3, .dark h4,
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.12rem; }
.caps { text-transform: uppercase; letter-spacing: 0.06em; }
.eyebrow {
  display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze-dim); margin: 0 0 18px;
}
.dark .eyebrow, .section--dark .eyebrow, .site-footer .eyebrow, .hero .eyebrow { color: var(--bronze-2); }
.eyebrow--center { text-align: center; }
.num {
  display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.4em;
  color: var(--bronze-dim); margin-bottom: 20px;
}
.dark .num, .section--dark .num { color: var(--bronze-2); }
.lede { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink); }
.section--dark .lede, .dark .lede { color: rgba(246, 243, 236, 0.9); }
.tagline {
  font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.4; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink); margin: 0 0 1.2em;
}
.dark .tagline, .section--dark .tagline { color: var(--white); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.prose p { max-width: 68ch; }

.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding: 14px 26px; border: 1px solid currentColor; border-radius: 2px; cursor: pointer;
  background: transparent; color: var(--ink); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  line-height: 1.2;
}
.btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--bronze { background: var(--bronze); color: var(--white); border-color: var(--bronze); }
.btn--bronze:hover { background: var(--bronze-dim); border-color: var(--bronze-dim); color: var(--white); }
.btn--outline-light { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: 0.72rem; }
.btn:disabled { opacity: 0.6; cursor: default; }
.link-arrow {
  display: inline-block; font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: inherit; padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "\2192"; margin-left: 10px; display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
body { padding-top: var(--header-h); }
body.home { padding-top: 0; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: var(--white);
  background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
body.home .site-header { background: linear-gradient(180deg, rgba(10, 21, 28, 0.55), rgba(10, 21, 28, 0)); border-bottom-color: transparent; }
body.home .site-header.is-scrolled, body.home .site-header.is-open { background: var(--ink); border-bottom-color: rgba(255, 255, 255, 0.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); width: 100%; padding-inline: clamp(24px, 4.5vw, 84px); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); white-space: nowrap; }
.brand__name { font-family: "Oswald", "Arial Narrow", Impact, sans-serif; font-weight: 500; font-size: clamp(1.25rem, 0.9rem + 1vw, 1.7rem); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.brand__mark { display: none; }
.nav__list { display: flex; gap: clamp(20px, 2.4vw, 44px); list-style: none; }
.nav__list a {
  font-family: var(--serif); font-size: 0.95rem; font-weight: 400; text-decoration: none;
  color: rgba(255, 255, 255, 0.88); padding: 8px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--white); border-bottom-color: var(--bronze-2); }
.menu-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 1px solid rgba(255, 255, 255, 0.35); color: var(--white);
  padding: 9px 14px; border-radius: 2px; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 18px; height: 2px; background: currentColor; display: block; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.08); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.mobile-nav ul { list-style: none; padding: 10px clamp(24px, 4.5vw, 84px) 24px; }
.mobile-nav a { display: block; padding: 14px 0; text-decoration: none; color: var(--white); font-family: var(--serif); font-size: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-nav a[aria-current="page"] { color: var(--bronze-2); }
@media (max-width: 1199px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1200px) { .mobile-nav { display: none !important; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--dark { background: var(--ink); color: rgba(246, 243, 236, 0.86); }
.section--dark-2 { background: var(--ink-2); color: rgba(246, 243, 236, 0.86); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.media-cover { position: absolute; inset: 0; }
.media-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Split layout: text + media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--media-left .split__media { order: -1; }
.split__media picture, .split__media img { width: 100%; }
.split__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__media--wide img { aspect-ratio: 16 / 10; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--media-left .split__media { order: 0; }
}

/* ---------- Home: hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--white); overflow: hidden; isolation: isolate; padding-top: var(--header-h); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.parallax-media { position: absolute; left: 0; right: 0; top: -14%; bottom: -14%; z-index: -2; will-change: transform; }
.parallax-media img { width: 100%; height: 100%; object-fit: cover; }
.parallax-media.is-static { top: 0; bottom: 0; }
@keyframes enter-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes enter-media { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
.enter { animation: enter-up 1.3s var(--ease) both; }
.enter--1 { animation-delay: .5s; } .enter--2 { animation-delay: .75s; } .enter--3 { animation-delay: 1.05s; } .enter--4 { animation-delay: 1.3s; }
.hero__media img { animation: enter-media 1.6s var(--ease) both; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 21, 28, 0.55) 0%, rgba(10, 21, 28, 0.35) 45%, rgba(10, 21, 28, 0.82) 100%); }
.hero__inner { padding-block: clamp(72px, 12vw, 140px); text-align: center; }
.hero__traits { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 40px; margin-bottom: clamp(36px, 6vw, 72px); }
.hero__traits li { font-family: var(--serif); font-size: clamp(0.95rem, 1.3vw, 1.15rem); letter-spacing: 0.08em; color: var(--bronze-2); }
.hero__title { font-size: clamp(1.6rem, 6.6vw, 5.6rem); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; color: var(--white); margin: 0 0 28px; }
@media (max-width: 480px) { .hero__title { letter-spacing: 0.08em; } }
.hero__title sup { font-family: var(--sans); font-size: 0.32em; letter-spacing: 0; margin-left: 0.2em; vertical-align: 1.4em; }
.hero__strap { font-family: var(--sans); font-weight: 400; font-size: clamp(0.82rem, 1.3vw, 1.02rem); letter-spacing: 0.32em; text-transform: uppercase; max-width: 46ch; margin: 0 auto clamp(32px, 5vw, 56px); line-height: 1.9; color: rgba(255, 255, 255, 0.9); }
.hero .link-arrow { color: var(--white); }

/* Overview statement */
.overview .statement { font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.15; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; }

/* Numbered cards */
.cards__intro { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); }
.cards__statement { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.2; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.cards__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { position: relative; }
.card a { display: block; position: relative; aspect-ratio: 19 / 20; overflow: hidden; text-decoration: none; color: var(--white); background: var(--ink-2); }
.card picture { position: absolute; inset: 0; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); opacity: 0.78; }
.card a:hover img, .card a:focus-visible img { transform: scale(1.04); opacity: 0.9; }
.card__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 44px); background: linear-gradient(180deg, rgba(10, 21, 28, 0) 30%, rgba(10, 21, 28, 0.86) 100%); }
.card__num { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.4em; color: var(--bronze-2); margin-bottom: 14px; }
.card h2 { color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: 18px; }
.card__cta { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid var(--bronze-2); align-self: flex-start; padding-bottom: 4px; }
@media (max-width: 700px) { .cards__grid { grid-template-columns: 1fr; } .card a { aspect-ratio: 5 / 4; } }

/* Full-bleed photo band (parallax) */
.band--photo { min-height: clamp(360px, 62vh, 760px); }

/* Statement band over full-bleed image */
.band { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media.parallax-media { top: -14%; bottom: -14%; }
.band__media.parallax-media.is-static { top: 0; bottom: 0; }
.band__overlay { position: absolute; inset: 0; z-index: -1; background: rgba(10, 21, 28, 0.72); }
.band__inner { padding-block: clamp(80px, 12vw, 160px); }
.band .statement { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.35; max-width: 30ch; margin: 0 0 1.4em; color: var(--white); }
.band .statement--small { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-family: var(--sans); font-weight: 300; max-width: 62ch; color: rgba(255, 255, 255, 0.88); line-height: 1.7; }

/* ---------- About: features ---------- */
.feature { padding-block: clamp(64px, 9vw, 120px); }
.feature:nth-child(even) { background: var(--white); }
.feature h1, .feature h2 { text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; margin-bottom: 24px; }
.feature .prose { color: var(--muted); }
.feature .prose p { margin-bottom: 1.1em; }

/* ---------- Team ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 48px); }
.page-head h1 { text-transform: uppercase; letter-spacing: 0.1em; }
.team__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px); }
.team__item img { width: 100%; aspect-ratio: 11 / 10; object-fit: cover; }
.team__item h2 { text-transform: uppercase; letter-spacing: 0.1em; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 28px 0 8px; }
.team__role { display: block; font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze-dim); margin-bottom: 18px; }
.team__item p { color: var(--muted); max-width: 52ch; }
@media (max-width: 700px) { .team__grid { grid-template-columns: 1fr; } }

/* ---------- Events ---------- */
.events__intro h1 { text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 36px; }
.events__block { padding: 28px 0; border-top: 1px solid var(--rule-dark); }
.events__block h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 12px; }
.events__block p { color: var(--muted-dark); max-width: 52ch; }
.events__block .btn { margin-top: 8px; }
.poster { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.35); isolation: isolate; }
.poster picture { position: absolute; inset: 0; z-index: -2; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 21, 28, 0.15), rgba(10, 21, 28, 0.55)); }
.poster__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; }
.poster__title { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.1em; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.15; color: var(--white); margin: 0; }
.poster__title em { font-style: normal; color: var(--bronze-2); display: block; }
.poster__sub { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); margin-top: 20px; }
.event-list { list-style: none; border-top: 1px solid var(--rule-dark); }
.event-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule-dark); }
.event-list__name { font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--white); letter-spacing: 0.04em; }
.event-list__actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 560px) { .event-list li { flex-direction: column; align-items: flex-start; } }

/* ---------- Investors ---------- */
.investors__head { text-align: center; padding-block: clamp(56px, 8vw, 100px) clamp(24px, 4vw, 48px); }
.investors__head h1 { text-transform: uppercase; letter-spacing: 0.1em; font-size: clamp(1.8rem, 3.8vw, 3.1rem); max-width: 22ch; margin-inline: auto; }
.panel { background: var(--white); color: var(--text); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--rule); }
.panel h1, .panel h2, .panel h3 { color: var(--ink); }
.panel h2 { font-size: 1.4rem; margin-bottom: 6px; }
.panel .panel__note { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.form-field .opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.form-field .hint { font-size: 0.82rem; color: var(--muted); margin: 0; }
.form-grid > *, .form-field { min-width: 0; }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid rgba(10, 21, 28, 0.28); border-radius: 2px; background: var(--paper-2); color: var(--text);
  width: 100%; min-width: 0;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: var(--bronze); }
.form-field input[type="file"] { padding: 10px; background: transparent; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-status { grid-column: 1 / -1; margin: 12px 0 0; padding: 12px 14px; border-radius: 2px; font-size: 0.95rem; }
.form-status--ok { background: rgba(145, 113, 81, 0.12); color: var(--bronze-dim); }
.form-status--err { background: rgba(160, 40, 40, 0.1); color: #8a2b2b; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
/* compact dark form (footer) */
.form--compact { display: grid; gap: 12px; }
.form--compact .form-field label { color: var(--muted-dark); font-size: 0.7rem; }
.form--compact .form-field input, .form--compact .form-field textarea { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.22); color: var(--white); padding: 10px 12px; font-size: 0.95rem; }
.form--compact .form-status--ok { background: rgba(205, 174, 130, 0.14); color: var(--bronze-2); }
.form--compact .form-status--err { background: rgba(255, 120, 120, 0.12); color: #f2b3b3; }

/* ---------- Footer / contact block ---------- */
.site-footer { background: var(--ink); color: rgba(246, 243, 236, 0.86); padding-block: clamp(56px, 8vw, 96px) 40px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); margin-top: 36px; }
.footer__h { font-size: 1.1rem; color: var(--white); margin-bottom: 14px; letter-spacing: 0.04em; }
.footer__address, .footer__p { color: var(--muted-dark); font-size: 0.95rem; margin: 0 0 8px; }
.footer__p a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.footer__p a:hover { border-bottom-color: var(--bronze-2); }
.footer__p--muted { font-size: 0.85rem; margin-top: 16px; max-width: 34ch; }
.footer__legal { margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid var(--rule-dark); color: var(--muted-dark); font-size: 0.82rem; text-align: center; max-width: 70ch; margin-inline: auto; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__col--form { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Gate (login) ---------- */
.gate { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; padding-block: clamp(48px, 8vw, 96px); }
.gate__card { width: min(520px, 100%); background: var(--white); border: 1px solid var(--rule); padding: clamp(28px, 5vw, 48px); }
.gate__card h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.gate__card p { color: var(--muted); }
.gate__error { background: rgba(160, 40, 40, 0.08); color: #8a2b2b; padding: 10px 14px; border-radius: 2px; font-size: 0.95rem; }
.gate__form { display: grid; gap: 16px; margin-top: 24px; }

/* ---------- Document (gated pages) ---------- */
.doc-hero { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.doc-hero__media { position: absolute; inset: 0; z-index: -2; }
.doc-hero__media img, .doc-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.doc-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 21, 28, 0.74), rgba(10, 21, 28, 0.88)); }
.doc-hero__inner { padding-block: clamp(64px, 10vw, 140px); }
.doc-hero h1 { text-transform: uppercase; letter-spacing: 0.12em; color: var(--white); max-width: 18ch; }
.doc-hero .lede { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-top: 20px; }
.doc-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-2); }
.doc-hero__meta a { color: inherit; }
.doc { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(48px, 7vw, 96px); }
.doc__toc { position: sticky; top: calc(var(--header-h) + 24px); }
.doc__toc h2 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze-dim); margin-bottom: 14px; }
.doc__toc ol { list-style: none; border-top: 1px solid var(--rule); }
.doc__toc-h2 { margin-top: 28px; }
.doc__part { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bronze-dim); padding-bottom: 12px; border-bottom: 2px solid var(--bronze); margin: 0 0 clamp(32px, 5vw, 56px); }
.doc__section + .doc__part { margin-top: clamp(24px, 4vw, 40px); }
.doc__toc li { border-bottom: 1px solid var(--rule); }
.doc__toc a { display: flex; gap: 14px; padding: 11px 0; text-decoration: none; color: var(--text); font-size: 0.92rem; }
.doc__toc a:hover { color: var(--bronze-dim); }
.doc__toc .n { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--bronze-dim); padding-top: 4px; }
.doc__body { min-width: 0; }
.doc__section { padding-bottom: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--rule); }
.doc__section:last-child { border-bottom: 0; }
.doc__section > h2 { text-transform: uppercase; letter-spacing: 0.1em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 28px; }
.doc__section h3 { margin: 36px 0 12px; font-size: 1.3rem; }
.doc__section h4 { margin: 26px 0 8px; font-size: 1.05rem; color: var(--bronze-dim); }
.doc__section p, .doc__section li { color: var(--text); max-width: 72ch; }
.doc__section ul, .doc__section ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.doc__section li { margin-bottom: 0.4em; }
.doc__section .caps-note { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); }
.doc__section .callout { background: var(--white); border-left: 3px solid var(--bronze); padding: 18px 22px; margin: 0 0 1.4em; }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; margin: 0 0 1.5em; padding: 0; list-style: none; }
.terms li { background: var(--white); border: 1px solid var(--rule); padding: 14px 16px; }
.terms .k { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-dim); margin-bottom: 4px; }
.terms .v { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.doc__private { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.doc__figure { margin: 36px 0 0; }
.doc__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.doc details { border: 1px solid var(--rule); background: var(--white); margin-bottom: 12px; }
.doc summary { cursor: pointer; padding: 18px 22px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 18px; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary .n { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--bronze-dim); }
.doc summary::after { content: "+"; margin-left: auto; font-family: var(--sans); color: var(--bronze-dim); font-size: 1.3rem; }
.doc details[open] summary::after { content: "\2212"; }
.doc details .details__body { padding: 4px 22px 26px; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } .doc__toc { position: static; } .terms { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .enter, .hero__media img { animation: none; }
  .card img, .link-arrow::after, .btn { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .menu-toggle, .doc__toc, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .doc { grid-template-columns: 1fr; }
}
