/* ═══════════════════════════════════════════════════════════════
   CONISTON SHOOTING GROUND — SSDev demo build
   Aesthetic: Yorkshire estate heritage — deep green, brass, cream.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0E140E;
  --surface: #162016;
  --surface-2: #1D2A1D;
  --text: #EFE9DC;
  --muted: #A8A395;
  --accent: #C6A45E;
  --accent-deep: #8F7434;
  --line: rgba(198, 164, 94, 0.18);
  --bg-rgb: 14, 20, 14;
  --radius: 6px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Archivo", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { color: var(--muted); max-width: 62ch; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; display: block; margin-bottom: 1.1rem;
}
.container { width: min(1200px, 92vw); margin: 0 auto; }
section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }

/* ─── Preloader ─────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg); gap: 1.6rem;
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}
#preloader.done { clip-path: circle(0% at 50% 50%); pointer-events: none; }
.preloader-mark {
  font-family: var(--font-display); font-size: 1.9rem; color: var(--text);
  letter-spacing: 0.06em;
}
.preloader-mark span { color: var(--accent); }
.preloader-track { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.preloader-bar { width: 0%; height: 100%; background: var(--accent); transition: width 0.3s ease-out; }
body:not(.loaded) main, body:not(.loaded) footer { visibility: hidden; }
body.loaded main, body.loaded footer { visibility: visible; }

/* ─── Custom cursor: clay-ring ──────────────────────────────── */
.custom-cursor {
  position: fixed; top: 0; left: 0; width: 26px; height: 26px;
  border: 1.5px solid var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
  display: none; transform: translate(-50%, -50%);
}
.custom-cursor::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 3px; height: 3px;
  background: var(--accent); border-radius: 50%; transform: translate(-50%, -50%);
}
.custom-cursor.hovering { width: 48px; height: 48px; background: rgba(198,164,94,0.08); }


/* ─── Scroll progress ───────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 9997;
}
.scroll-progress-bar {
  width: 100%; height: 100%; background: var(--accent);
  transform-origin: left; transform: scaleX(0);
}

/* ─── Film grain ────────────────────────────────────────────── */
.film-grain {
  position: fixed; inset: -20px; z-index: 9996; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Nav ───────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s, padding 0.35s;
}
nav.site-nav.nav-scrolled {
  background: rgba(var(--bg-rgb), 0.88); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line); padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.nav-brand { display: flex; align-items: baseline; gap: 0.55rem; text-decoration: none; }
.nav-brand .mark { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; }
.nav-brand .sub { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a:not(.btn) {
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); transition: color 0.25s; font-weight: 500;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden; display: inline-block;
  border: 1px solid var(--accent); background: transparent; color: var(--accent);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 0.95rem 2.1rem; border-radius: 2px; transition: color 0.35s ease;
  z-index: 1;
}
.btn::before {
  content: ''; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; z-index: -1;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--bg); }
.btn.btn-solid { background: var(--accent); color: var(--bg); }
.btn.btn-solid::before { background: var(--text); }
.btn.btn-solid:hover { color: var(--bg); }
.btn[disabled] { opacity: 0.35; pointer-events: none; }

.animated-underline {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px; background-position: left bottom; background-repeat: no-repeat;
  transition: background-size 0.3s ease;
}
.animated-underline:hover { background-size: 100% 1px; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
.hero-media { position: absolute; inset: 0; }
.hero-video, .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 0.8s; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,20,14,0.35) 0%, rgba(14,20,14,0.1) 40%, rgba(14,20,14,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; width: min(1200px, 92vw); margin: 0 auto; padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-title .word-inner { display: inline-block; }
.hero-sub { margin-top: 1.4rem; font-size: 1.05rem; max-width: 46ch; }
.hero-ctas { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; right: clamp(1.5rem, 4vw, 3rem); z-index: 2;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}

/* ─── Cards & sections ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative; display: flex; flex-direction: column;
}
.card .card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; gap: 0.7rem; }
.card .card-body p { font-size: 0.92rem; }
.card .price { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.card .meta { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card .card-cta { margin-top: auto; padding-top: 1rem; }

.tilt-card { transform-style: preserve-3d; }

.hover-zoom { overflow: hidden; }
.hover-zoom img { transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }

/* ─── Stats / counters ──────────────────────────────────────── */
.stat-row { display: flex; gap: clamp(2rem, 7vw, 6rem); flex-wrap: wrap; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--accent); }
.stat .lbl { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ─── Marquee ───────────────────────────────────────────────── */
.marquee-wrap { overflow: hidden; padding: 2.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee { white-space: nowrap; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); color: rgba(239,233,220,0.35); will-change: transform; }
.marquee em { color: var(--accent); font-style: normal; }

/* ─── Quote ─────────────────────────────────────────────────── */
.pull-quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.3; color: var(--text); max-width: 22ch; }
.pull-quote footer { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 1.4rem; }

