/* ============================================================
   BRIGHT BAY DENTAL — styles.css
   Porcelain / Deep Teal / Warm Sand — Cormorant Garamond + Inter + Roboto Mono
   Light theme throughout
   ============================================================ */

/* ---------------- Tokens ---------------- */
:root {
  --porcelain: #f8f6f1;
  --porcelain-mid: #f0ede5;
  --white: #ffffff;
  --teal: #1a5f63;
  --teal-mid: #236b6f;
  --teal-light: rgba(26, 95, 99, 0.08);
  --teal-15: rgba(26, 95, 99, 0.15);
  --teal-30: rgba(26, 95, 99, 0.30);
  --teal-55: rgba(26, 95, 99, 0.55);
  --teal-70: rgba(26, 95, 99, 0.70);
  --sand: #c9a96e;
  --sand-light: rgba(201, 169, 110, 0.18);
  --charcoal: #1c2428;
  --charcoal-70: rgba(28, 36, 40, 0.70);
  --charcoal-45: rgba(28, 36, 40, 0.45);
  --charcoal-20: rgba(28, 36, 40, 0.20);
  --line: rgba(28, 36, 40, 0.12);
  --pad-x: clamp(1.25rem, 4.5vw, 4.5rem);
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "Courier New", monospace;
  --ease-snap: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------- Blob morph keyframe ---------------- */
@keyframes blobMorph {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%  { border-radius: 40% 60% 70% 30% / 30% 60% 40% 70%; }
  50%  { border-radius: 30% 70% 40% 60% / 70% 40% 60% 30%; }
  75%  { border-radius: 70% 30% 60% 40% / 40% 70% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ---------------- Reset / base ---------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--porcelain);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: var(--teal);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

section[id],
footer[id] {
  scroll-margin-top: 4.5rem;
}

/* ---------------- Utilities ---------------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  padding: 0.8em 1.4em;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-110%);
  transition: transform 0.25s var(--ease-snap);
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  position: relative;
}

.sec-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--teal-55);
  text-transform: uppercase;
}

.sec-label::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--sand);
  margin-right: 0.85rem;
  vertical-align: middle;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--charcoal);
  font-size: clamp(2.8rem, 8vw, 7.25rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-top: 1.25rem;
}

.sec-head {
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
}

/* Teal accent chip — used in services header */
.teal-chip {
  display: block;
  width: 96px;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--sand));
  margin-bottom: 1.4rem;
  border-radius: 999px;
}

.vskew {
  will-change: transform;
}

/* ---------------- Nav ---------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.25rem;
  padding: 0 var(--pad-x);
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  will-change: transform;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--teal);
  line-height: 1;
}

.nav-brand-thin {
  font-weight: 300;
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
}

.nav-links a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-70);
  padding: 0.35em 0;
  transition: color 0.3s var(--ease-snap);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-snap);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 0.55em 1.15em;
  transition: background-color 0.3s var(--ease-snap), color 0.3s var(--ease-snap);
  white-space: nowrap;
  border-radius: 2px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--teal);
  color: var(--white);
}

/* ---------------- 01 / Hero ---------------- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  background: var(--porcelain);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.7) brightness(1.05);
  will-change: transform;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(248, 246, 241, 0) 0%, rgba(248, 246, 241, 0.3) 50%, rgba(248, 246, 241, 0.82) 100%),
    linear-gradient(180deg, rgba(248, 246, 241, 0.7) 0%, rgba(248, 246, 241, 0) 20%, rgba(248, 246, 241, 0) 72%, rgba(248, 246, 241, 0.85) 100%);
}

.hero-idx {
  position: absolute;
  z-index: 2;
  top: 5.75rem;
  left: var(--pad-x);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: var(--charcoal-45);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  width: 100%;
  padding: 6.5rem var(--pad-x) 4.5rem;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: var(--charcoal-45);
  margin-bottom: 1.5rem;
}

.hero-head {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.1rem, 10vw, 8.75rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero-line-inner {
  display: inline-block;
  will-change: transform;
}

.hero-line-teal {
  color: var(--teal);
}

/* Smile arc beneath the heading */
.smile-arc-wrap {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  width: clamp(200px, 50%, 340px);
  overflow: visible;
}

.smile-arc-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}

#smile-arc {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.hero-sub {
  margin-top: 1.75rem;
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--charcoal-70);
  line-height: 1.65;
}

/* ----- Morphing blob ----- */
.blob-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 440px);
  height: min(100%, 440px);
  justify-self: end;
  aspect-ratio: 1;
}

.hero-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-mid) 45%, var(--sand) 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.82;
  animation: blobMorph 12s ease-in-out infinite;
  will-change: border-radius;
}

