/* Ronvoid Studio - stylesheet. Fonts loaded via assets/fonts/fonts.css */

:root {
  --bg: #0b0b0a;
  --bg-elevated: #131211;
  --ink: #f2efe9;
  --ink-muted: #a39d90;
  --ink-faint: #857f72;
  --line: rgba(242, 239, 233, 0.13);
  --line-strong: rgba(242, 239, 233, 0.28);
  --accent: #7c2530;
  --accent-bright: #a9394a;
  --accent-glow: rgba(169, 57, 74, 0.28);

  --display: 'Bricolage Grotesque', 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1240px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* z-index scale */
  --z-sticky: 50;
  --z-menu: 70;
  --z-grain: 90;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* fixed film-grain overlay, never on scrolling containers */
.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* fixed, full-viewport particle field. Canvas-drawn, cursor-reactive, runs
   its own rAF loop independent of GSAP. */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 1px solid var(--accent-bright);
  outline-offset: 3px;
}

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

em, i { font-style: italic; }

h1 em, h2 em, h3 em {
  font-style: normal;
  font-weight: inherit;
}

p { color: var(--ink-muted); text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
  padding: 0 var(--gutter);
  background: transparent;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav__mark { width: 24px; height: 24px; }

.nav__word {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav__links a {
  position: relative;
  font-size: 0.86rem;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
}

.nav__ig {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease-out-expo);
}

.nav__ig img { width: 18px; height: 18px; }
.nav__ig:hover { opacity: 1; transform: translateY(-1px); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  min-width: 44px;
  min-height: 40px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-toggle:hover { color: var(--ink); border-color: var(--ink-muted); }

/* mobile menu toggle */
.nav__mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav__mobile-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
}

.nav__mobile-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s var(--ease), top 0.35s var(--ease-out-expo);
}

.nav__mobile-toggle-bars span:nth-child(1) { top: 0; }
.nav__mobile-toggle-bars span:nth-child(2) { top: 6px; }
.nav__mobile-toggle-bars span:nth-child(3) { top: 12px; }

.nav[data-menu-open="true"] .nav__mobile-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav[data-menu-open="true"] .nav__mobile-toggle-bars span:nth-child(2) { opacity: 0; }
.nav[data-menu-open="true"] .nav__mobile-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* mobile nav overlay */
.nav__mobile-panel {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--bg);
  padding: 6.5rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-out-expo);
}

.nav__mobile-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__mobile-panel a {
  font-family: var(--display);
  font-size: 2.4rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.nav__mobile-ig {
  font-family: var(--sans) !important;
  font-size: 0.9rem !important;
  color: var(--ink-muted) !important;
  border-bottom: none !important;
  margin-top: 1rem;
  letter-spacing: 0.06em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.6rem;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98) translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

.btn--primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); box-shadow: 0 12px 28px -12px var(--accent-glow); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 8.5rem var(--gutter) 3rem;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

/* four-column info bar, mirrors the reference's upper info row */
.hero__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.hero__info-col span { display: block; }

.hero__info-bio p { max-width: 32ch; color: var(--ink-muted); }

.hero__info-list { display: flex; flex-direction: column; gap: 0.1rem; }

.hero__info-location { text-align: right; }

/* giant kinetic display block, each line its own alignment */
.hero__display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  font-size: clamp(2.4rem, 9.5vw, 8.5rem);
}

.hero__display-line { display: block; width: 100%; }

.hero__display-split {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.hero__display-right { text-align: right; }
.hero__display-left { text-align: left; }

.hero__display-indent {
  text-align: left;
  padding-left: clamp(1.5rem, 12vw, 7rem);
}

.hero__display-accent { color: var(--accent-bright); }

/* word-mask reveal targets, populated by script.js via GSAP */
.hero__display .word-mask { display: inline-block; overflow: hidden; vertical-align: top; }
.hero__display .word-inner { display: inline-block; }

/* ---------- section scaffolding ---------- */
section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }

.section-head { margin-bottom: 3rem; max-width: 620px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.section-head p { margin-top: 1rem; font-size: 1rem; max-width: 52ch; }

/* reveal on scroll: visible by default always (never gate content on JS or
   GSAP-load success); GSAP ScrollTrigger is a progressive enhancement that
   sets the "from" state itself only once it has actually loaded and run. */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- gallery: draggable carousel ---------- */
.gallery__carousel {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  margin-top: 1rem;
}

.gallery__carousel.is-dragging { cursor: grabbing; }

.gallery__track {
  display: flex;
  align-items: center;
  padding-left: calc((100vw - min(56vw, 460px)) / 2);
  padding-right: calc((100vw - min(56vw, 460px)) / 2);
  will-change: transform;
}

.gallery__slide {
  flex-shrink: 0;
  width: min(56vw, 460px);
  margin-right: clamp(1rem, 3vw, 2.5rem);
  opacity: 0.35;
  transform: scale(0.94);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery__slide.is-active { opacity: 1; transform: scale(1); }

.gallery__slide-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  pointer-events: none;
  user-select: none;
}

.gallery__caption {
  margin-top: 1.6rem;
}

.gallery__caption-hint {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .gallery__slide { transition: none; }
}

/* ---------- about ---------- */
.about__inner { max-width: 780px; }

.about__statement {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.32;
  color: var(--ink);
  margin-top: 1.4rem;
}

.about__statement--muted {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--ink-muted);
  margin-top: 1.2rem;
}

.about__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.about__facts span {
  font-size: 0.82rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.about__facts span:not(:last-child)::after {
  content: "·";
  margin: 0 0.9rem;
  color: var(--line-strong);
}

/* ---------- process ---------- */
.process__item {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.process__list .process__item:last-child { border-bottom: 1px solid var(--line); }

.process__index {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ink-faint);
  flex-shrink: 0;
  width: 3ch;
}

.process__body h3 {
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.process__body p { max-width: 52ch; }

@media (max-width: 640px) {
  .process__item { gap: 1.2rem; padding: 1.5rem 0; }
  .process__index { font-size: 1.2rem; width: auto; }
}

/* ---------- contact ---------- */
.contact__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 4.2rem);
  color: var(--ink);
  margin: 1.6rem 0 2rem;
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease-out-expo);
}

.contact__cta svg {
  width: 0.6em;
  height: 0.6em;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out-expo);
}

.contact__cta:hover { color: var(--accent-bright); gap: 1.3rem; }
.contact__cta:hover svg { transform: translate(3px, -3px); }

.contact__meta {
  font-size: 0.82rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__info { grid-template-columns: repeat(2, 1fr); }
  .hero__info-location { text-align: left; }
}

