/* ============================================================
   NATALIE'S LIBRARY — stylesheet
   Palette: parchment, mahogany, eggplant, gold, terracotta
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Jost:wght@400;500&display=swap');

:root {
  --parchment: #F4EFE4;
  --parchment-dim: #EDE6D6;
  --ink: #2A211C;
  --ink-soft: #4A3F37;
  --muted: #8C7F71;
  --mahogany: #4A2C24;
  --mahogany-deep: #331C17;
  --eggplant: #4B2E44;
  --gold: #B8863B;
  --gold-soft: #D9B77C;
  --terracotta: #B5654A;
  --wood-light: #6B4A36;
  --wood-mid: #563A29;
  --wood-dark: #3E281C;
  --wood-shadow: #2A1B12;

  --display: 'Playfair Display', Georgia, serif;
  --body: 'Cormorant Garamond', Georgia, serif;
  --label: 'Jost', 'Helvetica Neue', sans-serif;

  --radius: 3px;
  --ease: cubic-bezier(.25,.1,.25,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; }

.eyebrow {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}

.eyebrow.muted { color: var(--muted); }

/* ============ INTRO SEQUENCE ============ */

#intro-veil {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(circle at 50% 40%, #3a2b22 0%, #1c1310 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: veilFade 0.65s var(--ease) 1.55s forwards;
  pointer-events: none;
}

@keyframes veilFade {
  to { opacity: 0; visibility: hidden; }
}

.intro-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(217,183,124,0.35) 0%, transparent 60%);
  opacity: 0;
  animation: glowBloom 1.1s var(--ease) 0.05s forwards;
}

@keyframes glowBloom {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.intro-word {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 5vw, 56px);
  color: var(--parchment);
  opacity: 0;
  letter-spacing: 0.01em;
  animation: introWordIn 0.5s var(--ease) 1.05s forwards;
}

@keyframes introWordIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

body.reduced-motion #intro-veil,
body.reduced-motion .intro-glow,
body.reduced-motion .intro-word { animation: none !important; opacity: 0 !important; visibility: hidden !important; }

/* ============ HERO ============ */

.hero {
  padding: 96px 24px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(42px, 8vw, 84px);
  margin: 18px 0 6px;
  color: var(--ink);
}

.hero-epigraph {
  font-family: var(--body);
  font-style: italic;
  font-size: 23px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 22px auto 8px;
  line-height: 1.55;
}

.hero-epigraph .sign {
  display: block;
  margin-top: 14px;
  font-style: italic;
}

.hero-count {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 22px;
}

/* Marks legend */
.marks-legend {
  margin: 34px auto 0;
  max-width: 420px;
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink-soft);
}
.marks-legend .legend-intro {
  font-style: italic;
  margin-bottom: 10px;
}
.marks-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: center;
  margin: 4px 0;
}
.marks-row .mk {
  color: var(--gold);
  font-size: 20px;
  width: 20px;
  text-align: center;
}
.marks-legend .no-mark {
  font-style: italic;
  margin-top: 8px;
  color: var(--muted);
}

/* Nav */
.shelf-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 46px 0 0;
}
.shelf-nav button {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(42,33,28,0.25);
  color: var(--ink-soft);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.shelf-nav button:hover,
.shelf-nav button.active {
  background: var(--mahogany);
  border-color: var(--mahogany);
  color: var(--parchment);
}
.shelf-nav button:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

/* filter chips */
.chip-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px auto 0;
  max-width: 900px;
}
.chip {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(42,33,28,0.18);
  color: var(--muted);
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.chip.active { background: var(--gold); border-color: var(--gold); color: var(--parchment-dim); }

/* ============ SHELF SECTIONS ============ */

.shelf-section {
  padding: 70px 20px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.shelf-heading {
  text-align: center;
  margin-bottom: 46px;
}
.shelf-heading h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  margin: 8px 0 10px;
}
.shelf-heading p {
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 19px;
  max-width: 520px;
  margin: 0 auto;
}
.shelf-heading .count {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-top: 10px;
}

/* wood shelf row */
.shelf-row-wrap {
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 56px;
}

.spine-row {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0 18px 0;
  min-height: 300px;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 26px;
  position: relative;
}
.spine-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,247,230,0.10) 0%, transparent 30%, transparent 70%, rgba(20,12,8,0.10) 100%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 3;
}

.shelf-ledge {
  height: 26px;
  background: linear-gradient(180deg, var(--wood-light) 0%, var(--wood-mid) 45%, var(--wood-dark) 100%);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 18px -6px rgba(0,0,0,0.45), inset 0 2px 0 rgba(255,255,255,0.08);
  position: relative;
}
.shelf-ledge::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.06) 0px, transparent 2px, transparent 40px, rgba(0,0,0,0.06) 42px);
}

