/* ═══════════════════════════════════════════════════════════
   INK & SPARK BOOKS — Award-tier literary identity
   Stack: vanilla HTML/CSS/JS · Fraunces variable · :has() · View Transitions
   ═══════════════════════════════════════════════════════════ */

@view-transition { navigation: auto; }

:root {
  /* INK (deep navy ink) */
  --ink:        #08101e;
  --ink-2:      #0d1626;
  --ink-3:      #131d33;

  /* PARCHMENT (warm cream) */
  --parchment:  #f1e8d0;
  --parchment-2:#e8dcbe;
  --parchment-3:#d9caa3;

  /* SPARK (gold) */
  --spark:      #d4a843;
  --spark-2:    #f0c75e;
  --spark-glow: oklch(75% .14 80);

  /* utility */
  --line: color-mix(in oklch, var(--spark) 40%, transparent);
  --ink-bleed: color-mix(in oklch, var(--ink) 50%, var(--parchment));

  --serif: 'Fraunces', 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-curtain: cubic-bezier(.16, 1, .3, 1);   /* fluid ease-out — feels like water settling */
  --ease-soft:    cubic-bezier(.25, .46, .45, .94);
  --ease-spring:  cubic-bezier(.2, .9, .2, 1);
}

/* ─────────── reset ─────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--ink);
  color: var(--parchment);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--spark); color: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   1 · BREATHING PAPER GRAIN — fixed, very subtle, animates 60s
   ═══════════════════════════════════════════════════════════ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .42;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch' seed='5'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain-breathe 60s linear infinite;
}
@keyframes grain-breathe {
  0%,100% { transform: translate(0,0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -2%); }
  75% { transform: translate(-1%, -3%); }
}

/* ═══════════════════════════════════════════════════════════
   2 · SIGNATURE WORDMARK — dead center, mix-blend-mode: difference
   The piece that earns the bookmark.
   ═══════════════════════════════════════════════════════════ */
.wordmark {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 40;
  pointer-events: none;
  user-select: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  will-change: transform;
}

.wordmark__line {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(18px, 1.65vw, 26px);
  letter-spacing: .58em;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: difference;
  line-height: 1;
  padding-left: .58em;     /* compensate tracking */
}

/* Fine-tune "INK" so the divide bisects the N exactly through its middle.
   With letter-spacing .58em + padding-left .58em the math says N's center
   sits ~(K-I)/2 ≈ 0.1em right of the wordmark center. Pull it back. */
.wordmark .wordmark__line:first-of-type {
  transform: translateX(-.1em);
}

.wordmark__amp {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(72px, 8.5vw, 132px);
  line-height: .85;
  color: var(--spark);
  margin: 6px 0 4px;
  text-shadow:
    0 0 60px color-mix(in oklch, var(--spark) 50%, transparent),
    0 0 24px color-mix(in oklch, var(--spark) 30%, transparent);
  animation: amp-breathe 7s var(--ease-soft) infinite;
}

@keyframes amp-breathe {
  0%, 100% { transform: rotate(-1.5deg) scale(1); }
  50%      { transform: rotate(1.5deg) scale(1.035); }
}

/* compact wordmark mode (top of inner pages) */
.wordmark--top {
  top: 36px;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.wordmark--top .wordmark__line { font-size: 11px; padding-left: 0; }
.wordmark--top .wordmark__amp {
  font-size: 28px;
  margin: 0;
  text-shadow: none;
  animation: none;
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════
   3 · SPLIT LANDING
   ═══════════════════════════════════════════════════════════ */
.split {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.half {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6vh 5vw;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    flex .9s var(--ease-curtain),
    filter .9s var(--ease-curtain);
  view-transition-name: none;
}

.half--valentina {
  background: var(--ink);
  color: var(--parchment);
  background-image:
    radial-gradient(ellipse 80% 60% at 30% 25%, color-mix(in oklch, var(--spark) 9%, transparent), transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, color-mix(in oklch, var(--ink-3) 100%, transparent), transparent 60%);
}

.half--claudiu {
  background: var(--parchment);
  color: var(--ink);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 30%, color-mix(in oklch, var(--spark) 14%, transparent), transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 75%, color-mix(in oklch, var(--ink) 6%, transparent), transparent 60%);
}

/* hovered side expands; opposite side dims slightly */
@media (hover: hover) and (min-width: 901px) {
  .split:has(.half:hover) .half             { flex: .72; filter: brightness(.8); }
  .split:has(.half:hover) .half:hover       { flex: 1.28; filter: brightness(1); }
}

/* seam — wet-ink bleed at the dividing line; glides with hovered half */
.seam {
  position: absolute;
  top: 0; left: 50%;
  width: 1px;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--line) 18%,
    var(--line) 82%,
    transparent 100%);
  transform: translateX(-.5px);
  filter: blur(.4px);
  transition: left 1.1s var(--ease-curtain);
}

