/* ==========================================================================
   Woah Weddings: site styles
   Palette: veil paper, aubergine ink, garnet, gilt hairlines, six paper tones
   Type: Cormorant Garamond (display), Newsreader (text), Jost (small UI text)
   ========================================================================== */

:root {
  --veil: #FBF6F4;
  --ink: #241829;
  --ink-soft: #5E4D62;
  --garnet: #8C2346;
  --garnet-deep: #6E1A37;
  --gilt: #A8854D;
  --gilt-soft: #D2B887;
  --rule: rgba(36, 24, 41, .16);
  --rule-dark: rgba(251, 246, 244, .16);

  /* paper tones used by image fallbacks and section emblems */
  --blush: #F2DCD9;
  --rose: #EBCCD0;
  --lilac: #E4DAEA;
  --sage: #D8DFCE;
  --mist: #D9E2E9;
  --sea: #D0E2DC;

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-ui: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --f-text: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1376px;
  --pad: clamp(16px, 4vw, 56px);
  --gut: clamp(16px, 2vw, 28px);
  --section: clamp(64px, 8vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--veil);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .18s ease, text-decoration-color .18s ease; }
a:hover { color: var(--garnet); }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.005em;
  text-wrap: balance;
}
p, ul, ol, figure, blockquote { margin: 0; }
p, li, figcaption, blockquote { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--garnet); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--gilt-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section) 0; }
.section--flush { padding-top: 0; }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--ink); color: var(--veil); padding: 10px 16px; }
.nw { white-space: nowrap; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.topbar {
  display: flex; justify-content: flex-end; align-items: center; gap: 16px;
  padding-block: 14px 6px;
  font-family: var(--f-ui); font-weight: 400; font-size: .875rem; color: var(--ink-soft);
}
.topbar-note { font-family: var(--f-text); font-style: italic; font-size: .9375rem; }
.topbar-links { display: flex; gap: clamp(14px, 2vw, 26px); list-style: none; padding: 0; }
.topbar-links a { text-decoration: none; }
.topbar-links a:hover, .topbar-links a[aria-current] { color: var(--garnet); }

.masthead { text-align: center; padding-block: clamp(6px, 1.2vw, 14px) clamp(12px, 1.8vw, 24px); }
.masthead-title { margin: 0; font: inherit; }
.wordmark {
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark .wm { display: inline-block; }
.page-home .wordmark { font-size: clamp(3.2rem, 8.4vw, 7.8rem); letter-spacing: -.02em; padding-top: .02em; }
.page-home .masthead { padding-block: 0 clamp(14px, 1.8vw, 24px); }

.nav-inner {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(20px, 3.2vw, 48px);
  list-style: none; margin: 0; padding: 4px 0 clamp(8px, 1vw, 14px);
}
.nav-inner a {
  display: inline-block; padding-block: 6px;
  font-family: var(--f-ui); font-weight: 500; font-size: .9375rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  text-underline-offset: .5em; text-decoration-thickness: 1px;
}
.nav-inner a:hover { color: var(--garnet); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--garnet) 45%, transparent); }
.nav-inner a[aria-current] { color: var(--garnet); text-decoration: underline; text-decoration-color: var(--garnet); }

/* ---------- shared bits ---------- */
.cat { font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--garnet); display: flex; align-items: center; }
.cat a { text-decoration: none; }
.cat a:hover { color: var(--garnet-deep); text-decoration: underline; }

.meta { display: flex; flex-wrap: wrap; column-gap: 1.2em; row-gap: 2px; font-family: var(--f-ui); font-weight: 400; font-size: .8125rem; letter-spacing: .01em; color: var(--ink-soft); }
.meta span:first-child:not(:only-child) { color: var(--ink); }

.readmore {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.3rem;
  color: var(--garnet);
  text-decoration: underline; text-decoration-color: var(--gilt); text-underline-offset: .3em;
}
.readmore:hover { color: var(--garnet-deep); text-decoration-color: var(--garnet-deep); }

.button {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--ink); color: var(--veil);
  font-family: var(--f-ui); font-weight: 500; font-size: .9375rem; letter-spacing: .02em; line-height: 1.2;
  padding: 16px 30px; text-decoration: none;
  transition: background-color .18s ease;
}
.button:hover { background: var(--garnet); color: var(--veil); }

.crumb { font-family: var(--f-ui); font-weight: 500; color: var(--ink-soft); font-size: .8125rem; letter-spacing: .02em; }
.crumb a { color: var(--ink-soft); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(28px, 3.4vw, 52px);
}
.section-head h2 { font-size: clamp(2.3rem, 4vw, 3.7rem); font-style: italic; }
.section-head a { font-family: var(--f-ui); font-weight: 500; font-size: .875rem; letter-spacing: .02em; color: var(--garnet); white-space: nowrap; text-decoration: none; }
.section-head a:hover { color: var(--garnet-deep); text-decoration: underline; }

