/* ==========================================================================
   Writers International Edition — Core Stylesheet
   Design concept: "The Open Book" — the site is typeset like a fine
   literary edition. Chapters instead of sections, a folio (page number)
   that advances as you scroll, a table-of-contents overlay in place of a
   generic menu, and drop caps on opening paragraphs.
   ========================================================================== */

/* -------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------- Tokens --------------------------------- */
:root {
  /* Color */
  --ivory: #FAF6EF;
  --paper: #FFFDF9;
  --charcoal: #262220;
  --charcoal-soft: #5B534C;
  --navy: #0B1F3A;
  --navy-deep: #141D33;
  --gold: #A9812F;
  --gold-light: #C9A659;
  --burgundy: #6E2530;
  --border: rgba(38, 34, 32, 0.13);
  --border-invert: rgba(250, 246, 239, 0.18);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Cormorant Garamond", serif;
  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: clamp(1.5rem, 5vw, 3.5rem);
  --section-pad: clamp(4rem, 9vw, 8rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Scroll offset so anchored sections aren't hidden under sticky header ---- */
.chapter[id] { scroll-margin-top: 90px; }

/* ---- Main nav ---- */
.nav-main {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
}

.mobile-menu-btn {
  display: flex;
  margin-left: auto;
}
@media (min-width: 860px) {
  .nav-main { display: flex; }
  .mobile-menu-btn { display: none; }
}

.nav-drop { position: relative; }
.nav-drop__trigger {
  display: flex; align-items: center; gap: 0.35rem;
  font: inherit; cursor: pointer;
}
.nav-drop__trigger::after {
  content: "▾"; font-size: 0.7em; opacity: 0.6;
}
.nav-drop__panel {
  position: absolute; top: 100%; left: 0; margin-top: 0; padding-top: 0.75rem;
  background: var(--paper); border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(38,34,32,0.12);
  min-width: 200px; padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-drop.is-open .nav-drop__panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .nav-drop:hover .nav-drop__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav-drop__panel a {
  display: block; padding: 0.6rem 1.1rem; white-space: nowrap;
}
.nav-drop__panel a:hover { background: var(--ivory); color: var(--navy); }

/* ---- Mobile menu button + stacked panel ---- */

.mobile-menu-btn .lines {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-btn .lines span {
  width: 20px;
  height: 1.5px;
  background: var(--ivory);
  display: block;
}

@media (max-width: 859px) {
  .nav-main.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; inset: 0; top: 72px;
    background: var(--ivory); padding: 2rem var(--gutter);
    overflow-y: auto; z-index: 40;
  }
  .nav-main.is-open .nav-drop__panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; margin-top: 0.25rem; padding-left: 1rem;
    display: none;
  }
  .nav-main.is-open .nav-drop.is-open .nav-drop__panel { display: block; }
}

/* ------------------------------ Base type -------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

p.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--charcoal-soft);
  max-width: 62ch;
}

::selection { background: var(--gold-light); color: var(--navy-deep); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ------------------------------ Layout ----------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.chapter {
  padding-block: var(--section-pad);
  position: relative;
}

.chapter--rule-top { border-top: 1px solid var(--border); }
.chapter--navy { background: var(--navy); color: var(--ivory); }
.chapter--navy h1, .chapter--navy h2, .chapter--navy h3 { color: var(--ivory); }
.chapter--navy .eyebrow { color: var(--gold-light); }
.chapter--navy .eyebrow::before { background: var(--gold-light); }
.chapter--paper { background: var(--paper); }

.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.chapter-head .folio-mark {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.chapter-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

/* --------------------------- Skip link (a11y) ----------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.7rem 1.2rem;
  border-radius: 3px;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* -------------------------------- Header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0B1F3A;      /* solid, no rgba/alpha */
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.35);}

.site-header .container.site-header__bar {
  max-width: none;
  margin-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.15rem;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand__mark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.brand__sub {
  font-family: var(--font-mono);   /* was: var(--font-mono) */
  
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.site-header .brand__mark { color: var(--ivory); }
.site-header .brand__sub { color: var(--gold-light); }

.nav-main > a,
.nav-drop__trigger { color: var(--ivory); }

.nav-drop__trigger::after { color: var(--gold-light); }

.header-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.folio-indicator {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--charcoal-soft);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.folio-indicator strong { color: var(--gold); font-weight: 600; }

.nav-inline {
  display: none;
  gap: 1.75rem;
  font-size: 0.92rem;
}

.nav-inline a {
  position: relative;
  padding-bottom: 3px;
}

.nav-inline a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.28s var(--ease);
}

.nav-inline a:hover::after,
.nav-inline a[aria-current="page"]::after { right: 0; }

.contents-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contents-btn:hover { background: var(--charcoal); color: var(--ivory); }

.contents-btn .lines { display: inline-flex; flex-direction: column; gap: 3px; }
.contents-btn .lines span { width: 14px; height: 1px; background: currentColor; display: block; }

/* --------------------------- Table of Contents overlay --------------------- */
.toc-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  color: var(--ivory);
  z-index: 500;
  display: flex;
  flex-direction: column;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}

