/* RESPYG — site styles. Fonts are self-hosted (no external requests). */
@font-face { font-family: "Lora"; src: url("fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #0c0c0b;
  --ink-2: #141412;
  --ink-3: #1c1b18;
  --line: rgba(240, 233, 216, 0.10);
  --line-strong: rgba(240, 233, 216, 0.22);
  --paper: #efe8d6;
  --muted: rgba(239, 232, 214, 0.66);
  --faint: rgba(239, 232, 214, 0.42);
  --gold: #c9a84c;
  --gold-soft: rgba(201, 168, 76, 0.14);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 300; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 12, 11, 0.86);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: 0.22em; text-decoration: none; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: 0.04em; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); padding-bottom: 2px; }
.nav .nav-cta { color: var(--ink); background: var(--gold); padding: 9px 16px; border-radius: var(--radius); font-weight: 500; }
.nav .nav-cta:hover { color: var(--ink); background: #d8b95d; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--paper); border-radius: var(--radius); width: 44px; height: 40px; cursor: pointer; }
.menu-btn svg { margin: auto; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold); padding-bottom: 14px; }
  .nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
}

/* ---------- Type ---------- */
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 7vw, 82px); }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: 23px; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40em; margin: 24px 0 0; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
strong { font-weight: 600; color: var(--paper); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 10vw, 120px) 0; border-top: 1px solid var(--line); }
section.tight { padding: clamp(48px, 7vw, 80px) 0; }
.alt { background: var(--ink-2); }

.hero { border-top: 0; padding: clamp(72px, 14vw, 160px) 0 clamp(64px, 10vw, 120px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 62%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { border: 1px solid var(--line-strong); border-radius: 99px; padding: 7px 14px; font-size: 13px; color: var(--muted); }
.chip b { color: var(--paper); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 14px 22px; border-radius: var(--radius); border: 1px solid var(--gold); background: var(--gold); color: var(--ink); cursor: pointer; font-family: var(--sans); transition: background .2s, color .2s; }
.btn:hover { background: #d8b95d; }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.cell { background: var(--ink); padding: clamp(28px, 3.5vw, 40px); }
.alt .cell { background: var(--ink-2); }
.cell .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 15px; margin-bottom: 18px; display: block; }
.cell h3 { margin-bottom: 12px; }
.cell p { color: var(--muted); font-size: 16px; margin: 0; }
.cell a.more { display: inline-block; margin-top: 20px; color: var(--gold); text-decoration: none; font-size: 14px; font-weight: 500; }
.cell a.more:hover { text-decoration: underline; text-underline-offset: 4px; }

.list { list-style: none; padding: 0; margin: 24px 0 0; }
.list li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }
.list li strong { display: block; color: var(--paper); }

.quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.3; max-width: 26em; margin: 0; }
.quote cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* Crew */
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 960px) { .crew { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .crew { grid-template-columns: 1fr; } }
.agent { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--ink); }
.agent .avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.agent h3 { font-size: 20px; letter-spacing: .12em; }
.agent .role { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 4px 0 12px; }
.agent p { color: var(--muted); font-size: 15px; margin: 0; }
.note { font-size: 13px; color: var(--faint); margin-top: 24px; }

/* Forms */
.form { display: grid; gap: 18px; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--paper); background: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 13px 14px; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.consent a { color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.facts li::before { content: "◆"; color: var(--gold); font-size: 9px; margin-right: 12px; vertical-align: 2px; }

/* CTA strip */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 16em; }

/* Book */
.book { width: min(260px, 70vw); aspect-ratio: 3 / 4.2; margin: 0 auto; border-radius: 2px 8px 8px 2px;
  background: linear-gradient(135deg, #1d1b16, #0f0e0c); border: 1px solid var(--line-strong);
  box-shadow: -10px 0 0 -4px #2a271f, 30px 40px 80px rgba(0,0,0,.6);
  padding: 30px 26px; display: flex; flex-direction: column; justify-content: space-between; }
.book .b-top { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.book .b-title { font-family: var(--serif); font-size: 40px; line-height: 1.02; }
.book .b-title em { color: var(--gold); }
.book .b-rule { width: 40px; height: 2px; background: var(--gold); margin: 16px 0; }
.book .b-sub { font-size: 13px; color: var(--muted); line-height: 1.45; }
.book .b-author { font-family: var(--serif); font-size: 15px; letter-spacing: .14em; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 32px; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; }
.legal h3 { font-size: 18px; margin: 28px 0 10px; font-family: var(--sans); font-weight: 600; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal a { color: var(--gold); }
.legal address { font-style: normal; color: var(--paper); line-height: 1.8; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; font-size: 14px; color: var(--faint); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--gold); }

/* Reveal on scroll (progressive: content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
