/* ==========================================================================
   Larisa Chalichuk — International Author Showcase (English)
   Museum-Grade Scroll-Driven 5-Leaf 3D Hardcover Books · Editorial Layout
   ========================================================================== */

:root {
  --daylight: #EFEEE9;
  --paper: #F9F8F4;
  --paper-pure: #FDFCF9;
  --floor: #D8D2C8;
  --shadow: #8C897B;
  --stone: #5D6057;
  --deep-silk: #202A30;
  --ink: #1D2124;
  --ink-soft: #3E4347;
  --ink-muted: #5C6064;
  --hairline: #DDD9D0;
  --hairline-dark: rgba(249, 248, 244, 0.14);
  --foil: #C89B3C;
  --foil-text: #8C6616;     /* WCAG AA >= 4.7:1 on Daylight/Paper */
  --foil-soft: #E4C272;     /* WCAG AAA on Deep Silk */

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 76px);
  --max-w: 1240px;
  --section-pad: clamp(72px, 8vw, 124px);
  --radius-sm: 2px;
  --ease-calm: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--daylight);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0; background: var(--daylight); color: var(--ink);
  font-size: 16.5px; line-height: 1.72; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--foil-text);
  outline-offset: 2px;
}

.hp-field {
  position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important;
}

.paper-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0.022;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
.scroll-rail {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none;
}
.scroll-rail-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--deep-silk) 0%, var(--foil) 100%);
  transform-origin: left center; transform: scaleX(0); will-change: transform;
}

.wrap { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: 84px; }

/* Typography */
.label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); line-height: 1.35;
}
.label--light { color: rgba(249, 248, 244, 0.68); }
.label--gold { color: var(--foil-text); }
.label--gold-dark { color: var(--foil-soft); }

.display {
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(40px, 5.2vw, 78px); line-height: 1.03; letter-spacing: -0.024em; margin: 0;
}
.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -0.02em; margin: 0;
}
.h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.16; letter-spacing: -0.015em; margin: 0;
}
.quote-voice {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(19px, 2.1vw, 28px); line-height: 1.34; color: var(--ink-soft); margin: 0;
}
.prose { max-width: 56ch; color: var(--ink-soft); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; min-height: 44px; white-space: nowrap;
  transition: background-color 0.22s, color 0.22s, border-color 0.22s, transform 0.22s var(--ease-calm);
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: 0.62; cursor: wait; }
.btn--primary { background: var(--deep-silk); color: var(--paper); border-color: var(--deep-silk); }
.btn--primary:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(29, 33, 36, 0.32); }
.btn--outline:hover:not(:disabled) { background: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--deep-silk); border-color: var(--paper); }
.btn--light:hover:not(:disabled) { background: #FFFFFF; }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(249, 248, 244, 0.36); }
.btn--outline-light:hover:not(:disabled) { background: rgba(249, 248, 244, 0.1); border-color: var(--paper); }
.btn--sm { padding: 9px 15px; min-height: 38px; font-size: 10.5px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(239, 238, 233, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 72px;
}
.wordmark {
  font-family: var(--serif); font-size: 22px; font-weight: 300; letter-spacing: -0.01em;
  color: var(--ink); white-space: nowrap; flex-shrink: 0;
}
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 22px); }
.site-nav a {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-muted); padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--deep-silk); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mobile-menu-btn {
  display: none; background: transparent; border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); width: 40px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(42px, 5.8vw, 88px) 0 clamp(54px, 6.8vw, 96px);
  overflow: hidden;
}
.hero__ambient { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero__curtain-wash {
  position: absolute; top: -8%; left: 0; right: 0; height: 116%;
  background: url('./media/web/curtain.webp') right center/cover no-repeat;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, rgba(0,0,0,0.2) 64%, rgba(0,0,0,0.88) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 40%, rgba(0,0,0,0.2) 64%, rgba(0,0,0,0.88) 100%);
  will-change: transform;
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4.8vw, 76px); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 18px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero__portrait-stage { perspective: 1400px; position: relative; }
.portrait-plinth { position: relative; transform-style: preserve-3d; will-change: transform; }
.portrait-frame {
  position: relative; width: 100%; aspect-ratio: 2 / 3;
  background: var(--floor); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); overflow: hidden;
}
.portrait-frame img {
  width: 100%; height: 100%; object-fit: contain; object-position: center; display: block;
}
.portrait-caption-card {
  position: absolute; left: -24px; bottom: 22px;
  background: rgba(249, 248, 244, 0.96); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 14px 17px; max-width: 286px;
  transform: translateZ(32px); backdrop-filter: blur(8px);
}
.portrait-caption-card__num {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--foil-text); margin-bottom: 4px;
}
.portrait-caption-card__text {
  font-family: var(--serif); font-size: 15.5px; line-height: 1.36; color: var(--ink); font-weight: 300;
}