.toc-overlay.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.toc-overlay__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem var(--gutter);
  border-bottom: 1px solid var(--border-invert);
}

.toc-overlay__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.toc-close {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-invert);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.toc-close:hover { background: rgba(250,246,239,0.08); }

.toc-body {
  flex: 1;
  overflow-y: auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter);
}

.toc-list {
  max-width: 760px;
  margin-inline: auto;
}

.toc-list li {
  border-bottom: 1px solid var(--border-invert);
}

.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.55rem);
}

.toc-list .toc-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-light);
  width: 2.4em;
  flex-shrink: 0;
}

.toc-list .toc-title { white-space: nowrap; }

.toc-list .toc-leader {
  flex: 1;
  border-bottom: 1px dotted rgba(250,246,239,0.35);
  margin: 0 0.5rem;
  height: 1px;
  transform: translateY(-0.4em);
}

.toc-list .toc-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(250,246,239,0.6);
  white-space: nowrap;
}

.toc-list a:hover .toc-title,
.toc-list a[aria-current="page"] .toc-title { color: var(--gold-light); }

body.toc-open { overflow: hidden; }

/* --------------------------------- Hero ----------------------------------- */
.hero {
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 8vw, 5rem);
  text-align: center;
}

.hero--navy {
  background: var(--navy);
  color: var(--ivory);
}
.hero--navy .eyebrow { color: var(--gold-light); }
.hero--navy h1 { color: var(--ivory); }
.hero--navy p.lede { color: rgba(250, 246, 239, 0.82); }

.hero__rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 18ch;
  margin-inline: auto;
}

.hero p.lede {
  margin: 1.75rem auto 0;
  text-align: left;
}

.hero__lede-wrap { display: flex; justify-content: center; }

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.hero-slider__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-slider__track::-webkit-scrollbar { display: none; }

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,31,58,0.94) 0%, rgba(11,31,58,0.78) 40%, rgba(11,31,58,0.35) 75%, rgba(11,31,58,0.25) 100%);
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-slide__content .eyebrow { color: var(--gold-light); }
.hero-slide__content h1 { color: var(--ivory); margin: 1rem 0 1.25rem; }
.hero-slide__content p.lede { color: rgba(250,246,239,0.85); margin-bottom: 2rem; }

/* Arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(250,246,239,0.4);
  background: rgba(11,31,58,0.4);
  color: var(--ivory);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.hero-slider__arrow:hover { background: rgba(11,31,58,0.75); }
.hero-slider__arrow--prev { left: 24px; }
.hero-slider__arrow--next { right: 24px; }

/* Dots */
.hero-slider__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(250,246,239,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s var(--ease), width .2s var(--ease);
}
.hero-slider__dot.is-active {
  background: var(--gold-light);
  border-color: var(--gold-light);
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .hero-slider__arrow { display: none; }
  .hero-slide__content { max-width: 90%; }
}

/* -------------------------------- Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.9rem 1.75rem;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--primary {
  background: var(--navy);
  color: var(--ivory);
  box-shadow: 0 1px 0 var(--gold);
}
.btn--primary:hover { background: var(--charcoal); transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--paper);
}
.btn--gold:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn--ghost:hover { background: var(--charcoal); color: var(--ivory); }

.btn--ghost-invert {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--border-invert);
}
.btn--ghost-invert:hover { background: rgba(250,246,239,0.1); }

.btn--sm { padding: 0.65rem 1.3rem; font-size: 0.82rem; }

/* ------------------------------ Drop caps --------------------------------- */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 4.4rem;
  float: left;
  line-height: 0.8;
  padding: 0.1em 0.1em 0 0;
  color: var(--gold);
  font-weight: 500;
}

/* ------------------------------ Two column -------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;   /* back to start */
}

.split__aside {
  margin-top: clamp(3rem, 6vw, 4.5rem);   /* nudges quote down to line up with the paragraph, not the eyebrow/heading */
}

/* ------------------------------ Quote block ------------------------------- */
.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

.chapter--navy .quote-block { color: var(--ivory); border-color: var(--gold-light); }

