/* ==========================================================================
   1. DESIGN TOKENS: every colour and font on the site is set here.
      Change a value below and the whole site follows.

      Four trial palettes are included. The default (Garden green) is in
      :root. The others only switch on when the palette previewer is used
      (add ?palette to the page address). To make one the permanent default,
      copy its values into :root.
   ========================================================================== */

:root {
  /* ---- Fonts ---- */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif; /* headings */
  --font-script: "Dancing Script", "Segoe Script", "Brush Script MT", cursive; /* "Welcome!" */
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif; /* reading text */

  /* ---- Palette: Garden green (default, taken from the logo) ---- */
  --color-bg: #fbf7ef;            /* page background */
  --color-surface: #ffffff;       /* cards and panels */
  --color-surface-alt: #f2ecdf;   /* alternate section background */
  --color-text: #2a2a25;          /* body text */
  --color-text-muted: #5a584f;    /* secondary text */
  --color-heading: #225123;       /* headings */
  --color-link: #225123;          /* links and outlined buttons */
  --color-accent: #a3305a;        /* small highlight text ("My debut novel") */
  --color-accent-soft: #f6dbe4;   /* soft decorative fills */
  --color-gold: #e9b93c;          /* decorative flower centres, stars */
  --color-line: #ddd5c3;          /* borders and dividers */
  --color-brand: #225123;         /* big coloured bands: welcome, newsletter, footer */
  --color-on-brand: #fbf6e9;      /* text on brand bands */
  --color-on-brand-muted: #d6e4cc;/* softer text on brand bands */
  --color-button: #225123;        /* solid button background */
  --color-on-button: #ffffff;     /* solid button text */
  --color-focus: #a3305a;         /* keyboard focus ring on light areas */
  --color-focus-on-brand: #f3c64a;/* keyboard focus ring on brand bands */
  --color-error: #a4262c;
}

:root[data-palette="coastal"] {
  --color-bg: #f5f8fa;
  --color-surface: #ffffff;
  --color-surface-alt: #e6eef3;
  --color-text: #1d2830;
  --color-text-muted: #4c5a64;
  --color-heading: #1b4460;
  --color-link: #1b4460;
  --color-accent: #9a4a14;
  --color-accent-soft: #fbe6c8;
  --color-gold: #f2c14e;
  --color-line: #cfdbe3;
  --color-brand: #1b4460;
  --color-on-brand: #f5f1e6;
  --color-on-brand-muted: #cfdde8;
  --color-button: #1b4460;
  --color-on-button: #ffffff;
  --color-focus: #9a4a14;
  --color-focus-on-brand: #f2c14e;
  --color-error: #a4262c;
}

:root[data-palette="rose"] {
  --color-bg: #fcf6f4;
  --color-surface: #ffffff;
  --color-surface-alt: #f6e6e6;
  --color-text: #2e2326;
  --color-text-muted: #624f54;
  --color-heading: #6b1f3d;
  --color-link: #7a2346;
  --color-accent: #3d6b4f;
  --color-accent-soft: #f9d9e2;
  --color-gold: #e8b04a;
  --color-line: #ead7d7;
  --color-brand: #5c1a35;
  --color-on-brand: #fcefe9;
  --color-on-brand-muted: #eccfd7;
  --color-button: #7a2346;
  --color-on-button: #ffffff;
  --color-focus: #7a2346;
  --color-focus-on-brand: #f3c64a;
  --color-error: #a4262c;
}

:root[data-palette="midnight"] {
  --color-bg: #121719;
  --color-surface: #1b2226;
  --color-surface-alt: #20292e;
  --color-text: #ece6d8;
  --color-text-muted: #b9b2a3;
  --color-heading: #f1dfb5;
  --color-link: #f0c96a;
  --color-accent: #f0a3b8;
  --color-accent-soft: #3a2830;
  --color-gold: #e6b95c;
  --color-line: #36434a;
  --color-brand: #0b0f11;
  --color-on-brand: #ece6d8;
  --color-on-brand-muted: #b9b2a3;
  --color-button: #e6b95c;
  --color-on-button: #121719;
  --color-focus: #f0c96a;
  --color-focus-on-brand: #f0c96a;
  --color-error: #ff9a9a;
}