/* Proof Ribbon */
.proof-ribbon {
  background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.proof-ribbon__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item {
  padding: clamp(20px, 2.6vw, 32px) 20px; border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 5px;
}
.proof-item:last-child { border-right: none; }
.proof-item__val { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 34px); font-weight: 300; line-height: 1.08; }
.proof-item__desc { font-size: 13px; color: var(--ink-muted); line-height: 1.46; }

/* Parallax Sunlit Floor Breath Band */
.breath-band {
  position: relative; height: clamp(190px, 24vw, 310px);
  overflow: hidden; border-bottom: 1px solid var(--hairline);
  display: flex; align-items: center;
}
.breath-band__img {
  position: absolute; left: 0; right: 0; top: -18%; height: 136%;
  background: url('./media/web/window-floor.webp') center/cover no-repeat; will-change: transform;
}
.breath-band__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(239, 238, 233, 0.90) 0%, rgba(239, 238, 233, 0.50) 58%, rgba(239, 238, 233, 0.14) 100%);
}
.breath-band__content { position: relative; z-index: 2; max-width: 580px; }

/* Where to Start Orientation Guide */
.start-guide {
  background: var(--paper); padding: clamp(56px, 6.5vw, 88px) 0;
  border-bottom: 1px solid var(--hairline);
}
.start-guide__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
}
.start-guide__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.start-card {
  background: var(--daylight); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: clamp(22px, 3vw, 30px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.start-card--dark {
  background: var(--deep-silk); color: var(--paper); border-color: var(--deep-silk);
}
.start-card--dark .prose { color: rgba(249, 248, 244, 0.80); }
.start-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   MUSEUM-GRADE SCROLL-DRIVEN 5-LEAF 3D HARDCOVER CHOREOGRAPHY
   Balanced 380vh track with crisp flat reading plateaus across all 6 spreads
   ========================================================================== */
.book-scroll-track {
  position: relative;
  min-height: 380vh;
}
.book-scroll-track--day {
  background: var(--daylight);
  border-bottom: 1px solid var(--hairline);
}
.book-scroll-track--night {
  background: var(--deep-silk);
  color: var(--paper);
}
.book-scroll-track--night .prose { color: rgba(249, 248, 244, 0.80); }

.book-sticky {
  position: sticky;
  top: 72px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(18px, 2.2vw, 30px) 0;
  overflow: hidden;
}

.book-showcase__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(14px, 1.8vw, 22px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}
.book-scroll-track--night .book-showcase__header { border-bottom-color: var(--hairline-dark); }

.book-showcase__layout {
  display: grid;
  grid-template-columns: minmax(570px, 1.34fr) minmax(0, 0.86fr);
  gap: clamp(28px, 3.8vw, 56px);
  align-items: center;
}
.book-showcase__layout--flip {
  grid-template-columns: minmax(0, 0.86fr) minmax(570px, 1.34fr);
}

.book3d-stage-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}

.book3d-viewport {
  --bw: 280px;
  --bh: 420px;
  --bt: 40px;
  --bht: 20px;
  width: 100%;
  min-height: 472px;
  perspective: 2400px;
  perspective-origin: 50% 45%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  user-select: none;
  touch-action: pan-y;
}
.book3d-viewport--thin { --bt: 30px; --bht: 15px; }

.book3d-shadow {
  position: absolute; bottom: 12px; width: 270px; height: 46px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(18, 22, 26, 0.34) 0%, rgba(18, 22, 26, 0.12) 50%, transparent 76%);
  filter: blur(13px); pointer-events: none;
  transform-origin: center center;
  will-change: transform, opacity;
}
.book-scroll-track--night .book3d-shadow {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72) 0%, rgba(200, 155, 60, 0.18) 52%, transparent 78%);
}

.book3d-pivot {
  width: var(--bw); height: var(--bh);
  position: relative; transform-style: preserve-3d;
  will-change: transform;
}
.book3d {
  width: var(--bw); height: var(--bh);
  position: relative; transform-style: preserve-3d;
  will-change: transform;
}