/* Wordmark position is locked to the actual boundary by JS (main.js, RAF loop).
   No CSS transition needed — smoothness comes from the flex transition under it. */

/* ─── name block ─── */
.name-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  transition:
    transform .9s var(--ease-curtain),
    letter-spacing .9s var(--ease-curtain);
}

.name-block .surname {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .65em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .55;
  padding-left: .65em;
}

.name-block .given {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(64px, 10vw, 156px);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
  transition: font-variation-settings .8s var(--ease-soft);
}

.name-block .ornament {
  display: inline-block;
  font-size: 12px;
  color: var(--spark);
  letter-spacing: 1.2em;
  padding-left: 1.2em;
  opacity: .85;
  transform-origin: center;
  transition: transform .9s var(--ease-curtain), opacity .6s var(--ease-curtain);
}

.name-block .role {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: .04em;
  opacity: .7;
}

.name-block .quote {
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .02em;
  max-width: 280px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .7s var(--ease-soft),
    transform .7s var(--ease-soft);
}

.name-block .quote::before { content: "“"; opacity: .5; padding-right: 2px; }
.name-block .quote::after  { content: "”"; opacity: .5; padding-left: 2px; }

.name-block .enter {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .5em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease-soft), transform .5s var(--ease-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.name-block .enter::after { content: "→"; font-size: 14px; letter-spacing: 0; }

/* hover state */
.half:hover .name-block { transform: translateY(-8px); }
.half:hover .name-block .given {
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1, "wght" 400;
  letter-spacing: -.005em;
}
.half:hover .name-block .ornament { transform: scale(1.15); }
.half:hover .name-block .quote   { opacity: .82; transform: translateY(0); transition-delay: .1s; }
.half:hover .name-block .enter   { opacity: 1;   transform: translateY(0); transition-delay: .2s; }

/* tagline */
.tagline {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: .14em;
  color: #fff;
  mix-blend-mode: difference;
  white-space: nowrap;
  opacity: .9;
  pointer-events: none;
}

/* roman numerals on each side (chapter feel) */
.numeral {
  position: absolute;
  top: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: .3em;
  opacity: .35;
  z-index: 5;
}
.half--valentina .numeral { left: 36px;  color: var(--parchment); }
.half--claudiu   .numeral { right: 36px; color: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   4 · VIEW TRANSITION — ink spread radial wipe
   ═══════════════════════════════════════════════════════════ */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .8s;
  animation-timing-function: var(--ease-curtain);
}

::view-transition-old(root) {
  animation-name: ink-collapse;
}
::view-transition-new(root) {
  animation-name: ink-spread;
}

@keyframes ink-spread {
  from { clip-path: circle(0%      at var(--cx, 50%) var(--cy, 50%)); }
  to   { clip-path: circle(150%    at var(--cx, 50%) var(--cy, 50%)); }
}
@keyframes ink-collapse {
  from { clip-path: circle(150%    at var(--cx, 50%) var(--cy, 50%)); opacity: 1; }
  to   { clip-path: circle(0%      at var(--cx, 50%) var(--cy, 50%)); opacity: .9; }
}

/* ═══════════════════════════════════════════════════════════
   6 · AUTHOR PAGES (scroll content)
   ═══════════════════════════════════════════════════════════ */
.author-page {
  min-height: 100vh;
  background: var(--ink);
  color: var(--parchment);
  padding: 130px 6vw 80px;
  position: relative;
}

.author-page--light {
  background: var(--parchment);
  color: var(--ink);
}

.author-page--light .wordmark__line { color: var(--ink); mix-blend-mode: normal; }
.author-page--light .wordmark__amp  { color: var(--ink-2); text-shadow: none; }
.author-page--light .back-link      { color: var(--ink); mix-blend-mode: normal; }

.back-link {
  position: fixed;
  top: 36px; left: 36px;
  z-index: 50;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .45em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .65;
  transition: opacity .3s, transform .4s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  mix-blend-mode: difference;
}
.back-link:hover { opacity: 1; transform: translateX(-4px); }
.back-link::before { content: "←"; font-size: 14px; }

/* hero */
.hero {
  max-width: 920px;
  margin: 0 auto 100px;
  text-align: center;
}

.hero .surname {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .65em;
  text-transform: uppercase;
  opacity: .55;
  font-weight: 500;
  padding-left: .65em;
}

.hero .given {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(60px, 8vw, 128px);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 18px 0 22px;
  text-wrap: balance;
}

.hero .role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 300;
  opacity: .75;
  margin-bottom: 28px;
  letter-spacing: .04em;
}
.hero .role::before, .hero .role::after {
  content: "✦"; color: var(--spark); margin: 0 16px;
  font-style: normal; font-size: 11px; vertical-align: middle;
}

