/* ==========================================================================
   Ranjeeta Raam — author site
   --------------------------------------------------------------------------
   Literary editorial system. One typeface trio and one palette carry every
   page; individual sections vary layout, never language.
   Type: Fraunces (display) · Newsreader (reading & verse) · Inter (UI)

   CONTENTS
     1. Design tokens
     2. Reset & base
     3. Layout primitives
     4. Typography
     5. Components
          5.1 Buttons
          5.2 Underline link
          5.3 Meta chips
          5.4 Reveal-on-scroll
     6. Site chrome
          6.1 Announcement bar
          6.2 Header & navigation
          6.3 Footer
     7. Home sections
          7.1 Hero fold (hero + ticker)
          7.2 I Am Archa spread
          7.3 Early-praise quote band
          7.4 Catalogue
          7.5 Praise for both novels
          7.6 About
          7.7 Events, visits & contact form
     8. Book pages
     9. Press kit
    10. Events
    11. Responsive
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Ink & paper */
  --ink: #1a1526;
  --ink-2: #2b2338;
  --muted: #6a6076;
  --paper: #f7f4ee;
  --paper-alt: #f0ecf5;

  /* Accents */
  --vermilion: #e8402a;
  --vermilion-deep: #c22f1c;
  --plum: #2b1640;
  --plum-hover: #3c2059;
  --berry: #8a2b63;
  --teal: #0e6b60;
  --marigold: #f2b100;
  --coral: #ff6d57;
  --pink: #f43f8e;
  --pink-deep: #d61f74;
  --blush: #fff0f6;

  /* Typefaces */
  --display: "Fraunces", Georgia, serif;
  --read: "Newsreader", Georgia, serif;
  --ui: "Inter", -apple-system, "Segoe UI", sans-serif;

  /* Metrics */
  --maxw: 1240px;
  --measure: 66ch;
  --header-h: 108px;
  --announce-h: 39px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rule: 1px solid rgba(26, 21, 38, 0.16);
  --rule-light: 1px solid rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--read);
  font-optical-sizing: auto;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
li { list-style: none; }

::selection { background: var(--vermilion); color: #fff; }

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* two-column quote grid, shared by book pages and the press kit */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* visually hidden, but available to screen readers and crawlers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

.eyebrow {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--vermilion);
}
.eyebrow.on-dark { color: rgba(255, 255, 255, 0.75); }
.eyebrow.on-dark::before { background: var(--marigold); }

.h-display {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1;
  letter-spacing: -0.015em;
}
.h1 { font-size: clamp(3rem, 7.2vw, 6.2rem); }
.h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.it { font-style: italic; }