/* Back Hardcover Board (Matte Cloth — saves 811 KB vs invisible back PNGs) */
.b3d-back {
  position: absolute; inset: 0;
  transform: rotateY(180deg) translateZ(var(--bht));
  border-radius: 5px 2px 2px 5px; overflow: hidden;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255,255,255,0.12);
  backface-visibility: hidden;
}
.b3d-back--day { background: linear-gradient(135deg, #E5E0D5 0%, #D9D2C4 100%); }
.b3d-back--night { background: linear-gradient(135deg, #1B252B 0%, #141C21 100%); }

.b3d-back-inner {
  position: absolute; inset: 0;
  transform: translateZ(calc(var(--bht) * -1 + 1.5px));
  background: linear-gradient(100deg, #EDE8DC 0%, #F5F1E8 18%, #F3EFE5 100%);
  border: 1px solid rgba(29, 33, 36, 0.14);
  border-radius: 2px 5px 5px 2px; backface-visibility: hidden;
  box-shadow: inset 10px 0 18px rgba(0,0,0,0.08);
}
.b3d-back-inner--night {
  background: linear-gradient(100deg, #161F25 0%, #1F2A31 20%, #1B252B 100%);
  border-color: rgba(223, 188, 107, 0.22);
}

/* Sculpted Hardcover Spine + Woven Cloth Head & Tail Bands */
.b3d-spine {
  position: absolute; top: 0; left: calc(var(--bht) * -1);
  width: var(--bt); height: var(--bh);
  transform: rotateY(-90deg);
  backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 24px 4px; border-radius: 3px 0 0 3px;
  box-shadow:
    inset -6px 0 12px rgba(0,0,0,0.34),
    inset 4px 0 8px rgba(255,255,255,0.16),
    inset 0 2px 4px rgba(255,255,255,0.12);
}
.b3d-spine--day {
  background: linear-gradient(90deg, #DDD6C8 0%, #ECE7DD 45%, #E3DDD1 100%);
  color: #1D2124;
  border-left: 1px solid rgba(29,33,36,0.12);
}
.b3d-spine--night {
  background: linear-gradient(90deg, #151D22 0%, #232E36 48%, #1A2329 100%);
  color: #F9F8F4;
  border-right: 1px solid rgba(223, 188, 107, 0.28);
}
.b3d-headband {
  position: absolute; left: 3px; right: 3px; height: 5px; border-radius: 1px;
  background: repeating-linear-gradient(90deg, #7E8B7A 0px, #7E8B7A 2px, #F4EFE5 2px, #F4EFE5 4px);
  opacity: 0.85;
}
.b3d-headband--gold {
  background: repeating-linear-gradient(90deg, #C89B3C 0px, #C89B3C 2px, #253139 2px, #253139 4px);
}
.b3d-headband--top { top: 4px; }
.b3d-headband--bottom { bottom: 4px; }

.b3d-spine__author, .b3d-spine__title {
  writing-mode: vertical-rl; text-orientation: mixed; text-transform: uppercase; white-space: nowrap;
}
.b3d-spine__author { font-size: 8px; font-weight: 600; letter-spacing: 0.2em; opacity: 0.82; }
.b3d-spine__title { font-family: var(--serif); font-size: 13px; font-weight: 300; letter-spacing: 0.14em; }

/* Woven Silk Ribbon Bookmark */
.b3d-ribbon {
  position: absolute; bottom: -26px; left: 10px; width: 12px; height: 34px;
  transform: translateZ(0px) rotateZ(-4deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  box-shadow: 0 6px 10px rgba(0,0,0,0.22);
  transform-origin: top center;
  will-change: transform;
}
.b3d-ribbon--day { background: linear-gradient(180deg, #6A7866 0%, #869581 100%); }
.b3d-ribbon--night { background: linear-gradient(180deg, #B38529 0%, #DFBC6B 100%); }

/* Recessed Multi-Layer Paper Block Edges */
.b3d-edge-right {
  position: absolute; top: 5px; right: calc(var(--bht) * -1 + 5px);
  width: calc(var(--bt) - 5px); height: calc(var(--bh) - 10px);
  transform: rotateY(90deg);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(255,255,255,0.24) 22%, rgba(0,0,0,0.04) 76%, rgba(0,0,0,0.22) 100%),
    repeating-linear-gradient(90deg, #F8F4EC 0px, #F8F4EC 1.4px, #E3DAC9 1.4px, #E3DAC9 2.4px);
  box-shadow: inset 0 4px 7px rgba(0,0,0,0.12), inset 0 -4px 7px rgba(0,0,0,0.12);
}
.b3d-edge-right--gilt {
  background:
    linear-gradient(90deg, rgba(168,125,40,0.34) 0%, rgba(236,204,126,0.52) 32%, rgba(168,125,40,0.22) 78%, rgba(80,58,18,0.38) 100%),
    repeating-linear-gradient(90deg, #F3E9D2 0px, #F3E9D2 1.4px, #DFCEAA 1.4px, #DFCEAA 2.4px);
}
.b3d-edge-top {
  position: absolute; top: calc(var(--bht) * -1 + 5px); left: 3px;
  width: calc(var(--bw) - 9px); height: calc(var(--bt) - 5px); transform: rotateX(90deg);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.14), transparent 35%, rgba(0,0,0,0.12)),
    repeating-linear-gradient(0deg, #F8F4EC 0px, #F8F4EC 1.4px, #E3DAC9 1.4px, #E3DAC9 2.4px);
}
.b3d-edge-bottom {
  position: absolute; bottom: calc(var(--bht) * -1 + 5px); left: 3px;
  width: calc(var(--bw) - 9px); height: calc(var(--bt) - 5px); transform: rotateX(-90deg);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.16), transparent 40%, rgba(0,0,0,0.14)),
    repeating-linear-gradient(0deg, #EAE3D5 0px, #EAE3D5 1.4px, #D6CEBE 1.4px, #D6CEBE 2.4px);
}

/* Hinged Front Cover & 5 Articulated Turning Leaves */
.b3d-front-hinge {
  position: absolute; inset: 0;
  transform-origin: left center; transform-style: preserve-3d;
  transform: translateZ(var(--bht)) rotateY(0deg);
  z-index: 40; will-change: transform;
}
.b3d-front-face {
  position: absolute; inset: 0;
  transform: translateZ(0.4px);
  border-radius: 2px 6px 6px 2px; overflow: hidden; backface-visibility: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    inset -2px 0 5px rgba(0,0,0,0.18),
    -4px 16px 34px rgba(0,0,0,0.28);
  background: #1C2226;
}
.b3d-front-face img { width: 100%; height: 100%; object-fit: cover; }
.b3d-hinge-crease {
  position: absolute; top: 0; bottom: 0; left: 0; width: 20px;
  background: linear-gradient(90deg, rgba(0,0,0,0.44) 0%, rgba(255,255,255,0.22) 24%, rgba(0,0,0,0.24) 50%, rgba(255,255,255,0.08) 64%, transparent 100%);
  pointer-events: none;
}
.b3d-foil-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(112deg, transparent 22%, rgba(255,255,255,0.16) 46%, rgba(255,255,255,0.04) 58%, transparent 74%);
  pointer-events: none;
}
.b3d-front-inside {
  position: absolute; inset: 0; transform: rotateY(180deg) translateZ(0.4px); backface-visibility: hidden;
  border-radius: 6px 2px 2px 6px;
  background: linear-gradient(270deg, #E8E2D6 0%, #F5F1E9 14%, #F7F3EB 100%);
  border: 1px solid rgba(29,33,36,0.12);
  padding: 24px 22px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--ink);
  box-shadow: inset -18px 0 28px rgba(0,0,0,0.1);
}
.b3d-front-inside--night {
  background: linear-gradient(270deg, #141C21 0%, #1D272D 16%, #202B32 100%);
  color: var(--paper); border-color: rgba(223, 188, 107, 0.22);
  box-shadow: inset -18px 0 28px rgba(0,0,0,0.34);
}

.b3d-leaves {
  position: absolute; top: 5px; bottom: 5px; left: 2px; right: 5px;
  transform-style: preserve-3d; transform: translateZ(var(--bht));
}
.b3d-base-page {
  transform: translateZ(-4.2px);
}
.b3d-leaf {
  position: absolute; inset: 0;
  transform-origin: left center; transform-style: preserve-3d;
  will-change: transform;
}
.b3d-page, .b3d-base-page {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #EFEBE1 0%, #FAF8F2 11%, #FCFBF7 92%, #F3EFE5 100%);
  color: #1D2124;
  border: 1px solid rgba(117, 120, 110, 0.22); border-radius: 1px 3px 3px 1px;
  padding: 18px 18px 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  backface-visibility: hidden; overflow: hidden;
  box-shadow: inset 18px 0 26px rgba(29,33,36,0.09);
}
.b3d-page--verso {
  transform: rotateY(180deg); border-radius: 3px 1px 1px 3px;
  background: linear-gradient(270deg, #EFEBE1 0%, #FAF8F2 11%, #FCFBF7 92%, #F3EFE5 100%);
  box-shadow: inset -18px 0 26px rgba(29,33,36,0.1);
}
.b3d-page__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 20, 24, 0.26) 0%, rgba(16, 20, 24, 0.08) 45%, rgba(255, 252, 244, 0.14) 100%);
  opacity: 0; will-change: opacity;
}
.b3d-page--verso .b3d-page__shade {
  background: linear-gradient(270deg, rgba(16, 20, 24, 0.26) 0%, rgba(16, 20, 24, 0.08) 45%, rgba(255, 252, 244, 0.14) 100%);
}

.b3d-page__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 7.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: #666960; padding-bottom: 6px; border-bottom: 1px solid rgba(29,33,36,0.1);
}
.b3d-page__body {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 6px 0;
}
.b3d-page__title { font-family: var(--serif); font-size: 16px; font-weight: 400; line-height: 1.18; margin: 0; color: #1D2124; }
.b3d-page__text { font-family: var(--serif); font-size: 11.2px; line-height: 1.54; color: #2E3337; margin: 0; }
.b3d-page__quote {
  font-family: var(--serif); font-style: italic; font-size: 12px; line-height: 1.46;
  color: #1D2124; margin: 0; padding-left: 10px; border-left: 1.5px solid var(--foil);
}
.b3d-page__art {
  width: 100%; border-radius: 2px; border: 1px solid rgba(29,33,36,0.08); overflow: hidden; background: #F5F2EA;
}
.b3d-page__art img { width: 100%; height: auto; max-height: 244px; object-fit: cover; display: block; }
.b3d-page__caption { font-family: var(--serif); font-style: italic; font-size: 10px; color: #5C6064; margin: 0; text-align: center; }
.b3d-page__invite {
  padding: 8px 10px; border: 1px solid rgba(140, 102, 22, 0.42); border-radius: 2px;
  background: rgba(200, 155, 60, 0.08); font-size: 9px; line-height: 1.42; color: #3A352C;
}
.b3d-page__foot {
  display: flex; justify-content: space-between; font-size: 8px; color: #757267;
  letter-spacing: 0.12em; padding-top: 5px; border-top: 1px solid rgba(29,33,36,0.07);
}

/* Mobile / Reduced-Motion Prev-Next Spread Controls (Hidden on desktop scroll mode) */
.book3d-mobile-nav {
  display: none;
  align-items: center; justify-content: center; gap: 14px;
}
.book3d-nav-btn {
  appearance: none; background: var(--paper); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 7px 14px; cursor: pointer;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink);
}
.book3d-nav-btn:disabled { opacity: 0.38; cursor: not-allowed; }
.book3d-nav-counter {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--stone); min-width: 118px; text-align: center;
}
.book3d-mobile-nav--night .book3d-nav-btn {
  background: rgba(249, 248, 244, 0.08); border-color: rgba(249, 248, 244, 0.24); color: var(--paper);
}
.book3d-mobile-nav--night .book3d-nav-counter { color: rgba(249, 248, 244, 0.72); }

/* Clickable & Synchronized Chapter Phase Rail */
.scroll-phase-rail {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.scroll-phase-step {
  appearance: none; background: none; border: none; border-bottom: 1.5px solid transparent;
  padding: 4px 2px; cursor: pointer;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.25s, border-color 0.25s;
}
.scroll-phase-step:hover { color: var(--ink); }
.scroll-phase-step.is-on { color: var(--ink); border-bottom-color: var(--foil-text); }
.book-scroll-track--night .scroll-phase-step { color: rgba(249, 248, 244, 0.52); }
.book-scroll-track--night .scroll-phase-step:hover { color: var(--paper); }
.book-scroll-track--night .scroll-phase-step.is-on { color: var(--paper); border-bottom-color: var(--foil-soft); }

.book3d-hint { font-size: 12px; color: var(--ink-muted); text-align: center; }
.book-scroll-track--night .book3d-hint { color: rgba(249, 248, 244, 0.62); }

/* Book Editorial Column */
.book-copy { display: flex; flex-direction: column; gap: 14px; }
.book-themes {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.book-scroll-track--night .book-themes { border-color: var(--hairline-dark); }
.book-theme__k {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--foil-text); margin-bottom: 2px;
}
.book-scroll-track--night .book-theme__k { color: var(--foil-soft); }
.book-theme__v { font-size: 14px; line-height: 1.52; color: var(--ink-soft); }
.book-scroll-track--night .book-theme__v { color: rgba(249, 248, 244, 0.80); }

.book-quote-card {
  padding: 16px 18px; border-left: 2px solid var(--foil); background: rgba(249, 248, 244, 0.72);
}
.book-scroll-track--night .book-quote-card { background: rgba(249, 248, 244, 0.06); }
.book-quote-card blockquote {
  font-family: var(--serif); font-style: italic; font-size: 18.5px; line-height: 1.42; margin: 0 0 6px; font-weight: 300;
}
.book-quote-card cite {
  font-style: normal; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone);
}
.book-scroll-track--night .book-quote-card cite { color: rgba(249, 248, 244, 0.64); }

/* ==========================================================================
   Curated Excerpts Salon
   ========================================================================== */
.excerpts-sec {
  background: var(--paper); padding: var(--section-pad) 0; border-bottom: 1px solid var(--hairline);
}
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.4vw, 42px);
}
.filter-row, .edition-book-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  appearance: none; background: transparent; border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 7px 13px; cursor: pointer;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-muted); transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.is-on { background: var(--deep-silk); color: var(--paper); border-color: var(--deep-silk); }

.excerpts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.excerpt-card {
  background: var(--daylight); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 24px 24px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  transition: transform 0.28s var(--ease-calm), border-color 0.28s;
}
.excerpt-card:hover { transform: translateY(-2px); border-color: var(--shadow); }
.excerpt-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.excerpt-card__quote { font-family: var(--serif); font-size: 19px; line-height: 1.44; font-weight: 300; margin: 0; }
.excerpt-card__foot {
  padding-top: 12px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 11.5px; color: var(--ink-muted);
}
.excerpt-card__jump {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--deep-silk); border-bottom: 1px solid rgba(32, 42, 48, 0.35);
}
.excerpt-card__jump:hover { color: var(--foil-text); border-bottom-color: var(--foil-text); }

/* ==========================================================================
   Larisa Companion PWA + Honest Reader Access Card
   ========================================================================== */
.companion-sec {
  background: var(--daylight); padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--hairline); overflow: hidden;
}
.companion-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 76px); align-items: center;
}
.companion-features {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.c-feat {
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 16px 16px 14px;
}
.c-feat__num { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; color: var(--foil-text); margin-bottom: 5px; }
.c-feat__title { font-family: var(--serif); font-size: 19px; font-weight: 300; line-height: 1.2; margin: 0 0 5px; }
.c-feat__desc { font-size: 13px; color: var(--ink-muted); margin: 0; line-height: 1.52; }

/* Honest Reader Access Card */
.access-note-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center;
  background: var(--paper); border: 1px solid var(--hairline); border-left: 2px solid var(--foil);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 6px;
}
.access-note-card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--hairline); background: var(--daylight);
  display: flex; align-items: center; justify-content: center;
}

/* 3D Interactive Phone Stage (Zero CSS transition conflict with rAF) */
.phone-stage { perspective: 1600px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-3d {
  width: min(344px, 100%); background: #1A2227; border-radius: 34px; padding: 12px;
  border: 1px solid rgba(223, 188, 107, 0.28);
  box-shadow: 0 26px 56px rgba(20, 26, 30, 0.22);
  transform-style: preserve-3d; will-change: transform;
}
.phone-screen {
  background: var(--paper); border-radius: 24px; overflow: hidden;
  min-height: 516px; display: flex; flex-direction: column; color: var(--ink);
}
.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px 9px; border-bottom: 1px solid var(--hairline); background: var(--daylight);
}
.phone-brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 15px; }
.phone-brand img { width: 22px; height: 22px; border-radius: 5px; }
.phone-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--hairline);
}
.phone-tabs button {
  appearance: none; border: none; background: transparent; cursor: pointer; padding: 10px 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); border-bottom: 2px solid transparent;
}
.phone-tabs button.is-on { color: var(--deep-silk); border-bottom-color: var(--foil-text); }
.phone-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.phone-panel { display: none; flex-direction: column; gap: 10px; flex: 1; }
.phone-panel.is-on { display: flex; }

