/* Valerie O'Hara Editorial site
   Boutique literary design system. No framework. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #FAF7F2;
  --cream-deep: #F1EBE3;
  --paper: #F6F1EA;
  --white: #FFFFFF;
  --ink: #1F1A17;
  --ink-soft: #3A322D;
  --berry: #6B2737;
  --berry-deep: #541E2B;
  --berry-soft: #8A3A4C;
  --gold: #B8935A;
  --gold-deep: #9A7543;
  --gold-soft: #D4B37A;
  --gold-text: #8A5A28;
  --taupe: #6E6259;
  --taupe-soft: #8A7D73;
  --line: rgba(31, 26, 23, 0.12);
  --line-strong: rgba(31, 26, 23, 0.22);
  --shadow: 0 18px 50px rgba(31, 26, 23, 0.08);
  --shadow-soft: 0 8px 24px rgba(31, 26, 23, 0.06);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 84px;
  --max: 1160px;
  --wide: 1280px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--berry-deep); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2.15rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 550; }

p { margin: 0 0 1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }
.lede { font-size: 1.125rem; color: var(--taupe); max-width: 40rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.wrap-wide {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.85rem;
}
.eyebrow-light { color: var(--gold-soft); }

.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 1.25rem 0 1.5rem;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}
.brand-lockup { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 0.22rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 12px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  background: var(--berry);
  color: #FBF6F2 !important;
  text-decoration: none !important;
  border: 1px solid var(--berry);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s, transform 0.2s;
  box-shadow: none;
}
.btn:hover { background: var(--berry-deep); border-color: var(--berry-deep); color: #FBF6F2 !important; }
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: transparent;
  color: var(--cream) !important;
  border-color: var(--gold-soft);
}
.btn-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.btn-outline {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream) !important; }
.btn-sm { padding: 0.62rem 1.05rem; font-size: 0.8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.75rem; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  background: #1a1410;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 16%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(18, 12, 10, 0.72) 0%,
      rgba(18, 12, 10, 0.52) 28%,
      rgba(18, 12, 10, 0.18) 52%,
      rgba(18, 12, 10, 0.02) 70%),
    linear-gradient(180deg, rgba(18,12,10,0.18) 0%, transparent 22%, transparent 80%, rgba(18,12,10,0.28) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 4.5rem 0 5rem;
  max-width: 1180px;
}
.hero-copy { max-width: 34.5rem; }
.hero h1 {
  color: #FAF7F2;
  text-wrap: balance;
}
.hero .lede {
  color: rgba(250, 247, 242, 0.86);
  margin-top: 1.35rem;
  font-size: 1.14rem;
  line-height: 1.65;
  max-width: 32rem;
}
.hero .gold-rule { background: var(--gold-soft); }

/* Trust strip: full-bleed dark band. The list uses .wrap-wide so it
   matches the site column. Use margin-block (not margin: 0) so wrap-wide's
   auto side margins can still center the list on wide screens. */
.trust {
  background: var(--ink);
  color: var(--cream);
  padding: 0.95rem 0;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0;
  margin-block: 0;
  margin-inline: auto;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.88);
}
.trust-list li {
  display: flex;
  align-items: center;
}
.trust-list li:not(:last-child)::after {
  content: "·";
  margin: 0 0.95rem;
  color: var(--gold);
  font-weight: 400;
}

/* Sections */
.section { padding: 5.5rem 0; }
.section-tight { padding: 4rem 0; }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink h2, .section-ink h3 { color: var(--cream); }
.section-ink p { color: rgba(250, 247, 242, 0.82); }
.section-paper { background: var(--paper); }
.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section-head.center .gold-rule { margin-inline: auto; }

/* Genres */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.genre-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--berry);
  padding: 1.7rem 1.4rem 1.45rem;
  box-shadow: var(--shadow-soft);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
