/* ---------- Foundations ---------- */
:root {
  --cream: #f7f3ec;
  --cream-alt: #f1ebe0;
  --warm-white: #fbfaf7;
  --ink: #2b2723;
  --ink-soft: #55504a;
  --line: #e2d9c9;
  --accent: #a9764f;
  --accent-dark: #7f5638;
  --accent-blue: #7c8db3;
  --accent-blue-soft: #9aabce;
  --clay: #af5b3c;
  --clay-dark: #8f4830;
  --story-line: rgba(76, 96, 136, 0.28);
  --story-marker: #4c6088;

  /* Blue accent system, drawn from the healing card's ink navy */
  --ink-blue: #23324f;
  --blue-slate: #4c6088;
  --blue-dusty: #7c8db3;
  --blue-pale: #eef1f6;
  --blue-pale-alt: #e6ebf3;
  --blue-line: rgba(76, 96, 136, 0.32);
  --blue-shadow: rgba(35, 50, 79, 0.16);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1100px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

section[id], .chapter-intro[id] {
  scroll-margin-top: 32px;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, blockquote {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- Continuous story spine ----------
   One absolute layer spans the full storytelling portion of the page
   (below the hero through the end of Chapter Two) so the timeline never
   breaks into per-section fragments. Section content paints above it;
   diamond markers sit on top at each transition. */
.story-spine-wrap {
  position: relative;
  isolation: isolate;
}

.story-spine-wrap > *:not(.story-spine) {
  position: relative;
  z-index: 1;
}

.story-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: var(--story-line);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Story thread connectors: spacing + marker only, the line itself is .story-spine ---------- */
.story-connector {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  background: linear-gradient(to bottom, var(--conn-from, var(--warm-white)), var(--conn-to, var(--warm-white)));
}

.story-connector-marker {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: var(--story-marker);
  border-radius: 1px;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.5s ease 0.35s;
}

.story-connector.is-drawn .story-connector-marker {
  opacity: 1;
}

@media (max-width: 720px) {
  .story-connector {
    height: 44px;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-card {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-img {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-img.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-card,
  .reveal-img,
  .story-connector-marker {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .story-connector-marker {
    transform: rotate(45deg) !important;
  }
}

/* ---------- Minimal floating nav ---------- */
.site-nav-link {
  position: fixed;
  top: 40px;
  z-index: 50;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.site-nav-link--left {
  left: 44px;
}

.site-nav-link--right {
  right: 44px;
}

.site-nav-link:hover {
  color: var(--blue-slate);
}

.site-nav-link:focus-visible {
  outline: 2px solid var(--blue-slate);
  outline-offset: 4px;
  color: var(--blue-slate);
}

@media (max-width: 640px) {
  .site-nav-link {
    top: 20px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .site-nav-link--left { left: 20px; }
  .site-nav-link--right { right: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px 80px;
  margin-bottom: 0;
  position: relative;
  top: 0;
  overflow: visible;
  background-color: var(--warm-white);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-panel {
  --panel-rest-y: 60px;
  position: relative;
  background: linear-gradient(165deg, var(--cream), var(--cream-alt) 130%);
  padding: 68px 64px;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -32px rgba(43, 39, 35, 0.18);
  width: 56%;
  max-width: 760px;
  min-width: 460px;
  opacity: 0;
  transform: translateY(calc(var(--panel-rest-y) + 16px)) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-panel.is-visible {
  opacity: 1;
  transform: translateY(var(--panel-rest-y)) scale(1);
}

.hero-panel.is-visible:hover {
  transform: translateY(calc(var(--panel-rest-y) - 3px)) scale(1);
  box-shadow: 0 28px 68px -30px rgba(43, 39, 35, 0.24);
}

/* Editorial corner brackets that frame the hero card from a deliberate
   distance — floating outside the card as its own accent, not a border
   attached to the card edge. */
.hero-corner {
  --corner-offset: 56px;
  --corner-length: 84px;
  --corner-thickness: 2.5px;
  position: absolute;
  width: var(--corner-length);
  height: var(--corner-length);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 0.3s;
}

.hero-panel.is-visible .hero-corner {
  opacity: 0.6;
}

.hero-panel.is-visible:hover .hero-corner {
  opacity: 0.9;
}

.hero-corner--tl {
  top: calc(var(--corner-offset) * -1);
  left: calc(var(--corner-offset) * -1);
  border-top: var(--corner-thickness) solid var(--blue-slate);
  border-left: var(--corner-thickness) solid var(--blue-slate);
}

.hero-corner--tr {
  top: calc(var(--corner-offset) * -1);
  right: calc(var(--corner-offset) * -1);
  border-top: var(--corner-thickness) solid var(--blue-slate);
  border-right: var(--corner-thickness) solid var(--blue-slate);
}

.hero-corner--bl {
  bottom: calc(var(--corner-offset) * -1);
  left: calc(var(--corner-offset) * -1);
  border-bottom: var(--corner-thickness) solid var(--blue-slate);
  border-left: var(--corner-thickness) solid var(--blue-slate);
}

.hero-corner--br {
  bottom: calc(var(--corner-offset) * -1);
  right: calc(var(--corner-offset) * -1);
  border-bottom: var(--corner-thickness) solid var(--blue-slate);
  border-right: var(--corner-thickness) solid var(--blue-slate);
}

@media (prefers-reduced-motion: reduce) {
  .hero-corner {
    transition: none;
  }
}

@media (max-width: 720px) {
  .hero-corner {
    --corner-offset: 20px;
    --corner-length: 44px;
    --corner-thickness: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel {
    opacity: 1 !important;
    transform: translateY(var(--panel-rest-y)) scale(1) !important;
    transition: box-shadow 0.4s ease !important;
  }
}

.anthology {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 60px;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 44px;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--blue-slate);
  opacity: 0.7;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  opacity: 1;
  color: var(--blue-dusty);
}

.scroll-cue:focus-visible {
  outline: 2px solid var(--blue-slate);
  outline-offset: 2px;
  border-radius: 50%;
}

.scroll-cue-chevron {
  animation: scroll-cue-drift 2.6s ease-in-out infinite;
}

@keyframes scroll-cue-drift {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-chevron {
    animation: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 38px;
  border-radius: 2px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--warm-white);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--warm-white);
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 24px;
}

.section-alt {
  background: var(--cream);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 640px;
  text-align: center;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-dark);
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 28px;
}

.section-intro {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.08rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.sub-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  margin-top: 32px;
  color: var(--ink);
}

.sub-title.center { text-align: center; }

.sub-title:first-child { margin-top: 0; }

.placeholder-copy {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.placeholder-copy.center { text-align: center; max-width: 560px; margin: 0 auto; }

/* ---------- Her Story section ---------- */
/* Opaque across its full box (not just the intro block) so the story spine —
   a single element spanning the whole .story-spine-wrap behind everything —
   never shows through any gap in the grid, image, or card below. The line
   breaks at this section's top edge and resumes at its bottom edge. */
.section#her-story {
  position: relative;
  z-index: 2;
  background: var(--warm-white);
  padding-top: 0;
  padding-bottom: 0;
}

.section#her-story .section-inner {
  position: relative;
  z-index: 1;
}

/* Opaque editorial window: the story spine is one continuous element that
   runs the full height of .story-spine-wrap, but it must never cross
   readable text. This block sits directly above the spine and fully
   occludes it — not just behind glyphs, but across the whole band — so the
   line reads as an intentional break rather than a rendering glitch. It
   picks back up immediately after, on the same center axis. */
.story-window {
  position: relative;
  z-index: 2;
  background: var(--warm-white);
  padding: 76px 24px 64px;
}

@media (max-width: 720px) {
  .story-window {
    padding: 56px 20px 48px;
  }
}

/* ---------- Story grid ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 60px;
}

.story-grid-line {
  align-self: stretch;
  width: 1px;
  background: var(--blue-line);
}

@media (max-width: 860px) {
  .story-grid-line {
    display: none;
  }
}

.portrait-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--warm-white);
}

.story-text {
  padding-top: 34px;
}

/* consistent small blue accent ahead of each topic heading */
.story-text .sub-title {
  position: relative;
  padding-left: 20px;
  margin-top: 44px;
}

.story-text .sub-title:first-child {
  margin-top: 0;
}

.story-text .sub-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 1px;
  background: var(--blue-slate);
}

.story-text .placeholder-copy {
  line-height: 1.75;
}

.story-text .placeholder-copy + .placeholder-copy {
  margin-top: 16px;
}

/* subtle pale-blue divider between the intro and the story grid */
.story-divider {
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto 40px;
  background: var(--blue-line);
}

.section#her-story .section-title {
  margin-bottom: 68px;
}

.section#her-story .section-intro {
  margin-bottom: 32px;
}

.image-placeholder {
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(
    135deg,
    var(--cream-alt),
    var(--cream-alt) 12px,
    var(--warm-white) 12px,
    var(--warm-white) 24px
  );
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.image-placeholder span {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Chapter transition ---------- */
.chapter-intro {
  background: var(--cream);
  text-align: center;
  padding: 88px 24px 96px;
}

.chapter-intro .kicker {
  margin-bottom: 18px;
}

.chapter-intro .section-title {
  margin-bottom: 0;
}

.chapter-two-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 24px auto 0;
}

/* ---------- Anthology footnote ---------- */
.anthology-note {
  max-width: 440px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--blue-line);
  text-align: center;
}

.anthology-note-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.anthology-note-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.anthology-note-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.anthology-note-link:hover {
  color: var(--ink);
  border-bottom-color: var(--accent-dark);
}

.anthology-note-link:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.link-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.anthology-note-link:hover .link-arrow,
.anthology-note-link:focus-visible .link-arrow {
  transform: translateX(4px);
  color: var(--clay);
}

/* ---------- Card feature: museum-style display of the healing card ---------- */
.card-feature {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 24px 48px;
  background: var(--warm-white);
}

.card-feature-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 26px 36px 22px;
  background: linear-gradient(175deg, var(--warm-white) 0%, var(--blue-pale) 130%);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 30px 60px -34px var(--blue-shadow), 0 18px 40px -28px rgba(43, 39, 35, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-feature-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: var(--blue-slate);
  opacity: 0.55;
  border-radius: 2px;
}

.card-feature-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-slate);
  margin: 0 0 22px;
}

.card-feature-frame.is-visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 36px 70px -30px var(--blue-shadow), 0 22px 46px -26px rgba(43, 39, 35, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.card-feature-img-crop {
  position: relative;
  flex: 0 0 auto;
  width: min(340px, 58vw);
  aspect-ratio: 173 / 309;
  overflow: hidden;
  border-radius: 2px;
}

.card-feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.66);
  transform-origin: center;
}

.card-feature-caption {
  margin-top: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .card-feature-frame {
    padding: 26px 22px 24px;
  }
}

@media (max-width: 900px) {
  .chapter-intro {
    padding: 72px 24px 72px;
  }

  .hero-panel {
    --panel-rest-y: 35px;
  }
}

.section-cta {
  text-align: center;
}

/* ---------- Kind Words: static review invitation, separate from the moving wheel ---------- */
.kind-words {
  background: var(--warm-white);
  padding: 96px 24px 88px;
  text-align: center;
}

.kind-words-inner {
  max-width: 520px;
  margin: 0 auto;
}

.kind-words-line {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 18px auto 36px;
}

/* ---------- Featured review wheel: its own full-width, continuously moving section ---------- */
.testimonial-strip {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--cream-alt) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}

.testimonial-strip[hidden] {
  display: none;
}

/* The viewport clips the moving track only — it never affects page width.
   A matching mask fades both edges identically, so wherever the marquee
   happens to be, the same soft edge treatment shows on the left and right. */
.testimonial-strip-viewport {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonial-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: testimonial-marquee var(--marquee-duration, 60s) linear infinite;
}

@keyframes testimonial-marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.testimonial-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(420px, 80vw);
  margin: 0 14px;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
}

.testimonial-item:nth-child(4n+3) {
  background: rgba(76, 96, 136, 0.06);
}

.testimonial-divider {
  flex: 0 0 auto;
  align-self: center;
  color: var(--blue-dusty);
  opacity: 0.5;
  font-size: 0.8rem;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 22px;
}

.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 18px;
}

