/* T.C. Standish — shared site styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #14110e;
  --ink-2:      #1d1915;
  --ink-3:      #2a241e;
  --parchment:  #f6f1e7;
  --cream:      #ece5d6;
  --gold:       #d1c996;   /* original brand gold */
  --gold-deep:  #8a7442;   /* gold for text on light backgrounds (AA contrast) */
  --sage:       #8fb293;
  --sage-deep:  #4f6b53;
  --text:       #2e2923;
  --muted:      #6d6459;
  --on-dark:    #f3ede2;
  --on-dark-2:  rgba(243,237,226,0.72);
  --on-dark-3:  rgba(243,237,226,0.5);
  --line-dark:  rgba(243,237,226,0.12);
  --line-light: rgba(20,17,14,0.12);

  --display: 'Cormorant Garamond', Georgia, serif;
  --sans:    'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius:  14px;
  --wrap:    1160px;
  --gutter:  clamp(1rem, 5vw, 3rem);
  --ease:    cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--parchment);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 8px;
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ── Shared type ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }

.h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.01em;
  color: var(--ink); margin: 1rem 0 1.25rem;
}
.h2 em { font-style: italic; color: var(--gold-deep); }
.on-dark .h2 { color: var(--on-dark); }
.on-dark .h2 em { color: var(--gold); }

.lead { font-size: 1.125rem; color: var(--muted); max-width: 56ch; }
.on-dark .lead { color: var(--on-dark-2); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: .06em;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e2dbb0; box-shadow: 0 8px 24px -8px rgba(209,201,150,.6); }

.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--sage-deep); }

.btn-line-light { color: var(--on-dark); border-color: rgba(243,237,226,.35); background: rgba(20,17,14,.15); backdrop-filter: blur(6px); }
.btn-line-light:hover { border-color: var(--on-dark); background: rgba(243,237,226,.08); }

.btn-line-dark { color: var(--ink); border-color: var(--line-light); }
.btn-line-dark:hover { border-color: var(--ink); }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 500; font-size: .9375rem; text-decoration: none; color: var(--gold);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.text-link:hover { border-color: currentColor; }

/* ── Nav ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav.scrolled {
  background: rgba(20,17,14,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.brand { text-decoration: none; color: var(--on-dark); line-height: 1; display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-family: var(--display); font-size: 1.6rem; font-weight: 500; font-style: italic; }
.brand-sub { font-size: .625rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links > li > a:not(.btn) {
  color: var(--on-dark-2); text-decoration: none; font-size: .9rem; font-weight: 400; letter-spacing: .04em;
  position: relative; padding: .4rem 0; transition: color .25s;
}
.nav-links > li > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links > li > a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--on-dark); }
.nav-links > li > a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { min-height: 40px; padding: .5rem 1.2rem; font-size: .8125rem; }
.menu-num, .menu-eyebrow, .menu-extra { display: none; }
.menu-label .ch { display: inline-block; white-space: pre; }
.word { white-space: nowrap; }

/* Reading animation for body text: letters light up in order once scrolled into view */
.read-text .ch { color: rgba(243,237,226,.18); }
.read-text.reading .ch {
  animation: readLetter .9s var(--ease) forwards;
  animation-delay: calc(.2s + var(--c) * 35ms);
}
.about-card cite { opacity: 0; transition: opacity .8s var(--ease) 2.4s; }
.read-text.reading ~ cite, .no-js .about-card cite { opacity: 1; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative; color: var(--on-dark);
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--on-dark); overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -4% 0 0 0; z-index: -2;
  background: url("../images/Untitled design.jpg") center 40% / cover no-repeat;
  transform: scale(1.06); animation: heroZoom 18s ease-out forwards;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,.25) 35%, rgba(20,17,14,.7) 78%, var(--ink) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 0%, rgba(20,17,14,.45) 100%);
}
.hero-content { text-align: center; max-width: 820px; margin: 0 auto; padding: 8rem 0 7rem; }
.hero-title {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(3.5rem, 11vw, 8.5rem); line-height: .95; letter-spacing: -.02em;
  margin: 0 0 1.5rem; text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.hero-tagline {
  font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.4;
  color: var(--on-dark-2); max-width: 30ch; margin: 0 auto 2.75rem;
}
.hero-tagline em { color: var(--gold); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

.hero-fade > * { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; }
.hero-fade > *:nth-child(1) { animation-delay: .15s; }
.hero-fade > *:nth-child(2) { animation-delay: .3s; }
.hero-fade > *:nth-child(3) { animation-delay: .45s; }
.hero-fade > *:nth-child(4) { animation-delay: .6s; }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .6875rem; letter-spacing: .28em; text-transform: uppercase; color: var(--on-dark-3);
  text-decoration: none;
}
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }

/* ── Highlights strip ── */
.strip { background: var(--ink); color: var(--on-dark-2); border-bottom: 1px solid var(--line-dark); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { display: flex; align-items: center; gap: 1rem; padding: 1.75rem 1.5rem; }
.strip-item + .strip-item { border-left: 1px solid var(--line-dark); }
.strip-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(209,201,150,.08); border: 1px solid rgba(209,201,150,.2);
}
.strip-icon svg { width: 20px; height: 20px; }
.strip-item strong { display: block; color: var(--on-dark); font-weight: 500; font-size: .975rem; line-height: 1.3; }
.strip-item small { font-size: .85rem; color: var(--on-dark-3); }

/* ── About ── */
.about { padding: clamp(5rem, 11vw, 9rem) 0; background: var(--parchment); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }

.about-visual { position: relative; }
.about-card {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: url("../images/tcstandish-bg.png") 30% center / cover;
  box-shadow: 0 30px 60px -30px rgba(20,17,14,.5);
  display: flex; align-items: flex-end; padding: 2rem;
}
.about-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20,17,14,.88) 100%);
}
.about-card blockquote {
  position: relative; color: var(--on-dark);
  font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.3;
}
.about-card cite { display: block; margin-top: .9rem; font-family: var(--sans); font-style: normal; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.about-badge {
  position: absolute; right: -1.25rem; top: 2rem;
  background: var(--parchment); border: 1px solid var(--line-light); border-radius: 12px;
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem;
  box-shadow: 0 16px 40px -20px rgba(20,17,14,.45);
}
.about-badge svg { width: 26px; height: 26px; color: var(--gold-deep); flex: none; }
.about-badge strong { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.about-badge small { font-size: .75rem; color: var(--muted); }

.about-copy p { margin-bottom: 1.25rem; color: var(--text); max-width: 60ch; }
.about-copy p.lead { color: var(--muted); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.25rem; }

.socials { display: flex; gap: .6rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-light); color: var(--ink);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.on-dark .socials a { border-color: var(--line-dark); color: var(--on-dark-2); }
.on-dark .socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ── Books ── */
.books {
  position: relative; padding: clamp(5rem, 11vw, 9rem) 0; background: var(--ink); color: var(--on-dark);
  isolation: isolate; overflow: hidden;
}
.books::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .45;
  background: url("../images/Untitled design (31).jpg") center / cover;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}
.books-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.books-head .lead { margin: 0; }

.book-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.book-card {
  display: flex; flex-direction: column;
  background: rgba(29,25,21,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 4px); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.book-card:hover { transform: translateY(-6px); border-color: rgba(209,201,150,.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }

.book-cover {
  position: relative; height: 320px; display: flex; align-items: center; justify-content: center; padding: 2.75rem 2rem 2rem;
  background: radial-gradient(ellipse at center, var(--cover-glow, rgba(143,178,147,.18)), transparent 70%), var(--ink-2);
  border-bottom: 1px solid var(--line-dark);
}
.book-cover img {
  width: auto; height: auto; max-width: 100%; max-height: 100%; min-width: 0; border-radius: 6px;
  box-shadow: 0 24px 40px -16px rgba(0,0,0,.75);
  transition: transform .5s var(--ease);
}
.book-card:hover .book-cover img { transform: scale(1.03) rotate(-.5deg); }
.book-tag {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
  background: rgba(209,201,150,.14); color: var(--gold); border: 1px solid rgba(209,201,150,.25);
}

.book-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; flex: 1; }
.book-title { font-family: var(--display); font-size: 2rem; font-weight: 500; line-height: 1.1; margin-bottom: .9rem; }
.book-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.chip {
  font-size: .78rem; color: var(--on-dark-2); padding: .3rem .75rem; border-radius: 999px;
  border: 1px solid var(--line-dark);
}
.chip b { color: var(--gold); font-weight: 500; margin-right: .25rem; }
.book-body p { color: var(--on-dark-2); font-size: 1rem; margin-bottom: 1.5rem; }
.book-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.book-format { font-size: .8125rem; color: var(--on-dark-3); }

.notice {
  margin-top: 2rem; display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.1rem 1.35rem; border-radius: var(--radius);
  background: rgba(29,25,21,.7); border: 1px solid var(--line-dark);
  font-size: .9rem; color: var(--on-dark-2);
}
.notice svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.notice a { color: var(--gold); }

/* ── CTA band ── */
.cta { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--cream); }
.cta-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center;
  background: var(--parchment); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 8px);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-card .h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-top: .75rem; }