/* ---------- image slots + designed fallback ---------- */
.slot {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--tone, var(--blush));
  color: var(--garnet);
  --frame: color-mix(in srgb, var(--gilt) 70%, transparent);
}
.slot::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 85% at 50% 42%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(36, 24, 41, .025) 0 1px, transparent 1px 7px);
}
.slot-art {
  position: absolute; inset: clamp(8px, 1.3vw, 18px); z-index: 1;
  display: grid; place-items: center;
  border: 1px solid var(--frame);
}
.slot-art::after {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid color-mix(in srgb, var(--gilt) 32%, transparent);
  pointer-events: none;
}
.slot-art svg {
  width: min(42%, 320px); height: auto; max-height: 78%;
  overflow: visible;
  font-family: var(--f-display); font-style: italic;
}
.slot-art .stamp-use { color: var(--gilt); }
.slot img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
}
.r-3x2 { aspect-ratio: 3 / 2; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-1x1 { aspect-ratio: 1 / 1; }
.r-16x9 { aspect-ratio: 16 / 9; }
.r-21x9 { aspect-ratio: 21 / 9; }
.r-1x1 .slot-art svg { width: 62%; }

.tone-blush { --tone: var(--blush); }
.tone-rose { --tone: var(--rose); }
.tone-lilac { --tone: var(--lilac); }
.tone-sage { --tone: var(--sage); }
.tone-mist { --tone: var(--mist); }
.tone-sea { --tone: var(--sea); }
.tone-ink { --tone: var(--ink); }
.slot.tone-ink { color: var(--gilt-soft); --frame: color-mix(in srgb, var(--gilt) 80%, transparent); }
.slot.tone-ink::before {
  background:
    radial-gradient(90% 75% at 50% 45%, rgba(168, 133, 77, .16), rgba(168, 133, 77, 0) 65%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 5px);
}
.slot.tone-ink .stamp-use { color: var(--gilt); }

/* file-name labels: only on localhost/127.0.0.1 or with ?slots, and only while the photo is missing */
html.show-slots .slot:not(:has(img))::after {
  content: attr(data-file) "  " attr(data-size);
  position: absolute; left: 6px; bottom: 6px; z-index: 3;
  padding: 3px 7px; max-width: calc(100% - 12px);
  background: rgba(255, 255, 255, .9); color: var(--ink);
  font: 11px/1.3 ui-monospace, Menlo, Consolas, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* emblem strokes: the sprite uses non-scaling strokes, so this is a screen-pixel width */
use { stroke-width: 1.35; }

/* large slots: full-bleed illustrated scene instead of the stationery card */
.slot { --tone-deep: color-mix(in srgb, var(--tone) 80%, var(--garnet)); --sc-line: color-mix(in srgb, var(--garnet) 58%, transparent); --sc-gold: var(--gilt); }
.slot--scene::before { display: none; }
.slot--scene .slot-art { inset: 0; border: 0; }
.slot--scene .slot-art::after { display: none; }
.slot--scene .slot-art .scene { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }
.slot--scene .slot-art .scene-seal {
  position: absolute; right: clamp(12px, 2.2%, 26px); bottom: clamp(12px, 2.2%, 26px);
  width: clamp(54px, 9%, 96px); height: auto; max-height: none; color: var(--garnet);
}
.scene-seal .stamp-use, .slot.tone-ink .scene-seal .stamp-use { color: var(--gilt); }
.scene .sc-bg { fill: var(--tone); }
.scene .sc-1 { fill: color-mix(in srgb, var(--tone) 52%, #fff); }
.scene .sc-2 { fill: var(--tone-deep); }
.scene .sc-3 { fill: color-mix(in srgb, var(--tone) 84%, var(--gilt)); }
.scene .sc-4 { fill: color-mix(in srgb, var(--tone) 62%, #fff); }
.scene .sc-ln, .scene .sc-leaf { fill: none; stroke: var(--sc-line); stroke-width: 1.3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.scene .sc-leaf--fill { fill: color-mix(in srgb, var(--garnet) 12%, transparent); }
.scene .sc-rib { stroke-width: .8; opacity: .7; }
.scene .sc-echo, .scene .sc-ribbon { stroke: var(--sc-gold); }
.scene .sc-bud, .scene .sc-spark { fill: var(--sc-gold); }
.scene .sc-motif { color: var(--garnet); stroke-width: 1.7; --tone: var(--tone-deep); }
.slot.tone-ink { --tone-deep: color-mix(in srgb, var(--ink) 66%, var(--garnet)); --sc-line: color-mix(in srgb, var(--gilt-soft) 70%, transparent); }
.slot.tone-ink .scene .sc-1 { fill: color-mix(in srgb, var(--ink) 86%, #fff); }
.slot.tone-ink .scene .sc-3 { fill: color-mix(in srgb, var(--ink) 90%, var(--gilt)); }
.slot.tone-ink .scene .sc-4 { fill: color-mix(in srgb, var(--ink) 80%, #fff); }
.slot.tone-ink .scene .sc-leaf--fill { fill: color-mix(in srgb, var(--gilt) 16%, transparent); }
.slot.tone-ink .scene .sc-motif, .slot.tone-ink .scene-seal { color: var(--gilt-soft); }

/* ---------- sticky compact header ---------- */
.sticky-bar {
  position: fixed; inset: 0 0 auto; z-index: 60;
  background: color-mix(in srgb, var(--veil) 93%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 10px 30px -22px rgba(36, 24, 41, .45);
  transform: translateY(-110%); transition: transform .32s var(--ease);
}
.sticky-bar.is-on { transform: none; }
.sticky-inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: 60px; }
.sticky-bar .wordmark.wordmark--mini { font-size: 1.8rem; line-height: 1; flex: none; padding: 0; letter-spacing: -.015em; }
.sticky-nav { flex: 1; min-width: 0; }
.sticky-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 36px); }
.sticky-nav a { font-family: var(--f-ui); font-weight: 500; font-size: .875rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap; text-underline-offset: .5em; }
.sticky-nav a:hover { color: var(--garnet); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--garnet) 45%, transparent); }
.sticky-nav a[aria-current] { color: var(--garnet); text-decoration: underline; }
.sticky-cta { flex: none; font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; padding: 10px 16px; background: var(--ink); color: var(--veil); text-decoration: none; transition: background-color .18s ease; }
.sticky-cta:hover { background: var(--garnet); color: var(--veil); }

/* emblem roundels (section list, newsletter, about) */
.browse-emblem, .os-emblem, .about-emblem, .nf-emblem, .nl-art {
  display: grid; place-items: center; flex: none;
  border-radius: 50%;
  background: var(--tone);
  color: var(--garnet);
}
.browse-emblem svg, .os-emblem svg, .about-emblem svg, .nf-emblem svg, .nl-art svg { width: 74%; height: auto; overflow: visible; }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.card-media { display: block; overflow: hidden; }
.card-media .slot img, .feature-media .slot img, .spot-media .slot img {
  transition: transform .8s ease;
}
.card:hover .card-media .slot img,
.feature:hover .feature-media .slot img, .spot:hover .spot-media .slot img { transform: scale(1.02); }
.card-body { display: flex; flex-direction: column; gap: 10px; }
.card-title { font-size: clamp(1.5rem, 1.95vw, 1.8rem); line-height: 1.1; }
.card-title a, .feature-title a, .spot-title a { text-decoration: none; }
.card:hover .card-title a, .feature:hover .feature-title a, .spot:hover .spot-title a { color: var(--garnet); }
.card-dek { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; max-width: 46ch; }



/* ---------- home: front page ---------- */
.front {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 44px;
  align-items: start; padding-top: clamp(14px, 1.8vw, 26px);
}
.front-lead { grid-column: 4 / 10; grid-row: 1; display: flex; flex-direction: column; gap: 22px; }
.front-side { grid-column: 1 / 4; grid-row: 1; display: flex; flex-direction: column; gap: 34px; }
.front-picks { grid-column: 10 / 13; grid-row: 1; background: color-mix(in srgb, var(--blush) 60%, var(--veil)); padding: 26px 24px 28px; }
.front-media { display: block; overflow: hidden; }
.front-copy { display: flex; flex-direction: column; gap: 12px; }
.front-title { font-size: clamp(2.2rem, 3.3vw, 3.3rem); line-height: 1.02; letter-spacing: -.01em; }
.front-title a { text-decoration: none; }
.front-lead:hover .front-title a { color: var(--garnet); }
.front-lead:hover .front-media .slot img { transform: scale(1.02); }
.front-media .slot img { transition: transform .8s ease; }
.front-dek { font-size: clamp(1.1rem, 1.25vw, 1.2rem); line-height: 1.5; color: var(--ink-soft); max-width: 48ch; }
.card--side { gap: 14px; }
.card--side .card-body { gap: 8px; }
.card--side .card-title { font-size: clamp(1.3rem, 1.6vw, 1.55rem); }
.front-picks h2 { font-size: 1.75rem; font-style: italic; }
.picks { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 22px; }
.pick { display: flex; flex-direction: column; gap: 6px; }
.pick-title { font-size: clamp(1.2rem, 1.4vw, 1.35rem); line-height: 1.14; }
.pick-title a { text-decoration: none; }
.pick-title a:hover { color: var(--garnet); }
.front-picks .readmore { margin-top: 24px; font-size: 1.2rem; }

/* ---------- home: planner ---------- */
.planner { margin-top: var(--section); background: var(--lilac); }
.planner-inner {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 32px;
  padding-block: clamp(56px, 7vw, 104px);
}
.planner-head { grid-column: 1 / 5; }
.planner-head h2 { font-size: clamp(2.4rem, 4.2vw, 4rem); font-style: italic; line-height: 1; }
.planner-head p { margin-top: 16px; color: var(--ink-soft); max-width: 36ch; }
.planner-chips { grid-column: 5 / 13; align-self: end; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chip {
  font-family: var(--f-ui); font-weight: 500; font-size: .9375rem; letter-spacing: .01em; line-height: 1;
  padding: 13px 17px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  border: 1px solid rgba(36, 24, 41, .3); background: transparent; color: var(--ink);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { border-color: var(--garnet); color: var(--garnet); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--veil); }
.planner-panels { grid-column: 1 / -1; }
.planner-panel {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 14px;
  background: var(--veil); padding: clamp(24px, 3.2vw, 48px);
}
.planner-panel[hidden] { display: none; }
.panel-kicker { grid-column: 1 / -1; font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--garnet); }
.panel-title { grid-column: 1 / -1; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.04; margin-bottom: 14px; }
.tasks { grid-column: 1 / 10; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--gut); }
.task h4 { font-size: 1.5rem; line-height: 1.12; margin-bottom: 10px; }
.task p { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.55; }
.panel-read { grid-column: 10 / 13; padding-left: clamp(0px, 1.4vw, 20px); }
.panel-read-label { font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--ink-soft); margin-bottom: 14px; }
.panel-read ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.panel-read a { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.read-emblem { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: var(--garnet); }
.read-emblem svg { width: 74%; height: auto; overflow: visible; }
.read-cat { display: block; font-family: var(--f-ui); font-weight: 500; font-size: .75rem; letter-spacing: .02em; color: var(--garnet); margin-bottom: 2px; }
.read-title { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; line-height: 1.15; }
.panel-read a:hover .read-title { color: var(--garnet); }
@media (prefers-reduced-motion: no-preference) {
  .js .planner-panel:not([hidden]) { animation: panel-in .38s ease both; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- home: browse sections ---------- */
.browse { background: var(--ink); color: var(--veil); margin-top: var(--section); }
.browse a:hover { color: var(--veil); }
.browse-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 40px;
  padding-block: clamp(64px, 8vw, 120px);
}
.browse-intro { grid-column: 1 / 5; align-self: start; position: sticky; top: 40px; }
.browse-intro h2 { font-size: clamp(2.9rem, 5vw, 4.8rem); font-style: italic; line-height: .98; }
.browse-intro p { margin-top: 22px; color: rgba(251, 246, 244, .74); max-width: 26ch; font-size: 1.2rem; }
.browse-list { grid-column: 5 / 13; list-style: none; padding: 0; }
.browse-list li:last-child .browse-link { border-bottom: 0; }
.browse-link {
  display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) 5.5em; align-items: center; gap: 28px;
  padding-block: 22px; border-bottom: 1px solid rgba(251, 246, 244, .08);
  text-decoration: none;
}
.browse-list li:first-child .browse-link { padding-top: 0; }
.browse-emblem { width: 64px; height: 64px; }
.browse-name {
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(2rem, 2.7vw, 2.6rem); line-height: 1; white-space: nowrap;
  transition: color .18s ease;
}
.browse-desc { font-size: 1rem; line-height: 1.45; color: rgba(251, 246, 244, .72); }
.browse-count { font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--gilt-soft); text-align: right; white-space: nowrap; }
.browse-link:hover .browse-name { color: var(--blush); }

/* ---------- home: spotlight ---------- */
.spot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.spot-media { grid-column: 1 / 13; grid-row: 1; display: block; overflow: hidden; }
.spot-copy {
  grid-column: 7 / 13; grid-row: 2; position: relative; z-index: 3;
  margin-top: calc(-1 * clamp(96px, 11vw, 176px));
  background: var(--veil);
  padding: clamp(26px, 3vw, 44px) 0 0 clamp(26px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
}
.spot-title { font-size: clamp(2.2rem, 3.7vw, 3.5rem); line-height: 1.02; }

/* ---------- home: editors' note ---------- */
.note { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 40px; align-items: center; }
.note-media { grid-column: 1 / 6; }
.note-copy { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 24px; }
.note-copy h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); font-style: italic; }
.letter p { font-size: clamp(1.2rem, 1.55vw, 1.42rem); line-height: 1.55; max-width: 36em; }
.letter p + p { margin-top: 1em; }
.signoff { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.9rem; color: var(--garnet); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--blush); margin-top: var(--section); }
.nl-inner {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 28px;
  align-items: center; padding-block: clamp(56px, 7vw, 104px);
}
.nl-art { grid-column: 1 / 3; width: min(100%, 150px); aspect-ratio: 1; background: var(--veil); --tone: var(--veil); }
.nl-copy { grid-column: 3 / 8; }
.nl-copy h2 { font-size: clamp(2.3rem, 3.8vw, 3.5rem); font-style: italic; }
.nl-copy p { margin-top: 14px; max-width: 40ch; color: var(--ink-soft); }
.nl-form { grid-column: 8 / 13; }
.nl-form label { display: block; font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; margin-bottom: 6px; }
.nl-row { display: flex; align-items: stretch; border-bottom: 1.5px solid var(--ink); gap: 12px; }
.nl-row:focus-within { border-color: var(--garnet); }
.nl-row input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-size: 1.3rem; padding: 12px 0;
}
.nl-row input::placeholder { color: rgba(36, 24, 41, .45); }
.nl-row input:focus-visible { outline: none; }
.nl-row button {
  border: 0; cursor: pointer; margin-bottom: 8px;
  background: var(--ink); color: var(--veil);
  font-family: var(--f-ui); font-weight: 500; font-size: .9375rem; letter-spacing: .02em;
  padding: 10px 26px; transition: background-color .18s ease;
}
.nl-row button:hover { background: var(--garnet); }
.nl-note { margin-top: 12px; font-size: .875rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--veil); padding-top: clamp(48px, 5vw, 76px); }
.newsletter + .site-footer, main:has(> .newsletter:last-child) + .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 44px; }
.footer-brand { grid-column: 1 / 6; }
.footer-brand .wordmark { color: var(--veil); font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
.footer-brand p { margin-top: 20px; color: rgba(251, 246, 244, .72); max-width: 36ch; }
.footer-col { grid-column: span 2; }
.footer-col:nth-of-type(1) { grid-column: 7 / 9; }
.footer-col h2 { font-size: 1.45rem; font-style: italic; color: var(--gilt-soft); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(251, 246, 244, .86); text-decoration: none; }
.footer-col a:hover { color: var(--veil); text-decoration: underline; }
.footer-col p { color: rgba(251, 246, 244, .86); }
.footer-small { margin-top: 10px; font-size: .9375rem; color: rgba(251, 246, 244, .66) !important; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: clamp(40px, 4.5vw, 64px); padding-block: 20px 24px;
  border-top: 1px solid rgba(251, 246, 244, .1);
  font-family: var(--f-ui); font-size: .8125rem; letter-spacing: .01em; color: rgba(251, 246, 244, .66);
}


/* ---------- story page ---------- */
.story-head {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(36px, 4vw, 56px);
}
.story-head .cat { justify-content: center; }
.story-title { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.012em; max-width: 17ch; }
.story-dek { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.45; color: var(--ink-soft); max-width: 40ch; }
.story-head .meta { justify-content: center; }
.story-hero figcaption, .figure figcaption {
  margin-top: 12px; font-size: .9375rem; font-style: italic; color: var(--ink-soft); max-width: 60ch;
}
.story-layout {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
  padding-top: clamp(44px, 5vw, 80px);
}
.story-rail { grid-column: 1 / 4; }
.rail-inner { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 28px; padding-top: 6px; max-width: 260px; }
.byline { display: flex; align-items: center; gap: 14px; font-size: .9375rem; line-height: 1.35; color: var(--ink-soft); }
.byline strong { color: var(--ink); font-weight: 500; }
.monogram {
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--blush);
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.7rem; line-height: 1; padding-bottom: 3px;
}
.share-title { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.3rem; margin-bottom: 8px; }
.share ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.share a, .share button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--f-ui); font-weight: 500; font-size: .875rem; letter-spacing: .01em; color: var(--ink);
  text-decoration: none; transition: color .18s ease;
}
.share a:hover, .share button:hover { color: var(--garnet); text-decoration: underline; text-underline-offset: .3em; }