.lede {
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.fig {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 14px;
}
.fig .n { color: var(--vermilion); font-weight: 600; }

/* ==========================================================================
   5. Components
   ========================================================================== */

/* 5.1 Buttons ------------------------------------------------------------- */

.btn {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn-marigold { background: var(--marigold); color: var(--ink); border-color: var(--marigold); box-shadow: 0 14px 30px -12px rgba(242, 177, 0, 0.55); }
.btn-pink { background: var(--pink); color: #fff; border-color: var(--pink); box-shadow: 0 14px 30px -12px rgba(244, 63, 142, 0.55); }
.btn-pink:hover { background: var(--pink-deep); border-color: var(--pink-deep); }
.btn-plum { background: #67428d; color: #fff; border-color: #67428d); box-shadow: 0 14px 30px -12px rgba(43, 22, 64, 0.5); }
.btn-plum:hover { background: var(--plum-hover); border-color: var(--plum-hover); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--vermilion); border-color: var(--vermilion); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

.btn-solid.on-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-solid.on-dark:hover { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn-line.on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-line.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-sm { padding: 11px 22px; font-size: 0.86rem; }

/* 5.2 Underline link ------------------------------------------------------ */

.ulink {
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}
.ulink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.ulink:hover::after { transform: scaleX(0); transform-origin: right; }

/* 5.3 Meta chips ---------------------------------------------------------- */

.meta-chip {
  font-family: var(--ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(242, 177, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* 5.4 Reveal-on-scroll ---------------------------------------------------- */
/* Scoped to .js so content stays visible if the script never runs. */

.js [data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   6. Site chrome
   ========================================================================== */

/* 6.1 Announcement bar ---------------------------------------------------- */

.announce {
  position: relative;
  z-index: 101;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-family: var(--ui);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 10px 16px;
}
.announce a { color: var(--marigold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 6.2 Header & navigation ------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 102;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.site-header.on-dark { color: #fff; }
.site-header.scrolled {
  /* Solid (not backdrop-filter) on purpose: a backdrop-filter here would
     create a containing block and break position:fixed on the mobile menu. */
  background: rgba(247, 244, 238, 0.97);
  border-bottom: var(--rule);
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.site-header.scrolled .nav { height: 82px; }
.brand {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
  transition: font-size 0.4s var(--ease);
}
.site-header.scrolled .brand { font-size: 2rem; }
.brand .amp { font-style: italic; }
.site-header.scrolled .brand .amp,
.site-header:not(.on-dark) .brand .amp { color: var(--pink); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--ui);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.82;
  transition: opacity 0.2s, font-size 0.4s var(--ease);
}
.site-header.scrolled .nav-links a { font-size: 0.86rem; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a.active { color: var(--vermilion); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: currentColor;
  font-size: 2rem;
  line-height: 1;
  padding: 4px;
}
.nav-close { display: none; }

/* 6.3 Footer -------------------------------------------------------------- */

.outro {
  background: var(--ink);
  color: #fff;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}
.outro.is-footer { padding-top: 0; }  /* sub-page footer: no watermark above */

.watermark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 1;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.22);
  user-select: none;
  padding: 10px 0 34px;
  white-space: nowrap;
}
.watermark .amp { font-style: italic; }

.colophon { border-top: var(--rule-light); padding: 34px 0; }
.colophon .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--ui);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.colophon nav { display: flex; flex-wrap: wrap; gap: 24px; }
.colophon nav a:hover { color: var(--marigold); }

.rainbow {
  height: 6px;
  background: linear-gradient(90deg, var(--vermilion), var(--coral), var(--marigold), var(--teal), var(--berry), var(--vermilion));
  background-size: 200% 100%;
  animation: rainbow-flow 9s linear infinite;
}
@keyframes rainbow-flow { to { background-position: 200% 0; } }

/* ==========================================================================
   7. Home sections
   ========================================================================== */

/* 7.1 Hero fold ----------------------------------------------------------- */
/* Hero + ticker together fill one viewport on load. The header/announce
   height is absorbed by the negative-margin / padding pair on the fold. */

.hero-fold {
  --hero-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --hero-serif: "Instrument Serif", Georgia, serif;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-top: calc(-1 * (var(--header-h) + var(--announce-h)));
  padding-top: calc(var(--header-h) + var(--announce-h));
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 85% 8%, rgba(124, 58, 237, 0.6), transparent 65%),
    radial-gradient(560px 420px at 8% 92%, rgba(244, 63, 142, 0.45), transparent 65%),
    var(--ink-2);
}

/* scattered confetti dots */
.hero-dots {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2.5px 2.5px at 15% 25%, var(--marigold) 50%, transparent 51%),
    radial-gradient(2px 2px at 30% 75%, #fff 50%, transparent 51%),
    radial-gradient(3px 3px at 46% 12%, var(--vermilion) 50%, transparent 51%),
    radial-gradient(2px 2px at 62% 88%, var(--teal) 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 74% 34%, var(--marigold) 50%, transparent 51%),
    radial-gradient(2px 2px at 88% 66%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 8% 60%, var(--teal) 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 94% 18%, var(--vermilion) 50%, transparent 51%);
}

/* fills the space left after the ticker, and centers its content there */
.hero {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 0;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--hero-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pink);
  padding: 9px 18px;
  border-radius: 10px;
  transform: rotate(-2deg);
  margin-bottom: 26px;
}

.hero h1 {
  margin: 22px 0 26px;
  color: #fff;
  font-family: var(--hero-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-size: clamp(3.2rem, 8.5vw, 7.5rem);
}
.hero h1 .rotator { display: inline-grid; vertical-align: baseline; }
.hero h1 .rotator > span {
  grid-area: 1 / 1;
  font-family: var(--hero-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(92deg, var(--marigold), var(--coral) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(0.14em);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.hero h1 .rotator > span.on { opacity: 1; transform: none; }

.hero-sub {
  font-family: var(--ui);
  max-width: 46ch;
  font-size: 1.18rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 38px;
}
.hero-sub strong { color: #fff; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stack {
  position: relative;
  height: min(520px, 58vw);
  justify-self: center;
  width: 100%;
  max-width: 460px;
}
.hero-stack img {
  position: absolute;
  width: auto;
  height: 66%;
  border-radius: 4px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s var(--ease);
}
.hero-stack .bk-1 { right: 2%; top: 2%; transform: rotate(4deg); z-index: 2; animation: floaty 7s ease-in-out infinite; }
.hero-stack .bk-2 { left: 0; bottom: 0; transform: rotate(-6deg); z-index: 1; animation: floaty 7s ease-in-out 1.2s infinite; }
.hero-stack:hover .bk-1 { transform: rotate(1deg) scale(1.02); }
.hero-stack:hover .bk-2 { transform: rotate(-3deg) scale(1.02); }

@keyframes floaty {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

/* Ticker — connective tissue between hero and the Archa spread */
.ticker {
  flex: 0 0 auto;
  position: relative;
  background: var(--pink);
  color: #fff;
  overflow: hidden;
  padding: 15px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: ticker-move 26s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
}
.ticker-track .dot { color: var(--marigold); font-style: normal; }
@keyframes ticker-move { to { transform: translateX(-50%); } }

/* 7.2 I Am Archa spread --------------------------------------------------- */

.spread { position: relative; overflow: hidden; color: #fff; }
.spread-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 76px;
  align-items: center;
  padding: 110px 0;
}

.spread.blush { background: var(--blush); color: var(--ink); }
.spread.blush::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(26, 21, 38, 0.1) 1.4px, transparent 1.5px);
  background-size: 32px 32px;
}
.spread.blush .spread-cover img { filter: drop-shadow(0 34px 46px rgba(26, 21, 38, 0.28)); }
.spread.blush .eyebrow.on-dark { color: var(--muted); }
.spread.blush .eyebrow.on-dark::before { background: var(--vermilion); }
.spread.blush .meta-chip { background: rgba(244, 63, 142, 0.2); border-color: rgba(244, 63, 142, 0.35); color: var(--ink); }
.spread.blush .spread-copy .prose p { color: var(--ink-2); }
.spread.blush .spread-copy .prose p strong { color: var(--ink); }
.spread.blush .btn-line.on-dark { color: var(--ink); border-color: rgba(26, 21, 38, 0.32); }
.spread.blush .btn-line.on-dark:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.spread-cover { position: relative; justify-self: center; width: min(380px, 100%); }
.spread-cover img {
  width: 100%;
  border-radius: 4px;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.45));
  transform: rotate(-2.5deg);
  transition: transform 0.4s var(--ease);
}
.spread-cover:hover img { transform: rotate(0) scale(1.02); }

.burst {
  position: absolute;
  top: -28px; left: -28px;
  width: 116px; height: 116px;
  background: var(--marigold);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transform: rotate(-8deg);
  z-index: 2;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.4);
  animation: pulse-rot 5s ease-in-out infinite;
}
@keyframes pulse-rot {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(-3deg) scale(1.05); }
}

.spread-copy .metaline { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.spread-copy .prose p { margin-bottom: 18px; max-width: 56ch; color: rgba(255, 255, 255, 0.94); font-size: 1.12rem; }
.spread-copy .prose p strong { color: #fff; font-weight: 600; }
.spread-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* 7.3 Early-praise quote band --------------------------------------------- */

.quote-band { position: relative; overflow: hidden; background: var(--vermilion); color: #fff; padding: 90px 0; }
.quote-band::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.4px, transparent 1.5px);
  background-size: 32px 32px;
}
.quote-band-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.pullquote {
  font-family: var(--display);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.35;
  margin: 32px 0;
}
.pullquote cite {
  display: block;
  font-family: var(--ui);
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--marigold);
  margin-top: 14px;
}
.quote-band-grid .pullquote {
  margin: 0;
  padding-left: 28px;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* 7.4 Catalogue ----------------------------------------------------------- */

.catalogue { padding: 110px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-bottom: 34px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 10px;
}
.section-head h2 { margin-top: 16px; }
.section-head p { max-width: 40ch; color: var(--muted); font-size: 1.05rem; }

.entry {
  display: grid;
  grid-template-columns: 60px 120px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: var(--rule);
  transition: padding 0.35s var(--ease);
}
.entry:hover { padding-left: 12px; }
.entry .num { font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--vermilion); font-weight: 600; }
.entry .thumb img,
.entry .thumb .ph { width: 100%; border-radius: 3px; transition: transform 0.35s var(--ease); }
.entry .thumb img { filter: drop-shadow(0 14px 18px rgba(26, 21, 38, 0.4)); }
.entry .thumb .ph {
  aspect-ratio: 3 / 4;
  display: grid;
  place-content: center;
  box-shadow: 0 20px 40px -20px rgba(26, 21, 38, 0.5);
  background: repeating-linear-gradient(-45deg, var(--vermilion) 0 14px, var(--marigold) 14px 28px, var(--teal) 28px 42px, var(--berry) 42px 56px);
}
.entry:hover .thumb img,
.entry:hover .thumb .ph { transform: rotate(-3deg) scale(1.04); }
.entry .thumb .ph span {
  background: var(--paper);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 7px 10px;
  border-radius: 2px;
}
.entry .body { min-width: 0; }  /* let the 1fr track shrink instead of forcing page-wide overflow */
.entry .body .k {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.entry .body h3 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; margin-bottom: 10px; }
.entry .body p { font-size: 1.05rem; color: var(--ink-2); max-width: 52ch; }
.entry .go { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; text-align: right; }
.entry .go .shop { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--ui); font-size: 0.82rem; }
.entry .go .shop a { color: var(--muted); }
.entry .go .shop a:hover { color: var(--vermilion); }
.entry .go .soon { font-family: var(--ui); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* 7.5 Praise for both novels ---------------------------------------------- */

.book-praise-band { position: relative; overflow: hidden; background: var(--pink); color: var(--ink); padding: 110px 0; }
.book-praise-band::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(26, 21, 38, 0.12) 1.4px, transparent 1.5px);
  background-size: 32px 32px;
}
.book-praise-band .wrap { position: relative; }
.book-praise-band .eyebrow { color: var(--ink); }
.book-praise-band .eyebrow::before { background: var(--ink); }
.book-praise-band h2 { margin-top: 16px; margin-bottom: 56px; }

.bpb-row + .bpb-row { margin-top: 56px; padding-top: 56px; border-top: 1px solid rgba(26, 21, 38, 0.2); }
.bpb-row-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 34px;
}
.bpb-row-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
}
.bpb-more { flex-shrink: 0; }
.bpb-row-grid { display: grid; gap: 44px; }
.bpb-cols-2 { grid-template-columns: 1fr 1fr; }
.bpb-cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.bpq-dark { border-top: 2px solid rgba(26, 21, 38, 0.32); padding-top: 22px; }
.bpq-dark p {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.42;
  margin-bottom: 16px;
  color: var(--ink);
}
.bpq-dark cite {
  display: block;
  font-family: var(--ui);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(26, 21, 38, 0.68);
}

/* Plum variant — the treatment used on the home page */
.book-praise-band.variant-plum { background: var(--plum); color: #fff; }
.book-praise-band.variant-plum::before { background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.4px, transparent 1.5px); background-size: 32px 32px; }
.book-praise-band.variant-plum .eyebrow { color: rgba(255, 255, 255, 0.75); }
.book-praise-band.variant-plum .eyebrow::before { background: var(--marigold); }
.book-praise-band.variant-plum .bpb-row-label { color: #fff; }
.book-praise-band.variant-plum .bpb-more { color: var(--marigold); }
.book-praise-band.variant-plum .bpb-row + .bpb-row { border-top-color: rgba(255, 255, 255, 0.18); }
.book-praise-band.variant-plum .bpq-dark { border-top-color: rgba(255, 255, 255, 0.35); }
.book-praise-band.variant-plum .bpq-dark p { color: #fff; }
.book-praise-band.variant-plum .bpq-dark cite { color: var(--marigold); }

/* 7.6 About --------------------------------------------------------------- */

.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.about-photo figure { position: relative; }
.about-photo img { width: 100%; border-radius: 3px; filter: grayscale(100%) contrast(1.02); transition: filter 0.6s var(--ease); }
.about-photo figure:hover img { filter: grayscale(0%); }
.about-photo .swatch { position: absolute; bottom: -18px; right: -18px; width: 90px; height: 90px; background: var(--vermilion); border-radius: 2px; z-index: -1; }
.about-copy .eyebrow { margin-bottom: 24px; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy .prose { font-size: 1.14rem; line-height: 1.62; }
.about-copy .prose > p { margin-bottom: 20px; color: var(--ink-2); max-width: var(--measure); }
.about-copy .prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4rem;
  line-height: 0.78;
  padding: 6px 14px 0 0;
  color: var(--vermilion);
}
.about-copy .prose > p strong { color: var(--ink); font-weight: 600; }
.signature { font-family: var(--display); font-style: italic; font-size: 2rem; margin-top: 26px; color: var(--ink); }
.about-facts { display: flex; flex-wrap: wrap; margin-top: 34px; border-top: var(--rule); }
.about-facts .f { flex: 1 1 40%; padding: 18px 0; border-bottom: var(--rule); font-family: var(--ui); font-size: 0.86rem; }
.about-facts .f span { color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.7rem; display: block; margin-bottom: 4px; }

/* 7.7 Events, visits & contact form --------------------------------------- */

.visits { position: relative; overflow: hidden; background: var(--marigold); color: var(--ink); padding: 110px 0; }
.visits::after {
  content: "✦";
  position: absolute;
  right: -30px; top: -70px;
  font-family: var(--display);
  font-size: 22rem;
  opacity: 0.1;
  transform: rotate(12deg);
  pointer-events: none;
}
.visits-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.visits .eyebrow { color: rgba(26, 21, 38, 0.62); }
.visits .eyebrow::before { background: var(--ink); }
.visits h2 { margin: 20px 0; }
.visits p { max-width: 46ch; color: var(--ink-2); font-size: 1.08rem; }

.visits-list { margin-top: 30px; }
.visits-list li {
  font-family: var(--display);
  font-size: 1.35rem;
  padding: 16px 0;
  border-bottom: 2px dashed rgba(26, 21, 38, 0.32);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.visits-list li .idx { font-family: var(--ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(26, 21, 38, 0.55); }

.visits-card {
  background: var(--plum);
  color: #fff;
  border-radius: 6px;
  padding: 44px 40px;
  box-shadow: 0 30px 70px -24px rgba(26, 21, 38, 0.45);
}
.visits-card h3 { font-family: var(--display); font-size: 1.85rem; margin-bottom: 12px; }
.visits-card p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; margin-bottom: 26px; }
.visits-card .cform { background: transparent; border: none; padding: 0; }

.cform {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 40px;
}
.cform .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform .field { margin-bottom: 18px; }
.cform label {
  display: block;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}
.cform input, .cform textarea {
  width: 100%;
  font-family: var(--read);
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--vermilion); }
.cform textarea { min-height: 120px; resize: vertical; }

/* ==========================================================================
   8. Book pages
   ========================================================================== */

.book-hero {
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * (var(--header-h) + var(--announce-h)));
  padding: calc(var(--header-h) + var(--announce-h) + 70px) 0 100px;
}
.book-hero.red { background: var(--vermilion); }
.book-hero.red::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.5px); background-size: 32px 32px; }
.book-hero.plum { background: var(--plum); }
.book-hero-grid { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }
.book-hero-grid img { width: min(380px, 100%); justify-self: center; border-radius: 3px; transform: rotate(-2.5deg); filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.45)); }
.book-hero .crumb { font-family: var(--ui); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 20px; display: inline-block; }
.book-hero .crumb a:hover { color: #fff; }
.book-hero h1 { margin-bottom: 20px; }
.book-hero .metaline { font-family: var(--ui); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 28px; color: rgba(255, 255, 255, 0.85); }
.book-hero .lede { font-family: var(--display); font-style: italic; font-size: 1.5rem; line-height: 1.4; max-width: 42ch; margin-bottom: 34px; color: #fff; }
.book-hero .cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

.book-body { padding: 110px 0; }
.book-cols { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 90px; align-items: start; }
.book-cols .story .eyebrow { margin-bottom: 24px; }
.book-cols .story h2 { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.08; margin-bottom: 28px; }
.book-cols .story .prose > p { margin-bottom: 20px; color: var(--ink-2); font-size: 1.16rem; line-height: 1.62; max-width: var(--measure); }
.book-cols .story .prose > p:first-of-type::first-letter { float: left; font-family: var(--display); font-size: 4rem; line-height: 0.78; padding: 6px 14px 0 0; color: var(--vermilion); }
.book-cols .story .prose > p strong { color: var(--ink); font-weight: 600; }

.book-verse {
  font-family: var(--read);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.95;
  color: var(--ink-2);
  padding: 10px 0 10px 28px;
  border-left: 2px solid var(--vermilion);
  margin: 44px 0;
}

.fact-card { border: 2px solid var(--ink); border-radius: 8px; padding: 36px; position: sticky; top: 110px; }
.fact-card h3 { font-family: var(--ui); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vermilion); margin-bottom: 24px; padding-bottom: 16px; border-bottom: var(--rule); }
.fact-card dl { display: grid; }
.fact-card dt { font-family: var(--ui); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.fact-card dd { font-size: 1.05rem; margin-bottom: 18px; }
.fact-card .buy { display: grid; gap: 12px; margin-top: 28px; }
.fact-card .buy a { justify-content: center; }

.book-praise { background: var(--paper-alt); padding: 100px 0; }
.book-praise .grid2 { margin-top: 56px; }
.bpq { border-top: 2px solid var(--ink); padding-top: 24px; }
.bpq blockquote { font-family: var(--display); font-style: italic; font-size: 1.4rem; line-height: 1.4; margin-bottom: 18px; }
.bpq .src { font-family: var(--ui); font-size: 0.8rem; color: var(--muted); }
.bpq .src strong { display: block; color: var(--ink); font-weight: 600; }
.bpq .src a { color: var(--vermilion); }

.next { padding: 90px 0; }
.next .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; border-top: 2px solid var(--ink); padding-top: 40px; }
.next .label { font-family: var(--ui); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.next h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* ==========================================================================
   9. Press kit
   ========================================================================== */

.pk-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 85% 8%, rgba(124, 58, 237, 0.6), transparent 65%),
    radial-gradient(560px 420px at 8% 92%, rgba(244, 63, 142, 0.45), transparent 65%),
    var(--ink-2);
  color: #fff;
  margin-top: calc(-1 * (var(--header-h) + var(--announce-h)));
  padding: calc(var(--header-h) + var(--announce-h) + 60px) 0 90px;
}
.pk-hero h1 { margin-top: 18px; }
.pk-hero .lede { color: rgba(255, 255, 255, 0.82); max-width: 58ch; margin-top: 20px; }
.pk-hero a { color: var(--marigold); }

.pk-section { padding: 80px 0; border-bottom: var(--rule); }
.pk-section:last-of-type { border-bottom: none; }
.pk-section h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 28px; display: flex; align-items: baseline; gap: 18px; }
.pk-section h2 .n { font-family: var(--ui); font-size: 0.9rem; color: var(--vermilion); font-weight: 600; letter-spacing: 0.1em; }
.pk-section .prose p { color: var(--ink-2); max-width: var(--measure); margin-bottom: 18px; font-size: 1.14rem; line-height: 1.62; }
.pk-section .prose p strong { color: var(--ink); font-weight: 600; }
.pk-note { margin-bottom: 36px; }