.testimonial-name {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .kind-words {
    padding: 72px 20px 64px;
  }

  .testimonial-strip {
    padding: 44px 0;
  }

  .testimonial-item {
    padding: 26px 26px;
  }
}

.testimonial-strip.is-static .testimonial-track {
  animation: none;
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
  row-gap: 28px;
  padding: 0 24px;
}

.testimonial-strip.is-static .testimonial-strip-viewport {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    row-gap: 28px;
    padding: 0 24px;
  }

  .testimonial-strip-viewport {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------- Review modal ---------- */
.review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 39, 35, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  animation: reviewOverlayIn 0.25s ease;
}

.review-modal-overlay[hidden] {
  display: none;
}

@keyframes reviewOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.review-modal {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 18px 48px -24px rgba(43, 39, 35, 0.22);
  width: 100%;
  max-width: 560px;
  max-height: min(720px, 90vh);
  overflow-y: auto;
  padding: 52px 48px 44px;
  animation: reviewModalIn 0.3s ease;
  transition: max-width 0.3s ease, padding 0.3s ease;
}

.review-modal.is-success {
  max-width: 440px;
  padding: 44px 40px 36px;
}

@keyframes reviewModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.review-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease;
}

.review-modal-close:hover {
  color: var(--ink);
  background: rgba(43, 39, 35, 0.06);
}