.prose { grid-column: 4 / 12; font-size: clamp(1.125rem, 1.25vw, 1.25rem); line-height: 1.72; }
.prose > * { max-width: 37.5rem; }
.prose > * + * { margin-top: 1.15em; }
.prose > .lede { font-size: 1.12em; line-height: 1.62; }
.prose > .lede::first-letter {
  float: left; font-family: var(--f-display); font-weight: 600; font-style: normal;
  font-size: 4.6em; line-height: .78; padding: .06em .08em 0 0; color: var(--garnet);
}
.prose > h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.1; margin-top: 2.1em; }
.prose > h3 { font-size: 1.55rem; margin-top: 1.8em; }
.prose > h2 + *, .prose > h3 + * { margin-top: .65em; }
.prose a { color: var(--garnet); }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose ul li::marker { color: var(--gilt); }
.prose ol li::marker { font-family: var(--f-display); font-style: italic; color: var(--garnet); }
.prose > .pull { max-width: none; margin-block: 2.2em; }
.pull p {
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.1;
  color: var(--garnet); max-width: 22ch; text-wrap: balance;
}
.prose > .figure { max-width: none; margin-block: 2.4em; }
.prose > .figure--portrait { max-width: 30rem; }
.story-end {
  max-width: none !important;
  margin-top: 3.6em !important;
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px 32px;
  font-size: 1rem;
}
.story-end > p { font-family: var(--f-ui); font-size: .875rem; color: var(--ink-soft); }
.story-end > p a { color: var(--garnet); text-decoration: none; }
.story-end > p a:hover { text-decoration: underline; }
.share--inline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.share--inline .share-title { margin: 0; font-size: 1.15rem; }
.share--inline ul { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gut); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px var(--gut); }
.grid2 .card-title { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }

/* ---------- category + index ---------- */
.cat-hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 32px;
  align-items: end;
  padding-block: clamp(40px, 5.5vw, 80px) clamp(56px, 6vw, 96px);
}
.cat-hero-copy { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 18px; }
.cat-hero h1 { font-size: clamp(3.3rem, 8vw, 8rem); font-style: italic; line-height: .95; letter-spacing: -.02em; }
.cat-desc { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.45; max-width: 30ch; }
.cat-count { font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--ink-soft); padding-top: 6px; }
.cat-hero-media { grid-column: 8 / 13; }
.cat-hero--plain .cat-hero-copy { grid-column: 1 / 9; }

.feature {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 28px;
  align-items: center;
}
.feature-media { grid-column: 1 / 8; display: block; overflow: hidden; }
.feature-copy { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 18px; padding-left: clamp(0px, 1.6vw, 24px); }
.feature-title { font-size: clamp(2.2rem, 3.7vw, 3.6rem); line-height: 1.02; }
.feature-dek { font-size: 1.2rem; line-height: 1.5; color: var(--ink-soft); max-width: 36ch; }
.feature + .grid3 { margin-top: clamp(72px, 8vw, 120px); }
.list-wide { margin-top: clamp(72px, 8vw, 120px); display: flex; flex-direction: column; gap: clamp(40px, 4vw, 64px); }
.card--wide {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: center;
}
.card--wide .card-media { grid-column: 1 / 5; }
.card--wide .card-body { grid-column: 6 / 12; }
.card--wide .card-title { font-size: clamp(1.8rem, 2.7vw, 2.6rem); }
.empty { font-size: 1.3rem; font-style: italic; color: var(--ink-soft); }

