@charset "UTF-8";
/* ==========================================================================
   Jeff R Burt — main stylesheet
   1. Tokens          6. Hero
   2. Reset / base    7. Home sections
   3. Utilities       8. Shop / product / cart
   4. Components      9. Editorial pages
   5. Header / nav   10. Forms, footer, responsive
   ========================================================================== */

/* 1. Tokens ============================================================== */
:root {
  /* Ink — the deep navy the whole site sits on */
  --ink-900: #03070E;
  --ink-850: #050B15;
  --ink-800: #07101D;
  --ink-700: #0A1627;
  --ink-600: #0E1D31;
  --ink-500: #14263D;
  --ink-400: #1C3149;

  /* Gold — foil, rules, headings */
  --gold-100: #F6E7BE;
  --gold-200: #EBD49A;
  --gold-300: #DFC079;
  --gold-400: #CDA85C;
  --gold-500: #B98F42;
  --gold-600: #8E6C2F;
  --gold-700: #5E4720;

  /* Text */
  --text: #D6DCE5;
  --text-dim: #9AA7B8;
  --text-faint: #6E7C90;

  /* Lines & glows */
  --line: rgba(205, 168, 92, 0.24);
  --line-soft: rgba(205, 168, 92, 0.12);
  --line-strong: rgba(205, 168, 92, 0.45);
  --glow: 0 0 28px rgba(205, 168, 92, 0.18);

  --danger: #E2685E;
  --success: #6FB98F;

  /* Type */
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Cinzel", Georgia, serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.34rem + 0.75vw, 2rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.85rem);
  --step-4: clamp(2.5rem, 1.9rem + 3vw, 4.75rem);

  /* Space & shape */
  --shell: 1280px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --radius: 3px;
  --radius-lg: 6px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 0.45s;
}