/* Swatches shown in the palette previewer (keep in step with the palettes above) */
.palette-swatch-garden   { background: linear-gradient(135deg, #225123 50%, #fbf7ef 50%); }
.palette-swatch-coastal  { background: linear-gradient(135deg, #1b4460 50%, #f2c14e 50%); }
.palette-swatch-rose     { background: linear-gradient(135deg, #5c1a35 50%, #f9d9e2 50%); }
.palette-swatch-midnight { background: linear-gradient(135deg, #0b0f11 50%, #e6b95c 50%); }

/* ==========================================================================
   2. BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem; /* keeps jumped-to headings clear of the sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-heading);
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h3 { font-size: 1.6rem; }

p { margin: 0 0 1em; max-width: 65ch; }

a { color: var(--color-link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.15em; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible,
.newsletter :focus-visible,
.site-footer :focus-visible { outline-color: var(--color-focus-on-brand); }

main:focus { outline: none; } /* focus target for the skip link only */

.container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 40rem); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--color-button);
  color: var(--color-on-button);
  font-weight: 700;
  border-radius: 0 0 6px 6px;
}
.skip-link:focus { top: 0; }

.noscript { padding: 2rem; text-align: center; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.6rem;
  border: 2px solid var(--color-button);
  border-radius: 999px;
  background: var(--color-button);
  color: var(--color-on-button);
  font: 700 1rem/1.2 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgb(0 0 0 / 0.18); }
.button-on-brand {
  background: var(--color-on-brand);
  border-color: var(--color-on-brand);
  color: var(--color-brand);
}

/* ==========================================================================
   3. HEADER + NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-heading);
}
.brand-logo { width: 52px; height: 52px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; }
.brand-role {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.nav-list a:hover { background: var(--color-surface-alt); color: var(--color-heading); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-heading);
  font: 700 1rem var(--font-body);
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 20px; }
.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 52rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 12px 24px rgb(0 0 0 / 0.08);
  }
  .js .nav-toggle[aria-expanded="false"] + .nav-list { display: none; }
  .nav-list a { font-size: 1.15rem; }
  /* Without JavaScript the links simply wrap under the name */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.5rem; }
  html:not(.js) .nav-list { flex-wrap: wrap; }
}

/* ==========================================================================
   4. HERO: picture + welcome
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-brand);
  color: var(--color-on-brand);
  padding-block: clamp(3rem, 8vw, 6rem);
  transition: background-color 0.4s ease;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-picture { position: relative; justify-self: center; width: min(100%, 26rem); }
/* A slowly turning dashed ring around the logo */
.hero-picture::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 2px dashed var(--color-on-brand-muted);
  border-radius: 50%;
  opacity: 0.55;
  animation: spin 60s linear infinite;
}
.hero-logo {
  position: relative;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--color-brand), 0 20px 50px rgb(0 0 0 / 0.35);
}

.hero-greeting {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
  transform: rotate(-3deg);
  transform-origin: left;
}
.hero h1 {
  color: var(--color-on-brand);
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  font-weight: 600;
}
.hero-intro { color: var(--color-on-brand-muted); font-size: 1.2rem; margin-bottom: 1.75rem; }

/* Coffee mug flair */
.coffee {
  position: absolute;
  right: 0;
  bottom: -3.5rem;
  width: clamp(4.5rem, 9vw, 7rem);
  pointer-events: none;
}
.coffee .mug { fill: var(--color-on-brand); }
.coffee .mug-handle { stroke: var(--color-on-brand); }
.coffee .mug-heart { fill: var(--color-accent); }
.coffee .steam path {
  stroke: var(--color-on-brand-muted);
  opacity: 0;
  animation: steam 3.6s ease-in-out infinite;
}
.coffee .steam path.steam-2 { animation-delay: 1.2s; }
.coffee .steam path.steam-3 { animation-delay: 2.4s; }

@keyframes steam {
  0%   { opacity: 0; transform: translateY(10px); }
  35%  { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 52rem) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-picture { width: min(80%, 18rem); }
  .hero-greeting { transform: rotate(-3deg); transform-origin: center; }
  .hero-intro { margin-inline: auto; }
  .coffee { position: static; justify-self: center; margin-bottom: -1.5rem; width: 4.5rem; }
}

/* ==========================================================================
   5. SECTIONS
   ========================================================================== */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-intro { color: var(--color-text-muted); font-size: 1.2rem; }

.kicker {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

/* Flower divider between hero and content */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding-top: 4.5rem;
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: min(30vw, 12rem);
  background: var(--color-line);
}
.daisy {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow:
    0 -11px 0 1px var(--color-accent-soft), 0 11px 0 1px var(--color-accent-soft),
    -11px 0 0 1px var(--color-accent-soft), 11px 0 0 1px var(--color-accent-soft),
    -8px -8px 0 1px var(--color-accent-soft), 8px -8px 0 1px var(--color-accent-soft),
    -8px 8px 0 1px var(--color-accent-soft), 8px 8px 0 1px var(--color-accent-soft);
}

/* ---- Coming soon ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.book-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--color-text-muted);
}

/* CSS-only 3D book, pure decoration */
.book-stage { perspective: 1200px; display: flex; justify-content: center; padding-block: 1rem; }
.book {
  position: relative;
  width: min(15rem, 60vw);
  aspect-ratio: 2 / 3;
  transform: rotateY(-22deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.book-stage:hover .book { transform: rotateY(-6deg) rotateX(2deg) scale(1.03); }
.book::before { /* page edges */
  content: "";
  position: absolute;
  top: 3%;
  bottom: 3%;
  right: -18px;
  width: 22px;
  background: repeating-linear-gradient(to right, var(--color-surface) 0 2px, var(--color-line) 2px 3px);
  transform: rotateY(70deg);
  transform-origin: left;
}
.book::after { /* shadow */
  content: "";
  position: absolute;
  inset: auto 6% -1.8rem 6%;
  height: 1.2rem;
  background: rgb(0 0 0 / 0.25);
  filter: blur(12px);
  border-radius: 50%;
  transform: translateZ(-40px);
}
.book-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1.5rem 1rem 2rem;
  border-radius: 3px 8px 8px 3px;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.28) 0 5%, rgb(255 255 255 / 0.12) 6%, transparent 9%),
    var(--color-brand);
  color: var(--color-on-brand);
  text-align: center;
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.25);
}
.book-cover::after { /* slow shine sweep */
  content: "";
  position: absolute;
  inset: -50% -120%;
  background: linear-gradient(105deg, transparent 45%, rgb(255 255 255 / 0.18) 50%, transparent 55%);
  animation: shine 7s ease-in-out infinite;
}
.book-flowers { /* little flower wreath */
  position: absolute;
  top: 18%;
  left: 50%;
  width: 7.5rem;
  height: 7.5rem;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px dotted var(--color-on-brand-muted);
  background:
    radial-gradient(circle at 50% 0%, var(--color-gold) 0 7px, transparent 8px),
    radial-gradient(circle at 93% 30%, var(--color-accent-soft) 0 8px, transparent 9px),
    radial-gradient(circle at 80% 85%, var(--color-gold) 0 6px, transparent 7px),
    radial-gradient(circle at 20% 85%, var(--color-accent-soft) 0 8px, transparent 9px),
    radial-gradient(circle at 7% 30%, var(--color-gold) 0 6px, transparent 7px);
}
.book-line1 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.08em; }
.book-line2 { font-family: var(--font-script); font-size: 1.25rem; color: var(--color-gold); }