.other-sections { padding-top: var(--section); }
.other-sections h2 { font-size: 1.5rem; font-style: italic; color: var(--ink-soft); margin-bottom: 18px; }
.other-sections ul {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 18px clamp(24px, 3vw, 44px);
}
.other-sections a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.other-sections a[aria-current] { color: var(--garnet); }
.os-emblem { width: 40px; height: 40px; }

/* ---------- about ---------- */
.about-hero {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 40px;
  align-items: end; padding-top: clamp(40px, 5.5vw, 80px);
}
.about-hero-copy { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 24px; padding-bottom: clamp(0px, 3vw, 40px); }
.about-hero h1 { font-size: clamp(2.9rem, 5.8vw, 5.6rem); line-height: .98; letter-spacing: -.012em; }
.about-lede { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.5; color: var(--ink-soft); max-width: 38ch; }
.about-hero-media { grid-column: 9 / 13; }
.about-sec-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px var(--gut); }
.about-sec-list a { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.about-emblem { width: 56px; height: 56px; }
.about-sec-name { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.9rem; line-height: 1.1; }
.about-sec-list p { margin-top: 12px; color: var(--ink-soft); max-width: 34ch; }
.about-wide { padding-top: var(--section); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gut); }
.principles h3 { font-size: 1.8rem; font-style: italic; margin-bottom: 12px; color: var(--garnet); }
.principles p { color: var(--ink-soft); }
.about-submit-inner {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 20px;
  align-items: end;
}
.about-submit-inner h2 { grid-column: 1 / 6; font-size: clamp(2.2rem, 4vw, 3.6rem); font-style: italic; }
.about-submit-inner p { grid-column: 6 / 11; font-size: 1.2rem; }
.about-submit-inner .button { grid-column: 11 / 13; justify-self: end; white-space: nowrap; }