/* 2. Reset / base ======================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100vh;
  background-color: var(--ink-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; height: auto; }

a { color: var(--gold-300); text-decoration: none; transition: color var(--speed) var(--ease); }
a:hover { color: var(--gold-100); }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  color: var(--gold-200);
  letter-spacing: 0.02em;
}

p { text-wrap: pretty; }

::selection { background: var(--gold-500); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 999;
  transform: translate(-50%, -120%);
  padding: 0.75rem 1.5rem;
  background: var(--gold-400);
  color: var(--ink-900);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--ink-900); }

/* 3. Utilities =========================================================== */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}
.shell--wide { width: min(100% - (var(--gutter) * 2), 1500px); }
.shell--narrow { width: min(100% - (var(--gutter) * 2), 860px); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--flush-top { padding-top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-center { text-align: center; }
.gold { color: var(--gold-300); }
.dim { color: var(--text-dim); }

/* Backgrounds shared by several sections */
.bg-compass,
.bg-editions,
.bg-wood {
  position: relative;
  isolation: isolate;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.bg-compass { background-image: url("../img/bg-compass.jpg"); background-color: var(--ink-800); }
.bg-editions { background-image: url("../img/bg-editions.jpg"); background-color: var(--ink-850); }
.bg-wood { background-image: url("../img/bg-wood.jpg"); background-color: #14100B; }

.bg-compass::after,
.bg-editions::after,
.bg-wood::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bg-compass::after { background: linear-gradient(180deg, rgba(3,7,14,.86), rgba(5,11,21,.72) 45%, rgba(3,7,14,.9)); }
.bg-editions::after { background: linear-gradient(180deg, rgba(3,7,14,.9), rgba(5,11,21,.68) 40%, rgba(3,7,14,.92)); }
.bg-wood::after { background: linear-gradient(180deg, rgba(10,8,5,.82), rgba(14,11,7,.7)); }

/* Hairline dividers between dark bands */
.rule-top { border-top: 1px solid var(--line-soft); }
.rule-bottom { border-bottom: 1px solid var(--line-soft); }

/* 4. Components ========================================================== */

/* --- Section heading with flanking rules (mockup signature) --- */
.heading { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.25rem); }

.heading__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.5vw, 1.75rem);
  font-size: var(--step-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(178deg, var(--gold-100) 8%, var(--gold-400) 52%, var(--gold-600) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.heading__title::before,
.heading__title::after {
  content: "";
  flex: 1 1 auto;
  max-width: clamp(2.5rem, 14vw, 15rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.heading__title::after { background: linear-gradient(270deg, transparent, var(--line-strong)); }

.heading__sub {
  margin-top: 0.75rem;
  font-family: var(--font-ui);
  font-size: var(--step--1);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.heading__lede {
  max-width: 62ch;
  margin: 1.15rem auto 0;
  color: var(--text-dim);
}

/* --- Ornament: small anchor/compass divider --- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-block: 1.5rem;
  color: var(--gold-500);
  font-size: 0.9rem;
}
.ornament::before,
.ornament::after {
  content: "";
  width: clamp(2rem, 8vw, 5.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.ornament::after { background: linear-gradient(270deg, transparent, var(--line-strong)); }

/* --- Buttons --- */
.btn {
  --btn-bg: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85em 2.1em;
  background: var(--btn-bg);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius);
  color: var(--ink-900);
  font-family: var(--font-ui);
  font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
              filter var(--speed) var(--ease), color var(--speed) var(--ease);
}
.btn:hover {
  color: var(--ink-900);
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--gold-200);
  box-shadow: none;
}
.btn--ghost:hover {
  color: var(--gold-100);
  background: rgba(205, 168, 92, 0.08);
  box-shadow: var(--glow);
}

.btn--block { width: 100%; }
.btn--sm { padding: 0.65em 1.4em; font-size: 0.7rem; letter-spacing: 0.12em; }
.btn--lg { padding: 1em 2.6em; }

.btn[disabled],
.btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(0.6);
}

/* --- Panel: the bordered navy card used across the site --- */
.panel {
  position: relative;
  background: linear-gradient(165deg, rgba(20, 38, 61, 0.72), rgba(7, 16, 29, 0.88));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}
.panel:hover { border-color: var(--line-strong); }

/* Cut-corner brackets, echoing the mockup's edition cards */
.panel--bracket::before,
.panel--bracket::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}
.panel--bracket::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.panel--bracket::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* --- Badge / pill --- */
.badge {
  display: inline-block;
  padding: 0.3em 0.85em;
  background: rgba(205, 168, 92, 0.14);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--gold-200);
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--out { color: var(--text-faint); border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.04); }

/* --- Alerts --- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: rgba(20, 38, 61, 0.6);
  font-size: 0.95rem;
}
.alert i { margin-top: 0.28em; }
.alert--ok { border-left-color: var(--success); color: #CFE7DA; }
.alert--ok i { color: var(--success); }
.alert--bad { border-left-color: var(--danger); color: #F1CFCC; }
.alert--bad i { color: var(--danger); }

/* 5. Header / nav ======================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.05rem;
  transition: padding var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  border-bottom: 1px solid transparent;
}

/* The bar paints its own background on a pseudo-element. backdrop-filter on
   .header itself would make the header the containing block for the fixed
   nav drawer inside it, and the drawer would collapse to the bar's height. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 7, 14, 0.92), rgba(3, 7, 14, 0.55) 70%, transparent);
  transition: background var(--speed) var(--ease);
}
.header.is-stuck::before {
  background: rgba(4, 9, 17, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header.is-stuck {
  padding-block: 0.7rem;
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.brand { flex: 0 0 auto; }
.brand img {
  width: clamp(160px, 17vw, 245px);
  transition: width var(--speed) var(--ease);
}
.header.is-stuck .brand img { width: clamp(145px, 14vw, 205px); }

/* Primary navigation */
.nav { flex: 1 1 auto; }
.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vw, 2.15rem);
}
.nav__link {
  position: relative;
  display: block;
  padding-block: 0.4rem;
  font-family: var(--font-ui);
  font-size: clamp(0.7rem, 0.62rem + 0.24vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  transform: scaleX(0);
  transition: transform var(--speed) var(--ease);
}
.nav__link:hover { color: var(--gold-200); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--gold-300); }