/* spine card */
.spine {
  position: relative;
  height: calc(clamp(190px, 24vw, 270px) * var(--hf, 1));
  width: calc(clamp(30px, 3.4vw, 42px) * var(--wf, 1));
  border-radius: 40% 40% 3px 3px / 10px 10px 3px 3px;
  cursor: pointer;
  box-shadow: 1px 0 0 rgba(0,0,0,0.18), -1px 0 3px rgba(0,0,0,0.14), 2px 6px 10px rgba(0,0,0,0.26);
  transform-origin: bottom center;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  background-size: cover;
  background-position: center;
  overflow: visible;
  flex-shrink: 0;
  opacity: 0;
  animation: spineRise 0.5s var(--ease) forwards;
  align-self: flex-end;
}

@keyframes spineRise {
  0% { opacity: 0; transform: translateY(14px) rotate(var(--lean, 0deg)); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--lean, 0deg)); }
}

.spine:hover, .spine:focus-visible {
  transform: translateY(-10px) rotate(calc(var(--lean, 0deg) * 0.25));
  box-shadow: 2px 0 0 rgba(0,0,0,0.18), -1px 0 4px rgba(0,0,0,0.15), 4px 10px 16px rgba(0,0,0,0.3), 0 3px 5px rgba(0,0,0,0.4);
  outline: none;
}

.spine .spine-grain {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spine .spine-tint {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(20,12,8,0.08) 0%, rgba(20,12,8,0.32) 100%);
}

.spine::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,
    rgba(0,0,0,0.28) 0%,
    rgba(255,255,255,0.28) 14%,
    rgba(255,255,255,0.40) 24%,
    rgba(255,255,255,0.08) 38%,
    transparent 52%,
    transparent 68%,
    rgba(0,0,0,0.18) 88%,
    rgba(0,0,0,0.38) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.spine::after {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: -3px;
  width: 4px;
  background: repeating-linear-gradient(180deg, #EDE6D6 0px, #EDE6D6 1px, #D9CDB4 1px, #D9CDB4 2px);
  border-radius: 0 1px 1px 0;
  box-shadow: inset -1px 0 2px rgba(0,0,0,0.2);
  opacity: 0.85;
}

.spine .spine-cap {
  position: absolute;
  top: -3px;
  left: 6%;
  right: 6%;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  filter: blur(0.5px);
  pointer-events: none;
}

.spine .spine-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 10px 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #F4EFE4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  text-align: center;
  overflow: hidden;
}

.spine .spine-flag {
  position: absolute;
  top: -9px;
  left: 32%;
  width: 5px;
  height: 13px;
  border-radius: 1px 1px 0 0;
  opacity: 0.82;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transform: rotate(-4deg);
  z-index: 2;
}

.spine .spine-mark {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-soft);
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.desk-section-wrap {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px 20px 50px;
}
.desk-card {
  position: relative;
  width: 148px;
  height: 218px;
  cursor: pointer;
  transform: rotate(var(--tilt, -2deg));
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.desk-card:hover { transform: rotate(0deg) translateY(-6px); }
.desk-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  box-shadow: 5px 14px 26px rgba(0,0,0,0.32), 0 3px 6px rgba(0,0,0,0.22);
}
.desk-cover .fallback-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-family: var(--body);
  font-size: 14px;
  color: #F4EFE4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.desk-pages {
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: -7px;
  width: 9px;
  background: repeating-linear-gradient(180deg, #EDE6D6 0px, #EDE6D6 1px, #D9CDB4 1px, #D9CDB4 2px);
  border-radius: 0 2px 2px 0;
  box-shadow: inset -1px 0 2px rgba(0,0,0,0.18), 1px 2px 5px rgba(0,0,0,0.2);
}
.desk-ribbon {
  position: absolute;
  top: -7px;
  left: 62%;
  width: 11px;
  height: 96px;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 3;
  opacity: 0.92;
}
.desk-card-label {
  text-align: center;
  margin-top: 14px;
  font-family: var(--body);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
}
.empty-shelf {
  text-align: center;
  padding: 50px 20px;
  font-family: var(--body);
  font-style: italic;
  font-size: 19px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
}