.cta-card p { color: var(--muted); max-width: 48ch; }
.cta-actions { display: flex; flex-direction: column; gap: .9rem; align-items: stretch; }
.cta-contact {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 12px;
  border: 1px solid var(--line-light); text-decoration: none; color: var(--ink);
  transition: border-color .25s, background .25s;
}
.cta-contact:hover { border-color: var(--ink); background: #fff; }
.cta-contact svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }
.cta-contact small { display: block; font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.cta-contact span { font-weight: 500; }

/* ── Footer ── */
footer { background: var(--ink); color: var(--on-dark-2); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-name { font-size: 2rem; color: var(--on-dark); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-family: var(--display); font-style: italic; font-size: 1.15rem; }
.footer-brand p em { color: var(--gold); }
.footer-title { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: grid; gap: .55rem; }
.footer-links a { text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.75rem; font-size: .8125rem; color: var(--on-dark-3); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ── Motion ── */
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes readLetter {
  0%   { color: rgba(243,237,226,.18); text-shadow: none; }
  35%  { color: var(--gold); text-shadow: 0 0 18px rgba(209,201,150,.75); }
  100% { color: var(--on-dark); text-shadow: none; }
}
@keyframes readLetterGold {
  0%   { color: rgba(243,237,226,.18); text-shadow: none; }
  35%  { color: #f1ebc4; text-shadow: 0 0 18px rgba(209,201,150,.85); }
  100% { color: var(--gold); text-shadow: none; }
}
@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .hero-fade > * { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; }
  .about-badge { right: 1rem; }
  .book-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .cta-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* The <nav> is still a (zero-width) flex item on mobile, so push the toggle to the edge */
  .nav-toggle { display: block; margin-left: auto; margin-right: -10px; }
  /* Full-screen storybook menu */
  .brand, .nav-toggle { position: relative; z-index: 2; }
  /* backdrop-filter would make the fixed overlay size itself to the header, so use a solid bar on mobile */
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20,17,14,.95); }
  .nav-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open { overflow: hidden; }

  .nav-links {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 96px var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    background:
      radial-gradient(ellipse 90% 50% at 85% 0%, rgba(209,201,150,.14), transparent 60%),
      radial-gradient(ellipse 80% 50% at 0% 100%, rgba(143,178,147,.12), transparent 60%),
      linear-gradient(180deg, rgba(20,17,14,.96), rgba(20,17,14,.99)),
      url("../images/Untitled design (31).jpg") center / cover;
    clip-path: circle(0 at calc(100% - var(--gutter) - 12px) 38px);
    visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .nav-open .nav-links {
    clip-path: circle(150% at calc(100% - var(--gutter) - 12px) 38px);
    visibility: visible;
    transition: clip-path .7s var(--ease);
  }

  .menu-eyebrow {
    display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem;
    font-size: .6875rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  }
  .menu-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }

  .nav-links li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); }
  .nav-open .nav-links li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--li, 0) * 70ms); }
  .nav-links li:not(.menu-eyebrow):not(.menu-shop):not(.menu-extra) { border-bottom: 1px solid var(--line-dark); }

  .nav-links > li > a:not(.btn) {
    display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0;
    font-family: var(--display); font-style: italic; font-weight: 500;
    font-size: clamp(2.1rem, 10vw, 2.75rem); line-height: 1.1; letter-spacing: -.01em;
    color: var(--on-dark);
  }
  .nav-links > li > a:not(.btn)::after {
    content: '\2192'; position: static; margin-left: auto; height: auto; background: none; transform: none;
    font-family: var(--sans); font-style: normal; font-size: 1.1rem; color: var(--on-dark-3);
    transition: transform .3s var(--ease), color .3s;
  }
  .nav-links > li > a:not(.btn):hover::after, .nav-links > li > a:not(.btn):focus-visible::after { transform: translateX(4px); color: var(--gold); }
  .nav-links > li > a[aria-current="page"]:not(.btn)::after { content: '\2022'; color: var(--gold); transform: none; }
  .menu-num {
    display: inline; font-family: var(--sans); font-style: normal; font-size: .75rem; font-weight: 500;
    letter-spacing: .12em; color: var(--gold); min-width: 1.5rem; transform: translateY(-.9em);
  }

  /* Reading animation: letters light up one by one */
  .menu-label .ch { color: rgba(243,237,226,.18); }
  .nav-open .menu-label .ch {
    animation: readLetter .9s var(--ease) forwards;
    animation-delay: calc(.35s + var(--c) * 45ms);
  }
  .nav-open [aria-current="page"] .menu-label .ch { animation-name: readLetterGold; }

  .menu-shop { padding-top: 1.75rem; }
  .nav-links .btn { width: 100%; min-height: 52px; font-size: .9rem; }

  .menu-extra { display: block; margin-top: auto; padding-top: 2.5rem; }
  .menu-quote {
    font-family: var(--display); font-style: italic; font-size: 1.2rem; line-height: 1.4;
    color: var(--on-dark-2); margin-bottom: 1.5rem;
  }
  .menu-quote em { color: var(--gold); }
  .menu-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    padding-top: 1.25rem; border-top: 1px solid var(--line-dark);
  }
  .menu-email { font-size: .875rem; color: var(--on-dark-2); text-decoration: none; }
  .menu-email:hover { color: var(--gold); }
  .menu-foot .socials a { border-color: var(--line-dark); color: var(--on-dark-2); }
  .menu-foot .socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { padding: 1.1rem 0; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line-dark); }
  .book-cover { height: 260px; }
  .book-body { padding: 1.5rem; }
  .scroll-cue { display: none; }    }