@keyframes shine {
  0%, 60% { transform: translateX(-40%); }
  100%    { transform: translateX(40%); }
}

/* ---- About ---- */
.about { background: var(--color-surface); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-intro {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--color-accent);
  line-height: 1.2;
}

.facts {
  position: relative;
  padding: 2rem 1.75rem 1.5rem;
  background: var(--color-surface-alt);
  border-radius: 14px;
  border: 1px solid var(--color-line);
  transform: rotate(1.2deg); /* a card propped up on the desk */
}
.facts::before { /* washi tape */
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 7rem;
  height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--color-accent-soft);
  opacity: 0.9;
}
.facts h3 { font-size: 1.5rem; }
.facts-list { margin: 0; }
.fact { padding-block: 0.7rem; border-top: 1px dashed var(--color-line); }
.fact:first-child { border-top: 0; }
.fact dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.fact dd { margin: 0; font-size: 1.05rem; }

/* ---- Books ---- */
.books { background: var(--color-surface-alt); }
.book-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 2rem;
}
.book-card {
  height: 100%;
  padding: 1.25rem;
  background: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--color-line);
}
.book-card-cover { border-radius: 4px; margin-bottom: 1rem; aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }

.empty-shelf {
  margin-top: 2rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--color-surface);
  border: 2px dashed var(--color-line);
  border-radius: 14px;
}
.empty-shelf p { margin: 0; font-size: 1.15rem; }
.empty-shelf-books { /* a tiny row of book spines, waiting to be filled */
  flex: none;
  width: 7rem;
  height: 5rem;
  border-bottom: 4px solid var(--color-text-muted);
  background:
    linear-gradient(var(--color-brand), var(--color-brand)) 0 100% / 14px 78% no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 18px 100% / 11px 62% no-repeat,
    linear-gradient(var(--color-gold), var(--color-gold)) 33px 100% / 16px 90% no-repeat;
}
@media (max-width: 36rem) {
  .empty-shelf { flex-direction: column; text-align: center; }
}