.review-modal-close:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.review-modal-title {
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 28px;
}

.review-form .field {
  margin-bottom: 20px;
}

.field-label-static {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.review-form .field input:focus-visible,
.review-form .field textarea:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.field-error {
  font-size: 0.8rem;
  color: #a3453a;
  margin-top: 8px;
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.field-char-count {
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-align: right;
  margin-top: 6px;
}

.review-form input.field-invalid,
.review-form textarea.field-invalid {
  border-color: #a3453a;
}

.review-form-error {
  font-size: 0.86rem;
  color: #a3453a;
  text-align: center;
  margin: 0 0 16px;
}

.review-form-error:empty {
  display: none;
}

.field-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.star-rating {
  display: flex;
  gap: 4px;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--line);
  padding: 6px 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.15s ease;
}

.star-btn:hover,
.star-btn.is-hover {
  transform: scale(1.08);
}

.star-btn.is-filled,
.star-btn.is-hover {
  color: var(--accent);
}

.star-btn:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.star-rating.field-invalid {
  outline: 1px solid #a3453a;
  outline-offset: 6px;
  border-radius: 4px;
}

.review-form .btn {
  width: 100%;
  border: none;
  margin-top: 4px;
}

.review-form .form-note {
  margin-top: 18px;
  color: var(--ink-soft);
  min-height: 0;
}

.review-success-view {
  text-align: center;
  padding: 4px 0 0;
}

.review-success-accent {
  display: block;
  width: 30px;
  height: 1px;
  margin: 0 auto 20px;
  background: var(--line);
}

.review-success-mark {
  font-size: 1.05rem;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: 14px;
}

.review-success-title {
  font-size: 1.5rem;
  line-height: 1.35;
}

.review-success-view .review-modal-title {
  margin-bottom: 12px;
}

.review-success-view p.placeholder-copy {
  margin-bottom: 26px;
  font-size: 0.92rem;
}

.btn-quiet {
  display: inline-block;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  cursor: pointer;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn-quiet:hover {
  color: var(--ink);
  border-bottom-color: var(--accent-dark);
}

.btn-quiet:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .review-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .review-modal {
    max-width: none;
    width: 100%;
    max-height: 92vh;
    border-radius: 12px 12px 0 0;
    padding: 40px 24px 32px;
    animation: reviewSheetIn 0.3s ease;
  }

  @keyframes reviewSheetIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

/* ---------- Contact ---------- */
.contact-form {
  text-align: left;
  margin-top: 20px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: 2px;
  resize: vertical;
}

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

.contact-form .btn {
  width: 100%;
  border: none;
}

.form-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--accent-dark);
  text-align: center;
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 24px 48px;
  text-align: center;
  background: var(--cream-alt);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}

.footer-links a {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.footer-copy {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .portrait-frame {
    max-width: 340px;
    margin: 0 auto;
  }

  .story-text {
    padding-top: 0;
    margin-top: 40px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 20px;
  }

  .section#her-story {
    padding-top: 28px;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .story-grid {
    margin-bottom: 56px;
  }

  .hero {
    padding: 0 32px 70px;
    margin-bottom: 0;
  }

  .hero-panel {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 40px 28px;
    --panel-rest-y: 15px;
  }

  .anthology {
    margin-bottom: 40px;
  }

  .chapter-intro {
    padding: 56px 20px 60px;
  }

  .card-feature {
    padding: 48px 20px 52px;
  }

  .site-footer {
    padding: 48px 20px 36px;
  }

  .footer-links {
    gap: 10px 20px;
  }
}
