/* =========================================================
   Uyiosa Ugiagbe — Personal Site Design System
   Editorial-academic refinement. Kaeron-aligned.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ink:          #0E1B35;   /* primary navy */
  --ink-deep:     #08122A;   /* deeper navy for contrast */
  --ink-soft:     #1C2A4A;   /* softer navy for UI */
  --gold:         #B8893E;   /* antique gold accent */
  --gold-warm:    #D4AC6B;   /* lighter gold for hover states */
  --gold-deep:    #8F6A2E;   /* deeper gold for emphasis */
  --paper:        #F8F5EE;   /* cream paper ground */
  --paper-warm:   #F1ECE0;   /* slightly warmer cream for cards */
  --paper-edge:   #E8E2D3;   /* cream edge/divider */
  --text:         #0E1B35;   /* body text */
  --text-muted:   #4A5573;   /* muted body text */
  --text-subtle:  #6B7589;   /* subtle captions */
  --rule:         #C8BFA8;   /* hairline rules */

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "Courier New", monospace;

  /* Scale */
  --fs-eyebrow: 0.72rem;
  --fs-sm:      0.875rem;
  --fs-base:    1rem;
  --fs-lg:      1.125rem;
  --fs-xl:      1.35rem;
  --fs-2xl:     1.75rem;
  --fs-3xl:     2.5rem;
  --fs-4xl:     3.5rem;
  --fs-5xl:     5rem;
  --fs-6xl:     6.5rem;

  /* Layout */
  --container:  1240px;
  --container-narrow: 880px;
  --container-reading: 680px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(14,27,53,0.015) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(184,137,62,0.02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover { color: var(--gold-deep); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5.5vw, var(--fs-5xl)); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, var(--fs-3xl)); font-weight: 400; }
h3 { font-size: clamp(1.35rem, 2.2vw, var(--fs-xl)); font-weight: 500; }
h4 { font-size: var(--fs-lg); font-weight: 500; }

p { color: var(--text); line-height: 1.7; }
p + p { margin-top: 1em; }

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-right: 14px;
  vertical-align: 4px;
}

.section-number {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--gold-deep);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  position: relative;
  z-index: 2;
}

.container-narrow { max-width: var(--container-narrow); }
.container-reading { max-width: var(--container-reading); }

section { position: relative; z-index: 2; }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.scrolled { border-bottom-color: var(--paper-edge); }

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0 1.75rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.75vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  line-height: 1;
  transition: opacity 0.25s var(--ease);
}

.brand:hover { opacity: 0.75; color: var(--ink); }

.brand em {
  color: var(--gold-deep);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-links a[aria-current="page"] { color: var(--gold-deep); }

.nav-toggle {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 0;
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 6px; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 6px; }

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 101; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 80vw);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--paper); font-size: var(--fs-xl); font-family: var(--font-display); }
  .nav-links a[aria-current="page"] { color: var(--gold-warm); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--paper);
}

.btn:hover::after { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold);
  transition: all 0.3s var(--ease);
}

.btn-link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.btn-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.btn-link:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8,18,42,0.15) 100%);
  pointer-events: none;
}

.hero-portrait-frame {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.hero-content { padding: 1rem 0; }

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.75vw, 4rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 1.5rem 0 1rem;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .hero-name { white-space: normal; }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
  margin-bottom: 2rem;
  letter-spacing: 0;
}

.hero-tagline span { color: var(--rule); margin: 0 0.5rem; }

.hero-positioning {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-portrait { max-width: 420px; aspect-ratio: 4/5; }
  .hero-portrait-frame { display: none; }
}

/* ---------- Page Header (for interior pages) ---------- */
.page-header {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--paper-edge);
  position: relative;
}

.page-header .section-number {
  display: block;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.page-header .lede { max-width: 58ch; color: var(--text-muted); }

/* ---------- Pillars (Home 3-card section) ---------- */
.pillars {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--paper-edge);
}

.pillars-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}

.pillars-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  max-width: 14ch;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--paper-warm);
  padding: 2.5rem 2rem;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}

.pillar-card:hover {
  background: var(--paper);
  border-color: var(--paper-edge);
  transform: translateY(-4px);
}

.pillar-card:hover::before { width: 100%; }

.pillar-number {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.pillar-card h3 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: var(--fs-base);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pillar-card .btn-link { margin-top: auto; }

@media (max-width: 860px) {
  .pillars-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillar-card { min-height: auto; }
}

/* ---------- In Brief (quick bio strip) ---------- */
.in-brief {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}

.in-brief::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--gold);
}

.in-brief h2 { color: var(--paper); }

.in-brief .eyebrow { color: var(--gold-warm); }

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.brief-item {
  border-left: 1px solid rgba(212, 172, 107, 0.3);
  padding-left: 1.5rem;
}

.brief-item h4 {
  color: var(--gold-warm);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.brief-item p {
  color: rgba(248, 245, 238, 0.85);
  font-size: var(--fs-base);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .brief-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Newsletter Strip ---------- */
.newsletter-strip {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--paper-edge);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.newsletter-inner h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  max-width: 16ch;
}

.newsletter-inner p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: var(--fs-base);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  padding: 0.75rem 0;
  outline: none;
}

.newsletter-form input::placeholder { color: var(--text-subtle); }

.newsletter-form button {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 1rem;
  transition: color 0.3s var(--ease);
}

.newsletter-form button:hover { color: var(--gold-deep); }

@media (max-width: 860px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- Content sections ---------- */
.content-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--paper-edge);
}

.content-section:last-of-type { border-bottom: none; }

.content-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
}

.content-grid .sidebar-label {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold-deep);
  letter-spacing: 0.05em;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gold);
  max-width: 180px;
}

.content-grid .content-body { max-width: 640px; }