/* sub-shelf heading (within Correspondence) */
.sub-shelf-heading {
  text-align: center;
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

/* ============ DETAIL OVERLAY ============ */

.detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,14,10,0.72);
  backdrop-filter: blur(3px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.detail-overlay.open { opacity: 1; pointer-events: all; }

.detail-card {
  background: var(--parchment);
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 300px 1fr;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.detail-overlay.open .detail-card { transform: translateY(0) scale(1); }

.detail-cover {
  background: var(--wood-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.detail-cover img, .detail-cover .fallback {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 2/3;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border-radius: 2px;
}
.detail-cover .fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--body);
  color: #F4EFE4;
  font-size: 15px;
  padding: 20px;
  text-align: center;
}

.detail-body { padding: 44px 44px 40px; }
.detail-body .eyebrow { margin-bottom: 12px; }
.detail-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  margin: 0 0 6px;
  line-height: 1.2;
}
.detail-body .author {
  font-family: var(--body);
  font-style: italic;
  color: var(--terracotta);
  font-size: 19px;
  margin-bottom: 20px;
}
.detail-body .verdict {
  font-family: var(--body);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.detail-body .mark-line {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.detail-body .mark-line .mk { color: var(--gold); font-size: 15px; margin-right: 6px; }
.detail-body .filed {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.goodreads-caption {
  font-family: var(--body);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 22px 0 10px;
}
.goodreads-btn {
  display: inline-block;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid rgba(181,101,74,0.4);
  border-radius: 999px;
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.goodreads-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--parchment);
}

/* series block (Gossip Girl, Martha Stewart Collection) */
.series-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -6px 0 20px;
}
.series-count {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.view-series-btn {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: 1px solid rgba(42,33,28,0.25);
  color: var(--terracotta);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.view-series-btn:hover { background: var(--terracotta); color: var(--parchment); border-color: var(--terracotta); }

.series-fan {
  display: flex;
  gap: 3px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), margin 0.4s var(--ease);
  margin-bottom: 0;
  flex-wrap: wrap;
}
.series-fan.open {
  max-height: 220px;
  opacity: 1;
  margin-bottom: 22px;
}
.mini-spine {
  width: 30px;
  height: 130px;
  border-radius: 2px 2px 0 0;
  background-size: cover;
  background-position: center;
  box-shadow: 1px 0 0 rgba(0,0,0,0.15), 2px 3px 6px rgba(0,0,0,0.2);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.mini-spine:hover { transform: translateY(-6px); }
.mini-spine span {
  position: absolute;
  inset: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-size: 9.5px;
  color: #F4EFE4;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  padding: 6px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(20,12,8,0.05) 0%, rgba(20,12,8,0.28) 100%);
}
.detail-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: 1px solid rgba(42,33,28,0.25);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.detail-close:hover {
  background: var(--mahogany);
  border-color: var(--mahogany);
  color: var(--parchment);
}

@media (max-width: 640px) {
  .detail-card { grid-template-columns: 1fr; max-height: 92vh; }
  .detail-cover { padding: 24px; }
  .detail-body { padding: 30px 26px 30px; }
}

/* ============ FORM (Correspondence — From Readers) ============ */

.corr-form-wrap {
  position: relative;
  max-width: 480px;
  margin: 20px auto 70px;
  padding: 46px 34px 34px;
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(42,33,28,0.3);
  box-shadow: 0 0 0 5px var(--parchment), 0 0 0 6px rgba(42,33,28,0.16);
  border-radius: 1px;
}
.corr-form-wrap .acc-no {
  position: absolute;
  top: 15px;
  left: 20px;
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.corr-form-wrap .emblem {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(42,33,28,0.32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 11px;
  color: var(--muted);
}
.corr-form-wrap .fine-print {
  text-align: center;
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.corr-form-wrap hr.acc-rule {
  border: none;
  border-top: 1px solid rgba(42,33,28,0.16);
  margin: 20px 0 2px;
}
.corr-form-wrap h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin: 0 0 6px;
}
.corr-form-wrap .sub {
  text-align: center;
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.corr-form-wrap label {
  display: block;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 0 6px;
}
.corr-form-wrap input[type=text],
.corr-form-wrap textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 17px;
  padding: 8px 2px;
  border: none;
  border-bottom: 1px solid rgba(42,33,28,0.3);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.2s;
}
.corr-form-wrap input[type=text]:focus,
.corr-form-wrap textarea:focus {
  outline: none;
  border-bottom-color: var(--terracotta);
}
.corr-form-wrap textarea { resize: vertical; min-height: 50px; }

.attach-toggle {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.attach-toggle button {
  flex: 1;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px;
  border: 1px solid rgba(42,33,28,0.25);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
}
.attach-toggle button.active { background: var(--eggplant); border-color: var(--eggplant); color: var(--parchment); }

.name-field { display: none; margin-top: 4px; }
.name-field.show { display: block; }
.name-field .helper { font-size: 13px; font-style: italic; color: var(--muted); margin: 4px 0 0; font-family: var(--body); }

.corr-form-wrap .submit-btn {
  width: 100%;
  margin-top: 24px;
  padding: 13px;
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--mahogany);
  color: var(--parchment);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.corr-form-wrap .submit-btn:hover { background: var(--mahogany-deep); }

.confirm-msg {
  display: none;
  text-align: center;
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 18px;
}
.confirm-msg.show { display: block; }

/* footer */
.site-footer {
  text-align: center;
  padding: 40px 20px 60px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