a.genre-card:hover,
a.genre-card:focus-visible {
  color: inherit;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-top-color: var(--berry-deep);
  outline: none;
}
a.genre-card:focus-visible {
  box-shadow: var(--shadow), 0 0 0 2px var(--gold);
}
.genre-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--berry);
  margin-bottom: 0.65rem;
}
.genre-card p {
  font-size: 0.95rem;
  color: var(--taupe);
  margin-bottom: 0;
}
.genre-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.15rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--berry);
}
a.genre-card:hover .genre-more,
a.genre-card:focus-visible .genre-more {
  color: var(--berry-deep);
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.service-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.service-card h3 { margin-bottom: 0.7rem; }
.price {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.15rem;
}
.price span {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--taupe);
  display: block;
  margin-top: 0.15rem;
}
.service-card ul {
  margin: 1.1rem 0 1.4rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.service-card li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0.45rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1px;
  background: var(--gold);
}
.rate-note {
  font-size: 0.82rem;
  color: var(--taupe);
  margin-top: 0.35rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: 0.25rem;
}
.process-step h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--berry);
  margin-bottom: 0.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--berry);
  display: inline-block;
  max-width: 100%;
}
.process-step p { font-size: 0.95rem; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.testimonial.featured {
  grid-column: 1 / -1;
  padding: 2.2rem 2.2rem 1.8rem;
  background: var(--white);
  border-color: rgba(184, 147, 90, 0.45);
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
  quotes: none;
}
.testimonial.featured blockquote { font-size: clamp(1.4rem, 2.4vw, 1.85rem); max-width: 52rem; }
.testimonial footer {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 5.5rem 1.25rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 147, 90, 0.16), transparent 55%),
    var(--ink);
  color: var(--cream);
}
.cta-band h2 { color: var(--cream); max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.cta-band p { color: rgba(250,247,242,0.8); max-width: 34rem; margin: 1.1rem auto 0; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer {
  background: #161210;
  color: rgba(250,247,242,0.78);
  padding: 3.5rem 0 1.75rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250,247,242,0.1);
}
.footer-brand { display: flex; gap: 0.85rem; align-items: flex-start; }
.footer-brand img { width: 52px; height: 52px; flex: 0 0 auto; }
.footer-brand p { color: rgba(250,247,242,0.66); margin-top: 0.7rem; max-width: 20rem; font-size: 0.9rem; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.35rem; }
.footer-col .footer-heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0.4rem 0; }
.footer-col a { color: rgba(250,247,242,0.8); text-decoration: none; }
.footer-col a:hover { color: var(--cream); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  color: rgba(250,247,242,0.55);
  font-size: 0.8rem;
}

/* Page hero (interior) */
.page-hero {
  padding: 4.25rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 1.15rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.about-grid--text-only {
  grid-template-columns: 1fr;
  max-width: 42rem;
}
.cred-line {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 1.15rem;
}
.about-photo {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.about-photo picture { display: block; width: 100%; }
.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  object-position: 50% 15%;
  box-shadow: var(--shadow);
}
.about-photo figcaption {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
}
.about-copy p { margin-bottom: 1.15rem; font-size: 1.05rem; }
.about-copy .pull {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 1.6rem 0 1.5rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.2rem 0 0.5rem;
}
.fact {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem 1rem;
}
.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.fact span { font-size: 0.82rem; color: var(--taupe); }

/* Services detail */
.tier-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.tier-block:first-of-type { border-top: 0; }
.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.rate-table th, .rate-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.rate-table th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  background: var(--paper);
}
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* Add-ons */
.addon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.addon-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem 1.8rem;
  display: flex;
  flex-direction: column;
}
.addon-card h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0.5rem;
  line-height: 1.2;
  color: var(--ink);
}
.addon-price {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--berry);
  margin: 0 0 1rem;
  line-height: 1.35;
}
.addon-card > p { margin-bottom: 1rem; }
.addon-card .btn-row { margin-top: 0.25rem; margin-bottom: 0.75rem; }
.addon-card .rate-note { margin-top: auto; margin-bottom: 0; }

/* Calculator */
.calculator {
  background: var(--white);
  border: 1px solid rgba(184, 147, 90, 0.45);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem 2rem;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}
