/* ── Fonts ─────────────────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}
@font-face {
  font-family: 'Crimson Pro';
  src: url('../fonts/CrimsonPro-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: 'Crimson Pro';
  src: url('../fonts/CrimsonPro-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

/* ── Reset & base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #0D5EAF;
  --ink: #1a1a1a;
  --rule: #0D5EAF;
  --page: #ffffff;
  --max: 860px;
}

html { font-size: 18px; }

body {
  background: var(--page);
  color: var(--ink);
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── Header ────────────────────────────────────────── */
header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.8rem 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── Navigation ────────────────────────────────────── */
nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: 'Crimson Pro', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

nav a:hover { opacity: 1; }
nav a.active { opacity: 1; color: var(--blue); }

/* ── Rule ──────────────────────────────────────────── */
.rule {
  max-width: var(--max);
  margin: 1.4rem auto 0;
  padding: 0 2rem;
}

.rule hr {
  border: none;
  border-top: 1px solid var(--rule);
  opacity: 0.35;
}

/* ── Opening line ──────────────────────────────────── */
.opening {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.5;
  color: #0D5EAF;
  margin-bottom: 3rem;
}

/* ── Body text ─────────────────────────────────────── */
.body-text {
  font-family: 'Crimson Pro', serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 3.5rem;
}

/* ── Story text (compact spacing) ──────────────────── */
.story-text {
  margin-bottom: 1rem;
}

/* ── Tagline ───────────────────────────────────────── */
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #0D5EAF;
  margin-bottom: 3.5rem;
}

/* ── Inline story image ────────────────────────────── */
.story-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 2.5rem;
}

.story-image-half {
  display: block;
  width: 50%;
  max-width: 50%;
  height: auto;
  margin: 2rem auto;
}

/* ── Divider ───────────────────────────────────────── */
.section-rule {
  border: none;
  border-top: 1px solid var(--rule);
  opacity: 0.2;
  margin-bottom: 2.5rem;
}

/* ── Credentials list (shared reset) ──────────────── */
.credentials-list {
  list-style: none;
  padding: 0;
}

/* ── Sample survey placeholder ─────────────────────── */
.sample-placeholder {
  margin-top: 4rem;
  padding: 2.5rem;
  border: 1px solid rgba(13, 94, 175, 0.18);
  text-align: center;
}

.sample-placeholder p {
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.4;
  font-style: italic;
}

/* ── Main content ──────────────────────────────────── */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 2rem 8rem;
}

/* ── Footer ────────────────────────────────────────── */
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

footer hr {
  border: none;
  border-top: 1px solid var(--rule);
  opacity: 0.2;
  margin-bottom: 1.5rem;
}

footer p {
  font-family: 'Crimson Pro', serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.4;
}