.pk-links p { margin-bottom: 18px; font-size: 1.1rem; }
.pk-links p strong { font-family: var(--display); font-size: 1.2rem; }

.pk-press { margin-top: 20px; }

.pk-assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pk-asset {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 21, 38, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-alt);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pk-asset:hover, .pk-asset:focus-visible {
  border-color: var(--vermilion);
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -20px rgba(26, 21, 38, 0.4);
}

/* Equal-size stage for every asset regardless of native aspect ratio.
   The image is absolutely positioned + object-fit:contain rather than
   max-height:100% inside a flex item, whose percentage height can stay
   indeterminate; absolute positioning resolves against the definite box. */
.pk-asset-stage { position: relative; height: 300px; }
.pk-asset-stage img {
  position: absolute;
  inset: 26px;
  width: calc(100% - 52px);
  height: calc(100% - 52px);
  object-fit: contain;
  border-radius: 3px;
  filter: drop-shadow(0 16px 24px rgba(26, 21, 38, 0.4));
}
.pk-asset-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid rgba(26, 21, 38, 0.12);
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}
.pk-asset-dl { font-size: 0.78rem; font-weight: 600; color: var(--vermilion); white-space: nowrap; }

/* ==========================================================================
   10. Events
   ========================================================================== */

.ev-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 85% 8%, rgba(124, 58, 237, 0.6), transparent 65%),
    radial-gradient(560px 420px at 8% 92%, rgba(244, 63, 142, 0.45), transparent 65%),
    var(--ink-2);
  color: #fff;
  margin-top: calc(-1 * (var(--header-h) + var(--announce-h)));
  padding: calc(var(--header-h) + var(--announce-h) + 60px) 0 90px;
}
.ev-hero h1 { margin-top: 18px; }
.ev-hero .lede { color: rgba(255, 255, 255, 0.85); max-width: 58ch; margin-top: 20px; }
.ev-hero .cta-row { margin-top: 34px; }