.field { margin-bottom: 1.25rem; }
.field label,
.field .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.5rem;
}
.word-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
input[type="range"] {
  flex: 1;
  accent-color: var(--berry);
  width: 100%;
}
.word-input {
  width: 8.6rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--ink);
  border-radius: 2px;
  text-align: right;
}
.toggle, .tier-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.tier-picks { grid-template-columns: 1fr; }
.choice {
  position: relative;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3.6rem;
  border: 1px solid var(--line-strong);
  padding: 0.7rem 0.8rem;
  background: var(--cream);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color 0.15s, background 0.15s;
}
.tier-picks .choice span { min-height: 0; justify-content: flex-start; text-align: left; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice input:checked + span {
  border-color: var(--berry);
  background: #f8efe9;
  box-shadow: inset 0 0 0 1px var(--berry);
}
.calc-result {
  background: var(--ink);
  color: var(--cream);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.calc-result .eyebrow { color: var(--gold-soft); }
.calc-price {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FAF7F2;
  margin: 0.2rem 0 0.7rem;
}
.calc-meta { color: rgba(250,247,242,0.75); font-size: 0.92rem; margin-bottom: 1.1rem; }
.calc-fine { font-size: 0.78rem; color: rgba(250,247,242,0.55); margin-top: 1rem; }
.calc-addons {
  display: grid;
  gap: 0.55rem;
}
.field label.calc-addon,
.calc-addon {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.calc-addon input {
  margin: 0.15rem 0 0;
  accent-color: var(--berry);
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}
.calc-addon:has(input:checked) {
  border-color: var(--berry);
  background: #f8efe9;
  box-shadow: inset 0 0 0 1px var(--berry);
}
.calc-addon:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.2rem 2.2rem 1.2rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  line-height: 1.25;
}
.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.15rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--gold-deep);
}
.faq-item button[aria-expanded="true"]::after { content: "-"; }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 2rem 0 0;
  color: var(--ink-soft);
  max-width: 46rem;
  opacity: 0;
  transition: grid-template-rows 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
}
.faq-panel-inner { overflow: hidden; min-height: 0; }
.faq-item.is-open .faq-panel,
.faq-item:has(button[aria-expanded="true"]) .faq-panel {
  grid-template-rows: 1fr;
  padding: 0 2rem 1.3rem 0;
  opacity: 1;
}

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
.form-card, .aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-soft);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-card label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 0.4rem;
}
.form-card .field { margin-bottom: 1rem; }
.form-card input:not([type="file"]),
.form-card select,
.form-card textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  color: var(--ink);
  border-radius: 2px;
}
.form-card textarea { min-height: 9rem; resize: vertical; }