/* Header tools: search, account, cart */
.tools {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.4vw, 1.1rem);
  flex: 0 0 auto;
}
.tool {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--text);
  font-size: 1rem;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease),
              background var(--speed) var(--ease);
}
.tool:hover {
  color: var(--gold-200);
  border-color: var(--line);
  background: rgba(205, 168, 92, 0.07);
}
.tool__count {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding-inline: 0.3rem;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  border-radius: 100px;
  color: var(--ink-900);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

/* Language switch: dropdown */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.1rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--gold-200);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.lang__toggle:hover,
.lang.is-open .lang__toggle { border-color: var(--line-strong); background: rgba(205, 168, 92, 0.08); }
.lang__toggle:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.lang__caret { font-size: 0.55rem; transition: transform var(--speed) var(--ease); }
.lang.is-open .lang__caret { transform: rotate(180deg); }
.lang__list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 140;
  min-width: 11rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), var(--glow);
}
.lang__list[hidden] { display: none; }
.lang__opt {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  text-align: left;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.lang__opt:hover,
.lang__opt:focus-visible { background: rgba(205, 168, 92, 0.1); color: var(--gold-200); outline: none; }
.lang__opt.is-active { background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); color: var(--ink-900); }
.lang__code {
  min-width: 1.6rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Burger — doubles as the drawer's close control */
.burger { display: none; width: 2.5rem; height: 2.5rem; place-items: center; color: var(--gold-200); font-size: 1.2rem; }
/* Lift the header above the open drawer so the burger stays reachable */
body.nav-open .header { z-index: 130; background: var(--ink-850); }

/* Search drawer */
.search {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 99;
  padding: 6.5rem var(--gutter) 2rem;
  background: rgba(4, 9, 17, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--speed) var(--ease), visibility var(--speed);
}
.search.is-open { transform: translateY(0); visibility: visible; }
.search__form {
  display: flex;
  gap: 0.75rem;
  width: min(100%, 720px);
  margin-inline: auto;
}
.search__form input { flex: 1 1 auto; }
.search__hint {
  width: min(100%, 720px);
  margin: 0.9rem auto 0;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* 6. Hero ================================================================ */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(620px, 92vh, 900px);
  padding-block: clamp(7rem, 14vw, 9rem) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  background: url("../img/bg-hero.jpg") center / cover no-repeat, var(--ink-900);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% 20%, rgba(24, 46, 74, 0.5), transparent 62%),
    linear-gradient(180deg, rgba(3, 7, 14, 0.82) 0%, rgba(3, 7, 14, 0.42) 42%, rgba(3, 7, 14, 0.96) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(90% 70% at 50% 55%, transparent 40%, rgba(3, 7, 14, 0.75) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.hero__book { position: relative; }
.hero__book img {
  width: 100%;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.8));
}

.hero__copy { text-align: center; }

.hero__mark {
  display: block;
  margin-inline: auto;
  color: var(--gold-400);
  font-size: 1.1rem;
}

.hero__title {
  margin-top: 0.9rem;
  font-size: var(--step-4);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  background: linear-gradient(176deg, #FBF0D3 4%, var(--gold-200) 34%, var(--gold-400) 66%, var(--gold-600) 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.75));
}
.hero__title span { display: block; }

.hero__subtitle {
  margin-top: 0.7rem;
  font-family: var(--font-ui);
  font-size: clamp(0.85rem, 0.72rem + 0.6vw, 1.32rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-100);
}

.hero__lines {
  margin-top: 0.4rem;
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.15rem);
  line-height: 1.95;
  color: var(--text);
}

.hero__cta { margin-top: 1.9rem; }

.hero__author { position: relative; align-self: end; }
.hero__author img {
  width: 100%;
  filter: drop-shadow(-14px 20px 45px rgba(0, 0, 0, 0.85)) contrast(1.04) saturate(0.92);
}

/* Scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  color: var(--gold-500);
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero__cue i { animation: bob 2.4s var(--ease) infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Compact hero for inner pages */
.pagehead {
  position: relative;
  isolation: isolate;
  padding-block: clamp(8rem, 15vw, 11rem) clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  background: url("../img/bg-compass.jpg") center / cover no-repeat, var(--ink-850);
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 7, 14, 0.92), rgba(4, 10, 19, 0.7) 55%, rgba(3, 7, 14, 0.98));
}
.pagehead__title {
  font-size: var(--step-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(176deg, var(--gold-100) 10%, var(--gold-400) 60%, var(--gold-600) 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pagehead__lede {
  max-width: 60ch;
  margin: 1.1rem auto 0;
  color: var(--text-dim);
}

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--gold-200); }
.crumbs i { font-size: 0.5rem; color: var(--gold-600); }

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

/* --- Editions --- */
.editions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.9rem);
}
.edition {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.1rem, 2vw, 1.75rem) clamp(1.4rem, 2.5vw, 2rem);
  text-align: center;
}
.edition:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5); }

.edition__icon {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-300);
  font-size: 1.25rem;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.edition:hover .edition__icon { border-color: var(--line-strong); box-shadow: var(--glow); }

.edition__name {
  margin-top: 1.1rem;
  font-size: var(--step-1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.edition__note {
  margin-top: 0.35rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.edition__shot {
  display: grid;
  place-items: center;
  min-height: clamp(180px, 22vw, 250px);
  margin-block: clamp(1.1rem, 2.5vw, 1.9rem);
}
.edition__shot img {
  max-height: clamp(180px, 22vw, 250px);
  width: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.7));
  transition: transform var(--speed) var(--ease);
}
.edition:hover .edition__shot img { transform: translateY(-5px) scale(1.03); }

.edition__price {
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  color: var(--gold-200);
}
.edition__price del { color: var(--text-faint); font-size: 0.82em; margin-right: 0.4rem; }

.edition .btn { width: 100%; }

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1.15rem);
}
.gallery--page { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-700);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter var(--speed) var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 7, 14, 0.9));
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}
.tile:hover { border-color: var(--line-strong); }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after,
.tile:focus-visible::after { opacity: 1; }

.tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1rem 1.1rem;
  text-align: left;
  transform: translateY(0.6rem);
  opacity: 0;
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.tile:hover .tile__caption,
.tile:focus-visible .tile__caption { opacity: 1; transform: translateY(0); }

.tile__title {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-100);
}
.tile__meta { font-size: 0.8rem; color: var(--text-dim); }

.gallery__more { margin-top: clamp(1.6rem, 3vw, 2.5rem); text-align: center; }