.ev-section { padding: 80px 0; }
.ev-section h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 8px; display: flex; align-items: baseline; gap: 18px; }
.ev-section h2 .n { font-family: var(--ui); font-size: 0.9rem; color: var(--vermilion); font-weight: 600; letter-spacing: 0.1em; }
.ev-section .prose { color: var(--muted); margin-bottom: 40px; max-width: var(--measure); }

.ev-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ev-photo { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.ev-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(65%) contrast(1.03);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}
.ev-photo:hover img, .ev-photo:focus-within img { filter: grayscale(0%); transform: scale(1.04); }
.ev-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(26, 21, 38, 0.85), transparent);
  color: #fff;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.ev-photo:hover figcaption, .ev-photo:focus-within figcaption { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  :root { --header-h: 92px; }
  body { font-size: 18px; }
  .hero-grid,
  .spread-grid,
  .about-grid,
  .visits-grid,
  .book-hero-grid,
  .book-cols,
  .grid2,
  .quote-band-grid { grid-template-columns: 1fr; gap: 48px; }
  .bpb-cols-3 { grid-template-columns: 1fr 1fr; }
  .hero-grid { padding-top: 40px; padding-bottom: 40px; }
  /* Mobile hero order: title → books → supporting text (eyebrow hidden).
     display:contents flattens .hero-copy so its children join the grid
     and can be ordered around the book stack. */
  .hero-copy { display: contents; }
  .hero-eyebrow { display: none; }
  .hero h1 { order: 1; margin: 0 0 4px; }
  .hero-stack { order: 2; max-width: 300px; height: 300px; margin: 8px auto 4px; }
  .hero-sub { order: 3; margin-bottom: 28px; }
  .hero-ctas { order: 4; }
  .pk-assets { grid-template-columns: 1fr 1fr; }
  .ev-gallery { grid-template-columns: 1fr 1fr; }
  .fact-card { position: static; }
  .entry { grid-template-columns: 40px 90px 1fr; gap: 24px; }
  .entry .go { grid-column: 2 / -1; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; margin-top: 10px; }
  .visits-card { transform: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 82px; }
  .wrap { padding-left: 24px; padding-right: 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0;
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 10px;
    background: var(--ink); color: #fff;
    z-index: 99;
  }
  .nav-links.open { display: flex; z-index: 102; }
  .nav-links a { font-family: var(--display); font-size: 2rem; opacity: 0.9; }
  .nav-links.open .nav-close { display: block; position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
  .pk-assets { grid-template-columns: 1fr; }
  .ev-gallery { grid-template-columns: 1fr; }
  .cform .frow { grid-template-columns: 1fr; }
  .spread-grid,
  .book-body,
  .catalogue,
  .about,
  .visits,
  .quote-band,
  .book-praise-band { padding-top: 72px; padding-bottom: 72px; }
  .bpb-cols-2, .bpb-cols-3 { grid-template-columns: 1fr; gap: 36px; }
  .bpb-row + .bpb-row { margin-top: 44px; padding-top: 44px; }
  .burst { width: 96px; height: 96px; font-size: 0.7rem; top: -18px; left: -12px; }
  .entry { grid-template-columns: 90px 1fr; }
  .entry .num { display: none; }
  .ticker-track span { font-size: 1.05rem; }
  .watermark { white-space: normal; }
  /* full-width, centred contact CTA reads better than left-aligned on mobile */
  .cform button { width: 100%; justify-content: center; }
}