.hero .bio {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  opacity: .85;
  text-wrap: pretty;
}

.hero .bio em {
  font-style: italic;
  color: var(--spark);
  font-weight: 400;
}

/* drop cap */
.bio::first-letter {
  initial-letter: 2 1;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--spark);
  margin-right: 8px;
  padding-top: 4px;
}

/* section title */
.section-title {
  text-align: center;
  margin: 0 0 80px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .55em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .5;
}
.section-title::before, .section-title::after {
  content: "";
  display: inline-block;
  width: 50px; height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin: 0 22px;
  opacity: .5;
}

/* books grid */
.books {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 96px 64px;
  justify-items: center;
}

.book {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 340px;
  width: 100%;
  view-timeline-name: --book;
  view-timeline-axis: block;
  animation: book-enter linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
@keyframes book-enter {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.book .cover {
  width: 260px;
  height: 390px;
  position: relative;
  margin-bottom: 32px;
  border-radius: 2px;
  overflow: hidden;
  transform-origin: center bottom;
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 30px 60px -16px rgba(0,0,0,.55),
    0 12px 24px -10px rgba(0,0,0,.4);
  transition:
    transform .8s var(--ease-spring),
    box-shadow .8s var(--ease-soft);
}
.book:hover .cover {
  transform: translateY(-10px) rotate(-.8deg);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 45px 80px -16px rgba(0,0,0,.7),
    0 16px 32px -10px rgba(0,0,0,.5);
}

.cover--placeholder {
  background:
    radial-gradient(ellipse at 50% 30%, color-mix(in oklch, var(--spark) 22%, transparent), transparent 60%),
    linear-gradient(165deg, var(--ink-3), var(--ink-2) 60%, var(--ink));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 26px;
  border: 1px solid color-mix(in oklch, var(--spark) 30%, transparent);
}

.cover--placeholder .cover-spark {
  color: var(--spark);
  font-size: 18px;
  margin-bottom: 18px;
  letter-spacing: .4em;
  filter: drop-shadow(0 0 12px color-mix(in oklch, var(--spark) 40%, transparent));
}
.cover--placeholder .cover-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: 32px;
  line-height: 1.02;
  color: var(--parchment);
  margin-bottom: 14px;
  text-wrap: balance;
}
.cover--placeholder .cover-sub {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  color: var(--parchment-2);
  opacity: .72;
  letter-spacing: .04em;
  line-height: 1.45;
}
.cover--placeholder .cover-author {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--spark);
  opacity: .9;
}

.book .lang {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .4em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: .5;
  margin-bottom: 14px;
}

.book .title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: 30px;
  line-height: 1.12;
  margin: 0 0 8px;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.book .subtitle {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  opacity: .68;
  margin: 0 0 14px;
  text-wrap: balance;
}

.book .meta {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .45;
  margin-bottom: 18px;
}

.book .blurb {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  opacity: .82;
  margin: 0 0 26px;
  text-wrap: pretty;
}