/* --- Trust bar --- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust__item {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(0.75rem, 2vw, 1.5rem);
  text-align: center;
}
.trust__item + .trust__item::before {
  content: "";
  position: absolute;
  left: 0; top: 22%;
  width: 1px; height: 56%;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.trust__icon { margin-bottom: 0.9rem; color: var(--gold-300); font-size: 1.6rem; }
.trust__title {
  font-family: var(--font-ui);
  font-size: clamp(0.78rem, 0.72rem + 0.2vw, 0.92rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-200);
}
.trust__note { margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.55; color: var(--text-dim); }

/* --- About strip --- */
.about-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}
.about-strip__portrait { position: relative; justify-self: center; width: min(100%, 340px); }
.about-strip__portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.6));
}
.about-strip__anchor {
  position: absolute;
  left: 50%; bottom: -1.35rem;
  transform: translateX(-50%);
  width: 2.6rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
}
.about-strip__title {
  font-size: var(--step-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.about-strip__body { margin-top: 1.35rem; max-width: 56ch; color: var(--text); }
.about-strip__body p + p { margin-top: 1rem; }
.about-strip .btn { margin-top: 1.9rem; }

/* --- Newsletter --- */
.crew {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.crew__title { font-size: var(--step-2); text-transform: uppercase; letter-spacing: 0.1em; }
.crew__note { margin-top: 0.7rem; max-width: 48ch; color: var(--text-dim); font-size: 0.96rem; }
.crew__form { display: flex; gap: 0.75rem; }
.crew__form input { flex: 1 1 auto; }

/* 8. Shop / product / cart =============================================== */

/* Filter bar */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.filter {
  padding: 0.6em 1.35em;
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  color: var(--text-dim);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease),
              background var(--speed) var(--ease);
}
.filter:hover { color: var(--gold-200); border-color: var(--line); }
.filter.is-active {
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  border-color: var(--gold-400);
}
.filter span { opacity: 0.6; }

/* Product grid */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.9rem);
}
.product { display: flex; flex-direction: column; overflow: hidden; }
.product:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5); }

.product__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3.4;
  padding: 1.5rem;
  background: radial-gradient(80% 80% at 50% 40%, rgba(28, 49, 73, 0.5), transparent 70%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.product__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.65));
  transition: transform var(--speed) var(--ease);
}
.product:hover .product__media img { transform: translateY(-5px) scale(1.04); }
.product__badge { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; }

.product__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.35rem 1.4rem 1.5rem; }
.product__format {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.product__title { margin-top: 0.45rem; font-size: 1.15rem; letter-spacing: 0.04em; }
.product__title a { color: inherit; }
.product__title a:hover { color: var(--gold-100); }
.product__excerpt { margin-top: 0.6rem; font-size: 0.92rem; line-height: 1.6; color: var(--text-dim); }

.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
}
.product__price { font-family: var(--font-ui); font-size: 1.18rem; color: var(--gold-200); }
.product__price del { display: block; font-size: 0.7em; color: var(--text-faint); }

/* Product detail */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.detail__media {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: radial-gradient(70% 70% at 50% 40%, rgba(28, 49, 73, 0.55), transparent 72%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.detail__media img { max-height: 460px; width: auto; filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.75)); }

