/* ═══════════════════════════════════════════════════════════════
   Rowena Pendragon — built page designs, 3 Aug 2026
   PROPOSAL. Nothing here has been applied to the live site.

   Palette A "Veil of Avalon" as deployed. Gilda Display + Crimson Pro
   + Cormorant Garamond, as deployed. What changes is the DESIGN:
   the nine items in DESIGN-HANDOFF.md §4, in leverage order.
═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette A — Veil of Avalon (unchanged) */
  --cream:      #FDFAF6;
  --bone:       #F5F0EC;
  --water:      #2A4B6E;
  --grove:      #1E4A4A;
  --blossom:    #ECCBC4;
  --sage:       #8BA49C;
  --violet:     #3B1A5E;
  --amethyst:   #B888F0;
  --silver:     #C8D5DC;
  --thread:     #C4A45E;   /* antique gold */
  --ink:        #2C3845;
  --wellspring: #00A99B;

  --sage-text:  #547065;
  --gold-text:  #8C6F28;
  --teal-text:  #17605A;

  /* ── OPEN QUESTION: link colour ──
     Grove teal by default. Put data-link="water" on <html> to swap the
     whole site to Water navy in one keystroke. */
  --link:       var(--teal-text);
  --link-rule:  var(--wellspring);
  --link-hover: var(--grove);

  --shadow-soft: 0 24px 60px -30px rgba(30, 74, 74, 0.45);
  --shadow-lift: 0 40px 90px -40px rgba(42, 75, 110, 0.55);
}

html[data-link="water"],
.link-water {
  --link:       #24527F;
  --link-rule:  #2A4B6E;
  --link-hover: #16324F;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── §4.6 · paper grain on the GROUND, not only in the pictures.
   One surface, page and picture printed together. ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ═══════════════════════════════════════════════
   TYPE — §4.5. Type is most of what separates
   "designed" from "templated", and it costs nothing.
═══════════════════════════════════════════════ */

.eyebrow {
  font-family: 'Crimson Pro', serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--thread);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--thread);
  flex: none;
}
.eyebrow--plain::before, .eyebrow--plain::after { display: none; }

.display {
  font-family: 'Gilda Display', serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.005em;
  color: var(--water);
}
.display--xl { font-size: clamp(3.4rem, 10.5vw, 8.5rem); }
.display--l  { font-size: clamp(2.8rem, 7.5vw, 5.6rem); line-height: 1.0; }
.display--m  { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; }
.display--s  { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.24; }

/* Rowena's own voice — always Cormorant italic, always a wider measure. */
.voice {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.5;
  color: var(--grove);
  letter-spacing: 0.005em;
}
.voice--pale { color: var(--blossom); }
.voice--sm { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.7; }

.prose p + p { margin-top: 1.15em; }
.prose em { font-style: italic; color: var(--water); }
.measure   { max-width: 36rem; }
.measure--wide { max-width: 44rem; }

/* Drop cap for long-form openings. */
.dropcap::first-letter {
  font-family: 'Gilda Display', serif;
  font-size: 4.6em;
  line-height: 0.78;
  float: left;
  margin: 0.06em 0.11em 0 0;
  color: var(--violet);
}

.lede { font-size: 1.16rem; line-height: 1.85; }

.link-inline {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid var(--link-rule);
  transition: color .2s, border-color .2s;
}
.link-inline:hover { color: var(--link-hover); border-color: var(--link-hover); }