/* ---------- contact ---------- */
.contact {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 56px;
  padding-top: clamp(40px, 5.5vw, 80px);
}
.contact-copy { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 24px; }
.contact-copy h1 { font-size: clamp(3.3rem, 7.6vw, 7rem); font-style: italic; line-height: .95; letter-spacing: -.02em; }
.contact-lede { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; max-width: 32ch; }
.contact-direct { padding-top: 8px; }
.contact-direct p:first-child { font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--ink-soft); }
.contact-email { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.7rem, 2.4vw, 2.2rem); color: var(--garnet); }
.contact-submit { padding: 26px 28px; background: var(--blush); scroll-margin-top: 24px; }
.contact-submit h2 { font-size: 1.8rem; font-style: italic; margin-bottom: 8px; }
.contact-submit ul { margin-top: 10px; padding-left: 1.2em; }
.contact-submit li::marker { color: var(--gilt); }
.contact-form { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 30px; align-self: start; padding-top: 8px; }
.field label { display: block; font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--ink-soft); margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
  background: transparent; padding: 10px 0; font-size: 1.25rem;
}
.field textarea { border: 1.5px solid var(--ink); padding: 14px 16px; resize: vertical; min-height: 180px; }
.field select {
  appearance: none; cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 14px) 55% / 6px 6px no-repeat,
              linear-gradient(-45deg, transparent 50%, var(--ink) 50%) calc(100% - 8px) 55% / 6px 6px no-repeat;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--garnet); box-shadow: 0 1.5px 0 var(--garnet); }