@media (max-width: 480px) {
  .hero-ctas .btn, .about-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   Inner pages
   ════════════════════════════════════════════ */

.section { padding: clamp(5rem, 11vw, 9rem) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* ── Page header ── */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(440px, 64svh, 640px);
  display: flex; align-items: flex-end;
  padding: 9rem 0 clamp(3.5rem, 7vw, 5.5rem);
  color: var(--on-dark); background: var(--ink);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-position: center; background-size: cover;
  transform: scale(1.06); animation: heroZoom 18s ease-out forwards;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,.3) 40%, rgba(20,17,14,.85) 88%, var(--ink) 100%);
}
.page-hero .eyebrow { color: var(--gold); }
.page-title {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: -.02em;
  margin: 1.1rem 0 1.25rem; text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.page-hero .lead { color: var(--on-dark-2); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }

/* ── About page: story ── */
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.story-visual { position: sticky; top: 110px; }
.prose p { margin-bottom: 1.35rem; max-width: 62ch; }
.prose p:first-of-type::first-letter {
  float: left; font-family: var(--display); font-weight: 500; font-size: 4.2rem; line-height: .85;
  color: var(--gold-deep); margin: .35rem .6rem 0 0;
}

/* ── About page: timeline ── */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209,201,150,.45) 8%, rgba(209,201,150,.45) 92%, transparent);
}
.timeline li { position: relative; padding-top: 2.25rem; }
.timeline li::before {
  content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--gold); box-shadow: 0 0 0 4px var(--ink), 0 0 18px rgba(209,201,150,.35);
}
.timeline li:last-child::before { background: var(--gold); }
.tl-when { font-family: var(--display); font-style: italic; font-size: 1.9rem; line-height: 1; color: var(--gold); display: block; margin-bottom: .6rem; }
.tl-title { font-weight: 500; color: var(--on-dark); line-height: 1.35; margin-bottom: .4rem; }
.tl-text { font-size: .925rem; color: var(--on-dark-3); line-height: 1.6; }