/* Small-caps action link */
.action {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Crimson Pro', serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--link);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--link-rule);
  transition: color .25s, border-color .25s, gap .25s;
}
.action:hover { color: var(--link-hover); gap: 1.1rem; }
.action--pale { color: var(--blossom); border-bottom-color: rgba(236,203,196,.55); }
.action--pale:hover { color: #fff; border-bottom-color: var(--blossom); }
.action svg { width: 16px; height: 8px; }

.btn {
  display: inline-block;
  font-family: 'Crimson Pro', serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  background: var(--blossom);
  color: var(--grove);
  text-decoration: none;
  border-radius: 2px;
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
/* On a light ground the blossom button disappears. This is the light-ground one. */
.btn--dark { background: var(--grove); color: var(--cream); }

/* ═══════════════════════════════════════════════
   MOTIF SYSTEM — §4.3
   Image Bible §8.8 already assigns the meanings.
   triquetra   → Avalon, Rowena, Earth
   flower      → Zemiya
   spiral      → creation, the Dance
   stone ring  → thresholds, portals, crossings
═══════════════════════════════════════════════ */

.motif { display: block; fill: none; stroke: currentColor; }
.motif--sigil  { width: 74px;  height: 74px; margin: 0 auto 1.6rem; color: var(--thread); opacity: .92; }
.motif--rule   { width: 40px;  height: 40px; color: var(--thread); flex: none; }

/* Section divider: one fine rule with a centred motif. */
.divider {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  max-width: 460px;
  margin: 0 auto;
  color: var(--thread);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--silver), transparent);
}
.divider--dark::before, .divider--dark::after {
  background: linear-gradient(to right, transparent, rgba(196,164,94,.75), transparent);
}
.divider--left { margin: 0; max-width: 320px; }
.divider--left::before { display: none; }

/* The whisper behind a band — big, 4-6% opacity, never legible as a graphic. */
.watermark {
  position: absolute;
  pointer-events: none;
  color: var(--water);
  opacity: 0.055;
  width: min(70vw, 700px);
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.watermark--dark { color: var(--silver); opacity: 0.075; }
.watermark--right { left: auto; right: -14%; transform: translateY(-50%); }
.watermark--left  { left: -14%; transform: translateY(-50%); }

/* ═══════════════════════════════════════════════
   BOTANICAL EDGE FRAMING — §4.4
   The specific thing that made the lavender mockup read as a
   brand rather than as stock art. Line only, at the margins.
═══════════════════════════════════════════════ */
.sprig {
  position: absolute;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  color: var(--grove);
  opacity: 0.30;
  width: 140px;
  z-index: 1;
}
.sprig--tl { top: -10px;  left: 1.5vw; }
.sprig--tr { top: -10px;  right: 1.5vw; transform: scaleX(-1); }
.sprig--bl { bottom: -10px; left: 1.5vw; transform: scaleY(-1); }
.sprig--br { bottom: -10px; right: 1.5vw; transform: scale(-1); }
.sprig--pale { color: var(--blossom); opacity: .34; }
.sprig--gold { color: var(--thread); opacity: .42; }

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem clamp(1.25rem, 4vw, 3.5rem);
}
.nav--solid { position: relative; background: var(--water); }

.nav-brand { text-decoration: none; display: block; }
.nav-brand-name {
  font-family: 'Gilda Display', serif;
  font-size: 1.18rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  display: block;
  line-height: 1.15;
}
.nav-brand-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  color: var(--blossom);
  display: block;
  opacity: .9;
}
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a {
  font-family: 'Crimson Pro', serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253,250,246,.86);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--blossom); }
.nav-subscribe {
  border: 1px solid rgba(236,203,196,.6);
  border-radius: 999px;
  padding: .45rem 1.25rem;
  color: var(--blossom) !important;
  transition: background .25s !important;
}
.nav-subscribe:hover { background: rgba(236,203,196,.14); }