.field textarea:focus-visible { box-shadow: 0 0 0 1px var(--garnet); }
.form-foot { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-note { font-size: .9375rem; color: var(--ink-soft); max-width: 46ch; }

/* ---------- 404 ---------- */
.notfound { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-top: clamp(48px, 7vw, 104px); }
.nf-emblem { width: 120px; height: 120px; }
.notfound h1 { font-size: clamp(2.9rem, 6.5vw, 5.8rem); font-style: italic; letter-spacing: -.015em; max-width: 16ch; }
.notfound > p { font-size: 1.25rem; color: var(--ink-soft); max-width: 44ch; }
.nf-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------- the load moment (home only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .page-home .wordmark .ch { display: inline-block; opacity: 0; transform: translateY(.28em); }
  .js.ready .page-home .wordmark .ch { animation: wm-rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 42ms); }
  .js .page-home .site-nav, .js .page-home .topbar { opacity: 0; }
  .js.ready .page-home .site-nav, .js.ready .page-home .topbar { animation: fade .9s ease .55s forwards; }
  .js .page-home .anim-reveal .slot { clip-path: inset(0 0 100% 0); }
  .js.ready .page-home .anim-reveal .slot { animation: reveal 1.25s cubic-bezier(.65, 0, .25, 1) .45s forwards; }
  .js .page-home .anim-rise > * { opacity: 0; transform: translateY(16px); }
  .js.ready .page-home .anim-rise > * { animation: wm-rise .9s var(--ease) forwards; }
  .js.ready .page-home .anim-rise > :nth-child(1) { animation-delay: .9s; }
  .js.ready .page-home .anim-rise > :nth-child(2) { animation-delay: 1s; }
  .js.ready .page-home .anim-rise > :nth-child(3) { animation-delay: 1.1s; }
  .js.ready .page-home .anim-rise > :nth-child(n+4) { animation-delay: 1.2s; }
}
@keyframes wm-rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes reveal { to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .browse-link { grid-template-columns: 56px minmax(0, 1fr) 5.5em; row-gap: 6px; }
  .browse-emblem { width: 56px; height: 56px; grid-row: span 2; }
  .browse-desc { grid-column: 2 / 4; grid-row: 2; }
  .browse-count { grid-column: 3; grid-row: 1; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browse-name { white-space: normal; }
  .front-lead { grid-column: 1 / 9; }
  .front-side { grid-column: 9 / 13; }
  .front-picks { grid-column: 1 / -1; grid-row: 2; }
  .picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px var(--gut); }
  .planner-head, .planner-chips { grid-column: 1 / -1; }
  .planner-chips { justify-self: start; justify-content: flex-start; }
  .tasks { grid-column: 1 / -1; }
  .panel-read { grid-column: 1 / -1; padding-left: 0; padding-top: 12px; }
  .panel-read ul { flex-direction: row; flex-wrap: wrap; gap: 18px 40px; }
}

@media (max-width: 900px) {
  .front-lead, .front-side, .front-picks, .browse-intro, .browse-list,
  .note-media, .note-copy, .nl-copy, .nl-form, .footer-brand, .story-rail, .prose,
  .cat-hero-copy, .cat-hero-media, .feature-media, .feature-copy, .about-hero-copy, .about-hero-media,
  .contact-copy, .contact-form, .cat-hero--plain .cat-hero-copy { grid-column: 1 / -1; }
  .front-side { grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gut); }
  .front-picks { grid-row: auto; }
  .picks { grid-template-columns: 1fr 1fr; }
  .feature-copy { padding-left: 0; }
  .sticky-nav ul { justify-content: flex-start; }
  .sticky-cta { display: none; }
  .browse-intro { position: static; }
  .spot-copy { grid-column: 2 / 13; }
  .note-media { max-width: 520px; }
  .nl-art { grid-column: 1 / -1; width: 96px; }
  .footer-col, .footer-col:nth-of-type(1) { grid-column: span 4; }
  .story-rail { display: none; }
  .prose > * { max-width: 40rem; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-hero-media { max-width: 420px; }
  .about-sec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-submit-inner h2, .about-submit-inner p, .about-submit-inner .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .topbar { justify-content: center; padding-top: 12px; }
  .topbar-note { display: none; }
  .topbar-links { gap: 18px; font-size: .9375rem; }
  .masthead { padding-bottom: 14px; }
  .nav-inner {
    justify-content: flex-start; gap: 24px; overflow-x: auto; scrollbar-width: none;
    padding-inline: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
            mask-image: linear-gradient(90deg, #000 82%, transparent);
  }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-inner li:last-child { padding-right: 40px; }
  .front { row-gap: 36px; }
  .front-title { font-size: clamp(2.1rem, 9.2vw, 2.6rem); }
  .front-side { grid-template-columns: 1fr; gap: 20px; }
  .card--side { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
  .card--side .slot { aspect-ratio: 1 / 1; }
  .card--side .slot-art svg { width: 62%; }
  .card--side .card-title { font-size: 1.35rem; }
  .front-picks { padding: 22px 20px 24px; }
  .picks { grid-template-columns: 1fr; gap: 18px; }
  .chip { padding: 11px 15px; font-size: .875rem; }
  .tasks { grid-template-columns: 1fr; gap: 22px; }
  .panel-read ul { flex-direction: column; }
  .sticky-inner { height: 52px; gap: 18px; }
  .sticky-bar .wordmark.wordmark--mini { font-size: 1.45rem; }
  .sticky-nav ul { overflow-x: auto; scrollbar-width: none; gap: 20px; padding-right: 32px;
    -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .sticky-nav ul::-webkit-scrollbar { display: none; }
  .grid3, .grid2 { grid-template-columns: 1fr; gap: 48px; }
  .card--wide { grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
  .card--wide .card-media, .card--wide .card-body { grid-column: auto; }
  .card--wide .slot { aspect-ratio: 1 / 1; }
  .card--wide .card-dek { display: none; }
  .browse-link { grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 18px; padding-block: 18px; }
  .browse-emblem { width: 48px; height: 48px; }
  .browse-name { font-size: 1.95rem; }
  .browse-desc { font-size: .9375rem; }
  .spot-copy { grid-column: 1 / -1; margin-top: 0; padding: 24px 0 0; }
  .spot-media .slot { aspect-ratio: 4 / 3; }
  .nl-row { flex-wrap: wrap; border-bottom: 0; }
  .nl-row input { flex-basis: 100%; border-bottom: 1.5px solid var(--ink); }
  .nl-row button { margin-bottom: 0; padding-block: 13px; width: 100%; }
  .footer-col, .footer-col:nth-of-type(1) { grid-column: span 6; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .story-head { align-items: flex-start; text-align: left; }
  .story-head .cat, .story-head .meta { justify-content: flex-start; }
  .story-hero .slot { aspect-ratio: 4 / 3; }
  .story-hero { padding-inline: 0; }
  .story-hero figcaption { padding-inline: var(--pad); }
  .prose > .figure { margin-inline: calc(-1 * var(--pad)); }
  .prose > .figure figcaption { padding-inline: var(--pad); }
  .prose > .figure--portrait { margin-inline: 0; }
  .prose > .figure--portrait figcaption { padding-inline: 0; }
  .story-end { flex-direction: column; }
  .cat-hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .about-sec-list, .principles { grid-template-columns: 1fr; }
  .about-hero-media { max-width: none; }
  .r-21x9 { aspect-ratio: 4 / 3; }
  .contact-submit { padding: 22px 20px; }
}

/* share lists sit inside .prose but are not prose lists */
.prose .share ul { padding-left: 0; }
.prose .share li + li { margin-top: 0; }
.page-404 main { padding-bottom: var(--section); }
.prose .share a { color: var(--ink); }
.prose .share a:hover { color: var(--garnet); }

/* ---------- sources at the end of a story ---------- */
.prose > .sources {
  max-width: 37.5rem; margin-top: 3.2em;
  padding: clamp(22px, 2.4vw, 32px) clamp(20px, 2.6vw, 34px);
  background: color-mix(in srgb, var(--blush) 38%, var(--veil));
}
.sources h2 { font-size: 1.6rem; font-style: italic; margin-bottom: 14px; }
.sources-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.prose .sources-list { padding-left: 0; }
.prose .sources-list li + li { margin-top: 0; }
.sources-list li { font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); overflow-wrap: anywhere; }
.sources-list a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--garnet) 35%, transparent); text-underline-offset: .2em; }
.sources-list a:hover { color: var(--garnet); text-decoration-color: currentColor; }
.sources-checked { margin-top: 16px; font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--ink-soft); }