.book .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 13px 24px;
  border: 1px solid currentColor;
  border-radius: 100px;
  transition:
    background .4s var(--ease-soft),
    color .4s var(--ease-soft),
    transform .35s var(--ease-spring);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--spark); border-color: var(--spark); color: var(--ink); }
.btn--primary:hover { background: var(--spark-2); border-color: var(--spark-2); }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover > span { color: var(--ink); }
.author-page--light .btn--ghost:hover > span { color: var(--parchment); }

/* coming soon panel (Valentina) */
.coming-soon {
  max-width: 580px;
  margin: 80px auto 0;
  text-align: center;
  padding: 64px 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in oklch, var(--spark) 4%, transparent);
  position: relative;
}
.coming-soon::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 24px color-mix(in oklch, var(--spark) 60%, transparent);
}

.coming-soon .label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--spark);
  margin-bottom: 22px;
  font-weight: 500;
}

.coming-soon h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: 38px;
  line-height: 1.18;
  margin: 0 0 22px;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.coming-soon p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  opacity: .8;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.signup {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.signup input[type="email"] {
  flex: 1 1 220px;
  min-width: 200px;
  padding: 13px 20px;
  font-family: var(--sans);
  font-size: 13px;
  background: transparent;
  border: 1px solid var(--line);
  color: inherit;
  border-radius: 100px;
  outline: 0;
  transition: border-color .4s, background .4s;
}
.signup input[type="email"]:focus {
  border-color: var(--spark);
  background: color-mix(in oklch, var(--spark) 6%, transparent);
}
.signup input[type="email"]::placeholder { opacity: .42; }

/* footer */
.site-footer {
  margin-top: 120px;
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .45;
  padding-bottom: 20px;
}
.site-footer a:hover { opacity: 1; color: var(--spark); }

/* ═══════════════════════════════════════════════════════════
   7 · ENTRY ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes wordmarkRise {
  from { opacity: 0; transform: translate(-50%, -42%) scale(.94); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.half--valentina .name-block { animation: slideInLeft  1.1s var(--ease-curtain) both .55s; }
.half--claudiu   .name-block { animation: slideInRight 1.1s var(--ease-curtain) both .55s; }
.wordmark:not(.wordmark--top)        { animation: wordmarkRise 1.4s var(--ease-curtain) both .15s; }
.wordmark--top { animation: fadeUp 1s var(--ease-soft) both .2s; }
.tagline       { animation: fadeUp 1.1s var(--ease-soft) both 1.1s; }
.numeral       { animation: fadeIn 1.4s var(--ease-soft) both .9s; }

.hero, .section-title, .coming-soon {
  animation: fadeUp .9s var(--ease-soft) both;
}
.section-title { animation-delay: .15s; }
.coming-soon   { animation-delay: .25s; }

/* ═══════════════════════════════════════════════════════════
   8 · MOTION PREFERENCES
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  body::before { animation: none; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   9 · MOBILE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .split { flex-direction: column; height: auto; min-height: 100vh; }
  .half { min-height: 50vh; padding: 14vh 6vw 6vh; }
  .seam {
    width: 100vw; height: 1px;
    top: 50%; left: 0;
    transform: translateY(-.5px);
    background: linear-gradient(to right,
      transparent 0%, var(--line) 18%, var(--line) 82%, transparent 100%);
  }
  .name-block .given { font-size: clamp(58px, 14vw, 96px); }
  .name-block .quote { display: none; }
  .wordmark__line { font-size: 12px; }
  .wordmark__amp { font-size: clamp(54px, 14vw, 88px); }
  .tagline { bottom: 18px; font-size: 11px; }
  .numeral { font-size: 11px; top: 18px; }
  .half--valentina .numeral { left: 18px; }
  .half--claudiu .numeral { right: 18px; }
  .author-page { padding: 110px 5vw 60px; }
  .back-link { top: 22px; left: 22px; }
  .wordmark--top { top: 22px; }
  .books { gap: 64px 32px; }
  .book .cover { width: 220px; height: 330px; }
  .hero .given { font-size: clamp(54px, 13vw, 88px); }
  .coming-soon { padding: 48px 28px; }
  .coming-soon h2 { font-size: 30px; }
}