/* ---- Newsletter ---- */
.newsletter {
  background: var(--color-brand);
  color: var(--color-on-brand);
  text-align: center;
}
.newsletter h2 { color: var(--color-on-brand); }
.newsletter p { margin-inline: auto; }
.signup { margin-top: 2rem; text-align: left; }
.signup label { display: block; font-weight: 700; font-size: 1.1rem; }
.signup .hint { color: var(--color-on-brand-muted); font-size: 1rem; margin: 0.2rem 0 0.75rem; }
.signup .error:empty { padding: 0; margin: 0; } /* stays in the page so screen readers keep listening */
.signup .error {
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-error);
  font-weight: 700;
}
.signup-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.signup input {
  flex: 1 1 16rem;
  min-height: 52px;
  padding: 0.6rem 1rem;
  border: 2px solid var(--color-on-brand);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font: 1.1rem var(--font-body);
}
.signup input[aria-invalid="true"] { border-color: var(--color-error); border-width: 3px; }
.signup .status:not(:empty) {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--color-on-brand-muted);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-brand);
  color: var(--color-on-brand-muted);
  border-top: 1px solid rgb(255 255 255 / 0.15);
  padding-block: 2rem;
  font-size: 1rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
.footer-inner p { margin: 0; }

@media (max-width: 52rem) {
  .split, .about-inner { grid-template-columns: 1fr; }
  .facts { transform: none; }
}

/* ==========================================================================
   6. SCROLL FADE-IN (only when JavaScript is on and motion is welcome)
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   7. PALETTE PREVIEWER (only appears with ?palette in the address)
   ========================================================================== */

.palette-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: min(20rem, calc(100% - 2rem));
  padding: 1rem;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.25);
  font-size: 0.95rem;
}
.palette-panel fieldset { border: 0; margin: 0; padding: 0; }
.palette-panel legend { font-weight: 700; margin-bottom: 0.5rem; }
.palette-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.3;
}
.palette-option:has(input:checked) { background: var(--color-surface-alt); }
.palette-option input { accent-color: var(--color-button); width: 1.1rem; height: 1.1rem; flex: none; }
.palette-swatch { flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--color-line); }
.palette-text { display: flex; flex-direction: column; }
.palette-name { font-weight: 700; }
.palette-about { color: var(--color-text-muted); font-size: 0.85rem; }

/* ==========================================================================
   8. ACCESSIBILITY PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .coffee .steam path { opacity: 0.6; }
}

@media (forced-colors: active) {
  .button, .nav-toggle, .signup input { border: 2px solid ButtonText; }
  .daisy, .empty-shelf-books, .book-stage, .coffee { display: none; }
}
