/* ==========================================================================
   Books A Nation v3: bright modern publisher theme
   White and cream, flame orange accent, ink text, covers everywhere.
   Copy rule: no dashes, hyphens, hashtags, middots or check marks in UI text.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2");
  font-weight: 600 650;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #faf5eb;
  --white: #ffffff;
  --ink: #181611;
  --ink-soft: #46423a;
  --muted: #7a7468;
  --accent: #f05b24;
  --accent-dark: #cf4413;
  --accent-soft: #fde4d7;
  --mint: #dfece2;
  --sky: #dcE8f4;
  --blush: #f9e2da;
  --butter: #faeecb;
  --band: #121210;
  --line: rgba(24, 22, 17, 0.12);
  --line-soft: rgba(24, 22, 17, 0.07);
  --shadow-soft: 0 2px 6px rgba(24, 22, 17, 0.06), 0 14px 34px rgba(24, 22, 17, 0.09);
  --shadow-lift: 0 6px 14px rgba(24, 22, 17, 0.1), 0 26px 60px rgba(24, 22, 17, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --maxw: 1240px;
  --topstrip-h: 36px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

::selection { background: rgba(240, 91, 36, 0.25); }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 580;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 58ch;
}

.accent-i { color: var(--accent); font-style: italic; font-weight: 500; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

#dust { display: none; }

/* --------------------------------------------------------------------------
   Top strip
   -------------------------------------------------------------------------- */
.topstrip {
  background: var(--band);
  color: #e8e4da;
  font-size: 0.82rem;
  height: var(--topstrip-h);
  display: flex;
  align-items: center;
}