.phone-book-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 3px; background: var(--daylight); border: 1px solid var(--hairline); border-radius: 4px;
}
.phone-book-toggle button {
  appearance: none; border: none; background: transparent; cursor: pointer;
  padding: 6px 8px; border-radius: 3px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink-muted);
}
.phone-book-toggle button.is-on { background: var(--deep-silk); color: var(--paper); }

.sanctuary-card {
  background: var(--deep-silk); color: var(--paper); border-radius: 12px; padding: 15px 14px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.breath-orb-btn {
  appearance: none; background: none; border: none; padding: 0; cursor: pointer;
  position: relative; width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
}
.breath-orb {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--foil-soft);
  background: rgba(228, 194, 114, 0.08);
  transition: transform 0.3s ease;
}
.breath-orb-btn.is-playing .breath-orb {
  animation: calmBreath 6.5s ease-in-out infinite;
}
.breath-orb-play {
  position: relative; z-index: 2; color: var(--foil-soft); font-size: 17px; line-height: 1;
  padding-left: 2px;
}
.breath-orb-btn.is-playing .breath-orb-play { padding-left: 0; font-size: 15px; }
@keyframes calmBreath {
  0%, 100% { transform: scale(0.92); box-shadow: 0 0 0 0 rgba(228, 194, 114, 0.30); }
  50% { transform: scale(1.10); box-shadow: 0 0 0 14px rgba(228, 194, 114, 0); }
}
.sanctuary-cadence { font-size: 11px; color: rgba(249, 248, 244, 0.78); }