.blob-inner-ring {
  position: absolute;
  inset: 14%;
  border: 1.5px solid rgba(248, 246, 241, 0.28);
  border-radius: inherit;
  animation: blobMorph 12s ease-in-out infinite reverse;
  will-change: border-radius;
}

.blob-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: clamp(0.58rem, 0.85vw, 0.75rem);
  letter-spacing: 0.2em;
  text-align: center;
  line-height: 2;
  color: rgba(248, 246, 241, 0.88);
  pointer-events: none;
}

/* ----- Scroll cue ----- */
.hero-cue {
  position: absolute;
  z-index: 2;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cue-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--charcoal-45);
}

.cue-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--sand), transparent);
  transform-origin: top center;
}

/* ---------------- 02 / Services ---------------- */
.services {
  min-height: 100svh;
  padding: clamp(6rem, 14vh, 10rem) var(--pad-x);
  background: var(--white);
}

.service-rows {
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1.75rem, 4vh, 2.75rem) 0;
  border-top: 1px solid var(--line);
}

.service-idx {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--sand);
  padding-top: 0.5em;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.8vw, 3.3rem);
  line-height: 1.02;
  color: var(--charcoal);
}

.service-title-text {
  position: relative;
  display: inline-block;
}

/* Teal underline wipe on hover */
.service-title-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.07em;
  height: 0.055em;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-snap);
}

.service-row:hover .service-title-text::after,
.service-row:focus-within .service-title-text::after {
  transform: scaleX(1);
}

.service-meta {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--teal-55);
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--charcoal-70);
  max-width: 46ch;
  padding-top: 0.45em;
}

/* ---------------- 03 / Practice ---------------- */
.practice {
  background: var(--porcelain-mid);
}

.practice-media {
  position: relative;
  height: 62svh;
  overflow: hidden;
  will-change: clip-path;
}

.practice-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.98);
}

.practice-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 246, 241, 0.35) 0%, rgba(248, 246, 241, 0.0) 30%, rgba(248, 246, 241, 0.55) 100%),
    linear-gradient(90deg, rgba(26, 95, 99, 0.06), transparent 50%);
}

.practice-overlay {
  position: relative;
  padding: 2.75rem var(--pad-x) 4.5rem;
}

.practice-label {
  display: block;
  margin-bottom: 2rem;
}

.prac-note {
  max-width: 26rem;
  margin-bottom: 1.4rem;
  padding: 1.1rem 1.3rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--charcoal-70);
  background: rgba(248, 246, 241, 0.88);
  border-left: 2px solid var(--teal);
  border-radius: 0 2px 2px 0;
}

.prac-note-key {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  color: var(--teal);
  margin-bottom: 0.55rem;
}

.practice-title {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 8.5vw, 7.5rem);
  line-height: 0.96;
  color: var(--charcoal);
}

@media (min-width: 768px) {
  .practice {
    min-height: 100svh;
  }

  .practice-media {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .practice-overlay {
    position: absolute;
    inset: 0;
    padding: 0;
  }

  .practice-label {
    position: absolute;
    top: 7%;
    left: var(--pad-x);
    margin: 0;
  }

  .prac-note {
    position: absolute;
    margin: 0;
  }

  .prac-note-1 {
    top: 17%;
    left: var(--pad-x);
  }

  .prac-note-2 {
    top: 36%;
    right: var(--pad-x);
  }

  .prac-note-3 {
    bottom: 11%;
    left: var(--pad-x);
  }

  .practice-title {
    position: absolute;
    right: var(--pad-x);
    bottom: 8%;
    margin: 0;
    text-align: right;
  }
}

/* ---------------- 04 / Approach ---------------- */
.approach {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 14vh, 10rem) var(--pad-x);
  background: var(--white);
}

.manifesto-text {
  margin-top: 2.5rem;
  max-width: 1150px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 5.6vw, 4.9rem);
  line-height: 1.08;
  color: var(--teal);
}

.manifesto-sub {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  margin-left: clamp(0rem, 30vw, 24rem);
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--charcoal-70);
}

/* ---------------- 05 / Numbers ---------------- */
.numbers {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 14vh, 10rem) var(--pad-x);
  background: var(--teal-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.stat {
  border-top: 1px solid var(--teal-15);
  padding-top: 1.5rem;
}

.stat-num-row {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: var(--font-mono);
}

.stat-num {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-size: clamp(1.3rem, 2.8vw, 2.4rem);
  font-weight: 500;
  color: var(--sand);
}

.stat-label {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--charcoal-45);
}

/* ---------------- 06 / Reviews ---------------- */
.reviews {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 14vh, 10rem) var(--pad-x);
  background: var(--porcelain);
}