.detail__format {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.detail__title { margin-top: 0.6rem; font-size: var(--step-3); letter-spacing: 0.03em; }
.detail__price { margin-top: 1.1rem; font-family: var(--font-ui); font-size: 1.7rem; color: var(--gold-200); }
.detail__price del { margin-left: 0.6rem; font-size: 0.55em; color: var(--text-faint); }
.detail__body { margin-top: 1.4rem; color: var(--text); }
.detail__body p + p { margin-top: 1rem; }

.detail__meta { margin-top: 1.75rem; border-top: 1px solid var(--line-soft); }
.detail__meta div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.detail__meta dt { color: var(--text-faint); font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.detail__meta dd { margin: 0; color: var(--text); text-align: right; }

.detail__buy { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* Quantity stepper */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty button {
  width: 2.6rem;
  height: 2.9rem;
  color: var(--gold-300);
  font-size: 0.85rem;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.qty button:hover { background: rgba(205, 168, 92, 0.12); color: var(--gold-100); }
.qty input {
  width: 3.2rem;
  height: 2.9rem;
  border: 0;
  border-inline: 1px solid var(--line-soft);
  background: transparent;
  color: var(--text);
  font-family: var(--font-ui);
  text-align: center;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Cart table */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.cart-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  padding: 1.25rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(14, 29, 49, 0.45);
}
.cart-line + .cart-line { margin-top: 0.9rem; }
.cart-line__media {
  display: grid;
  place-items: center;
  height: 100px;
  padding: 0.5rem;
  background: rgba(3, 7, 14, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.cart-line__media img { max-height: 100%; width: auto; }
.cart-line__format { font-family: var(--font-ui); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-500); }
.cart-line__title { margin-top: 0.3rem; font-size: 1.05rem; }
.cart-line__title a { color: inherit; }
.cart-line__controls { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; flex-wrap: wrap; }
.cart-line__remove { color: var(--text-faint); font-size: 0.82rem; letter-spacing: 0.06em; }
.cart-line__remove:hover { color: var(--danger); }
.cart-line__total { font-family: var(--font-ui); font-size: 1.2rem; color: var(--gold-200); white-space: nowrap; }

/* Summary panel */
.summary { padding: clamp(1.4rem, 3vw, 2rem); position: sticky; top: 6.5rem; }
.summary__title {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  font-size: 0.96rem;
  color: var(--text-dim);
}
.summary__row--total {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: var(--gold-200);
}
.summary .btn { margin-top: 1.4rem; }
.summary__note { margin-top: 1rem; font-size: 0.85rem; color: var(--text-faint); text-align: center; }

/* Empty state */
.empty { padding: clamp(3rem, 8vw, 5.5rem) 1.5rem; text-align: center; }
.empty i { color: var(--gold-600); font-size: 2.6rem; }
.empty h2 { margin-top: 1.2rem; font-size: var(--step-2); text-transform: uppercase; letter-spacing: 0.1em; }
.empty p { max-width: 44ch; margin: 0.8rem auto 1.9rem; color: var(--text-dim); }

/* 9. Editorial pages ===================================================== */

/* Two-column intro used on About */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.split--flip .split__media { order: 2; }
.split__media img {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.6);
}
.split__title { font-size: var(--step-2); text-transform: uppercase; letter-spacing: 0.08em; }
.split__body { margin-top: 1.2rem; }
.split__body p + p { margin-top: 1rem; }

/* Drop cap for the opening paragraph of a long read */
.dropcap::first-letter {
  float: left;
  margin: 0.06em 0.12em 0 0;
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.82;
  color: var(--gold-300);
}

/* Pull quote */
.pullquote {
  position: relative;
  max-width: 46ch;
  margin: clamp(2rem, 4vw, 3rem) auto;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.75rem;
  text-align: center;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--gold-200);
}
.pullquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Timeline — the milestones on About */
.timeline { position: relative; max-width: 780px; margin-inline: auto; padding-left: 2.5rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem; top: 0.6rem; bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.timeline__item { position: relative; padding-bottom: 2.25rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.28rem; top: 0.62rem;
  width: 9px; height: 9px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(205, 168, 92, 0.14);
}
.timeline__year {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold-400);
}
.timeline__title { margin-top: 0.3rem; font-size: 1.1rem; }
.timeline__body { margin-top: 0.45rem; color: var(--text-dim); font-size: 0.96rem; }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1.1rem, 2.4vw, 2rem); }
.post { display: flex; flex-direction: column; overflow: hidden; }
.post:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(0, 0, 0, 0.5); }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.4rem; }
.post__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.post__meta span { color: var(--text-faint); }
.post__title { margin-top: 0.6rem; font-size: 1.22rem; }
.post__title a { color: inherit; }
.post__title a:hover { color: var(--gold-100); }
.post__excerpt { margin-top: 0.65rem; font-size: 0.95rem; color: var(--text-dim); }
.post__more { margin-top: 1.2rem; font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* Events list */
.events { max-width: 900px; margin-inline: auto; }
.event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.1rem, 2.5vw, 1.75rem);
}
.event + .event { margin-top: 0.85rem; }
.event__date {
  display: grid;
  place-items: center;
  width: 4.6rem;
  padding: 0.6rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  line-height: 1.15;
}
.event__day { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-200); }
.event__month { font-family: var(--font-ui); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-500); }
.event__kind { font-family: var(--font-ui); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-500); }
.event__venue { margin-top: 0.3rem; font-size: 1.08rem; }
.event__where { margin-top: 0.2rem; font-size: 0.92rem; color: var(--text-dim); }
.event__where i { margin-right: 0.4rem; color: var(--gold-600); }

/* FAQ accordion */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-align: left;
  color: var(--gold-200);
  transition: color var(--speed) var(--ease);
}
.faq__q:hover { color: var(--gold-100); }
.faq__q i { flex: 0 0 auto; color: var(--gold-500); font-size: 0.8rem; transition: transform var(--speed) var(--ease); }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--speed) var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 1.35rem; color: var(--text-dim); max-width: 68ch; }

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}
.contact-card { padding: clamp(1.4rem, 3vw, 2.1rem); }
.contact-card + .contact-card { margin-top: 1rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row + .contact-row { margin-top: 1.35rem; }
.contact-row__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.7rem; height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-300);
}
.contact-row__label {
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.contact-row__value { margin-top: 0.25rem; color: var(--text); }
.contact-row__value a { color: var(--text); }
.contact-row__value a:hover { color: var(--gold-200); }

/* 10. Forms, footer, responsive ========================================== */

/* Forms */
.field { margin-bottom: 1.2rem; }
.field__label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.field__label span { color: var(--danger); }

.input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1.05rem;
  background: rgba(3, 7, 14, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease);
}
.input:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  background: rgba(3, 7, 14, 0.75);
  box-shadow: 0 0 0 3px rgba(205, 168, 92, 0.1);
}
input::placeholder,
textarea::placeholder { color: var(--text-faint); }