.track-list { display: flex; flex-direction: column; gap: 6px; }
.track-chip {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 11px;
  background: var(--daylight); border: 1px solid var(--hairline); border-radius: 4px;
  cursor: pointer; text-align: left; font-size: 12px;
}
.track-chip.is-on { border-color: var(--foil-text); background: #F4EFE4; }
.track-chip span:last-child { font-size: 10px; color: var(--stone); white-space: nowrap; }

.practice-preview-card {
  background: var(--daylight); border: 1px solid var(--hairline); border-top: 2px solid var(--foil);
  border-radius: 8px; padding: 15px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.practice-preview-card__title {
  font-family: var(--serif); font-size: 20px; font-weight: 300; margin: 0; line-height: 1.2;
}
.practice-preview-card__desc { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.practice-preview-card__prompt {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--hairline);
  font-family: var(--serif); font-style: italic; font-size: 13.5px; line-height: 1.4; color: var(--ink);
}
.practice-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.practice-chip {
  appearance: none; padding: 8px 8px; background: var(--daylight); border: 1px solid var(--hairline);
  border-radius: 4px; cursor: pointer; font-size: 11px; font-weight: 500; color: var(--ink-soft);
}
.practice-chip.is-on { background: var(--deep-silk); color: var(--paper); border-color: var(--deep-silk); }

.deck-preview-card {
  background: var(--daylight); border: 1px solid var(--hairline); border-top: 2px solid var(--foil);
  border-radius: 8px; padding: 18px 14px; min-height: 224px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.deck-preview-card blockquote { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.44; margin: 0; }
.phone-lock-foot {
  padding: 9px 12px; background: var(--daylight); border: 1px solid var(--hairline);
  border-radius: 6px; font-size: 11px; color: var(--ink-muted); text-align: center; line-height: 1.4;
}

/* ==========================================================================
   Meet Larisa (About + Grounded Principles + 4 Layers)
   ========================================================================== */
.about-sec { background: var(--paper); padding: var(--section-pad) 0; border-bottom: 1px solid var(--hairline); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.about-portraits .portrait-frame--offset { margin-top: 38px; }

.principles-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--hairline);
}
.val-item__n { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; color: var(--foil-text); }
.val-item__t { font-family: var(--serif); font-size: 21px; font-weight: 300; margin-top: 4px; line-height: 1.2; }
.principle-item__d { font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; margin: 6px 0 0; }

.approach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.step-card { background: var(--daylight); border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 22px 20px; }
.step-card__title { font-family: var(--serif); font-size: 25px; font-weight: 300; margin: 8px 0 6px; }
.step-card__text { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.58; }
.beyond-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.beyond-card { padding: 24px 26px; background: var(--paper-pure); border: 1px solid var(--hairline); border-radius: var(--radius-sm); }

/* ==========================================================================
   Global Storefronts with Official Logos + 1-Line Launch Alert Bar
   ========================================================================== */
.stores-sec { background: var(--daylight); padding: var(--section-pad) 0; border-bottom: 1px solid var(--hairline); }
.stores-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.store-card {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 20px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  transition: transform 0.24s var(--ease-calm), border-color 0.24s;
}
.store-card:hover { transform: translateY(-2px); border-color: var(--shadow); }
.store-card--featured { background: var(--deep-silk); color: var(--paper); border-color: var(--deep-silk); }
.store-card--featured .store-card__sub { color: rgba(249, 248, 244, 0.76); }

.store-logo-box {
  height: 34px; display: flex; align-items: center; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--hairline);
}
.store-card--featured .store-logo-box { border-bottom-color: var(--hairline-dark); }
.store-logo-box--lockup { gap: 9px; }
.store-logo {
  height: 22px; width: auto; max-width: 148px; object-fit: contain; object-position: left center;
}
.store-logo--amazon { height: 24px; transform: translateY(2px); }
.store-logo--kindle { height: 22px; }
.store-logo--bn { height: 18px; }
.store-logo--kobo { height: 22px; }
.store-logo--bookshop { height: 20px; }
.store-logo--icon { height: 24px; width: 24px; flex-shrink: 0; }
.store-logo--invert { filter: brightness(0) invert(0.96); }
.store-logo-wordmark {
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  white-space: nowrap;
}

.store-card__name { font-family: var(--serif); font-size: 21px; font-weight: 300; line-height: 1.15; margin: 5px 0 4px; }
.store-card__sub { font-size: 12.5px; color: var(--ink-muted); line-height: 1.48; margin: 0; }
.store-card__link {
  appearance: none; background: none; border: none; padding: 0; cursor: pointer; align-self: flex-start;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--deep-silk); border-bottom: 1px solid rgba(32, 42, 48, 0.35);
}
.store-card--featured .store-card__link { color: var(--foil-soft); border-bottom-color: rgba(228, 194, 114, 0.52); }