/* ═══════════════════════════════════════════════
   BANDS
═══════════════════════════════════════════════ */
.band { position: relative; padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem); }
.band--tight { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.band--bone  { background: var(--bone); }
.band--grove { background: var(--grove); color: #DCE7E4; }
.band--violet{ background: var(--violet); color: #DED2ED; }
.band--water { background: var(--water); color: #D9E3EC; }
.band--ink   { background: var(--ink);   color: #D2DBE2; }

.on-dark .display, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--blossom); }
.on-dark .eyebrow { color: #F4E1D9; }
.on-dark .eyebrow::before, .on-dark .eyebrow::after { background: rgba(236,203,196,.65); }
.on-dark .prose em { color: var(--blossom); }
.on-dark .voice { color: var(--blossom); }
.on-dark .action { color: var(--blossom); border-bottom-color: rgba(236,203,196,.5); }
.on-dark .action:hover { color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; position: relative; z-index: 3; }
.wrap--narrow { max-width: 820px; }
.wrap--wide   { max-width: 1340px; }

/* ═══════════════════════════════════════════════
   IMAGE TREATMENTS — §4.7 arch + roundel masks,
   §4.2 scale variation, §4.8 layering
═══════════════════════════════════════════════ */
.fig { position: relative; }
.fig img { width: 100%; height: 100%; object-fit: cover; }

/* Round-headed arch. The art keeps producing arched windows;
   the container should pick that up rather than fight it. */
.arch {
  border-radius: 50% 50% 4px 4px / 34% 34% 4px 4px;
  overflow: hidden;
}
.roundel { border-radius: 50%; overflow: hidden; aspect-ratio: 1; }
.softbox { border-radius: 3px; overflow: hidden; }

.framed { box-shadow: var(--shadow-soft); }
.framed--lift { box-shadow: var(--shadow-lift); }
/* A hairline gold keyline, 1px, inside the crop. */
.keyline::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,164,94,.55);
  border-radius: inherit;
  pointer-events: none;
}

.bleed-full {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.pull-up { margin-top: clamp(-7rem, -8vw, -3.5rem); }
.push-down { margin-bottom: clamp(-7rem, -8vw, -3.5rem); }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
/* Rachel 4 Aug: "the font here is huge and it feels crowded with the nav bar.
   There should be more room at the top." Three changes, not one — the title
   came down a size, the block sits lower in the frame, and the sigil moved
   clear of the nav. */
.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  z-index: 1;                 /* the scrims are z-index 2 — without this the
                                 image paints over them and every header washes out */
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
/* Three scrims, each doing one job: legibility at the top for the nav,
   a diagonal anchor under the title, and a thin dissolve into the cream
   ground at the very bottom so the band edge is a veil, not a cut. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(120% 80% at 6% 100%, rgba(14,32,29,.80) 0%, rgba(14,32,29,.40) 42%, transparent 74%),
    linear-gradient(180deg, rgba(42,75,110,.66) 0%, rgba(42,75,110,.10) 26%, transparent 48%),
    linear-gradient(180deg, transparent 42%, rgba(16,36,33,.42) 68%, rgba(16,36,33,.72) 92%, rgba(16,36,33,.58) 100%);
}
.hero-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(4.5rem, 10vw, 8rem);
}
.hero-title {
  font-family: 'Gilda Display', serif;
  font-size: clamp(2.7rem, 7.4vw, 6.1rem);
  line-height: 0.98;
  color: var(--cream);
  text-shadow: 0 6px 40px rgba(23,45,40,.55);
}
/* Rachel 5 Aug: "Make everything left aligned." The second line no longer
   steps in — both lines flush left, and the sigil moved into the content
   column (see markup) so it sits above the title on the same left edge. */
.hero-title span { display: block; }
/* Qualified by .hero so it beats the base .hero-sigil absolute rule that
   appears later in the file (same specificity would otherwise lose). */
.hero .hero-sigil--inline { position: static; transform: none; margin: 0 0 1.5rem; left: auto; top: auto; }
.hero-tagline {
  margin-top: 1.8rem;
  max-width: 30rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
  color: #EEF3F2;
  text-shadow: 0 2px 18px rgba(23,45,40,.6);
}
.hero-actions { margin-top: 2.4rem; display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.hero-sigil {
  position: absolute;
  top: clamp(8.5rem, 16vw, 13rem);
  left: 50%;
  transform: translateX(-50%);
  width: 58px; height: 58px;
  color: var(--blossom);
  opacity: .85;
  z-index: 3;
  fill: none; stroke: currentColor;
}

/* Page header — same idea, shorter. */
.pagehead { position: relative; min-height: min(74vh, 660px); display: flex; align-items: flex-end; overflow: hidden; }
.pagehead .hero-img { object-position: center 50%; }
.pagehead::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(125% 85% at 4% 100%, rgba(14,32,29,.84) 0%, rgba(14,32,29,.44) 44%, transparent 76%),
    linear-gradient(180deg, rgba(42,75,110,.70) 0%, rgba(42,75,110,.14) 32%, transparent 54%),
    linear-gradient(180deg, transparent 34%, rgba(16,36,33,.46) 62%, rgba(16,36,33,.76) 90%, rgba(16,36,33,.62) 100%);
}
/* Lighter scrim for an already-dark header image (the Archive), so it isn't muddied.
   Rachel 5 Aug: "lighten at least the archive scrim, it's too much." */
.pagehead--light-scrim::before {
  background:
    radial-gradient(120% 78% at 4% 100%, rgba(14,32,29,.48) 0%, rgba(14,32,29,.18) 48%, transparent 80%),
    linear-gradient(180deg, transparent 48%, rgba(16,36,33,.32) 78%, rgba(16,36,33,.54) 100%);
}
.pagehead-inner {
  position: relative; z-index: 4;
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(3.5rem, 7vw, 6rem);
}
.pagehead .eyebrow { color: var(--blossom); }
.pagehead .eyebrow::before, .pagehead .eyebrow::after { background: rgba(236,203,196,.7); }
.pagehead-title {
  font-family: 'Gilda Display', serif;
  font-size: clamp(2.9rem, 8.5vw, 6.4rem);
  line-height: 0.98;
  color: var(--cream);
  margin-top: 1.1rem;
  text-shadow: 0 6px 40px rgba(23,45,40,.5);
}
.pagehead-sub {
  margin-top: 1.2rem;
  max-width: 34rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: #EDF2F1;
  text-shadow: 0 2px 16px rgba(23,45,40,.55);
}

/* ═══════════════════════════════════════════════
   THE WITNESS BAND — Rowena on the home page (§4.9)
═══════════════════════════════════════════════ */
/* Rachel 4 Aug on the portrait: "this is too big!" — she now takes about a
   third of the band rather than half, and is capped in absolute pixels so she
   cannot grow again on a wide screen. She still breaks the top edge, just by
   less. */
.witness {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.witness-portrait { position: relative; }
.witness-portrait img {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  display: block;
  /* She breaks the band. Bottom-aligned, top bleeding past the padding. */
  margin-top: clamp(-7rem, -7vw, -2.5rem);
  filter: drop-shadow(0 34px 50px rgba(30,74,74,.26));
}
.witness-portrait .disc {
  position: absolute;
  left: 50%; bottom: 8%;
  transform: translateX(-50%);
  width: min(112%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(184,136,240,.42), rgba(236,203,196,.30) 52%, rgba(236,203,196,.10) 68%, transparent 78%);
  z-index: -1;
}
.witness-caption {
  margin-top: 1.4rem;
  text-align: center;
  font-family: 'Crimson Pro', serif;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sage-text);
  line-height: 2;
}
.witness-body { padding-bottom: clamp(1rem, 3vw, 3rem); }

/* ═══════════════════════════════════════════════
   THE THREE DOORS — §4.2 deliberate scale variation.
   Not a card grid. One large, one arched, one roundel.
═══════════════════════════════════════════════ */
.doors {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.door { position: relative; text-decoration: none; display: block; color: inherit; }
.door .fig { overflow: hidden; }
.door img { transition: transform 1.1s cubic-bezier(.2,.7,.3,1); }
.door:hover img { transform: scale(1.045); }
.door-label {
  font-family: 'Crimson Pro', serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: .55rem;
}
.door-title { font-family: 'Gilda Display', serif; color: var(--water); line-height: 1.1; }
.door-text { margin-top: .8rem; color: var(--ink); }
.door .action { margin-top: 1.35rem; }

/* 1 — the big one, image with the text panel lapping over its corner */
.door--major { grid-column: 1 / span 7; }
.door--major .fig { aspect-ratio: 16 / 10; }
.door--major .door-body {
  position: relative;
  z-index: 3;
  background: var(--cream);
  margin: -4.5rem 2.5rem 0 -1.5rem;
  padding: 2.1rem 2.2rem 1.9rem;
  box-shadow: var(--shadow-soft);
}
.door--major .door-title { font-size: clamp(2rem, 3.4vw, 2.8rem); }

/* 2 — the arch, tall and narrow. Rachel 4 Aug: "Is this all supposed to be
   staggered like this? right now it doesn't look intentional." It was a free
   stagger and she is right that it read as an accident. Fixed by giving the
   two big doors a SHARED TOP EDGE — they still differ in width, height and
   crop, so the scale variation survives, but the difference now reads as
   hierarchy instead of drift. */
.door--arch { grid-column: 8 / span 5; margin-top: 0; }
.door--arch .fig { aspect-ratio: 3 / 4.1; }
.door--arch .door-title { font-size: clamp(1.6rem, 2.4vw, 2.05rem); margin-top: 1.5rem; }

/* 3 — the third door is a different KIND of thing (a newsletter, not a place),
   so it becomes a full-width strip under a hairline rather than a third card
   floating at its own height. Deliberately the smallest picture on the page. */
.door--minor {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(1.75rem, 3vw, 2.75rem);
  border-top: 1px solid rgba(138,164,156,.45);
}
.door--minor .fig { width: 170px; }
.door--minor .door-title { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.door--minor .door-text { max-width: 46rem; }

/* ═══════════════════════════════════════════════
   PORTALS — "Enter the world", three ways in.
   Rachel 5 Aug: the staggered/mixed-shape doors read as unintentional.
   The intention is three doorways of EQUAL weight — Zemiya, the Archive,
   the Books — so the treatment is a deliberate triptych: three identical
   arches. Uniform on purpose, and the arch is the site's threshold motif,
   so it does not read as a plain catalogue grid.
═══════════════════════════════════════════════ */
.portals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.2vw, 3rem);
  align-items: start;
}
.portal { text-decoration: none; color: inherit; display: block; text-align: center; }
.portal .fig { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 3rem; }
.portal .fig img { transition: transform 1.1s cubic-bezier(.2,.7,.3,1); }
.portal:hover .fig img { transform: scale(1.045); }
.portal-label {
  font-family: 'Crimson Pro', serif;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .55rem;
}
.portal-title { font-family: 'Gilda Display', serif; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--water); line-height: 1.15; }
.portal-text { margin-top: .8rem; color: var(--ink); }
.portal .action { margin-top: 1.35rem; }

/* ═══════════════════════════════════════════════
   QUOTE BAND — the object image inset small, breaking the edge
═══════════════════════════════════════════════ */
.quoteband { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.72fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.quoteband .fig { box-shadow: 0 36px 70px -34px rgba(0,0,0,.75); }
.quote-attr {
  margin-top: 1.8rem;
  font-family: 'Crimson Pro', serif;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blossom);
  opacity: .85;
}

/* ═══════════════════════════════════════════════
   SUBSCRIBE BAND
═══════════════════════════════════════════════ */
.subscribe { position: relative; overflow: hidden; text-align: center; padding-block: clamp(5rem, 10vw, 9rem); }
.subscribe-img {
  position: absolute; inset: -2%;
  z-index: 1;
  width: 104%; height: 104%;
  object-fit: cover;
  opacity: .55;
  filter: blur(2px);
}
.subscribe::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(30,74,74,.58), rgba(30,74,74,.86) 72%),
    linear-gradient(180deg, rgba(20,52,52,.72), rgba(30,74,74,.68));
}
.subscribe .wrap { max-width: 640px; }
.form-row { display: flex; max-width: 430px; margin: 2.2rem auto 0; }
.form-row input {
  flex: 1;
  padding: .95rem 1.1rem;
  font-family: 'Crimson Pro', serif;
  font-size: .95rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(200,213,220,.38);
  border-right: none;
  border-radius: 2px 0 0 2px;
  color: var(--cream);
  outline: none;
}
.form-row input::placeholder { color: rgba(200,213,220,.45); font-style: italic; }
.form-row button {
  padding: .95rem 1.6rem;
  background: var(--blossom);
  color: var(--grove);
  border: none;
  border-radius: 0 2px 2px 0;
  font-family: 'Crimson Pro', serif;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}