.form-card .field-hint {
  margin: -0.1rem 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--taupe);
  line-height: 1.45;
}
.form-card .field-error {
  display: none;
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--berry);
  line-height: 1.4;
}
.form-card .field-error.is-visible { display: block; }
.file-field { position: relative; }
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.7rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry);
  background: var(--cream);
  border: 1px solid var(--berry);
  border-radius: 2px;
  cursor: pointer;
  line-height: 1.2;
}
.file-button:hover,
.file-input:focus-visible + .file-button {
  background: var(--berry);
  color: #FBF6F2;
}
.file-chosen {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.7rem;
  padding: 0.65rem 0.85rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  max-width: 100%;
}
.file-chosen[hidden] { display: none !important; }
.file-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.file-clear {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.15rem 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry);
  cursor: pointer;
}
.file-clear:hover { color: var(--berry-deep); text-decoration: underline; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}
.form-status.ok { display: block; background: #e8f0e4; color: #24401c; }
.form-status.err { display: block; background: #f6e6e6; color: #6B2737; }
.aside-card h3 { margin-bottom: 0.7rem; }
.aside-card p, .aside-card li { color: var(--taupe); }
.aside-card ul { padding-left: 1.1rem; }
.aside-card a { color: var(--berry); }

/* 404 */
.notfound {
  min-height: calc(100vh - var(--header-h) - 220px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 1.25rem;
}
.notfound .code {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

/* Utilities */
.muted { color: var(--taupe); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

@media (max-width: 960px) {
  .genre-grid, .service-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .calc-grid, .contact-grid, .tier-block, .footer-grid, .addon-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 28rem; }
  .fact-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calculator { padding: 1.5rem 1.2rem; }
}

@media (max-width: 800px) {
  /* Mobile nav is a child of .site-header, which uses backdrop-filter.
     On iOS Safari, that filter makes overflowing or fixed descendants
     composite without their background, so the links sit on the hero photo.
     Use a full-width dropdown, a solid cream fill, and drop the filter while open. */
  .site-header { overflow: visible; }
  body.nav-open .site-header {
    background: #FAF7F2;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #FAF7F2;
    background-color: #FAF7F2;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.15rem;
    transform: none;
    visibility: hidden;
    pointer-events: none;
    z-index: 101;
    opacity: 1;
    isolation: isolate;
  }
  .site-nav.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav a:not(.btn) {
    font-size: 1.15rem;
    padding: 0.75rem 0;
    display: block;
    width: 100%;
    color: #1F1A17;
    min-height: 44px;
    line-height: 1.3;
  }
  /* Keep the current-page gold mark on the text, not as a full-width rule. */
  .site-nav a[aria-current="page"]:not(.btn) {
    box-shadow: none;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 0.22em;
    text-decoration-thickness: 1px;
  }
  .site-nav .btn {
    width: 100%;
    margin-top: 0.6rem;
    min-height: 44px;
  }
  body.nav-open { overflow: hidden; }
  .header-inner { width: calc(100% - 1.5rem); }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--cream);
    color: var(--ink);
  }
  .hero-media {
    position: relative;
    height: 72vw;
    min-height: 340px;
    max-height: 460px;
  }
  .hero-media img { object-position: 74% 10%; }
  .hero-media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(18,12,10,0.18) 100%);
  }
  .hero-content {
    width: calc(100% - 2rem);
    padding: 2rem 0 2.75rem;
    color: var(--ink);
  }
  .hero-copy { max-width: none; }
  .hero h1 { color: var(--ink); }
  .hero .lede { color: var(--taupe); }
  .hero .eyebrow-light { color: var(--gold-text); }
  .hero .btn-gold {
    color: var(--ink) !important;
    border-color: var(--ink);
  }
  .hero .btn-gold:hover { background: var(--ink); color: var(--cream) !important; }
  .hero .gold-rule { background: var(--gold); }

  .section { padding: 3.5rem 0; }
  .wrap, .wrap-wide { width: calc(100% - 2rem); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial.featured { padding: 1.6rem 1.3rem; }
  .testimonial blockquote { font-size: 1.15rem; }
}

@media (max-width: 560px) {
  .genre-grid, .service-grid, .process-grid { grid-template-columns: 1fr; }
  .trust-list { justify-content: center; row-gap: 0.45rem; }
  .trust-list li:not(:last-child)::after { margin: 0 0.6rem; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}

.footer-legal a {
  color: rgba(250,247,242,0.7);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--cream); }
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.form-agree {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--taupe);
  line-height: 1.45;
  max-width: 36rem;
}
.form-agree a { color: var(--berry); }

/* Legal pages */
.legal-page {
  max-width: 42rem;
}
.legal-page .legal-updated {
  margin: 0 0 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}
.legal-page h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  margin: 2.35rem 0 0.85rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 0.95rem;
  overflow-wrap: anywhere;
}
.legal-page ul {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}
.legal-page li { margin-bottom: 0.45rem; }
.legal-page a { color: var(--berry); }
.page-hero--legal h1 { max-width: 16ch; }

/* Submission portal */
.form-card input[type="checkbox"] {
  margin: 0.2rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--berry);
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.15rem 0 1.4rem;
  max-width: 40rem;
}
.form-check label {
  display: inline;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  line-height: 1.55;
}
.form-check a { color: var(--berry); }
.addon-options {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
  min-width: 0;
}
.addon-options legend {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 0.55rem;
  padding: 0;
}
.addon-options .form-check {
  margin: 0 0 0.55rem;
  max-width: none;
}
.addon-options .form-check:last-child { margin-bottom: 0; }
.addon-hint {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-card label.file-button {
  display: inline-flex;
  width: max-content;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--berry);
}