/* 1-Line Launch Alert Bar */
.launch-alert-bar {
  margin-top: 24px; padding: clamp(20px, 2.8vw, 28px);
  background: var(--paper); border: 1px solid var(--hairline); border-left: 2px solid var(--foil);
  border-radius: var(--radius-sm);
}
.launch-alert-bar__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 16px;
}
.launch-alert-bar__pill {
  padding: 6px 12px; background: var(--daylight); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--deep-silk);
}
.launch-alert-form {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto; gap: 12px;
}
.launch-alert-form input {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--paper-pure); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink);
}
.launch-alert-form input[aria-invalid="true"],
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #B4493F;
}

/* ==========================================================================
   Contact & Inquiries Form
   ========================================================================== */
.care-sec { background: var(--paper); padding: var(--section-pad) 0; }
.care-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.care-card {
  background: var(--daylight); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: clamp(24px, 3vw, 38px);
}
.care-form { display: flex; flex-direction: column; gap: 16px; }
.field-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; align-items: end;
}
.field-row.is-single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.is-hidden { display: none; }
.field label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.char-counter { font-size: 11px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--paper-pure); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink);
  transition: border-color 0.2s;
}
.field textarea { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 36px; text-overflow: ellipsis; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%231D2124' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M2.5 4.5 L6 8 L9.5 4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--deep-silk);
}