/* ─── Section band w/ image bg ──────────────────────────────── */
.band { position: relative; overflow: hidden; }
.band .band-bg { position: absolute; inset: -12% 0; z-index: 0; }
.band .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band .band-scrim { position: absolute; inset: 0; z-index: 1; background: rgba(14,20,14,0.78); }
.band > .container { position: relative; z-index: 2; }

/* ─── Footer ────────────────────────────────────────────────── */
footer.site-footer { background: #0A0F0A; border-top: 1px solid var(--line); padding: 4rem 0 4.8rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.4rem; }
.footer-grid h4 { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--text); }
.footer-note { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--muted); }
.footer-note a { color: var(--accent); text-decoration: none; }

/* ─── Booking engine ────────────────────────────────────────── */
.book-shell { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.book-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); }
.steps-rail { display: flex; gap: 0.4rem; margin-bottom: 2rem; flex-wrap: wrap; }
.step-chip {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.45rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
}
.step-chip.active { border-color: var(--accent); color: var(--accent); }
.step-chip.done { color: var(--text); border-color: var(--accent-deep); }

.option-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.option-tile {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem;
  background: var(--surface-2); transition: border-color 0.25s, transform 0.25s; text-align: left;
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
}
.option-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.option-tile.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.option-tile .t-name { font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.option-tile .t-price { color: var(--accent); white-space: nowrap; }
.option-tile .t-meta { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

.cal { width: 100%; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head .display { font-size: 1.4rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; }
.cal-dow { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 0.4rem 0; }
.cal-day {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: 4px; font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center; color: var(--text);
  background: var(--surface-2); font-family: var(--font-body);
}
.cal-day:not([disabled]):hover { border-color: var(--accent); }
.cal-day.selected { background: var(--accent); color: var(--bg); font-weight: 700; }
.cal-day[disabled] { opacity: 0.22; pointer-events: none; }
.cal-day.today { border-color: var(--accent-deep); }

.slot-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.3rem; }
.slot-pill {
  padding: 0.7rem 1.3rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-2); color: var(--text); font-size: 0.92rem; font-family: var(--font-body);
}
.slot-pill:not([disabled]):hover { border-color: var(--accent); }
.slot-pill.selected { background: var(--accent); color: var(--bg); font-weight: 700; border-color: var(--accent); }
.slot-pill[disabled] { opacity: 0.28; pointer-events: none; text-decoration: line-through; }
.slot-pill .cap { font-size: 0.68rem; color: inherit; opacity: 0.7; margin-left: 0.4rem; }

.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px;
  color: var(--text); padding: 0.85rem 1rem; font-family: var(--font-body); font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .hint { font-size: 0.75rem; color: var(--muted); }
.field.ok input { border-color: #6FA36F; }
.field.err input { border-color: #B0563C; }

.summary-card { position: sticky; top: 96px; }
.summary-card .line { display: flex; justify-content: space-between; padding: 0.55rem 0; font-size: 0.92rem; border-bottom: 1px dashed var(--line); }
.summary-card .line .v { color: var(--text); }
.summary-card .line.total { border-bottom: none; font-weight: 700; font-size: 1.05rem; }
.summary-card .line.total .v { color: var(--accent); font-family: var(--font-display); font-size: 1.5rem; }
.summary-card .k { color: var(--muted); }

.book-nav { display: flex; justify-content: space-between; margin-top: 2rem; gap: 1rem; }
.link-btn { background: none; border: none; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); }
.link-btn:hover { color: var(--text); }

.confirm-panel { text-align: center; padding: 3rem 1.5rem; }
.confirm-ref { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--accent); letter-spacing: 0.04em; margin: 1rem 0; }
.tick-ring {
  width: 74px; height: 74px; border: 2px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.4rem;
  font-size: 2rem; color: var(--accent);
}

/* ─── Admin console ─────────────────────────────────────────── */
.admin-body { background: #0B110B; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-side { background: var(--surface); border-right: 1px solid var(--line); padding: 1.6rem 0; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.admin-side .brand { padding: 0 1.4rem 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.admin-side nav { display: flex; flex-direction: column; }
.admin-side nav button {
  text-align: left; padding: 0.8rem 1.4rem; background: none; border: none; color: var(--muted);
  font-family: var(--font-body); font-size: 0.88rem; letter-spacing: 0.04em; border-left: 2px solid transparent;
}
.admin-side nav button.active { color: var(--text); border-left-color: var(--accent); background: rgba(198,164,94,0.06); }
.admin-side nav button:hover { color: var(--text); }
.admin-side .side-foot { margin-top: auto; padding: 1.2rem 1.4rem; font-size: 0.7rem; color: var(--muted); border-top: 1px solid var(--line); }
.admin-main { padding: clamp(1.4rem, 3vw, 2.6rem); }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; gap: 1rem; flex-wrap: wrap; }
.admin-head h2 { font-size: 1.8rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 720px; }
table.data th { text-align: left; padding: 0.85rem 1rem; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
table.data td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(198,164,94,0.08); }
table.data tr:hover td { background: rgba(198,164,94,0.04); }

.chip { display: inline-block; padding: 0.22rem 0.7rem; border-radius: 999px; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.chip.pending { background: rgba(198,164,94,0.16); color: var(--accent); }
.chip.confirmed { background: rgba(111,163,111,0.16); color: #8FC48F; }
.chip.completed { background: rgba(160,160,160,0.14); color: #BDBDBD; }
.chip.cancelled { background: rgba(176,86,60,0.16); color: #D08A73; }
.chip.paid { background: rgba(111,163,111,0.16); color: #8FC48F; }
.chip.deposit { background: rgba(198,164,94,0.16); color: var(--accent); }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.kpi .v { font-family: var(--font-display); font-size: 2.1rem; color: var(--accent); }
.kpi .k { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9100; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
aside.drawer {
  position: fixed; top: 0; right: -480px; width: min(480px, 94vw); height: 100vh; z-index: 9200;
  background: var(--surface); border-left: 1px solid var(--line); padding: 2rem;
  transition: right 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); overflow-y: auto;
}
aside.drawer.open { right: 0; }
.audit { list-style: none; margin-top: 1rem; }
.audit li { padding: 0.6rem 0 0.6rem 1.2rem; border-left: 1px solid var(--line); position: relative; font-size: 0.82rem; color: var(--muted); }
.audit li::before { content: ''; position: absolute; left: -3.5px; top: 1rem; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.modal-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9300; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-scrim.open { display: flex; }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); width: min(560px, 96vw); max-height: 90vh; overflow-y: auto; padding: 2rem; }

.toast-stack { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 9500; display: flex; flex-direction: column; gap: 0.6rem; }
.toast {
  background: var(--surface-2); border: 1px solid var(--accent); border-radius: 4px;
  color: var(--text); padding: 0.85rem 1.2rem; font-size: 0.88rem; min-width: 240px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45); animation: toast-in 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes toast-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

.live-note { font-size: 0.78rem; color: var(--muted); border-left: 2px solid var(--accent-deep); padding: 0.5rem 0.9rem; margin-top: 1.2rem; background: rgba(198,164,94,0.05); }
.live-note b { color: var(--accent); }

/* ─── Demo ribbon ───────────────────────────────────────────── */
.demo-ribbon {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 8900;
  background: rgba(10,15,10,0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 0.55rem 1rem; text-align: center; font-size: 0.75rem; color: var(--muted);
}
.demo-ribbon a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* ─── Mobile menu ───────────────────────────────────────────── */
.menu-toggle { display: none; background: none; border: none; z-index: 9600; width: 40px; height: 40px; position: relative; }
.menu-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s, top 0.3s; }
.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }
.menu-toggle.active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 9500; background: var(--bg);
  clip-path: circle(0% at calc(100% - 2rem) 2rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
}
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; text-decoration: none; color: var(--text); }
.mobile-menu a:hover { color: var(--accent); }

/* ─── Reveal helpers ────────────────────────────────────────── */
.reveal-section { }
.reveal-word { display: inline-block; }

/* ─── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .film-grain, .custom-cursor, .scroll-progress { display: none !important; }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .book-shell { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; overflow-x: auto; align-items: center; padding: 0.4rem 0; }
  .admin-side .brand { border: none; padding: 0.6rem 1rem; margin: 0; white-space: nowrap; }
  .admin-side nav { flex-direction: row; }
  .admin-side nav button { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .admin-side nav button.active { border-bottom-color: var(--accent); }
  .admin-side .side-foot { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-brand .sub { display: none; }
  .nav-brand .mark { white-space: nowrap; font-size: 1.15rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .option-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  
  table.data { min-width: 560px; }
}