/* ---------- share your wedding invitation ---------- */
.share-invite {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px clamp(20px, 3vw, 40px);
  margin-top: clamp(48px, 5vw, 72px); padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px);
  background: color-mix(in srgb, var(--blush) 55%, var(--veil));
}
.share-invite-emblem { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--veil); --tone: var(--veil); color: var(--garnet); }
.share-invite-emblem svg { width: 74%; height: auto; overflow: visible; }
.share-invite h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-style: italic; margin-bottom: 6px; }
.share-invite p { color: var(--ink-soft); max-width: 58ch; }
.share-invite .button { white-space: nowrap; }

.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gut); }
.grid4 .card-title { font-size: clamp(1.35rem, 1.7vw, 1.6rem); }
@media (max-width: 1100px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .share-invite { grid-template-columns: auto minmax(0, 1fr); }
  .share-invite .button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .grid4 { grid-template-columns: 1fr; }
  .share-invite { grid-template-columns: 1fr; }
  .share-invite .button { white-space: normal; }
}

/* ---------- photo credits ---------- */
.credit-list { list-style: none; padding: 0; margin: 0; columns: 2 26rem; column-gap: var(--gut); }
.credit { break-inside: avoid; display: flex; flex-direction: column; gap: 2px; padding-block: 12px; }
.credit-where { font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .01em; color: var(--ink-soft); }
.credit-by { font-size: 1.05rem; }
.credit-by a { color: var(--garnet); text-decoration-color: color-mix(in srgb, var(--garnet) 35%, transparent); }
.about-credits-note { padding-top: clamp(40px, 5vw, 64px); color: var(--ink-soft); font-style: italic; }
.about-credits-note a { color: var(--garnet); }

/* ---------- tagline ---------- */
.tagline {
  margin-top: clamp(6px, .8vw, 10px);
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.2; letter-spacing: .005em;
  color: var(--garnet); text-wrap: balance;
}
.page-home .tagline { font-size: clamp(1.2rem, 2vw, 1.75rem); margin-top: clamp(4px, .6vw, 10px); }

/* ---------- footer base links ---------- */
.footer-base p:last-child { display: flex; gap: 22px; }
.footer-base a { color: rgba(251, 246, 244, .78); text-decoration: none; }
.footer-base a:hover { color: var(--veil); text-decoration: underline; }

/* ---------- "Our ruling" box ---------- */
.prose > .ruling {
  max-width: 37.5rem; margin-block: 1.9em 2.1em;
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 3vw, 36px) clamp(24px, 2.8vw, 34px);
  background: var(--ink); color: var(--veil);
  position: relative;
}
.prose > .ruling::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--garnet);
}
.ruling-label {
  font-family: var(--f-ui); font-weight: 500; font-size: .8125rem; letter-spacing: .04em;
  color: var(--gilt-soft); margin-bottom: 10px;
}
.ruling-text {
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.24; text-wrap: pretty;
}
.prose .ruling a { color: var(--blush); }
@media (max-width: 640px) {
  .prose > .ruling { margin-inline: calc(-1 * var(--pad)); }
  .prose > .ruling::before { width: 4px; }
}