.channel-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.channel-pill { position: relative; }
.channel-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.channel-pill span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border: 1px solid var(--hairline); background: var(--paper-pure);
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-muted);
}
.channel-pill input:checked + span { background: var(--deep-silk); color: var(--paper); border-color: var(--deep-silk); }
.channel-pill input:focus-visible + span { outline: 2px solid var(--foil-text); outline-offset: 2px; }

.consent-row { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.consent-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--deep-silk); flex-shrink: 0; }

.care-status { padding: 13px 15px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.52; display: none; }
.care-status.is-ok { display: block; background: #ECEFE9; border: 1px solid #8DA086; color: #202E1C; }
.care-status.is-err { display: block; background: #F8ECEA; border: 1px solid #C28A84; color: #5D211B; }

.care-submit-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center;
}
.care-portrait-mini { max-width: 224px; margin-top: 22px; }

/* Footer */
.site-footer { background: var(--deep-silk); color: rgba(249, 248, 244, 0.78); padding: 48px 0 40px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.site-footer__note { max-width: 58ch; font-size: 12.5px; line-height: 1.62; margin: 10px 0 0; color: rgba(249, 248, 244, 0.62); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(249, 248, 244, 0.78); border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.footer-links a:hover { color: var(--foil-soft); border-bottom-color: var(--foil-soft); }
.footer-copy { font-size: 11px; color: rgba(249, 248, 244, 0.56); letter-spacing: 0.1em; text-transform: uppercase; }

/* Reveal */
.js-ready [data-reveal] { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.65s var(--ease-calm), transform 0.65s var(--ease-calm); }
.js-ready [data-reveal].is-shown { opacity: 1; transform: translate3d(0, 0, 0); }

/* ==========================================================================
   Responsive (Tablet <= 1140px & Mobile <= 780px)
   ========================================================================== */
@media (max-width: 1140px) {
  .book-scroll-track { min-height: auto; }
  .book-sticky { position: static; min-height: auto; padding: var(--section-pad) 0; }
  .book-showcase__layout, .book-showcase__layout--flip, .companion-grid, .about-grid, .care-grid {
    grid-template-columns: 1fr;
  }
  .book-showcase__layout--flip .book-copy { order: 2; }
  .book3d-mobile-nav { display: flex; }
  .excerpts-grid, .stores-grid, .approach-grid, .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-ribbon__grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { border-bottom: 1px solid var(--hairline); }
  .launch-alert-form { grid-template-columns: 1fr 1fr; }
  .launch-alert-form .btn { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px var(--gutter);
  }
  .site-nav.is-open { display: flex; }
  .mobile-menu-btn { display: inline-flex; }
  .header-cta { display: none; }

  /* Mobile Hero: compact rhythm bringing Larisa's portrait into the first screen */
  .hero { padding: 26px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 22px; }
  .hero__copy { gap: 13px; }
  .display { font-size: clamp(34px, 9.2vw, 44px); }
  .hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .hero__btns .btn { width: 100%; padding: 12px 12px; font-size: 10px; letter-spacing: 0.12em; }
  .hero__portrait-stage .portrait-frame { max-width: 280px; margin-inline: auto !important; }
  .portrait-caption-card { position: static; margin-top: 12px; max-width: none; transform: none; }

  .start-guide__grid, .excerpts-grid, .stores-grid, .approach-grid, .principles-grid,
  .beyond-strip, .companion-features, .field-row, .access-note-card, .care-submit-row,
  .launch-alert-form {
    grid-template-columns: 1fr;
  }
  .about-portraits { grid-template-columns: 1fr; }
  .about-portraits .portrait-frame--offset { margin-top: 0; }

  .book3d-viewport { --bw: 196px; --bh: 294px; --bt: 26px; --bht: 13px; min-height: 332px; }
  .b3d-front-inside { padding: 12px 11px; overflow: hidden; }
  .b3d-front-inside img { width: 48px !important; margin-bottom: 6px !important; }
  .b3d-front-inside p { font-size: 9px !important; line-height: 1.38 !important; margin-top: 5px !important; }
  .b3d-page, .b3d-base-page { padding: 11px 10px 9px; }
  .b3d-page__title { font-size: 12.5px; }
  .b3d-page__text, .b3d-page__quote { font-size: 9px; line-height: 1.4; }
  .b3d-page__art img { max-height: 158px; }
  .footer-right { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .book-scroll-track { min-height: auto; }
  .book-sticky { position: static; min-height: auto; padding: var(--section-pad) 0; }
  .book3d-mobile-nav { display: flex; }
  .js-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .breath-orb { animation: none !important; }
}