/* --------------------------------- Grids ---------------------------------- */
.grid {
  display: grid;
  gap: 1.75rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------- Cards ---------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(31, 45, 80, 0.28);
  border-color: transparent;
}

.card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.card h3 {
  font-size: 1.25rem;
  margin-top: 0.85rem;
  margin-bottom: 0.65rem;
}

.card p { color: var(--charcoal-soft); font-size: 0.95rem; }

/* ------------------------------ TOC-style list ----------------------------- */
.leader-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}

.leader-list .li-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  white-space: nowrap;
}

.leader-list .li-leader {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  height: 1px;
  transform: translateY(-0.4em);
}

.leader-list .li-note {
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  max-width: 34ch;
  text-align: right;
}

/* ------------------------------ Process steps ------------------------------ */
.process-list { counter-reset: step; }

.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--border-invert);
}

.chapter:not(.chapter--navy) .process-item { border-bottom-color: var(--border); }

.process-item__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-light);
  padding-top: 0.25rem;
}

.chapter:not(.chapter--navy) .process-item__num { color: var(--gold); }

.process-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.process-item p { font-size: 0.92rem; opacity: 0.85; }

/* -------------------------------- Stat band -------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat {
  border-top: 1px solid var(--border-invert);
  padding-top: 1.25rem;
}

.stat__figure {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--gold-light);
}

.stat__label {
  font-size: 0.85rem;
  color: rgba(250,246,239,0.72);
  margin-top: 0.35rem;
}

/* --------------------------------- CTA band -------------------------------- */
.cta-band {
  text-align: center;
}

.cta-band h2 { font-size: clamp(2rem, 5vw, 3.1rem); max-width: 20ch; margin-inline: auto; }

.cta-band .lines {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--charcoal-soft);
  margin: 1.5rem auto 0;
  max-width: 40ch;
}

.chapter--navy .cta-band .lines { color: rgba(250,246,239,0.75); }

/* ---- Book grid ---- */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.5rem 1.75rem;
}
.book-card__cover {
  aspect-ratio: 600 / 956;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(38,34,32,0.18);
  margin-bottom: 1rem;
}
.book-card__buy {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s var(--ease);
}
.book-card__buy:hover { color: var(--burgundy); }
.book-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-card__title { font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.25rem; }
.book-card__author { font-size: 0.88rem; color: var(--charcoal-soft); }
.book-card__genre {
  display: inline-block; margin-top: 0.4rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold);
}

/* ---- Author grid ---- */
.author-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2.5rem 1.75rem;
}
.author-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.author-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-card__name { font-size: 1.05rem; margin-bottom: 0.2rem; }
.author-card__country {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold);
}

/* ------------------------------- Coming soon -------------------------------- */
.coming-soon {
  border: 1px dashed var(--border);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  background: var(--paper);
}

.coming-soon .eyebrow { justify-content: center; margin-bottom: 1rem; }
.coming-soon h2 { max-width: 22ch; margin-inline: auto; }
.coming-soon p { max-width: 52ch; margin: 1rem auto 0; color: var(--charcoal-soft); }

.placeholder-card {
  aspect-ratio: 2 / 3;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--paper), var(--ivory));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--border);
}

.placeholder-card svg { width: 34%; opacity: 0.35; }

/* --------------------------------- Forms ----------------------------------- */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.field { margin-bottom: 1.5rem; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 0.55rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 0.65rem 0.15rem;
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.25s var(--ease);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
  outline: none;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.field--file {
  border: 1px dashed var(--border);
  padding: 1.25rem;
}
.field--file input { border: none; padding: 0; }

.form-note {
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.form-status {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--gold);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { border-color: var(--gold); background: rgba(169,129,47,0.08); }
.form-status.is-error { border-color: var(--burgundy); background: rgba(110,37,48,0.07); color: var(--burgundy); }

/* -------------------------------- FAQ -------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.faq-q .icon {
  font-family: var(--font-mono);
  color: var(--gold);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item[data-open="true"] .icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding-bottom: 1.5rem;
  color: var(--charcoal-soft);
  max-width: 68ch;
}

/* -------------------------------- Footer ------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250,246,239,0.82);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-invert);
}

.footer-brand .brand__mark { color: var(--ivory); font-size: 1.4rem; }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(250,246,239,0.6);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}

.footer-col ul li { margin-bottom: 0.7rem; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.8rem;
  color: rgba(250,246,239,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .colophon {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.credit__logo {
  height: 18px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ---------------------------- Scroll reveal --------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------ Decorative rule ------------------------------ */
.hr-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gold);
  margin-block: var(--section-pad);
}
.hr-ornament::before,
.hr-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