/* Sample edit callout */
.sample-band {
  background: var(--berry);
  color: var(--cream);
  padding: 2.6rem 0;
}
.sample-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 2.5rem;
}
.sample-band .eyebrow { margin-bottom: 0.45rem; }
.sample-band h2 {
  color: var(--cream);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  max-width: 16ch;
  text-wrap: balance;
}
.sample-band p {
  color: rgba(250, 247, 242, 0.88);
  max-width: 38rem;
  margin: 0.65rem 0 0;
}
.sample-band .btn-row { margin-top: 0; flex-shrink: 0; }
.sample-band-copy { flex: 1 1 18rem; }
@media (max-width: 800px) {
  .sample-band-inner { flex-direction: column; align-items: flex-start; }
  .sample-band .btn-row { width: 100%; }
  .sample-band .btn { width: 100%; }
}

/* Services / contact compact sample banner */
.sample-banner {
  background: var(--berry);
  color: var(--cream);
  padding: 1.6rem 0;
}
.sample-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.sample-banner h2 {
  color: var(--cream);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin-bottom: 0.35rem;
}
.sample-banner p {
  color: rgba(250, 247, 242, 0.88);
  margin: 0;
  max-width: 40rem;
  font-size: 0.98rem;
}
.sample-banner .btn { flex-shrink: 0; }
@media (max-width: 800px) {
  .sample-banner-inner { flex-direction: column; align-items: flex-start; }
  .sample-banner .btn { width: 100%; }
}

.sample-note {
  background: rgba(107, 39, 55, 0.08);
  border-left: 3px solid var(--berry);
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Genre landing pages */
.look-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 0.5rem;
}
.look-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--berry);
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.look-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--berry);
  margin-bottom: 0.4rem;
}
.look-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink-soft);
}
.genre-rate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.genre-rate-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.35rem 1.4rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.genre-rate-card h3 {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--berry);
  margin-bottom: 0.45rem;
}
.genre-rate-card .price {
  font-size: 1.85rem;
  margin: 0.15rem 0 0.35rem;
}
.genre-rate-card p { font-size: 0.92rem; }
.genre-rate-card .rate-note { margin-top: auto; padding-top: 0.8rem; }
.subgenre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.subgenre-list li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
@media (max-width: 960px) {
  .look-grid, .genre-rate-grid { grid-template-columns: 1fr; }
}

/* Guides hub and article pages */
.page-hero--guide h1 { max-width: 22ch; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--taupe);
}
.crumbs a { color: var(--taupe); text-decoration: none; }
.crumbs a:hover { color: var(--berry); }
.crumbs li + li::before {
  content: "/";
  margin-right: 0.55rem;
  color: var(--taupe-soft);
}
.guide-page {
  max-width: 42rem;
}
.guide-meta {
  margin: 0 0 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe);
}
.guide-page h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  margin: 2.35rem 0 0.85rem;
  color: var(--ink);
}
.guide-page h2:first-of-type { margin-top: 0; }
.guide-page h3 {
  font-size: 1.25rem;
  margin: 1.6rem 0 0.6rem;
  color: var(--berry);
}
.guide-page p,
.guide-page li {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 0.95rem;
}
.guide-page ul,
.guide-page ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}
.guide-page li { margin-bottom: 0.45rem; }
.guide-page a { color: var(--berry); }
.guide-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.guide-page .rate-table { border: 0; margin: 0; }
.guide-note {
  background: var(--white);
  border-left: 3px solid var(--berry);
  padding: 1rem 1.1rem 0.85rem;
  margin: 0 0 1.5rem;
  box-shadow: var(--shadow-soft);
}
.guide-note p:last-child { margin-bottom: 0; }
.guide-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 0.5rem;
}
.guide-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--berry);
  padding: 1.6rem 1.45rem 1.35rem;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