.content-grid h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.content-grid p { color: var(--text); margin-bottom: 1em; }

.content-grid p.lede { color: var(--ink); margin-bottom: 1.5em; }

@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; gap: 1rem; }
  .content-grid .sidebar-label { padding-top: 0; }
}

/* Drop cap for first paragraph of bio */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 0.85;
  float: left;
  margin: 0.15em 0.15em 0 0;
  color: var(--gold-deep);
}

/* ---------- Credo block ---------- */
.credo {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--paper-warm);
  text-align: center;
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}

.credo-words {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin: 2rem 0;
  flex-wrap: wrap;
}

.credo-word {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  padding: 0 1rem;
}

.credo-word::after {
  content: "·";
  position: absolute;
  right: -1.5rem;
  top: 0;
  color: var(--gold);
  font-style: normal;
}

.credo-word:last-child::after { display: none; }

.credo blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.75vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ---------- I Believe declaration ---------- */
.declaration {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.declaration-list {
  list-style: none;
  max-width: 720px;
  margin-top: 2.5rem;
}

.declaration-list li {
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid var(--paper-edge);
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}

.declaration-list li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 1.4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold-deep);
  letter-spacing: 0.05em;
}

.declaration-list li:last-child { border-bottom: none; }

/* ---------- Publication List ---------- */
.pub-list {
  list-style: none;
  margin-top: 2rem;
}

.pub-list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--paper-edge);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.pub-list li:last-child { border-bottom: none; }

.pub-year {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold-deep);
  letter-spacing: 0.05em;
  padding-top: 0.25rem;
}

.pub-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pub-meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.pub-meta em { color: var(--gold-deep); font-style: italic; }

@media (max-width: 600px) {
  .pub-list li { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------- Essay/Research Card List ---------- */
.essay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.essay-card {
  padding: 2rem;
  background: var(--paper-warm);
  border-left: 2px solid var(--gold);
  transition: all 0.35s var(--ease);
}

.essay-card:hover {
  background: var(--paper);
  border-left-color: var(--ink);
  transform: translateX(4px);
}

.essay-card .eyebrow { margin-bottom: 1rem; display: block; font-size: 0.65rem; }
.essay-card .eyebrow::before { display: none; }

.essay-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.essay-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.essay-card-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-top: 1rem;
  display: inline-block;
}

@media (max-width: 700px) {
  .essay-grid { grid-template-columns: 1fr; }
}

/* ---------- Speaking/Media item list ---------- */
.media-list {
  list-style: none;
  margin-top: 2rem;
}

.media-list li {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--paper-edge);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 2rem;
  align-items: center;
  transition: padding 0.3s var(--ease);
}

.media-list li:hover { padding-left: 0.75rem; }
.media-list li:last-child { border-bottom: none; }

.media-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
}

.media-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
}

.media-source {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: block;
  margin-top: 0.35rem;
  font-style: italic;
}

.media-arrow {
  font-family: var(--font-mono);
  color: var(--gold-deep);
  font-size: 1.25rem;
}

@media (max-width: 700px) {
  .media-list li { grid-template-columns: 1fr; gap: 0.5rem; }
  .media-arrow { display: none; }
}

/* ---------- Featured In strip (press outlets) ---------- */
.featured-in {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--paper-edge);
}

.featured-in-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
}

.featured-in-outlets {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.75rem;
  align-items: center;
}

.featured-in-outlets span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  position: relative;
  padding-right: 2.75rem;
  font-variation-settings: "opsz" 144;
}

.featured-in-outlets span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.featured-in-outlets span:last-child { padding-right: 0; }
.featured-in-outlets span:last-child::after { display: none; }

.featured-in-outlets em {
  font-style: italic;
  font-size: 0.75em;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-left: 0.25em;
}

@media (max-width: 700px) {
  .featured-in-outlets { gap: 1rem 1.5rem; }
  .featured-in-outlets span { padding-right: 1.5rem; }
}

/* ---------- Contact Form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.contact-intro .lede { margin-bottom: 2rem; }

.contact-meta {
  border-top: 1px solid var(--paper-edge);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.contact-meta .meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--paper-edge);
  font-size: var(--fs-sm);
}

.contact-meta .meta-row:last-child { border-bottom: none; }

.contact-meta .meta-label {
  font-family: var(--font-mono);
  color: var(--gold-deep);
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.contact-meta .meta-value {
  color: var(--ink);
  font-weight: 500;
}

.contact-form {
  background: var(--paper-warm);
  padding: clamp(2rem, 4vw, 3rem);
  border-top: 2px solid var(--gold);
}

.form-group { margin-bottom: 1.75rem; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.form-group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%238F6A2E' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 2rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  border: 1px solid var(--rule);
  padding: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--ink); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-subtle); }

.contact-form .btn { width: 100%; justify-content: center; margin-top: 1rem; }

.form-note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--paper-edge);
  line-height: 1.5;
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: var(--ink);
  color: var(--paper);
  border-left: 3px solid var(--gold);
  margin-bottom: 1.5rem;
}

.form-success.visible { display: block; }

.form-success p { color: var(--paper); font-size: var(--fs-base); line-height: 1.55; }
.form-success strong { color: var(--gold-warm); font-weight: 600; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: var(--paper);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(212, 172, 107, 0.2);
}

.footer-brand h3 {
  color: var(--paper);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(248, 245, 238, 0.7);
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 36ch;
}

.footer-col h4 {
  color: var(--gold-warm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.75rem; }

.footer-col a {
  color: rgba(248, 245, 238, 0.8);
  font-size: var(--fs-sm);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover { color: var(--gold-warm); }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(248, 245, 238, 0.55);
  letter-spacing: 0.02em;
}

.footer-bottom-left { font-family: var(--font-mono); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Utility ---------- */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Accessible focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