textarea { min-height: 170px; resize: vertical; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23CDA85C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.6rem;
}
select option { background: var(--ink-700); color: var(--text); }

.field__error { margin-top: 0.4rem; font-size: 0.85rem; color: var(--danger); }
.field.has-error .input,
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--danger); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.1rem; }

/* Honeypot — hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Footer */
.footer { position: relative; isolation: isolate; padding-top: clamp(3rem, 6vw, 4.5rem); background: var(--ink-850); }
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__logo { width: clamp(190px, 20vw, 240px); }
.footer__blurb { margin-top: 1.1rem; max-width: 36ch; font-size: 0.92rem; color: var(--text-dim); }

.socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.social {
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-300);
  font-size: 0.85rem;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease),
              border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.social:hover {
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  border-color: var(--gold-400);
  transform: translateY(-3px);
}

.footer__title {
  margin-bottom: 1.15rem;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.footer__links li + li { margin-top: 0.6rem; }
.footer__links a { color: var(--text-dim); font-size: 0.94rem; }
.footer__links a:hover { color: var(--gold-200); padding-left: 0.3rem; }
.footer__links a { transition: color var(--speed) var(--ease), padding-left var(--speed) var(--ease); }

.pay { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pay span {
  display: grid;
  place-items: center;
  width: 3.1rem; height: 2.05rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 3px;
  color: #17233c;
  font-size: 1.25rem;
}
.secure { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; }
.secure i { color: var(--gold-300); font-size: 1.3rem; }
.secure p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.45; }

.footer__bar {
  padding-block: 1.35rem;
  border-top: 1px solid var(--line-soft);
}
.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--text-faint);
}
.footer__bar a { color: var(--text-faint); }
.footer__bar a:hover { color: var(--gold-300); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Back to top */
.totop {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 2.9rem; height: 2.9rem;
  background: rgba(10, 22, 39, 0.92);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-300);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { color: var(--ink-900); background: var(--gold-400); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(2, 5, 10, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease), visibility var(--speed);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(100%, 780px);
  max-height: 78vh;
  width: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
}
.lightbox__cap { margin-top: 1.1rem; text-align: center; }
.lightbox__cap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold-200);
}
.lightbox__cap span { font-size: 0.9rem; color: var(--text-dim); }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-200);
  background: rgba(10, 22, 39, 0.8);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--gold-400); color: var(--ink-900); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(0.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(0.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 210;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.4rem;
  background: rgba(10, 22, 39, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  color: var(--text);
  font-size: 0.94rem;
  transform: translate(-50%, 150%);
  transition: transform 0.5s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast i { color: var(--gold-300); }

/* Server-rendered flash: sits above the JS toast and can be dismissed
   without JavaScript being involved in showing it. */
.toast--static { z-index: 211; padding-right: 0.75rem; }
.toast__close {
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  color: var(--text-faint);
  font-size: 0.8rem;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.toast__close:hover { color: var(--gold-200); background: rgba(205, 168, 92, 0.12); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1180px) {
  .nav__list { gap: 1.1rem; }
  .hero__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr) minmax(0, 0.9fr); }
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .detail { grid-template-columns: minmax(0, 1fr); }
}

/* Eight nav items need about 1060px of bar before they fit in a row, so the
   drawer takes over earlier than the rest of the tablet layout does. */
@media (max-width: 1080px) {
  .burger { display: grid; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 120;
    width: min(86vw, 360px);
    padding: 7rem 2rem 2.5rem;
    background: var(--ink-850);
    border-left: 1px solid var(--line-soft);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--speed) var(--ease), visibility var(--speed);
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__link { padding: 1.05rem 0; font-size: 0.9rem; }
  .nav__link::after { display: none; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(2, 5, 10, 0.7);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--speed) var(--ease), visibility var(--speed);
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

}

/* Tablet and down — the rest of the layout stacks */
@media (max-width: 960px) {
  /* Hero stacks: copy first, then book and author side by side */
  .hero { min-height: auto; text-align: center; }
  .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .hero__copy { grid-column: 1 / -1; order: -1; }
  .hero__book { justify-self: center; max-width: 340px; }
  .hero__author { justify-self: center; max-width: 340px; }

  .editions { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3)::before { display: none; }
  .trust__item:nth-child(odd)::before { display: none; }
  .trust__item:nth-child(3),
  .trust__item:nth-child(4) { border-top: 1px solid var(--line-soft); }

  .about-strip { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .about-strip__body { margin-inline: auto; }
  .about-strip__portrait { max-width: 260px; }

  .crew { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .crew__note { margin-inline: auto; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media { order: 0; }
  .split__media { max-width: 480px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .nav__list { gap: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .heading__title { flex-direction: column; gap: 0.85rem; }
  .heading__title::before,
  .heading__title::after { width: 5rem; max-width: none; }
  .crew__form { flex-direction: column; }
  .event { grid-template-columns: auto minmax(0, 1fr); }
  .event > .btn { grid-column: 1 / -1; justify-self: start; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-line__total { grid-column: 2; justify-self: start; }
  .detail__buy { flex-direction: column; align-items: stretch; }
  .detail__buy .qty { align-self: flex-start; }
}

@media (max-width: 520px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__book { max-width: 260px; }
  .hero__author { display: none; }
  .tools .tool--account { display: none; }
  .lang__toggle { padding: 0 0.55rem; gap: 0.3rem; font-size: 0.64rem; }
  .lang__toggle .fa-globe { display: none; }
  .brand img { width: 150px; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust__item::before { display: none; }
  .trust__item + .trust__item { border-top: 1px solid var(--line-soft); }
  .lightbox__nav { width: 2.4rem; height: 2.4rem; }
}

/* ------------------------------------------------------------ Preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .totop, .hero__cue, .search, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Additions: product variants, artwork media, single blog post, Amazon
   ========================================================================== */

/* Artwork is photographic, so it fills its frame instead of floating */
.product__media--art { padding: 0; }
.product__media--art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none;
}
.detail__media--art { padding: 0; overflow: hidden; }
.detail__media--art img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius-lg); }

.product__from { font-family: var(--font-body); font-size: .72em; color: var(--text-faint); }

/* The book cover on About needs no card frame */
.split__media--book { max-width: 380px; margin-inline: auto; }
.split__media--book img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, .8));
}

/* --- Variant picker --- */
.variants { margin: 1.75rem 0 0; padding: 0; border: 0; }
.variants legend { padding: 0; }
.variants__list { display: grid; gap: .6rem; margin-top: .35rem; }

.variant { position: relative; display: block; cursor: pointer; }
.variant input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.variant__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(3, 7, 14, .45);
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.variant__body::before {
  content: "";
  flex: 0 0 auto;
  width: 1.05rem; height: 1.05rem;
  margin-right: -.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease);
}
.variant__name {
  flex: 1 1 auto;
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
}
.variant__price { font-family: var(--font-ui); font-size: .95rem; color: var(--gold-200); white-space: nowrap; }
.variant__price del { color: var(--text-faint); font-size: .82em; margin-right: .25rem; }

.variant:hover .variant__body { border-color: var(--line); background: rgba(20, 38, 61, .5); }

.variant input:checked + .variant__body {
  border-color: var(--line-strong);
  background: rgba(205, 168, 92, .09);
}
.variant input:checked + .variant__body::before {
  background: var(--gold-400);
  box-shadow: inset 0 0 0 3px var(--ink-800);
}
.variant input:focus-visible + .variant__body { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.variant input:checked + .variant__body .variant__name { color: var(--gold-100); }

.variants__error { margin-top: .7rem; }
.variants.has-error .variant__body { border-color: var(--danger); }

/* Amazon button sits under the add-to-cart row */
.btn--amazon { display: inline-flex; margin-top: .85rem; }
.btn--amazon i { font-size: 1.05em; }

/* --- Single blog post --- */
.post__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.post__content { color: var(--text); font-size: 1.06rem; }
.post__content p + p { margin-top: 1.15rem; }

@media (max-width: 720px) {
  .variant__body { padding: .75rem .9rem; }
  .variant__name { font-size: .74rem; }
}


/* 11. Book in PDF — the page-turning reader ============================== */
.book-intro { max-width: 62ch; margin-inline: auto; color: var(--text-dim); }
.book-intro p + p { margin-top: 1.1rem; }
.book-intro .dropcap { color: var(--text); }

.fb { position: relative; }
/* Class selectors below out-rank the browser's own [hidden] rule. */
.fb [hidden] { display: none !important; }

.fb__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 62vh, 780px);
  padding: clamp(0.5rem, 2vw, 1.5rem) 0 0;
}
/* The strip below the book belongs to the "click to open" hint, so it never
   sits on the cover art — and it is given back once the book is open. */
.fb__stage:has(.fb__hint:not([hidden])) { padding-bottom: 3rem; }

/* A soft plate of shadow under the book. Kept off the book itself so the
   flip animation never has to recompute a filter mid-turn. */
.fb__stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 2%;
  left: 50%;
  width: min(78%, 940px);
  height: 46px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6), transparent 70%);
  filter: blur(7px);
  pointer-events: none;
}