.form-note {
  margin-top: 1.1rem;
  font-size: .78rem;
  letter-spacing: .12em;
  color: rgba(216,231,228,.8);
}

/* ── Light subscribe ──
   Rachel 5 Aug: "Three dark jewel tones together aren't great."
   The home bottom ran violet → grove → ink. This makes the subscribe
   band light with a real image beside it, so the run breaks and the
   section she asked to lift gets an image at the same time. */
.subscribe-light { background: var(--bone); }
.subscribe-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,6vw,5rem); align-items: center; }
.subscribe-split .fig { border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-soft); }
.subscribe-light .form-note { color: var(--sage-text); }
.form-row--light input {
  background: #fff;
  border: 1px solid rgba(138,164,156,.6);
  border-right: none;
  color: var(--ink);
}
.form-row--light input::placeholder { color: rgba(84,112,101,.6); }
.form-row--light button { background: var(--grove); color: var(--cream); }
@media (max-width: 900px) { .subscribe-split { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   EDITORIAL SPLIT — used on Zemiya / About / Chronicle
═══════════════════════════════════════════════ */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
.split--wide-right { grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); }
.split--top { align-items: start; }

/* The Age panel — the ordinal is the graphic. */
.age { position: relative; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(2rem,5vw,4.5rem); align-items: center; }
/* The Age panel, bled: the picture runs off the left edge of the page.
   §4.2 — if nothing breaks its container, nothing on the page has weight. */
.age--bleed { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; }
.age--bleed > .fig { height: clamp(380px, 46vw, 640px); border-radius: 0 4px 4px 0; overflow: hidden; }
.age-text { padding-right: clamp(1.25rem, 5vw, 4rem); max-width: 42rem; }
.age-ordinal {
  font-family: 'Gilda Display', serif;
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: .8;
  color: var(--blossom);
  opacity: .9;
}
.age-name { font-family: 'Gilda Display', serif; font-size: clamp(1.7rem, 3vw, 2.6rem); color: var(--blossom); margin-top: .6rem; }
.age-date {
  font-family: 'Crimson Pro', serif;
  font-size: .74rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(236,203,196,.8);
  margin-top: .9rem;
}

/* ═══════════════════════════════════════════════
   LEDGER (About "at a glance") — a ruled record, not cards
═══════════════════════════════════════════════ */
.ledger { border-top: 1px solid rgba(138,164,156,.4); }
.ledger-row {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(138,164,156,.28);
}
.ledger-key {
  font-family: 'Crimson Pro', serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-text);
  padding-top: .35rem;
}
.ledger-val { font-size: 1rem; line-height: 1.7; }