.topstrip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.topstrip a { color: #fbd9c8; font-weight: 600; }
.topstrip a:hover { color: #fff; }
.topstrip .ts-left { display: flex; gap: 24px; align-items: center; overflow: hidden; }
.topstrip svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  height: var(--header-h);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }

.brand .roundel {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 3px 10px rgba(240, 91, 36, 0.35);
}
.brand .roundel svg { width: 26px; height: 26px; }

.brand img.brand-logo { height: 46px; width: auto; }

.brand .wordmark {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 1.42rem;
  line-height: 1;
  color: var(--ink);
}

.brand .wordmark .bn-a { color: var(--accent); }

.brand .tagline {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.main-nav { display: flex; align-items: center; gap: 24px; }

.main-nav a {
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: right 0.26s cubic-bezier(.4, 0, .2, 1);
}

.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }

.main-nav a.btn, .main-nav a.btn:hover { color: #fff; }
.main-nav a.btn::after { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 14px rgba(240, 91, 36, 0.3);
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(240, 91, 36, 0.4);
}

.btn.btn-ink {
  background: var(--ink);
  box-shadow: 0 4px 14px rgba(24, 22, 17, 0.25);
}
.btn.btn-ink:hover { background: #000; box-shadow: 0 8px 22px rgba(24, 22, 17, 0.35); }

.btn.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(24, 22, 17, 0.25);
  box-shadow: none;
}
.btn.btn-ghost:hover { border-color: var(--ink); background: rgba(24, 22, 17, 0.04); color: var(--ink); }

.btn.btn-light {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.btn.btn-light:hover { background: #fff; color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Hero mosaic
   -------------------------------------------------------------------------- */
.hero-mosaic { padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 36px); }

.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.55fr) minmax(0, 0.55fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

.tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.tile-hero {
  grid-row: 1 / 3;
  background:
    radial-gradient(700px 420px at 110% -20%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(145deg, #f3682f, var(--accent) 55%, #d94c16);
  color: #fff;
  padding: clamp(32px, 4vw, 56px);
  justify-content: center;
}

.tile-hero h1 { color: #fff; }
.tile-hero h1 .flip { color: #ffe3b8; font-style: italic; font-weight: 500; }
.tile-hero p {
  color: rgba(255, 248, 240, 0.92);
  margin: 18px 0 26px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  max-width: 48ch;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-points { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }

.hero-point {
  font-size: 0.88rem;
  color: #ffe9db;
  font-weight: 650;
  position: relative;
  padding-left: 15px;
}
.hero-point::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ffd9a8;
}

.tile-covers { background: var(--butter); padding: 22px; align-items: center; justify-content: center; }

.tile-fan { position: relative; width: 100%; height: 100%; min-height: 240px; }
.tile-fan img {
  position: absolute;
  width: 46%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(24, 22, 17, 0.25);
  transition: transform 0.35s cubic-bezier(.22, .68, .35, 1);
}
.tile-fan img:nth-child(1) { left: 6%; top: 12%; transform: rotate(-7deg); z-index: 1; }
.tile-fan img:nth-child(2) { left: 28%; top: 5%; transform: rotate(2deg); z-index: 2; }
.tile-fan img:nth-child(3) { left: 50%; top: 14%; transform: rotate(8deg); z-index: 3; }
.tile-covers:hover .tile-fan img:nth-child(1) { transform: rotate(-10deg) translateY(-8px); }
.tile-covers:hover .tile-fan img:nth-child(2) { transform: rotate(0deg) translateY(-12px); }
.tile-covers:hover .tile-fan img:nth-child(3) { transform: rotate(11deg) translateY(-8px); }

.tile-label {
  position: absolute;
  left: 20px; bottom: 16px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(24, 22, 17, 0.15);
}

.tile-studio { background: var(--band); color: #fff; padding: 26px; justify-content: flex-end; min-height: 230px; }
.tile-studio .t-icon { position: absolute; right: 22px; top: 20px; opacity: 0.9; }
.tile-studio .t-icon svg { width: 44px; height: 44px; color: #f3b08c; }
.tile-studio h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.tile-studio p { color: #c9c2b4; font-size: 0.9rem; }
.tile-studio .t-go {
  margin-top: 14px;
  font-weight: 700;
  color: #ffbf96;
  font-size: 0.92rem;
}
.tile-studio .t-go::after { content: " →"; }
.tile-studio:hover .t-go { color: #ffd9bd; }

.tile-globe { background: var(--mint); padding: 26px; justify-content: flex-end; min-height: 230px; }
.tile-globe .t-icon { position: absolute; right: 22px; top: 20px; }
.tile-globe .t-icon svg { width: 44px; height: 44px; color: #2e6b4f; }
.tile-globe h3 { font-size: 1.35rem; margin-bottom: 6px; }
.tile-globe p { color: #4c6353; font-size: 0.9rem; }
.tile-globe .t-go { margin-top: 14px; font-weight: 700; color: #2e6b4f; font-size: 0.92rem; }
.tile-globe .t-go::after { content: " →"; }

.tile-blush { background: var(--blush); }

/* --------------------------------------------------------------------------
   Platform marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
  background: var(--white);
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 110px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }

.marquee-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 580;
  color: var(--ink-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 52px;
}
.marquee-item::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.section.tint { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 54px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; color: var(--muted); }
.section-head .head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

h2 .thin-i { font-style: italic; font-weight: 440; color: var(--accent-dark); }

/* --------------------------------------------------------------------------
   Book shelf carousel
   -------------------------------------------------------------------------- */
.shelf-wrap { position: relative; }

.shelf {
  display: flex;
  gap: clamp(18px, 2.4vw, 30px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 14px 4px 30px;
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }

.shelf-book {
  flex: 0 0 clamp(160px, 16vw, 215px);
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(24, 22, 17, 0.14), 0 18px 38px rgba(24, 22, 17, 0.16);
  transition: transform 0.35s cubic-bezier(.22, .68, .35, 1), box-shadow 0.35s ease;
  position: relative;
  background: var(--white);
}

.shelf-book::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0, rgba(0, 0, 0, 0.04) 3%, transparent 6.5%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.16) 0%, transparent 32%);
  pointer-events: none;
}

.shelf-book:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 18px rgba(24, 22, 17, 0.18), 0 32px 64px rgba(24, 22, 17, 0.24);
}

.shelf-book img { width: 100%; height: auto; }

.shelf-nav {
  position: absolute;
  top: 38%;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(24, 22, 17, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.shelf-nav:hover { background: var(--accent); transform: scale(1.08); }
.shelf-nav.prev { left: -12px; }
.shelf-nav.next { right: -12px; }

.gallery-note { margin-top: 10px; font-size: 0.86rem; color: var(--muted); text-align: center; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}

.card:hover { box-shadow: var(--shadow-lift); border-color: var(--line); }

.card .icon-disc {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent-soft);
  margin-bottom: 4px;
}
.card:nth-child(2) .icon-disc { background: var(--mint); color: #2e6b4f; }
.card:nth-child(3) .icon-disc { background: var(--sky); color: #2b5e8c; }
.card:nth-child(4) .icon-disc { background: var(--butter); color: #8a6a14; }
.card:nth-child(5) .icon-disc { background: var(--blush); color: #a84a2e; }
.card .icon-disc svg { width: 22px; height: 22px; }

.card p { color: var(--muted); font-size: 0.96rem; }

.card .card-link { margin-top: auto; font-weight: 700; font-size: 0.92rem; color: var(--accent-dark); }
.card .card-link::after { content: " →"; transition: margin-left 0.2s ease; }
.card:hover .card-link::after { margin-left: 5px; }

/* --------------------------------------------------------------------------
   Ink band
   -------------------------------------------------------------------------- */
.band {
  background: var(--band);
  color: #e9e4d8;
  padding: clamp(44px, 6vw, 72px) 0;
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 0.8fr));
  gap: clamp(22px, 3vw, 48px);
  align-items: center;
}

.band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.band h2 .thin-i { color: #ffb183; }

.band-item { border-left: 2px solid rgba(240, 91, 36, 0.6); padding-left: 20px; }
.band-item h3 { color: #ffd0b4; font-size: 1.12rem; margin-bottom: 4px; }
.band-item p { color: #b4ac9c; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Genre tiles
   -------------------------------------------------------------------------- */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.genre-tile {
  border-radius: var(--radius-lg);
  padding: 28px 28px 0;
  min-height: 330px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.genre-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); color: var(--ink); }

.genre-tile.g-mint { background: var(--mint); }
.genre-tile.g-sky { background: var(--sky); }
.genre-tile.g-blush { background: var(--blush); }

.genre-tile h3 { font-size: 1.5rem; }
.genre-tile p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 6px; max-width: 34ch; }

.genre-covers { margin-top: auto; display: flex; gap: 12px; align-items: flex-end; padding-top: 22px; }
.genre-covers img {
  width: 31%;
  height: auto;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 8px 22px rgba(24, 22, 17, 0.22);
  transition: transform 0.3s ease;
}
.genre-tile:hover .genre-covers img { transform: translateY(-6px); }
.genre-tile:hover .genre-covers img:nth-child(2) { transform: translateY(-12px); }

/* --------------------------------------------------------------------------
   Globe section
   -------------------------------------------------------------------------- */
.globe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.globe-stage {
  position: relative;
  min-height: 470px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(500px 420px at 50% 45%, rgba(240, 91, 36, 0.07), transparent 70%),
    var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
#globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.world-points { list-style: none; display: grid; gap: 13px; margin-top: 22px; }
.world-points li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.world-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

/* --------------------------------------------------------------------------
   Journey steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 360px at 108% -30%, rgba(255, 255, 255, 0.2), transparent 60%),
    linear-gradient(145deg, #f3682f, var(--accent) 55%, #d94c16);
  border-radius: var(--radius-lg);
  padding: clamp(42px, 6vw, 76px);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 248, 240, 0.92); max-width: 54ch; margin: 0 auto 28px; }
.cta-band .eyebrow { color: #ffe3b8; }

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(30px, 4vw, 50px);
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumbs { font-size: 0.84rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs .sep { margin: 0 7px; color: var(--accent); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink-soft);
}

.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 91, 36, 0.15);
}

.field textarea { min-height: 140px; resize: vertical; }

.form-status { margin-top: 14px; font-weight: 650; font-size: 0.95rem; }
.form-status.ok { color: #2e7d4f; }
.form-status.err { color: #c23b2a; }

/* --------------------------------------------------------------------------
   Checklist
   -------------------------------------------------------------------------- */
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.checklist li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 650;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.25s ease;
  flex: none;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--band);
  color: #a9a294;
  padding: clamp(50px, 6vw, 72px) 0 0;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
}

.site-footer h4 {
  color: #f3efe6;
  font-size: 0.98rem;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #a9a294; }
.site-footer a:hover { color: #ffb183; }

.footer-brand .wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 640;
  color: #fff;
}
.footer-brand .wordmark .bn-a { color: var(--accent); }
.footer-brand p { margin-top: 14px; max-width: 34ch; color: #8d8678; }
.footer-brand img.brand-logo { height: 48px; width: auto; margin-bottom: 14px; }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; margin-top: 4px; color: var(--accent); flex: none; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #7c7568;
}
.footer-bottom a { color: #7c7568; }
.footer-bottom a:hover { color: #ffb183; }

/* --------------------------------------------------------------------------
   Live chat
   -------------------------------------------------------------------------- */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: 700 0.95rem var(--font-body);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(24, 22, 17, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.chat-fab:hover { background: var(--accent); transform: translateY(-2px); }
.chat-fab svg { width: 18px; height: 18px; }

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 95;
  width: min(360px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 120px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(24, 22, 17, 0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel.open { display: flex; }

.chat-head {
  background: var(--ink);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.chat-head .ch-title { font-weight: 700; font-size: 1rem; }
.chat-head .ch-sub { font-size: 0.78rem; color: #b5ae9f; margin-top: 2px; }

.chat-close {
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.26); }

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
  background: var(--paper);
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chat-msg.visitor {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg.staff, .chat-msg.system {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
  border-bottom-left-radius: 4px;
}

.chat-form { border-top: 1px solid var(--line-soft); padding: 12px; display: grid; gap: 8px; background: #fff; }
.chat-form .chat-id-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.chat-form input, .chat-form textarea {
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  background: var(--paper);
}
.chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.chat-form textarea { resize: none; min-height: 44px; max-height: 110px; }

.chat-send-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-send-row textarea { flex: 1; }

.chat-send {
  background: var(--accent);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  flex: none;
}
.chat-send:hover { background: var(--accent-dark); }

/* --------------------------------------------------------------------------
   Cursor FX + page veil
   -------------------------------------------------------------------------- */
html.fx-cursor body.cursor-on, html.fx-cursor body.cursor-on a,
html.fx-cursor body.cursor-on button, html.fx-cursor body.cursor-on summary,
html.fx-cursor body.cursor-on .shelf-book, html.fx-cursor body.cursor-on .tile {
  cursor: none;
}
html.fx-cursor body.cursor-native, html.fx-cursor body.cursor-native input,
html.fx-cursor body.cursor-native select, html.fx-cursor body.cursor-native textarea {
  cursor: auto;
}
body.cursor-native #cursor-dot, body.cursor-native #cursor-ring { opacity: 0; }

#cursor-dot {
  position: fixed;
  left: 0; top: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: transform;
}

#cursor-ring {
  position: fixed;
  left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 91, 36, 0.75);
  z-index: 299;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, border-color 0.25s ease, background 0.25s ease;
  will-change: transform;
}

body.cursor-on #cursor-dot, body.cursor-on #cursor-ring { opacity: 1; }
body.cursor-hover #cursor-ring {
  border-color: rgba(24, 22, 17, 0.55);
  background: rgba(240, 91, 36, 0.08);
}

#cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 298;
  pointer-events: none;
}

.btn, .chat-fab, .shelf-nav {
  --magx: 0px;
  --magy: 0px;
  translate: var(--magx) var(--magy);
  transition-property: background, transform, box-shadow, filter, translate, border-color, color;
  transition-duration: 0.2s;
}
.magnet-on { transition-duration: 0.1s; }

#page-veil {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  background: linear-gradient(145deg, #f3682f, var(--accent) 55%, #d94c16);
  clip-path: inset(0 0 100% 0);
}

#page-veil.veil-cover { clip-path: inset(0 0 0 0); }
#page-veil.veil-in {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.3s cubic-bezier(.55, 0, .45, 1);
}
#page-veil.veil-out {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.45s cubic-bezier(.55, 0, .45, 1) 0.05s;
}

/* --------------------------------------------------------------------------
   Video sections
   -------------------------------------------------------------------------- */
.tile-video { background: var(--butter); min-height: 240px; }
.tile-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showreel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line-soft);
  background: var(--white);
}
.showreel video { width: 100%; height: auto; display: block; }
.showreel .reel-caption {
  position: absolute;
  left: 22px; bottom: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(24, 22, 17, 0.15);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }

/* Premium interaction details */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.picker-thumb:focus-visible, .shelf-book:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

button, summary, .picker-thumb, .stage-btn, .shelf-nav, .chat-fab, .nav-toggle { cursor: pointer; }

.btn:active, .chat-fab:active, .shelf-nav:active { transform: translateY(0) scale(0.97); }
.tile:active { transform: translateY(-1px) scale(0.995); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .tile, .card, .btn, .shelf-book, .genre-tile, .step { transition: none; }
  .shelf { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .tile-hero { grid-column: 1 / 3; grid-row: 1; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .globe-grid { grid-template-columns: 1fr; }
  .globe-stage { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: calc(var(--topstrip-h) + var(--header-h));
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    display: none;
    box-shadow: 0 24px 48px rgba(24, 22, 17, 0.14);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .main-nav a:last-of-type { border-bottom: 0; }
  .main-nav .btn { margin-top: 12px; justify-content: center; }
  .nav-toggle { display: block; }
  .topstrip .ts-right { display: none; }

  .mosaic { grid-template-columns: 1fr; }
  .tile-hero { grid-column: auto; }
  .band-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .chat-fab { right: 14px; bottom: 14px; padding: 13px 18px; }
  .chat-panel { right: 14px; bottom: 74px; }
  .shelf-nav.prev { left: 4px; }
  .shelf-nav.next { right: 4px; }
  .marquee-track { animation-duration: 22s; }
}