@media (max-width: 640px) {
  .container, .nav { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { padding-left: 1.25rem; padding-right: 1.25rem; padding-top: 6.5rem; gap: 2.5rem; }
  .hero__info { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__display-split { flex-direction: column; align-items: flex-start; gap: 0; }
  .hero__display-right,
  .hero__display-left,
  .hero__display-indent { text-align: left; padding-left: 0; }
  .about__facts span:not(:last-child)::after { display: none; }
  .about__facts { flex-direction: column; gap: 0.5rem; }
  .contact__cta { flex-direction: column; gap: 0.5rem !important; }
}

/* ---------- booking flow (book.html) ---------- */
.book-close {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}

.book-close svg { width: 15px; height: 15px; }
.book-close:hover { color: var(--ink); }

.book-progress {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  z-index: var(--z-sticky);
}

.book-progress__bar {
  height: 100%;
  width: 20%;
  background: var(--accent-bright);
  transition: width 0.5s var(--ease-out-expo);
}

.book-noscript {
  position: relative;
  z-index: var(--z-sticky);
  text-align: center;
  padding: 1rem var(--gutter);
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
}

.book-noscript a { color: var(--ink); text-decoration: underline; }

.book {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 7rem var(--gutter) 4rem;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

#bookForm { width: 100%; }

/* Default (no-JS-safe): every step stacks and stays visible, a plain long
   form. JS adds .is-wizard to switch into one-step-at-a-time mode, so a
   JS failure never hides content, only loses the step-by-step polish. */
.book-step {
  width: 100%;
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--line);
}

.book-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.book.is-wizard .book-step {
  display: none;
  padding: 0;
  margin: 0;
  border: none;
}

.book.is-wizard .book-step.is-active { display: block; }

.book-step__inner { max-width: 780px; }

.book-step__eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.book-step__question {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  margin-bottom: 2.5rem;
  max-width: 16ch;
}

.book-options { display: flex; flex-direction: column; }

.book-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 600;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  padding: 1.1rem 0.2rem;
  cursor: pointer;
  transition: color 0.25s var(--ease), padding-left 0.3s var(--ease-out-expo);
}

.book-options .book-option:last-child { border-bottom: 1px solid var(--line); }

.book-option::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.book-option:hover { color: var(--ink); padding-left: 0.6rem; }

.book-option[aria-checked="true"] { color: var(--ink); }

.book-option[aria-checked="true"]::after {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.book-step__inner--map { max-width: 900px; }

.body-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.body-map__figure {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.body-map__head {
  fill: var(--ink);
  opacity: 0.14;
}

.body-zone {
  fill: var(--ink);
  opacity: 0.16;
  stroke: var(--line-strong);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.25s var(--ease), opacity 0.25s var(--ease);
}

.body-zone:hover { opacity: 0.32; }

.body-zone[aria-checked="true"] {
  fill: var(--accent-bright);
  stroke: var(--accent-bright);
  opacity: 0.9;
}

.body-zone:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.body-map__label {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--ink-muted);
  text-align: center;
  min-height: 1.6em;
  transition: color 0.25s var(--ease);
}

.body-map__label.is-selected { color: var(--ink); }

.book-detail {
  margin-top: 2rem;
  display: none;
}

.book-detail.is-visible { display: block; }

/* No-JS fallback: keep the field visible if JS never wires up conditional
   reveal, so a fallback reader can still find and use it. */
.book:not(.is-wizard) .book-detail { display: block; }

.book-detail label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}

.book-detail textarea {
  width: 100%;
  min-height: 110px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 0.9rem 1rem;
  border-radius: 2px;
  resize: vertical;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.book-detail textarea::placeholder { color: var(--ink-faint); }

.book-detail textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.book-continue { margin-top: 1.4rem; }

.book-note {
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-muted);
  display: none;
}

.book-note.is-visible { display: block; }

/* No-JS fallback: same principle as .book-detail — never let content
   depend on JS having run to become visible. */
.book:not(.is-wizard) .book-note { display: block; }

.book-confirm {
  margin-top: 1.2rem;
  display: none;
}

.book-confirm.is-visible { display: inline-flex; }

.book:not(.is-wizard) .book-confirm { display: inline-flex; }

.book-name-field { margin-bottom: 2rem; }

.book-name-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  padding: 0.6rem 0.1rem;
  transition: border-color 0.25s var(--ease);
}

.book-name-field input::placeholder { color: var(--ink-faint); }

.book-name-field input:focus { outline: none; border-color: var(--accent-bright); }

.book-summary {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2.2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.book-summary:empty { display: none; }
.book-summary strong { color: var(--ink); font-weight: 500; }

.book-send { gap: 0.7rem; }
.book-send svg { width: 1em; height: 1em; }

.book-name-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.book-back {
  position: fixed;
  left: var(--gutter);
  bottom: 2rem;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), color 0.25s var(--ease);
}

.book-back.is-visible { opacity: 1; pointer-events: auto; }
.book-back:hover { color: var(--ink); }
.book-back svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .book-close span { display: none; }
  .book { padding-top: 6rem; }
  .book-back { left: 1.25rem; bottom: 1.25rem; }
}