/* ═══════════════════════════════════════════════
   DISPATCH LIST (Chronicle "what arrives") —
   alternating sizes so it is not four equal rectangles
═══════════════════════════════════════════════ */
.dispatch { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 3.5vw, 3.5rem); align-items: start; }
.dis { position: relative; }
.dis .fig { overflow: hidden; margin-bottom: 1.2rem; height: clamp(210px, 24vw, 320px); }
.dis-label {
  font-family: 'Crimson Pro', serif;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .5rem;
}
.dis-title { font-family: 'Gilda Display', serif; color: var(--water); font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.2; margin-bottom: .6rem; }
.dis--a { grid-column: 1 / span 7; }
.dis--b { grid-column: 8 / span 5; }
.dis--c { grid-column: 1 / span 5; }
.dis--d { grid-column: 6 / span 7; }

/* ═══════════════════════════════════════════════
   BOOKS
═══════════════════════════════════════════════ */
.status-tag {
  display: inline-block;
  font-family: 'Crimson Pro', serif;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-text);
  border: 1px solid rgba(196,164,94,.6);
  border-radius: 999px;
  padding: .4rem 1.1rem;
}
.on-dark .status-tag { color: var(--blossom); border-color: rgba(236,203,196,.5); }
.on-dark .entry-status { color: rgba(236,203,196,.72); }
.on-dark .later-num { color: rgba(236,203,196,.32); }
.on-dark .later-title { color: var(--blossom); }
.on-dark .dis-label { color: #F4E1D9; }
.on-dark .ledger-key { color: #F4E1D9; }
.on-dark .ledger-val { color: #DCE7E4; }
.on-dark .ledger-row { border-color: rgba(236,203,196,.22); }
.on-dark .ledger { border-color: rgba(236,203,196,.34); }

.premise p + p { margin-top: 1.2em; }
.premise .voice { margin: 2rem 0; }

/* ── The three doors into ACORAS ──
   Rachel's ruling is that any of the three is a valid way in, so they get
   EQUAL weight — no ordering, no first-among-equals. The label is a pill
   rather than a numeral because "Start here" is three words where "P·I" was
   two characters (SITE-REWRITE-FINDINGS 2026-08-03, item 6). */
.entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.entry { position: relative; }
.entry .fig { aspect-ratio: 2 / 3; overflow: hidden; margin-bottom: 1.3rem; }
.entry .fig img { transition: transform 1.1s cubic-bezier(.2,.7,.3,1); }
.entry:hover .fig img { transform: scale(1.04); }
.entry-title {
  font-family: 'Gilda Display', serif;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  color: var(--water);
  line-height: 1.22;
  margin: .8rem 0 .65rem;
}
.entry-status {
  display: block;
  margin-top: 1rem;
  font-family: 'Crimson Pro', serif;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage-text);
}

/* ── The two that follow, in order ──
   Quieter by design: a ghosted numeral instead of a plate, so the page
   teaches the structure — three ways in, then a sequence. */
.later {
  border-top: 1px solid rgba(138,164,156,.45);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}
.later-item { display: grid; grid-template-columns: 74px 1fr; gap: 1.4rem; align-items: start; }
.later-num {
  font-family: 'Gilda Display', serif;
  font-size: 3.6rem;
  line-height: .78;
  color: rgba(42,75,110,.26);
}
.later-title { font-family: 'Gilda Display', serif; font-size: 1.3rem; color: var(--water); line-height: 1.25; margin-bottom: .5rem; }

/* ═══════════════════════════════════════════════
   THE ARCHIVE — "the one dark room in a light house."
   Decided 3 Aug: darkness is an accent for a specific PLACE,
   never the house default. So this page alone runs dark, and the
   documents inside it sit on the light ground the rest of the site uses.
═══════════════════════════════════════════════ */
.doc {
  background: var(--cream);
  border-radius: 3px;
  padding: clamp(2rem, 4vw, 3.75rem);
  box-shadow: 0 44px 100px -44px rgba(0,0,0,.85);
  position: relative;
}
.doc::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(196,164,94,.5);
  border-radius: inherit;
  pointer-events: none;
}
.doc-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  font-family: 'Crimson Pro', serif;
  font-size: .66rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.doc-title { font-family: 'Gilda Display', serif; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.15; }
.doc-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.05rem;
  margin: .55rem 0 1.9rem;
}
/* The card keeps its own light ground inside the dark band, so the
   .on-dark text overrides must not reach into it. */