a.guide-card:hover,
a.guide-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
}
a.guide-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.guide-card .eyebrow { margin-bottom: 0.55rem; }
.guide-card h2,
.guide-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--berry);
  margin: 0 0 0.65rem;
}
.guide-card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}
.guide-card .genre-more {
  margin: 0;
}
.guide-related {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.15rem;
  margin-top: 0.5rem;
}
@media (max-width: 960px) {
  .guide-related { grid-template-columns: 1fr; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guide-optin-card {
  max-width: 40rem;
  margin: 0 auto;
}
.guide-optin-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1rem;
}
.guide-optin-card .btn[disabled],
.guide-optin-card button[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.guide-download {
  margin-top: 1rem;
}
.guide-download .btn {
  display: inline-flex;
}
@media (max-width: 640px) {
  .guide-optin-card .form-row { grid-template-columns: 1fr; }
}

.guide-article {
  padding-top: 3rem;
  padding-bottom: 1.75rem;
}
.guide-optin-section {
  padding-top: 1.25rem;
  padding-bottom: 4rem;
}
.guide-sig-block {
  margin-top: 1.85rem;
}
.guide-close-note {
  margin: 0 0 0.3rem;
}
.guide-sig {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--berry);
  margin: 0;
}
@media (max-width: 720px) {
  .guide-article {
    padding-top: 2.25rem;
    padding-bottom: 1.25rem;
  }
  .guide-optin-section {
    padding-top: 0.85rem;
    padding-bottom: 2.75rem;
  }
  .guide-sig-block { margin-top: 1.5rem; }
  .guide-sig { font-size: 1.6rem; }
}


/* Free sample edit page + availability messaging */
.availability-note {
  background: var(--cream-deep);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.15rem;
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.availability-note strong { color: var(--berry); }
.sample-band p.availability-line,
.sample-banner p.availability-line {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--gold-soft);
  font-weight: 500;
}
.field-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--taupe-soft);
}
.form-card fieldset.sample-pages {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 0.4rem;
  margin: 0 0 1.25rem;
  min-width: 0;
}
.form-card fieldset.sample-pages legend {
  padding: 0 0.4rem;
  font-weight: 600;
  color: var(--berry);
}
.form-card .sample-textarea { min-height: 15rem; }
.form-card .sample-count { margin: 0.35rem 0 0; }
.aside-card .steps-list { padding-left: 1.2rem; margin: 0 0 1rem; }
.aside-card .steps-list li { margin-bottom: 0.55rem; }
.aside-card .aside-sign {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--berry);
  margin: 0.4rem 0 0;
}

/* Gap fixes 2026-12-01: trust line, footer signup, genre FAQ spacing */
.cta-trust {
  margin: 0.95rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--taupe);
}
.hero-copy .cta-trust,
.sample-band .cta-trust,
.sample-banner .cta-trust,
.cta-band .cta-trust {
  color: rgba(250,247,242,0.82);
}
.cta-band .cta-trust { margin-inline: auto; text-align: center; }
@media (max-width: 800px) {
  .hero .hero-copy .cta-trust { color: var(--taupe); }
}
.sample-banner-action { flex-shrink: 0; }
.sample-banner-action .cta-trust { margin-top: 0.6rem; }
@media (max-width: 800px) {
  .sample-banner-action { width: 100%; }
}
.footer-optin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  padding-bottom: 2.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250,247,242,0.1);
}
.footer-optin-copy { flex: 1 1 18rem; max-width: 30rem; }
.footer-optin .footer-heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 0.6rem;
}
.footer-optin-copy p { margin: 0; color: rgba(250,247,242,0.8); }
.footer-optin-form { flex: 1 1 22rem; max-width: 32rem; margin: 0; }
.footer-optin-row { display: flex; gap: 0.6rem; }
.footer-optin-row input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(250,247,242,0.3);
  background: rgba(250,247,242,0.08);
  color: var(--cream);
  border-radius: 2px;
}
.footer-optin-row input[type="email"]::placeholder { color: rgba(250,247,242,0.55); }
.footer-optin-row .btn { flex: 0 0 auto; white-space: nowrap; }
.footer-optin .field-hint {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: rgba(250,247,242,0.62);
}
.footer-optin .field-hint a { color: var(--gold-soft); }
.footer-optin .form-status { margin-top: 0.75rem; }
.footer-optin .guide-download { margin-top: 0.75rem; }
.footer-optin button[disabled] { opacity: 0.7; cursor: wait; }
@media (max-width: 640px) {
  .footer-optin-row { flex-direction: column; }
  .footer-optin-row .btn { width: 100%; }
}