/* Keep the whole book on screen instead of running off the bottom: cap the
   frame's width so the height it implies still fits the viewport. */
/* One rule for both orientations on purpose: StPageFlip picks portrait vs
   spread from this width, so making the cap depend on the orientation would
   let the two fight each other on resize. */
.fb__frame {
  width: min(100%, 1000px);
  width: min(100%, 1000px, calc((100svh - 10.5rem) / var(--fb-ratio, 1.5) * 2));
  margin-inline: auto;
}

.fb__book {
  position: relative;
  z-index: 1;
  width: min(100%, 1240px);
  margin-inline: auto;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.6s var(--ease), transform 0.75s var(--ease);
}
.fb.is-ready .fb__book { opacity: 1; }

/* Two-page mode only: centre the lone cover instead of leaving it in the
   right-hand page slot, and do the same for the back board on the left. */
.fb.is-spread.is-at-start .fb__book { transform: translateX(-25%); }
.fb.is-spread.is-at-end   .fb__book { transform: translateX(25%); }

@media (prefers-reduced-motion: reduce) {
  .fb__book { transition: opacity 0.6s var(--ease); }
}

/* ------------------------------------------------------------ Loading */
.fb__status {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 1rem;
  justify-items: center;
  width: min(100%, 340px);
  text-align: center;
}
.fb__progress {
  width: 100%;
  height: 2px;
  background: var(--line-soft);
  overflow: hidden;
}
.fb__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  transition: width 0.25s linear;
}
.fb__status-text {
  font-family: var(--font-ui);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.fb__status.is-error .fb__status-text { color: var(--danger); text-transform: none; letter-spacing: 0.02em; }

/* -------------------------------------------------------------- Leaves */
.fb__leaf {
  overflow: hidden;
  background: #f4efe4;
  color: #14263D;
}
.fb__leaf--page { position: relative; }
.fb__leaf--page canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.fb__leaf--page.is-ready canvas { opacity: 1; }

/* Cover and back board */
.fb__leaf--cover { background: var(--ink-900); }
.fb__leaf--cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.fb__leaf--endpaper {
  background:
    radial-gradient(circle at 30% 20%, rgba(205, 168, 92, 0.06), transparent 60%),
    #efe8da;
}

/* StPageFlip writes inline display/position on every leaf, so the back board
   centres its contents from the inside rather than with grid on the leaf. */
.fb__leaf--back {
  position: relative;
  background: linear-gradient(160deg, var(--ink-600), var(--ink-900));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 14px rgba(3, 7, 14, 0.55), inset 0 0 0 15px var(--line-soft);
}
.fb__back-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 2.5rem;
  text-align: center;
}
.fb__back-inner i { font-size: 1.7rem; color: var(--gold-500); }
.fb__back-title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.2;
  color: var(--gold-200);
}
.fb__back-author {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Page spinner, shown until the canvas is painted */
.fb__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 2px solid rgba(20, 38, 61, 0.16);
  border-top-color: rgba(20, 38, 61, 0.5);
  border-radius: 50%;
  animation: fb-spin 0.9s linear infinite;
}
.fb__leaf--page.is-ready .fb__spinner { display: none; }
@keyframes fb-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- Hint */
.fb__hint {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.15rem;
  background: rgba(4, 9, 17, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-200);
  pointer-events: none;
  animation: fb-bob 2.4s var(--ease) infinite;
}
.fb__hint i { color: var(--gold-400); }
@keyframes fb-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -6px); }
}