.on-dark .doc, .on-dark .doc p { color: var(--ink); }
.on-dark .doc .doc-title { color: var(--water); }
.on-dark .doc .doc-meta { color: var(--gold-text); }
.on-dark .doc .doc-sub { color: var(--sage-text); }
.on-dark .doc em { color: var(--water); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer { background: var(--ink); color: #C6D2DA; padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem) 3rem; text-align: center; position: relative; border-top: 1px solid rgba(196,164,94,.4); }
.footer .motif--sigil { color: var(--thread); opacity: .75; }
.footer-name { font-family: 'Gilda Display', serif; font-size: 1.2rem; color: var(--blossom); letter-spacing: .05em; }
.footer-tag { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: .92rem; color: var(--silver); opacity: .85; margin-top: .3rem; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.8rem; list-style: none; margin: 2.2rem 0; }
.footer-nav a { font-family: 'Crimson Pro', serif; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(200,213,220,.8); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--blossom); }
.footer-copy { font-size: .74rem; letter-spacing: .1em; color: rgba(200,213,220,.55); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .nav-links li:not(:last-child) { display: none; }
  .witness { grid-template-columns: 1fr; }
  .witness-portrait img { margin-top: 0; max-width: 380px; margin-inline: auto; }
  .doors { grid-template-columns: 1fr; }
  .door--major, .door--arch, .door--minor { grid-column: 1 / -1; margin-top: 0; }
  .door--major .door-body { margin: -2.5rem 1rem 0 1rem; }
  .door--arch .fig { aspect-ratio: 3/3.4; }
  .door--minor { grid-template-columns: 150px 1fr; }
  .door--minor .fig { width: 150px; }
  .quoteband, .split, .split--wide-left, .split--wide-right, .age, .age--bleed { grid-template-columns: 1fr; }
  .age--bleed > .fig { height: 300px; }
  .age-text { padding-inline: clamp(1.25rem, 5vw, 4rem); }
  .portals { grid-template-columns: 1fr; gap: 2.5rem; max-width: 24rem; margin: 0 auto; }
  .entries { grid-template-columns: 1fr; gap: 2.5rem; }
  .entry .fig { aspect-ratio: 16/10; }
  .later { grid-template-columns: 1fr; gap: 2rem; }
  .dispatch { grid-template-columns: 1fr; }
  .dis--a, .dis--b, .dis--c, .dis--d { grid-column: 1 / -1; }
  .dis .fig { height: clamp(200px, 52vw, 300px); }
  .sprig { width: 90px; opacity: .2; }
  .ledger-row { grid-template-columns: 1fr; gap: .3rem; }
}

/* ═══════════════════════════════════════════════
   PHASE 1 — functional pass (2026-08-08)
   Visible keyboard focus, working signup forms, and a
   mobile menu. All additive; nothing above was changed.
═══════════════════════════════════════════════ */

/* ── Visible keyboard focus, site-wide ──
   Colour follows the ground: grove on the light body, blossom
   on the dark bands and over hero imagery. Mouse clicks don't
   show it (that is :focus-visible's job), so the look is untouched
   for pointer users. */
:focus-visible { outline: 2px solid var(--grove); outline-offset: 3px; border-radius: 2px; }
.nav :focus-visible,
.hero :focus-visible,
.pagehead :focus-visible,
.footer :focus-visible,
.on-dark :focus-visible,
.band--grove :focus-visible,
.band--violet :focus-visible,
.band--water :focus-visible,
.band--ink :focus-visible { outline-color: var(--blossom); }

/* The email inputs set outline:none — give them a clear focus state back. */
.form-row input:focus-visible { outline: 2px solid var(--blossom); outline-offset: 2px; border-color: var(--blossom); }
.form-row--light input:focus-visible { outline-color: var(--grove); border-color: var(--grove); }

/* ── Visually-hidden input labels (read by AT, invisible on screen) ── */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Honeypot: off-screen, never shown, never a tab stop ── */
.eo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Signup form: busy + confirmation/error message ── */
.eo-form.is-busy button { opacity: .6; cursor: default; }
.form-status {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.05rem; line-height: 1.5;
  max-width: 32rem;
}
.form-status--ok  { color: var(--teal-text); }
.form-status--err { color: #A6432F; }
.on-dark .form-status--ok, .subscribe .form-status--ok  { color: var(--blossom); }
.on-dark .form-status--err, .subscribe .form-status--err { color: #F0B7AC; }

/* ── Larger interaction areas on the small-caps links.
   Padding grows the hit area; the visible type is unchanged. ── */
.nav-links a { padding: .5rem .1rem; }
.footer-nav a { padding: .4rem .2rem; }

/* ═══════════════════════════════════════════════
   MOBILE MENU — the toggle is injected by motifs.js so all
   pages stay in one source. Hidden ≥ 900px.
═══════════════════════════════════════════════ */
.nav-toggle {
  display: none; flex: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  color: var(--blossom); -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 1.5px;
  background: currentColor; transition: transform .2s ease, background .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { content: ""; position: absolute; top: -7px; left: 0; }
.nav-toggle-bars::after  { content: ""; position: absolute; top: 7px;  left: 0; }
.nav.is-open .nav-toggle-bars { background: transparent; }
.nav.is-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; row-gap: .4rem; }
  .nav-toggle { display: inline-flex; order: 3; }
  /* Closed: brand + Subscribe pill + toggle on one row (the base rule keeps
     only the last child — Subscribe — visible). Open: the full menu drops
     down as a legible water panel. */
  .nav.is-open { background: var(--water); box-shadow: var(--shadow-soft); }
  .nav.is-open .nav-links {
    order: 4; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: .5rem -0.5rem 0;
  }
  .nav.is-open .nav-links li,
  .nav.is-open .nav-links li:not(:last-child) { display: block; }
  .nav.is-open .nav-links a { display: block; padding: .95rem .5rem; border-top: 1px solid rgba(236,203,196,.16); }
  .nav.is-open .nav-subscribe { border: 0; border-top: 1px solid rgba(236,203,196,.16); border-radius: 0; color: var(--blossom) !important; }
}

/* ── Skip-to-content link (injected by motifs.js; visible only on focus) ── */
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 200;
  background: var(--cream); color: var(--grove);
  padding: .6rem 1.15rem; border-radius: 2px;
  font-family: 'Crimson Pro', serif; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  box-shadow: var(--shadow-soft); transition: top .18s ease;
}
.skip-link:focus { top: 1rem; }
[id="main"]:focus { outline: none; }   /* the target is a scroll anchor, not a focus ring */

/* ── Respect reduced-motion preferences ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