.reviews > .sec-label {
  margin-bottom: clamp(3rem, 8vh, 5rem);
}

.reviews-inner {
  position: relative;
  max-width: 62rem;
}

.quote + .quote {
  margin-top: 3.5rem;
}

/* Stacked for the pinned crossfade — applied by JS on desktop only */
.reviews.reviews-pinned .reviews-inner {
  display: grid;
}

.reviews.reviews-pinned .quote {
  grid-area: 1 / 1;
  margin-top: 0;
}

.quote-text {
  font-size: clamp(1.4rem, 3.2vw, 2.5rem);
  font-weight: 300;
  font-family: var(--font-display);
  line-height: 1.38;
  color: var(--charcoal);
}

.quote-mark {
  font-family: var(--font-display);
  color: var(--sand);
  margin-right: 0.2rem;
}

.quote-cite {
  margin-top: 2.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--charcoal-45);
}

.quote-cite cite {
  font-style: normal;
  color: var(--teal);
}

/* ---------------- 07 / Areas ---------------- */
.areas {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 14vh, 10rem) var(--pad-x);
  background: var(--white);
}

.areas-intro {
  margin-top: 1.25rem;
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--charcoal-70);
}

.area-rows {
  border-bottom: 1px solid var(--line);
}

.area-row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1rem, 2.6vh, 1.9rem) 0;
  border-top: 1px solid var(--line);
}

/* Teal marker bar slides in on hover */
.area-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 3px;
  margin-top: -1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-snap);
}

.area-row:hover::before {
  transform: scaleX(1);
}

.area-name {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 8vw, 7.25rem);
  line-height: 1;
  color: var(--charcoal-45);
  transition: transform 0.5s var(--ease-snap), color 0.4s var(--ease-snap);
}

.area-row:hover .area-name {
  transform: translateX(2.9rem);
  color: var(--teal);
}

.area-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--charcoal-20);
  white-space: nowrap;
  transition: color 0.4s var(--ease-snap);
}

.area-row:hover .area-meta {
  color: var(--sand);
}

/* ---------------- 08 / Booking + footer ---------------- */
.book {
  padding: clamp(7rem, 15vh, 11rem) var(--pad-x) 2.5rem;
  background: var(--porcelain-mid);
  overflow: hidden;
}

.teal-bar-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sand));
}

.book-head {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 8.8vw, 8rem);
  line-height: 0.97;
  color: var(--charcoal);
}

.book-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.045em;
}

.book-line-inner {
  display: inline-block;
  will-change: transform;
}

.book-accent {
  color: var(--teal);
}

.book-phone {
  position: relative;
  display: inline-block;
  margin-top: clamp(2rem, 5vh, 3.25rem);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--charcoal);
  padding-bottom: 0.18em;
  transition: color 0.35s var(--ease-snap);
}

.book-phone::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--sand);
}

.book-phone:hover,
.book-phone:focus-visible {
  color: var(--teal);
}

.book-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  margin-top: clamp(5rem, 12vh, 8rem);
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.book-col-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.book-col p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--charcoal-70);
}

.book-col a {
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease-snap), border-color 0.3s var(--ease-snap);
}

.book-col a:hover,
.book-col a:focus-visible {
  color: var(--teal);
  border-color: var(--sand);
}

.book-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(4rem, 9vh, 6rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--charcoal-20);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .book-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    padding-top: 7.5rem;
    padding-bottom: 6.5rem;
  }

  .blob-wrap {
    justify-self: center;
    width: min(72vw, 340px);
    height: min(72vw, 340px);
  }

  .service-row {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .service-desc {
    grid-column: 2;
    padding-top: 0;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manifesto-sub {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .hero-idx {
    top: 5.25rem;
  }

  .area-row:hover .area-name {
    transform: translateX(1.6rem);
  }

  .area-row::before {
    width: 1.1rem;
  }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-foot {
    flex-direction: column;
  }

  .nav-cta {
    font-size: 0.74rem;
    padding: 0.5em 0.85em;
  }

  .nav-brand {
    font-size: 1rem;
  }
}

/* ---------------- Reduced motion ---------------- */
/* body.no-motion is added by JS under prefers-reduced-motion:
   everything renders in its final, static state */
.no-motion .cue-line {
  display: none;
}

.no-motion .hero-blob {
  animation: none;
}

.no-motion .blob-inner-ring {
  animation: none;
}

.no-motion #smile-arc {
  stroke-dashoffset: 0;
}

.no-motion .reviews.reviews-pinned .reviews-inner {
  display: block;
}

.no-motion .reviews.reviews-pinned .quote + .quote {
  margin-top: 3.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-blob,
  .blob-inner-ring {
    animation: none;
  }
}