/* ------------------------------------------------------------- Toolbar */
.fb__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.6vw, 1rem);
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
}

.fb__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(10, 22, 39, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold-200);
  transition: border-color var(--speed) var(--ease), color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.fb__btn:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: rgba(20, 38, 61, 0.9);
  color: var(--gold-100);
}
.fb__btn:disabled { opacity: 0.32; cursor: not-allowed; }

.fb__counter {
  min-width: 15ch;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-dim);
}

.fb__jump { display: flex; align-items: center; gap: 0.4rem; }
.fb__jump input {
  width: 5.5rem;
  height: 42px;
  padding-inline: 0.75rem;
  background: rgba(10, 22, 39, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.fb__jump input:focus-visible { outline: 1px solid var(--gold-500); outline-offset: 1px; }
.fb__btn--go { width: 42px; }

.fb__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

/* --------------------------------------------------------- Fullscreen */
.fb.is-fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 2rem);
  background: var(--ink-900);
}
.fb.is-fullscreen .fb__stage { min-height: 0; flex: 1 1 auto; }
.fb.is-fullscreen .fb__book { width: 100%; height: 100%; }

@media (max-width: 720px) {
  .fb__stage { min-height: clamp(300px, 66vh, 560px); }
  .fb__counter { order: 3; width: 100%; min-width: 0; }
  .fb__jump { order: 4; }
}

@media (prefers-reduced-motion: reduce) {
  .fb__hint { animation: none; }
  .fb__spinner { animation-duration: 2s; }
}

/* Eight nav items — tighten the row just above the drawer breakpoint. */
@media (max-width: 1180px) {
  .nav__list { gap: 0.85rem; }
}

/* Google Translate — hide its own banner, tooltip and highlight; the
   EN / ES switch in the header is the only control visitors see. */
#google_translate_element,
iframe.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