/* ── About page: genres ── */
.genre-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.genre-card {
  background: var(--parchment); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.genre-card:hover { transform: translateY(-4px); border-color: rgba(138,116,66,.35); box-shadow: 0 20px 40px -24px rgba(20,17,14,.35); }
.genre-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.25rem;
  color: var(--gold-deep); background: rgba(138,116,66,.08); border: 1px solid rgba(138,116,66,.2);
}
.genre-icon svg { width: 20px; height: 20px; }
.genre-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.15; color: var(--ink); margin-bottom: .45rem; }
.genre-card p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ── Books page ── */
.book-feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: rgba(29,25,21,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); border-radius: calc(var(--radius) + 6px); overflow: hidden;
}
.book-feature + .book-feature { margin-top: 2rem; }
.book-feature .book-cover { height: auto; min-height: 460px; border-bottom: 0; border-right: 1px solid var(--line-dark); padding: 4rem 2.5rem 3rem; }
.book-feature .book-cover img { max-height: 380px; }
.book-feature.flip .book-cover { order: 2; border-right: 0; border-left: 1px solid var(--line-dark); }
.book-feature .book-body { padding: clamp(2rem, 4vw, 3.25rem); justify-content: center; }
.book-feature .book-title { font-size: clamp(2.2rem, 4vw, 3rem); }
.book-feature:hover .book-cover img { transform: scale(1.03) rotate(-.5deg); }

.coming-soon {
  margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: calc(var(--radius) + 6px);
  border: 1px dashed rgba(209,201,150,.35); background: rgba(209,201,150,.05);
}
.coming-soon h3 { font-family: var(--display); font-weight: 500; font-style: italic; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--on-dark); line-height: 1.15; }
.coming-soon p { color: var(--on-dark-2); max-width: 52ch; margin-top: .4rem; }

/* ── Contact page ── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card {
  display: flex; flex-direction: column; gap: .35rem;
  background: var(--parchment); border: 1px solid var(--line-light); border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem; text-decoration: none; color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
a.contact-card:hover { transform: translateY(-4px); border-color: rgba(138,116,66,.4); box-shadow: 0 24px 48px -28px rgba(20,17,14,.4); }
.contact-card .genre-icon { margin-bottom: 1rem; }
.contact-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.contact-card p { color: var(--muted); font-size: .95rem; }
.contact-link { margin-top: auto; padding-top: 1.25rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: var(--gold-deep); word-break: break-all; }
.contact-link svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
a.contact-card:hover .contact-link svg { transform: translateX(3px); }
.contact-card .socials { margin-top: auto; padding-top: 1.25rem; }


/* ── Inner pages responsive ── */
@media (max-width: 1080px) {
  .genre-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { position: static; max-width: 460px; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 2rem; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(209,201,150,.45), rgba(209,201,150,.45) 90%, transparent); }
  .timeline li { padding: 0 0 2.25rem; }
  .timeline li::before { left: -2rem; top: .45rem; }
  .book-feature, .book-feature.flip { grid-template-columns: 1fr; }
  .book-feature .book-cover, .book-feature.flip .book-cover { order: 0; min-height: 0; height: 340px; border: 0; border-bottom: 1px solid var(--line-dark); padding: 3.25rem 2rem 2rem; }
  .book-feature .book-cover img { max-height: 100%; }
  .contact-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  .genre-grid { grid-template-columns: 1fr 1fr; }
  .book-feature .book-cover, .book-feature.flip .book-cover { height: 280px; }
}
@media (max-width: 420px) {
  .genre-grid { grid-template-columns: 1fr; }
}
