:root {
  --bg: #0a0807;
  --bg-2: #14110f;
  --ink: #efe6d6;
  --mut: rgba(239, 230, 214, .62);
  --gold: #d4b483;
  --gold-2: #f0d7a8;
  --cacao: #5d433e;
  --stone: #dfd7cd;
  --terra: #c45c32;
  --line: rgba(212, 180, 131, .18);
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Albert Sans", "Helvetica Neue", sans-serif;
  --nav-clear: calc(112px + env(safe-area-inset-top, 0px));
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100% }
html, body { background: var(--bg); color: var(--ink) }
body.is-booting { overflow: hidden }
.float-cta { display: none }
body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden }
html:has(body.nav-open) { overflow: hidden }
a, button { touch-action: manipulation }
img { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none }
a:visited { color: inherit }
button { color: inherit; -webkit-text-fill-color: inherit }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
button, input, select, textarea { font-family: inherit }
::selection { background: rgba(212, 180, 131, .35); color: #fff }

.hero h1,
.about-hero h1,
.about-hero .kicker {
  transition: filter .22s ease;
}
body.is-scroll-glint .about-hero .kicker {
  mix-blend-mode: difference;
  transition: none;
}

.grain {
  pointer-events: none !important;
  position: fixed;
  inset: 0;
  z-index: 5;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>");
}

.kicker {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.mut { color: var(--mut) }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #14110c;
  -webkit-text-fill-color: #14110c;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: lowercase;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:link,
.btn:visited {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110c;
  -webkit-text-fill-color: #14110c;
}
.btn:hover,
.btn:focus-visible {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: #14110c;
  -webkit-text-fill-color: #14110c;
  transform: translateY(-1px);
}
.btn.ghost,
.btn.ghost:link,
.btn.ghost:visited {
  background: transparent;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-2);
  -webkit-text-fill-color: var(--gold-2);
  background: transparent;
}

/* ── boot / ritual ── */
.boot {
  position: fixed;
  inset: 0;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  z-index: 520;
  display: grid;
  place-items: center;
  background: #080605;
  overflow: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}
.boot.is-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}
.boot[hidden] {
  display: none;
  pointer-events: none;
  z-index: 0;
}
.boot-void {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 48% at 50% 42%, rgba(42, 32, 24, .7), transparent 62%),
    radial-gradient(ellipse 46% 28% at 50% 100%, rgba(196, 92, 50, .28), transparent 72%),
    #080605;
}
.boot-ash {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(212, 180, 131, .09) 11px 12px),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(239, 230, 214, .04) 17px 18px);
  mix-blend-mode: overlay;
}
.boot-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.boot-sparks i {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 3px;
  height: 3px;
  margin: -1.5px;
  border-radius: 50%;
  background: #f0d7a8;
  box-shadow: 0 0 8px 2px rgba(196, 92, 50, .55);
  opacity: 0;
  animation: bootSpark 2.8s ease-in-out infinite;
}
.boot-sparks i:nth-child(1) { --x: -118px; --y: 42px; animation-delay: .2s }
.boot-sparks i:nth-child(2) { --x: 96px; --y: 8px; animation-delay: .7s }
.boot-sparks i:nth-child(3) { --x: -42px; --y: 110px; animation-delay: 1.1s }
.boot-sparks i:nth-child(4) { --x: 128px; --y: 86px; animation-delay: 1.6s }
.boot-sparks i:nth-child(5) { --x: -86px; --y: -38px; animation-delay: .4s }
.boot-sparks i:nth-child(6) { --x: 28px; --y: -72px; animation-delay: 1.9s }
.boot-core {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 16px 16px max(24px, env(safe-area-inset-bottom));
  width: 100%;
  max-width: 460px;
  background: transparent;
}
.boot-mark {
  position: relative;
  width: min(380px, 86vw, calc(100svh - 196px));
  aspect-ratio: 1;
  margin: 0 auto 22px;
  background: transparent;
}
.boot-ember {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 108%;
  height: 108%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, rgba(196, 92, 50, .62), rgba(212, 180, 131, .18) 42%, transparent 70%);
  filter: blur(18px);
  opacity: 0;
  animation: bootEmberPulse 2.2s .55s ease-in-out infinite alternate;
  pointer-events: none;
}
.boot-spin {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: sunSpin 14s 1.35s linear infinite;
}
.boot-wake {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: scale(.97);
  opacity: 0;
  animation: bootStoneWake 1.2s ease-out forwards;
}
.boot-disc {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
  -webkit-clip-path: circle(50%);
  clip-path: circle(50%);
  -webkit-mask-image: none;
  mask-image: none;
  box-shadow: 0 0 48px rgba(196, 92, 50, .38);
}
.boot-stone {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: none;
  border-radius: 50%;
  background: transparent;
}
.boot-shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, transparent 58%, rgba(8, 6, 5, .42) 100%),
    linear-gradient(180deg, rgba(240, 215, 168, .08), transparent 40%, rgba(8, 6, 5, .18) 100%);
  pointer-events: none;
}
.boot-name {
  font-family: var(--serif);
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 500;
  letter-spacing: .12em;
  padding-left: .12em;
  color: var(--gold);
  opacity: 0;
  animation: tulumTrack 1.25s 1.55s cubic-bezier(.22, 1, .36, 1) forwards;
}
.boot-line {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: .22em;
  padding-left: .22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: sealIn 1s 2.05s ease both;
}
.boot-bar {
  width: 112px;
  height: 1px;
  margin: 28px auto 0;
  background: rgba(212, 180, 131, .16);
  overflow: hidden;
}
.boot-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: barFill 4.2s .15s ease forwards;
}
.boot.is-brief .boot-wake { animation-duration: .7s }
.boot.is-brief .boot-spin { animation-duration: 10s; animation-delay: .45s }
.boot.is-brief .boot-name { animation-duration: .7s; animation-delay: .45s }
.boot.is-brief .boot-line { animation-duration: .55s; animation-delay: .75s }
.boot.is-brief .boot-bar i { animation-duration: 1.9s; animation-delay: .08s }
@keyframes bootEmberPulse {
  from { opacity: .4; transform: translate(-50%, -50%) scale(.92) }
  to { opacity: .95; transform: translate(-50%, -50%) scale(1.08) }
}
@keyframes bootStoneWake {
  from { opacity: 0; transform: scale(.97) }
  to { opacity: 1; transform: scale(1) }
}
@keyframes bootSpark {
  0%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.4) }
  35% { opacity: .9 }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) - 46px)) scale(.2) }
}
@keyframes sunSpin { to { transform: rotate(360deg) } }
@keyframes tulumTrack {
  from { opacity: 0; letter-spacing: .1em; padding-left: .1em }
  to { opacity: 1; letter-spacing: .52em; padding-left: .52em }
}
@keyframes bootWake { from { opacity: 0; transform: scale(1.08) } to { opacity: 1; transform: scale(1.02) } }
@keyframes sealIn { from { opacity: 0; transform: translateY(10px) scale(.96) } to { opacity: 1; transform: none } }
@keyframes navRise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes ringDraw { to { stroke-dashoffset: 0 } }
@keyframes barFill { from { width: 0 } to { width: 100% } }
@keyframes emberPulse {
  from { opacity: .45; transform: translateX(-50%) scale(.92) }
  to { opacity: .95; transform: translateX(-50%) scale(1.06) }
}

/* ── age ── */
.age {
  position: fixed;
  inset: 0;
  z-index: 480;
  display: none;
  place-items: center;
  pointer-events: none;
  background: #080605;
}
.age-void {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 48% at 50% 38%, rgba(42, 32, 24, .55), transparent 62%),
    radial-gradient(ellipse 46% 28% at 50% 100%, rgba(196, 92, 50, .22), transparent 72%),
    #080605;
}
.age-ash {
  position: absolute;
  inset: 0;
  opacity: .07;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(212, 180, 131, .09) 11px 12px),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(239, 230, 214, .04) 17px 18px);
  mix-blend-mode: overlay;
}
.age.is-on { display: grid; pointer-events: auto }
body:not(.is-booting) .age.is-on { z-index: 900 }
.age[hidden] { display: none !important; pointer-events: none !important; z-index: 0 }
.age-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: max(40px, env(safe-area-inset-top)) 24px max(40px, env(safe-area-inset-bottom));
  width: min(420px, 100%);
}
body.is-booting .age-card { opacity: 0 }
body:not(.is-booting) .age.is-on .age-card {
  animation: sealIn .9s .06s ease both;
}
.age-mark {
  position: relative;
  width: min(216px, 62vw);
  aspect-ratio: 1;
  margin: 0 auto 20px;
}
.age-ember {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 72%;
  height: 40%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 80%, rgba(196, 92, 50, .5), rgba(212, 180, 131, .12) 42%, transparent 70%);
  filter: blur(10px);
  animation: emberPulse 2.4s ease-in-out infinite alternate;
  pointer-events: none;
}
.age-glyph {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(196, 92, 50, .2));
}
.age-stroke {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.05;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.age-stroke-soft { stroke-width: .7; opacity: .6; stroke: var(--gold-2) }
.age-plinth { stroke-width: .8; opacity: .85 }
body:not(.is-booting) .age.is-on .age-stroke {
  animation: glyphDraw .95s cubic-bezier(.4, 0, .2, 1) forwards;
}
.age-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 0 8%;
  pointer-events: none;
}
.age-digits {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(42px, 12vw, 56px);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--gold-2);
  font-style: normal;
}
.age-plus {
  display: inline-block;
  font-size: .38em;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  margin: .12em 0 0 .02em;
  color: var(--gold);
}
body.is-booting .age-num { opacity: 0 }
body:not(.is-booting) .age.is-on .age-num {
  animation: ageNumIn .7s .28s ease both;
}
@keyframes ageNumIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
.age-word {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .5em;
  padding-left: .5em;
  color: var(--gold);
  margin-bottom: 18px;
}
.age-ask {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 28px;
  padding-left: .28em;
}
.age-acts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 3;
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible;
  pointer-events: auto;
}
.age .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  min-width: 132px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #14110c;
  -webkit-text-fill-color: #14110c;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: lowercase;
  cursor: pointer;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.age .btn.ghost {
  background: transparent;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  border: 1px solid var(--line);
}
/* Denied: dim copy, but keep Да/Нет visible so the gate never looks empty */
.age.is-denied .age-ask { opacity: .38 }
.age.is-denied .age-num { opacity: .7 }
.age.is-denied .age-acts {
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible;
  pointer-events: auto;
}
body:has(.age.is-on) { overflow: hidden }
.age-seal {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 0 14px rgba(212, 180, 131, .28));
}
.age-kicker { font-family: var(--serif); letter-spacing: .5em; font-size: 13px; color: var(--gold); margin-bottom: 28px }

/* ── nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 260;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  padding-top: max(22px, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(10,8,7,.72), transparent);
  pointer-events: none;
}
.nav-logo,
.nav-toggle,
.nav-links,
.nav-cta,
.nav-book,
.nav-call {
  pointer-events: auto;
}
.nav-logo {
  font-family: var(--serif);
  letter-spacing: .42em;
  font-size: 18px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: .12em;
  color: var(--gold);
}
.nav-logo:link,
.nav-logo:visited,
.nav-logo:hover,
.nav-logo:active { color: var(--gold) }
.nav-wordmark { color: var(--gold) }
.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 0 10px rgba(212, 180, 131, .28));
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: .08em }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-call,
.nav-book {
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.nav-book,
.nav-book:link,
.nav-book:visited {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #14110c;
  -webkit-text-fill-color: #14110c;
}
.nav-book:hover,
.nav-book:focus-visible {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: #14110c;
  -webkit-text-fill-color: #14110c;
}
.nav-call {
  border: 1px solid rgba(212, 180, 131, .48);
  color: var(--gold);
}
.nav-call:hover,
.nav-call:focus-visible {
  border-color: var(--gold-2);
  color: var(--gold-2);
}
.nav-brand,
.nav-x { display: none }
.nav-list { display: contents }
.nav-list a b { display: none }
.nav-toggle {
  display: none;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  margin-left: auto;
  margin-right: -6px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 270;
  isolation: isolate;
  color: var(--gold-2);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
.nav-burger {
  display: block;
  position: relative;
  width: 26px;
  height: 16px;
  margin: 0 auto;
}
.nav-burger span {
  position: absolute;
  left: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(240, 215, 168, .28);
  transform-origin: center;
  transition:
    transform .38s cubic-bezier(.22, 1, .36, 1),
    top .38s cubic-bezier(.22, 1, .36, 1),
    width .38s cubic-bezier(.22, 1, .36, 1),
    left .38s cubic-bezier(.22, 1, .36, 1),
    opacity .22s ease,
    background .22s ease;
}
.nav-burger span:nth-child(1) { top: 0; width: 26px }
.nav-burger span:nth-child(2) { top: 7px; left: auto; right: 1px; width: 13px }
.nav-burger span:nth-child(3) { top: 14px; width: 19px }
.nav-toggle[aria-expanded="true"] {
  z-index: 252;
  color: var(--ink);
}
.nav-toggle[aria-expanded="true"] .nav-burger span:nth-child(1) {
  top: 7px;
  left: 2px;
  width: 22px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.2);
}
.nav-toggle[aria-expanded="true"] .nav-burger span:nth-child(3) {
  top: 7px;
  left: 2px;
  width: 22px;
  transform: rotate(-45deg);
}

/* ── hero ── */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  text-align: center;
  padding:
    var(--nav-clear)
    32px
    max(56px, env(safe-area-inset-bottom, 0px));
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,7,.28) 0%, rgba(10,8,7,.12) 28%, rgba(10,8,7,.4) 58%, rgba(10,8,7,.92) 100%),
    var(--photo-hero) center 38%/cover no-repeat;
  transform: scale(1.04);
  animation: drift 32s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.08) translateY(-1.5%) } }
.hero-embers {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 50% at 50% 118%, rgba(196, 92, 50, .38), transparent 72%),
    radial-gradient(ellipse 36% 42% at 28% 100%, rgba(240, 215, 168, .12), transparent 68%),
    radial-gradient(ellipse 32% 38% at 72% 100%, rgba(196, 92, 50, .18), transparent 64%);
  mix-blend-mode: screen;
  opacity: .55;
  animation: emberBreath 9s ease-in-out infinite alternate;
}
.hero-embers::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 2px;
  height: 2px;
  margin-left: -1px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    -90px 28px 6px 0 rgba(240, 215, 168, .28),
    70px 42px 7px 0 rgba(196, 92, 50, .32),
    12px 18px 5px 0 rgba(240, 215, 168, .18),
    -40px 56px 8px 0 rgba(196, 92, 50, .22);
  animation: emberRise 11s ease-in-out infinite;
}
@keyframes emberBreath {
  from { opacity: .38; filter: saturate(.85) }
  to { opacity: .62; filter: saturate(1.05) }
}
@keyframes emberRise {
  0%, 100% { transform: translateY(0); opacity: .45 }
  50% { transform: translateY(-10px); opacity: .8 }
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}
.hero-seal {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 18px rgba(212, 180, 131, .28));
  opacity: 0;
}
.hero h1,
.about-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 12vw, 128px);
  line-height: .88;
  letter-spacing: .22em;
  margin: 0 auto 12px;
  padding-left: .22em;
  text-align: center;
  overflow-wrap: anywhere;
  color: var(--gold);
  opacity: 1;
}
.hero-rite {
  font-size: 12px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: .42em;
  margin: 0 auto 18px;
  text-align: center;
  opacity: 1;
}
.hero-glyph {
  display: block;
  width: min(240px, 72%);
  height: 16px;
  margin: 0 auto 28px;
  color: var(--gold);
  opacity: 0;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  opacity: 1;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.hero-actions .btn {
  margin: 0 auto;
  width: auto;
}
.hero-actions .btn.hero-call,
.hero-actions .btn.hero-call:link,
.hero-actions .btn.hero-call:visited {
  background: transparent;
  border: 1px solid rgba(212, 180, 131, .55);
  color: var(--gold-2);
  -webkit-text-fill-color: var(--gold-2);
}
.hero-actions .btn.hero-call:hover,
.hero-actions .btn.hero-call:focus-visible {
  background: transparent;
  border-color: var(--gold-2);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  transform: translateY(-1px);
}
.hero-actions .btn.ghost {
  background: none;
  border: 0;
  border-radius: 0;
  min-height: 48px;
  padding: 0 4px;
  color: var(--gold);
  box-shadow: inset 0 -1px 0 rgba(212, 180, 131, .45);
}
.hero-actions .btn.ghost:hover {
  color: var(--gold-2);
  background: none;
  border-color: transparent;
  box-shadow: inset 0 -1px 0 var(--gold-2);
}
.hero p.lead {
  max-width: 36ch;
  margin: 22px auto 0;
  color: var(--mut);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  opacity: 1;
}
.hero-line {
  margin: 14px auto 0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  opacity: 1;
}
html:not(.seen-boot) .hero-rite,
html:not(.seen-boot) .hero-actions,
html:not(.seen-boot) .hero p.lead,
html:not(.seen-boot) .hero-line { opacity: 0 }
html.seen-boot .hero-rite,
html.seen-boot .hero-actions,
html.seen-boot .hero p.lead,
html.seen-boot .hero-line { opacity: 1 }
body.hero-play .hero-rite,
body.hero-play .hero-actions,
body.hero-play .hero p.lead,
body.hero-play .hero-line { opacity: 0 }
body.hero-play.hero-awake .hero-rite { animation: sealIn 1.25s ease both }
body.hero-play.hero-awake .hero-actions { animation: sealIn 1.2s .12s ease both }
body.hero-play.hero-awake .hero p.lead { animation: sealIn 1.25s .24s ease both }
body.hero-play.hero-awake .hero-line { animation: sealIn 1.25s .34s ease both }
@media (prefers-reduced-motion: reduce) {
  .boot { transition: none }
  .boot-ember { animation: none; opacity: .7 }
  .boot-spin, .boot-sparks i { animation: none }
  .boot-wake { animation: none; opacity: 1; transform: none; filter: none }
  .boot-name {
    animation: none;
    opacity: 1;
    letter-spacing: .52em;
    padding-left: .52em;
  }
  .boot-line { animation: none; opacity: 1 }
  .boot-bar i { animation: none; width: 100% }
  body.is-booting .age-card { opacity: 1 }
  body:not(.is-booting) .age.is-on .age-card { animation: none }
  .age-stroke { stroke-dashoffset: 0; animation: none }
  .age-num { opacity: 1; animation: none }
  .age-ember { animation: none; opacity: .7 }
  .hero-bg, .hero-embers, .hero-embers::after { animation: none }
  .hero-rite, .hero p.lead, .hero-actions, .hero-line {
    opacity: 1;
    clip-path: none;
    animation: none;
  }
  body.hero-play .hero-rite,
  body.hero-play .hero-actions,
  body.hero-play .hero p.lead,
  body.hero-play .hero-line { opacity: 1 }
  body.is-scroll-glint .hero h1,
  body.is-scroll-glint .about-hero h1,
  body.is-scroll-glint .about-hero .kicker {
    mix-blend-mode: normal;
    filter: none;
  }
}
.hero-meta { display: none }

/* ── sections ── */
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto }
.sec { padding: 110px 0 }
.sec h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: .03em;
  color: var(--gold);
}
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: end }
.split p { color: var(--mut); font-size: 17px; max-width: 46ch }

.maya-rule {
  display: block;
  width: min(280px, 78%);
  height: 16px;
  color: var(--gold);
  opacity: .72;
}
.sec-bleed {
  position: relative;
  display: grid;
  place-items: center;
  height: 88px;
  overflow: hidden;
  isolation: isolate;
}
.sec-bleed-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--photo-sun) center/cover no-repeat;
  opacity: .28;
  filter: saturate(.55) contrast(1.12);
}
.sec-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0a0807 0%, rgba(10,8,7,.35) 40%, rgba(10,8,7,.35) 60%, #0a0807 100%);
}
.sec-bleed .maya-rule { position: relative; z-index: 1 }

.sec-head { margin-bottom: 48px }
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: .03em;
  margin: 12px 0 22px;
  color: var(--gold);
}
.sec-lead {
  margin-top: 22px;
  max-width: 42ch;
  color: var(--mut);
  font-size: 16px;
  line-height: 1.7;
}

.manifest {
  position: relative;
  padding: 132px 0 116px;
  overflow: hidden;
}
.manifest-stone {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10,8,7,.42), rgba(10,8,7,.9) 58%, #0a0807),
    var(--photo-sun) 18% center / cover no-repeat;
  opacity: .62;
  filter: saturate(.68) contrast(1.1);
}
.manifest-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.manifest-grid::before {
  content: "I";
  position: absolute;
  right: -8px;
  top: -48px;
  font-family: var(--serif);
  font-size: clamp(140px, 24vw, 240px);
  font-weight: 500;
  line-height: .75;
  color: rgba(212, 180, 131, .08);
  pointer-events: none;
}
.manifest-grid .kicker { margin-bottom: 18px }
.manifest-grid .chapter-num,
.sec-head .chapter-num,
.gallery-head .chapter-num {
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 500;
  line-height: .8;
  color: rgba(212, 180, 131, .22);
  margin: 0 0 8px;
  max-width: none;
}
.sec-head .maya-rule,
.gallery-head .maya-rule { margin: 0 0 8px }
.manifest-grid h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 84px);
  line-height: .94;
  letter-spacing: .02em;
  max-width: 11ch;
  margin: 0 0 28px;
}
.manifest-grid .maya-rule { margin: 0 0 40px }
.manifest-grid blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 18em;
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 500;
  line-height: 1.38;
  color: var(--ink);
}
.manifest-body {
  margin-top: 36px;
  margin-left: clamp(0px, 10vw, 120px);
  color: var(--mut);
  font-size: 17px;
  max-width: 46ch;
  line-height: 1.75;
}
.manifest-meta {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.portals-sec { padding: 72px 0 88px }

.portals { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px }
.portal {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
}
button.portal {
  width: 100%;
  margin: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.portal:focus,
.portal:active {
  outline: none;
}
.portal:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
.portal:nth-child(1) { grid-row: span 2; min-height: 700px }
.portal:nth-child(1) img { object-position: 38% 48% }
.portal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: saturate(.85) contrast(1.05);
  transition: transform 1.1s ease;
}
.portal:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(7,8,6,.88) 100%);
}
.portal:hover img { transform: scale(1.06) }
a.portal,
a.portal:link,
a.portal:visited,
button.portal,
.portal strong {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}
.portal strong {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  display: block;
  letter-spacing: .04em;
}

.gallery { padding: 56px 0 64px }
.gallery-head { margin-bottom: 28px }
.gallery-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: .03em;
  margin: 12px 0 22px;
  color: var(--gold);
}
.gallery-head .maya-rule { margin: 0 }
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0;
}
.shot {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  background: #111;
  cursor: pointer;
  color: inherit;
}
.shot:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
  transition: transform 1.2s ease;
}
.shot:hover img { transform: scale(1.05) }
.shot:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10,8,7,.78));
}
.shot span {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
}

.lite {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: #070605;
  display: none;
  place-items: center;
  padding: 48px 72px 64px;
}
.lite.is-on { display: grid }
.lite figure { max-width: min(1200px, 100%); margin: 0 }
.lite img { max-height: 82svh; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain }
.lite figcaption {
  margin-top: 16px;
  text-align: center;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}
.lite-x, .lite-nav {
  position: absolute;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}
.lite-x {
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
}
.lite-nav {
  top: 50%;
  width: 48px;
  height: 72px;
  transform: translateY(-50%);
  font-size: 36px;
  border: 0;
}
.lite-prev { left: 12px }
.lite-next { right: 12px }

.book-pop {
  position: fixed;
  inset: 0;
  z-index: 560;
  display: none;
  place-items: center;
  padding: 28px 16px;
  overflow: auto;
  background: #0a0807;
}
.book-pop::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--photo-sun) center/cover no-repeat;
  filter: saturate(.85);
  opacity: .42;
}
.book-pop::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(10,8,7,.25), rgba(10,8,7,.88));
}
.book-pop.is-on { display: grid }
.book-pop-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 920px);
  max-height: min(92svh, 920px);
  overflow: auto;
  text-align: center;
  padding: 36px 28px 32px;
  background: rgba(10, 8, 7, .55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.book-pop-card .kicker { margin-bottom: 8px }
.book-pop-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 12px;
  color: var(--gold);
}
.book-pop-card .book-lead {
  margin: 0 auto 28px;
  text-align: center;
}
.book-pop-card .form { text-align: left }
.book-pop-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}
.book-lead { color: var(--mut); margin: 16px 0 36px; max-width: 42ch; font-size: 16px }
.book-lead a { color: var(--gold); border-bottom: 1px solid rgba(212,180,131,.35) }
.form { display: grid; gap: 4px }
.form label, .via legend {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 6px;
}
.form .opt { letter-spacing: .08em; text-transform: none; opacity: .6; margin-left: 6px }
.form input, .form select, .form textarea, .pick-btn {
  width: 100%;
  background: rgba(10,8,7,.45);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 2px;
  outline: none;
  margin-bottom: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23d4b483' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.pick {
  position: relative;
  margin-bottom: 16px;
}
.pick > select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
}
.pick-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .04em;
}
.pick-btn:after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  opacity: .8;
  transition: transform .2s ease;
}
.pick.is-open .pick-btn {
  border-color: var(--gold);
  color: var(--gold-2);
}
.pick.is-open .pick-btn:after {
  transform: rotate(225deg) translateY(-2px);
}
.pick-list {
  display: none;
  position: fixed;
  z-index: 620;
  max-height: min(360px, 52vh);
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #14110f;
  border: 1px solid rgba(212,180,131,.4);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.pick.is-open .pick-list,
.pick-list.is-open { display: flex; flex-direction: column }
body > .pick-list { z-index: 620 }
.pick-sheet-head { display: none }
.pick-sheet-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 6px 0;
  max-height: inherit;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,180,131,.28) transparent;
}
.pick-sheet-scroll::-webkit-scrollbar { width: 8px }
.pick-sheet-scroll::-webkit-scrollbar-track { background: transparent }
.pick-sheet-scroll::-webkit-scrollbar-thumb { background: rgba(212,180,131,.28) }
.pick-list .pick-sheet-scroll > button {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  color: var(--ink);
  text-align: left;
  padding: 10px 16px;
  font-size: 15px;
  letter-spacing: .04em;
  cursor: pointer;
  font-family: inherit;
}
.pick-list .pick-sheet-scroll > button:hover,
.pick-list .pick-sheet-scroll > button.is-on {
  background: rgba(212,180,131,.12);
  color: var(--gold);
}

/* Mobile: нижняя панель в стиле Tulum вместо системного select */
.pick-scrim {
  position: fixed;
  inset: 0;
  z-index: 610;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 4, 3, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .28s ease;
  cursor: pointer;
}
.pick-scrim.is-on { opacity: 1 }
.pick-list.is-sheet {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  top: auto !important;
  bottom: 0 !important;
  max-height: min(68svh, 560px);
  max-height: min(68dvh, 560px);
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  border: 0;
  border-top: 1px solid rgba(212, 180, 131, .38);
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(28, 22, 18, .98) 0%, rgba(12, 10, 8, .99) 100%);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .55);
  transform: translateY(110%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}
.pick-list.is-sheet.is-open {
  transform: translateY(0);
}
.pick-list.is-sheet .pick-sheet-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  flex: none;
  padding: 12px 20px 8px;
  border-bottom: 1px solid rgba(212, 180, 131, .16);
}
.pick-sheet-grip {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(212, 180, 131, .45);
}
.pick-sheet-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.pick-list.is-sheet .pick-sheet-scroll {
  flex: 1;
  max-height: none;
  padding: 8px 10px 18px;
}
.pick-list.is-sheet .pick-sheet-scroll > button {
  padding: 15px 18px;
  margin: 2px 0;
  font-size: 17px;
  letter-spacing: .06em;
  text-align: center;
  border-radius: 8px;
  border: 1px solid transparent;
}
.pick-list.is-sheet .pick-sheet-scroll > button.is-on {
  color: var(--gold-2);
  background: rgba(212, 180, 131, .14);
  border-color: rgba(212, 180, 131, .35);
}
body.pick-sheet-open {
  overflow: hidden;
}
.form input:focus, .form select:focus, .form textarea:focus, .pick-btn:focus {
  border-color: var(--gold);
}
.form input[type="date"], .form select { color-scheme: dark }
.form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(.82) sepia(.45) saturate(2.2) hue-rotate(8deg);
  cursor: pointer;
  opacity: .85;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.form .row-3 { display: grid; grid-template-columns: 1.1fr .9fr .7fr; gap: 14px }
.via {
  border: 0;
  margin: 4px 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.via legend { width: 100%; margin-bottom: 10px }
.via label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid var(--line);
  letter-spacing: .04em;
  text-transform: none;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.via label.is-on,
.via label:has(input:checked) {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,180,131,.08);
}
.via input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
/* Honeypot: скрыто от людей, боты часто заполняют */
.book-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.book-tg-extra {
  margin: -6px 0 14px;
  padding: 14px 14px 6px;
  border: 1px solid rgba(212,180,131,.22);
  background: rgba(212,180,131,.05);
}
.book-tg-extra[hidden] { display: none !important }
.book-tg-hint {
  margin: -4px 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mut);
  letter-spacing: .02em;
}
.book-tg-linked {
  margin-bottom: 12px !important;
}
.form .check,
.form label.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  margin: 4px 0 18px;
  cursor: pointer;
}
.form .check input[type="checkbox"],
.form label.check input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.form .check .check-box,
.form label.check .check-box {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  box-sizing: border-box;
  border: 2px solid var(--gold);
  border-radius: 3px;
  background: rgba(212, 180, 131, .12);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
  position: relative;
}
.form .check .check-box::after,
.form label.check .check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 7px;
  height: 12px;
  box-sizing: border-box;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .15s ease, opacity .15s ease;
}
.form .check input[type="checkbox"]:checked + .check-box,
.form label.check input[type="checkbox"]:checked + .check-box {
  border-color: var(--gold);
  background: rgba(212, 180, 131, .18);
}
.form .check input[type="checkbox"]:checked + .check-box::after,
.form label.check input[type="checkbox"]:checked + .check-box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.form .check input[type="checkbox"]:focus-visible + .check-box {
  outline: 2px solid rgba(212, 180, 131, .55);
  outline-offset: 2px;
}
.form .check .check-text {
  flex: 1;
  padding-top: 2px;
  color: var(--ink);
}
.form .check a { color: var(--gold) }
.form .ok, .form .err { font-size: 14px; margin-bottom: 12px }
.form .ok { color: #b7d7a8 }
.form .err { color: #e6a09a }
.form .btn { width: 100%; min-height: 54px }
.form .btn:disabled { opacity: .55; transform: none }
.book-note {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mut);
}
.book-done {
  padding: 12px 8px 8px;
  text-align: center;
}
.book-done img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 22px;
}
.book-done h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 12px;
}
.book-done p { color: var(--mut); max-width: 36ch }

.foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  margin-top: 0;
}
.foot-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--photo-cave) center/cover no-repeat;
  filter: saturate(.8) contrast(1.08);
  transform: scale(1.04);
}
.foot-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,8,7,.62) 0%, rgba(10,8,7,.86) 38%, #0a0807 100%),
    radial-gradient(ellipse at 50% 12%, rgba(93,67,62,.32), transparent 58%);
}
.foot-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 40px;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 8px;
}
.foot-seal-wrap {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin: 0 auto 22px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.foot-seal {
  width: 88px;
  height: 88px;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(212, 180, 131, .28));
}
.foot-logo {
  font-family: var(--serif);
  letter-spacing: .48em;
  font-size: 22px;
  padding-left: .48em;
  margin: 0 auto 10px;
  text-align: center;
  color: var(--gold);
}
.foot-tag {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: .22em;
  margin: 0 auto;
  text-align: center;
}
.foot-ornament {
  display: block;
  flex: none;
  align-self: center;
  width: min(240px, 72%);
  max-width: 240px;
  height: 16px;
  margin: 36px auto 28px;
  color: var(--gold);
  opacity: .75;
}
.foot-cta {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
}
.foot-brand .btn {
  margin: 0 auto;
  flex: none;
}
.foot-vital {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 8px;
  border-top: 0;
  text-align: left;
}
.foot-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 220px;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  background: rgba(8, 7, 6, .58);
}
.foot-cell .kicker {
  margin: 0 0 6px;
  letter-spacing: .28em;
  color: var(--gold);
}
.foot-cell p { margin: 0; font-size: 15px; color: var(--mut) }
.foot-phone-n {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.15;
  color: var(--mut);
}
.foot-phone-n a { color: inherit }
.foot-phone-s {
  font-size: 16px;
  color: var(--mut);
}
.foot-phone-s a { color: inherit }
.foot-addr {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.3;
  color: var(--mut);
}
.foot-addr a { color: inherit }
.foot-city {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mut);
}
.foot-hours-main {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.3;
  color: var(--mut);
}
.foot-hours-label {
  margin: 12px 0 4px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(212, 180, 131, .72);
}
.foot-hours-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mut);
}
.foot-hours-sub + .foot-hours-sub { margin-top: -4px }
@media (hover: hover) {
  .foot-cell:hover { border-color: rgba(212, 180, 131, .5) }
  .foot-phone-n a:hover,
  .foot-phone-s a:hover,
  .foot-addr a:hover { color: var(--gold) }
}
.foot-lintel {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  padding-top: 8px;
}
.foot-lintel-rule {
  display: block;
  width: min(240px, 42%);
  height: 16px;
  margin: 0 auto 14px;
  color: var(--gold);
  opacity: .75;
}
.foot-lintel-mid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 28px;
  max-width: 100%;
}
.foot-lintel .foot-rite {
  width: 44px;
  height: 44px;
  margin: 0;
}
.foot-lintel-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 22px;
  margin: 0;
  min-width: 0;
}
.foot-lintel-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mut);
  text-align: center;
}
.foot-lintel-nav a:hover,
.foot-lintel-nav a:focus-visible { color: var(--gold) }
.foot-whisper {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  padding-left: .22em;
}
.copy {
  margin: 0;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(239, 230, 214, .38);
  text-align: center;
  white-space: nowrap;
}
.foot-credit {
  margin: 6px 0 0;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(239, 230, 214, .32);
  text-align: center;
}
.foot-credit a {
  color: rgba(212, 180, 131, .72);
  text-decoration: none;
}
.foot-credit a:hover,
.foot-credit a:focus-visible { color: var(--gold) }
.rite-18 {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(212, 180, 131, .32));
}
.rite-18 svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rite-18 circle,
.rite-18 path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.rite-18 circle:first-child { stroke-width: .9 }
.rite-18 circle:nth-child(2) { stroke-width: .5; opacity: .58; stroke: var(--gold-2) }
.rite-18 path:nth-of-type(1) { stroke-width: 1.05 }
.rite-18 path:nth-of-type(2) { stroke-width: .7; opacity: .55 }
.rite-18 b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1;
  color: var(--gold-2);
  padding-left: .06em;
}
.rite-18 sup {
  font-size: .5em;
  font-weight: 500;
  top: -.28em;
  margin-left: .02em;
  color: var(--gold);
}
.foot a:hover { color: var(--gold) }

.rules-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0 88px;
  border-top: 1px solid var(--line);
}
body.page-rules .rules-sec.is-full {
  padding-top: calc(var(--nav-clear) + 12px);
  border-top: 0;
}
.rules-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,8,7,.88) 0%, rgba(10,8,7,.72) 40%, rgba(10,8,7,.94) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(93,67,62,.28), transparent 55%),
    var(--photo-cave) center 30%/cover no-repeat;
}
.rules-inner { position: relative; z-index: 1; max-width: 760px }
.rules-sec h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: .08em;
  margin: 8px 0 18px;
  color: var(--gold);
}
.rules-sec .maya-rule { margin: 0 0 28px }
.rules-lead {
  color: var(--mut);
  font-size: 16px;
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 28px;
}
.rules-list {
  list-style: none;
  counter-reset: rite;
  margin: 0;
  padding: 0;
}
.rules-list > li {
  counter-increment: rite;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}
.rules-list > li::before {
  content: counter(rite, decimal-leading-zero);
  grid-row: 1 / span 20;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--gold);
  padding-top: 6px;
}
.rules-sec.is-full .rules-list > li {
  padding: 32px 0 34px;
}
.rules-sec.is-full .rules-list h3 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.rules-sec.is-full .rules-list h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}
.rules-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--gold-2);
  margin: 0 0 12px;
  grid-column: 2;
}
.rules-list p {
  grid-column: 2;
  color: var(--mut);
  font-size: 16px;
  line-height: 1.7;
  max-width: 48ch;
}
.rules-list p + p { margin-top: 8px }
.rules-act { margin-top: 32px }
.rules-sec.is-tease .rules-inner { max-width: 1080px }
.rules-sec.is-tease .rules-lead {
  max-width: 36ch;
  margin-bottom: 32px;
}
.rules-laws {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rules-law {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 220px;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  background: rgba(8, 7, 6, .58);
}
.rules-law b {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--gold);
}
.rules-law strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 36px);
  letter-spacing: .04em;
  line-height: .95;
  color: var(--gold-2);
}
.rules-law p {
  margin-top: auto;
  color: var(--mut);
  font-size: 15px;
  line-height: 1.55;
  max-width: 28ch;
}
@media (hover: hover) {
  .rules-law:hover { border-color: rgba(212, 180, 131, .5) }
}

.about-rules-link {
  text-align: center;
  padding: 8px 0 48px;
}
.about-rules-link a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 180, 131, .35);
}
.about-rules-link a:hover { color: var(--gold-2) }

.about-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding:
    var(--nav-clear)
    32px
    max(56px, env(safe-area-inset-bottom, 0px));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.about-hero .hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}
.about-hero .hero-seal,
.about-hero-seal {
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
  object-fit: contain;
  border-radius: 0;
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(212, 180, 131, .28));
}
.about-hero .maya-rule { margin: 0 auto 22px }
.about-hero .hero-rite {
  opacity: 1;
  margin: 0 auto 18px;
}
.about-hero .lead {
  max-width: 34ch;
  margin: 0 auto;
  color: var(--mut);
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}
.about-hero-cta {
  margin: 18px auto 0;
}
.about-hero-cta .btn {
  min-height: 52px;
  padding: 0 28px;
}
.about-hero-embers {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 50% at 50% 118%, rgba(196, 92, 50, .42), transparent 72%),
    radial-gradient(ellipse 36% 42% at 28% 100%, rgba(240, 215, 168, .14), transparent 68%),
    radial-gradient(ellipse 32% 38% at 72% 100%, rgba(196, 92, 50, .2), transparent 64%);
  mix-blend-mode: screen;
  opacity: .55;
}
.about-hero .hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,7,.28) 0%, rgba(10,8,7,.12) 32%, rgba(10,8,7,.5) 64%, rgba(10,8,7,.94) 100%),
    var(--photo-about) center 40%/cover no-repeat;
  animation: none;
  transform: none;
}

.thanks .hero-bg {
  background:
    linear-gradient(180deg, rgba(10,8,7,.5) 0%, rgba(10,8,7,.22) 34%, rgba(10,8,7,.62) 68%, rgba(10,8,7,.96) 100%),
    var(--photo-hero) center 38%/cover no-repeat;
}
.thanks h1 {
  font-size: clamp(34px, 7vw, 68px);
  letter-spacing: .1em;
  padding-left: .1em;
  line-height: 1.05;
  max-width: 10em;
}
body.is-scroll-glint .thanks h1,
body.is-scroll-glint .thanks .kicker {
  mix-blend-mode: normal;
}
.thanks-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin: 28px auto 0;
  padding: 0;
}
.thanks-facts li { min-width: 6.5rem }
.thanks-facts b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .06em;
  color: var(--gold-2);
  margin-bottom: 6px;
}
.thanks-facts span {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mut);
}
.thanks-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 0;
}
.thanks-acts .btn { min-height: 52px }

.book-cancel-form {
  max-width: 420px;
  margin: 28px auto 0;
  text-align: left;
}
.book-cancel-form label {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 8px;
}
.book-cancel-form textarea {
  width: 100%;
  background: rgba(10,8,7,.45);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 2px;
  outline: none;
  margin-bottom: 14px;
  resize: vertical;
  min-height: 96px;
}
.book-cancel-form textarea:focus {
  border-color: rgba(212, 180, 131, .55);
}
.book-cancel-form .err {
  color: #e6a09a;
  font-size: 14px;
  margin: 0 0 12px;
}
.book-cancel-form .btn { width: 100%; min-height: 54px }
.book-cancel-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--mut);
  text-align: center;
}
.book-cancel-why {
  max-width: 36ch;
  margin: 22px auto 0;
  color: var(--mut);
  font-size: 15px;
  line-height: 1.55;
}
.book-cancel-why .kicker {
  display: block;
  margin-bottom: 8px;
}

.legal {
  padding: 48px 0 24px;
}
.legal article {
  max-width: 52ch;
  margin: 0 auto;
  padding: 8px 0 48px;
  border-top: 1px solid var(--line);
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  margin: 10px 0 22px;
  color: var(--gold);
}
.legal .maya-rule { margin: 0 0 28px }
.legal p {
  color: var(--mut);
  font-size: 17px;
  line-height: 1.75;
}
.legal p + p { margin-top: 16px }

/* ── electronic complaints book ── */
.page-complaints .about-hero .lead {
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.book-sent {
  padding: 0 0 8px;
}
.book-sent-card {
  max-width: 520px;
  margin: -12px auto 0;
  padding: 28px 28px 32px;
  border: 1px solid rgba(212, 180, 131, .35);
  background: linear-gradient(180deg, rgba(212, 180, 131, .08), transparent);
  text-align: center;
}
.book-sent-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--gold);
  margin: 8px 0 18px;
}
.book-sent-card .maya-rule { margin: 0 auto 22px }
.book-sent-code {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: .18em;
  color: var(--ink);
  margin: 0 0 16px;
}
.book-sent-card p:last-child {
  color: var(--mut);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.book-info {
  padding: 48px 0 12px;
}
.book-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 880px) {
  .book-info-grid.has-req {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr);
    column-gap: 56px;
    row-gap: 40px;
    align-items: start;
  }
  .book-info-grid.has-req .book-info-who { grid-column: 1; grid-row: 1; }
  .book-info-grid.has-req .book-info-req { grid-column: 2; grid-row: 1 / span 2; }
  .book-info-grid.has-req .book-info-watch { grid-column: 1; grid-row: 2; }
}
.book-info-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.book-info-grid h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--gold);
  margin: 6px 0 16px;
}
.book-info-grid .maya-rule { margin: 0 0 20px }
.book-info-grid p {
  color: var(--mut);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.book-info-grid p + p { margin-top: 8px }
.book-info-grid a { color: var(--gold) }
.book-org-brand {
  font-family: var(--serif);
  color: var(--gold) !important;
  font-size: 22px !important;
  letter-spacing: .14em;
  margin-bottom: 14px !important;
}
.book-org-name {
  color: var(--ink) !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  margin-bottom: 16px !important;
}
.book-org-short {
  margin-top: -8px !important;
  margin-bottom: 16px !important;
}
.book-req {
  margin: 0;
  display: grid;
  gap: 0;
}
.book-req > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 10px 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(212, 180, 131, .12);
}
.book-req > div:first-child { border-top: 0; padding-top: 0 }
.book-req > div.is-wide {
  grid-template-columns: 1fr;
  gap: 6px;
}
.book-req dt {
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(212, 180, 131, .72);
  padding-top: 3px;
}
.book-req dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  word-break: break-word;
}
.book-org-extra {
  white-space: pre-wrap;
  margin-top: 14px !important;
}
.book-info-qr { grid-column: 1 / -1 }
.book-max-qr {
  display: block;
  width: 180px;
  height: 180px;
  margin-top: 18px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}
.book-write,
.book-lookup,
.book-feed {
  padding: 48px 0 16px;
}
.book-panel {
  max-width: 640px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.book-panel h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--gold);
  margin: 8px 0 18px;
}
.book-panel .maya-rule { margin: 0 0 22px }
.book-lead {
  color: var(--mut);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.book-lead.is-caps {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  line-height: 1.75;
  max-width: 52ch;
}
.book-form { gap: 14px }
.book-photos { margin-top: 4px }
.book-photos-hint {
  margin: 8px 0 0;
  color: var(--mut);
  font-size: 13px;
  line-height: 1.45;
}
.book-photos input[type="file"] {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: rgba(10,8,7,.45);
  border: 1px dashed rgba(212, 180, 131, .4);
  color: var(--ink);
  font-size: 14px;
  border-radius: 2px;
  cursor: pointer;
}
.book-photos input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(212, 180, 131, .45);
  background: transparent;
  color: var(--gold);
  font: inherit;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}
.book-photos-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.book-photos-list li {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: rgba(10,8,7,.5);
  overflow: hidden;
}
.book-photos-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.book-photos-list button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 2px;
  background: rgba(10, 8, 7, .78);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.book-lookup-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.book-lookup-photos a {
  display: block;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.book-lookup-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.form label.book-agree {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 8px 0 18px;
  padding: 0;
  color: var(--mut);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.book-agree input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.book-agree-mark {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid rgba(212, 180, 131, .65);
  background: rgba(10, 8, 7, .45);
  border-radius: 2px;
  position: relative;
  transition: border-color .2s ease, background .2s ease;
}
.book-agree-mark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid var(--gold);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.book-agree:hover .book-agree-mark,
.book-agree:focus-within .book-agree-mark {
  border-color: var(--gold);
}
.book-agree input:checked + .book-agree-mark {
  border-color: var(--gold);
  background: rgba(212, 180, 131, .12);
}
.book-agree input:checked + .book-agree-mark::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.book-agree input:focus-visible + .book-agree-mark {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}
.book-agree-text {
  flex: 1;
  min-width: 0;
  color: var(--mut);
}
.book-agree a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 180, 131, .35);
}
.book-agree a:hover { border-bottom-color: var(--gold) }
.book-msg {
  font-size: 14px;
  margin: 0;
}
.book-msg.ok { color: #b7d7a8 }
.book-msg.err { color: #e6a09a }
.book-lookup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}
.book-lookup-row input {
  font-family: var(--serif);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 18px;
}
.book-lookup-row .btn {
  width: auto;
  min-width: 140px;
  min-height: 54px;
}
.book-lookup-result {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.book-lookup-meta {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: .06em;
  margin: 0 0 14px;
}
.book-lookup-result blockquote,
.book-feed-list blockquote {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 2px solid rgba(212, 180, 131, .55);
  background: rgba(212, 180, 131, .06);
}
.book-lookup-result blockquote .kicker,
.book-feed-list blockquote .kicker {
  margin-bottom: 8px;
}
.book-lookup-result blockquote p,
.book-feed-list blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
.book-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.book-feed-list > li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.book-feed-list > li:first-child { border-top: 0; padding-top: 0 }
.book-feed-list header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.book-feed-list time { color: var(--mut); letter-spacing: .08em }
.book-feed-body {
  margin: 0;
  color: var(--mut);
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.about-chapters { display: block }
.chapter {
  display: block;
  min-height: 0;
  border-top: 0;
}
.chapter-lintel {
  grid-column: 1 / -1;
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(212, 180, 131, .1);
  background: var(--bg);
}
.chapter-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.chapter-kicker span { white-space: nowrap }
.chapter-kicker::before,
.chapter-kicker::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}
.chapter-kicker::before {
  background: linear-gradient(90deg, transparent, var(--gold));
}
.chapter-kicker::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.chapter.is-flip .chapter-media { order: 2 }
.chapter-media {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  background: #111;
}
.chapter-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,8,7,.18) 0%, transparent 34%, rgba(10,8,7,.42) 100%);
}
.chapter-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.08);
}
.chapter-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px clamp(28px, 6vw, 80px) 80px;
  background: var(--bg);
}
.chapter-copy::before { display: none }
.chapter-num {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 500;
  line-height: .8;
  color: rgba(212, 180, 131, .22);
  margin-bottom: 10px;
  max-width: none;
}
.chapter-copy p.chapter-num {
  font-size: clamp(56px, 8vw, 88px);
  line-height: .8;
  color: rgba(212, 180, 131, .22);
  max-width: none;
  margin: 0 0 8px;
}
.chapter-copy .kicker { margin-bottom: 8px }
.chapter-copy h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 22px;
  color: var(--gold);
}
.chapter-copy .maya-rule { margin: 0 0 28px }
.chapter-copy p {
  color: var(--mut);
  font-size: 17px;
  line-height: 1.75;
  max-width: 42ch;
}
.chapter-copy p + p { margin-top: 16px }
.chapter-act { margin-top: 32px }
.chapter-cta .chapter-copy {
  background: var(--bg);
}
.about-still {
  position: relative;
  margin: 0;
  min-height: 48vh;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}
.about-still img {
  width: 100%;
  height: 100%;
  min-height: 48vh;
  object-fit: cover;
  filter: saturate(.86) contrast(1.1);
}
.about-still::before,
.about-still::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .45;
  pointer-events: none;
}
.about-still::before { top: 22px }
.about-still::after { bottom: 22px }
.about-still-fire {
  min-height: 52vh;
}
.about-still-fire img { min-height: 52vh }

@media (max-width: 900px) {
  :root { --nav-clear: calc(124px + env(safe-area-inset-top, 0px)) }
  .nav { mix-blend-mode: normal; background: linear-gradient(#070806, transparent); z-index: 260 }
  .nav-toggle { display: grid }
  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 250;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: max(72px, calc(env(safe-area-inset-top) + 56px)) 28px max(28px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background:
      linear-gradient(180deg, rgba(10,8,7,.72) 0%, rgba(10,8,7,.9) 42%, rgba(10,8,7,.96) 100%),
      radial-gradient(ellipse at 50% 18%, rgba(93,67,62,.35), transparent 58%),
      var(--photo-sun) center 28%/cover no-repeat;
    border: 0;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity .4s ease, visibility .4s ease;
  }
  .nav-links:not(.open),
  .nav-links:not(.open) * {
    pointer-events: none !important;
  }
  .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .1;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>");
  }
  .nav-links.open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-brand {
    display: flex;
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
  }
  .nav-links.open .nav-brand {
    animation: sealIn .7s ease both;
  }
  .nav-seal {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    padding: 0;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 16px rgba(212, 180, 131, .28));
  }
  .nav-word {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .48em;
    padding-left: .48em;
    color: var(--gold);
  }
  .nav-rite {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .nav-rite:after {
    content: "";
    display: block;
    width: 88px;
    height: 1px;
    margin: 22px auto 10px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .nav-list {
    display: flex;
    position: relative;
    z-index: 1;
    flex-direction: column;
    width: min(300px, 100%);
    margin: 0 auto;
  }
  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    min-height: 52px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(20px, 5.6vw, 26px);
    font-weight: 500;
    letter-spacing: .1em;
    text-align: center;
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
    opacity: 0;
  }
  .nav-links.open .nav-list a {
    animation: navRise .55s ease forwards;
  }
  .nav-links.open .nav-list a:nth-child(1) { animation-delay: .1s }
  .nav-links.open .nav-list a:nth-child(2) { animation-delay: .16s }
  .nav-links.open .nav-list a:nth-child(3) { animation-delay: .22s }
  .nav-links.open .nav-list a:nth-child(4) { animation-delay: .28s }
  .nav-links.open .nav-list a:nth-child(5) { animation-delay: .34s }
  .nav-links.open .nav-list a:nth-child(6) { animation-delay: .4s }
  .nav-list a:last-child { border-bottom: 1px solid var(--line) }
  .nav-list a b { display: none }
  .nav-list a span { min-width: 0 }
  .nav-list a:hover,
  .nav-list a:focus { color: var(--gold-2); -webkit-text-fill-color: var(--gold-2) }
  .nav-wordmark {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .28em;
    padding-left: .08em;
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
  }
  .nav-logo { gap: 8px; padding-left: 0 }
  .nav-logo img {
    width: 40px;
    height: 40px;
  }
  .nav-cta {
    display: flex;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: min(320px, 100%);
    margin-top: 28px;
    opacity: 0;
  }
  .nav-links.open .nav-cta {
    animation: navRise .55s .42s ease forwards;
  }
  .nav-call,
  .nav-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 48px;
    margin: 0;
    padding: 0 22px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: lowercase;
    opacity: 1;
  }
  .nav-book,
  .nav-book:link,
  .nav-book:visited {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #14110c;
    -webkit-text-fill-color: #14110c;
  }
  .nav-call,
  .nav-call:link,
  .nav-call:visited {
    border: 1px solid rgba(212, 180, 131, .55);
    background: transparent;
    color: var(--gold-2);
    -webkit-text-fill-color: var(--gold-2);
  }
  .nav-book:hover,
  .nav-book:focus {
    background: var(--gold-2);
    border-color: var(--gold-2);
    color: #14110c;
    -webkit-text-fill-color: #14110c;
  }
  .nav-call:hover,
  .nav-call:focus {
    border-color: var(--gold-2);
    background: transparent;
    color: var(--ink);
  }
  .nav-x { display: none }
  .hero {
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding:
      var(--nav-clear)
      20px
      calc(92px + env(safe-area-inset-bottom, 0px));
  }
  .hero-bg,
  .hero-embers,
  .hero-embers::after { animation: none }
  .hero-bg { background-position: center, 72% 40% }
  .hero-inner { width: min(100%, 520px); margin: 0 auto }
  .hero h1,
  .about-hero h1 {
    font-size: clamp(42px, 12vw, 64px);
    margin: 0 auto 10px;
  }
  .hero-rite {
    margin: 0 auto 18px;
    text-align: center;
  }
  .hero-actions {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  .hero-actions .btn { width: auto; min-width: 0 }
  .hero-actions .hero-cta .btn { min-height: 48px; padding: 0 22px }
  .hero-actions .btn.ghost { min-width: 0; width: auto }
  .hero p.lead { margin-top: 16px }
  .hero-meta { display: none }
  .sec-bleed { height: 64px }
  .manifest { padding: 72px 0 80px }
  .manifest-grid .chapter-num,
  .sec-head .chapter-num,
  .gallery-head .chapter-num {
    font-size: clamp(72px, 22vw, 104px);
    margin: 0 0 6px;
  }
  .sec-head { margin-bottom: 36px }
  .gallery-head { margin-bottom: 28px }
  .manifest-grid, .split { grid-template-columns: 1fr; gap: 22px }
  body.is-scroll-glint .hero h1,
  body.is-scroll-glint .about-hero h1,
  body.is-scroll-glint .about-hero .kicker {
    mix-blend-mode: normal;
    filter: none;
  }
  .foot-inner { padding: 64px 0 calc(88px + env(safe-area-inset-bottom, 0px)); width: min(1180px, calc(100% - 36px)) }
  .foot-seal-wrap { width: 96px; height: 96px; margin-bottom: 16px }
  .foot-seal { width: 80px; height: 80px }
  .foot-logo { font-size: 20px }
  .foot-tag { letter-spacing: .22em }
  .foot-ornament { width: min(168px, 72%); margin: 32px auto 24px }
  .foot-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
    padding: 8px 8px 28px;
  }
  .foot-cta { width: 100% }
  .foot-brand .btn { min-height: 48px; width: auto; max-width: min(100%, 320px) }
  .foot-vital {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
    padding-top: 4px;
    border-top: 0;
  }
  .foot-cell {
    min-height: 0;
    padding: 22px 18px 20px;
  }
  .foot-phone-n { font-size: 24px }
  .foot-addr,
  .foot-hours-main { font-size: 22px }
  .foot-hours-sub { font-size: 14px }
  .foot-lintel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 8px;
    padding: 4px 0 8px;
  }
  .foot-lintel-mid {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .foot-lintel-rule {
    width: min(188px, 70%);
    margin: 4px auto 20px;
  }
  .foot-lintel .foot-rite {
    order: -1;
    width: 40px;
    height: 40px;
    margin: 0 auto 22px;
  }
  .foot-lintel-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 0 0 22px;
    border-top: 1px solid rgba(212, 180, 131, .28);
    border-bottom: 1px solid rgba(212, 180, 131, .28);
    gap: 0;
  }
  .foot-lintel-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 8px 12px calc(8px + .1em);
    font-size: 11px;
    letter-spacing: .16em;
    line-height: 1.35;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: none;
    border-bottom: 1px solid rgba(212, 180, 131, .12);
    border-right: 1px solid rgba(212, 180, 131, .12);
  }
  .foot-lintel-nav a:nth-child(even) { border-right: 0 }
  .foot-lintel-nav a:nth-last-child(-n+2):nth-child(odd) { border-bottom: 0 }
  .foot-lintel-nav a:last-child:nth-child(even) { border-bottom: 0 }
  .foot-lintel-nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
  .foot-whisper {
    margin: 0 0 10px;
    font-size: 10px;
    letter-spacing: .28em;
    padding-left: .28em;
    text-align: center;
  }
  .copy {
    margin: 0;
    font-size: 9px;
    letter-spacing: .16em;
    text-align: center;
    white-space: normal;
    color: rgba(239, 230, 214, .34);
  }
  .foot-credit {
    margin: 8px 0 0;
    font-size: 9px;
    letter-spacing: .14em;
  }
  .manifest-grid::before { top: -24px; right: 0; font-size: 120px }
  .manifest-body { margin-left: 0 }
  .form .row, .form .row-3 { grid-template-columns: 1fr }
  .book-info-grid { grid-template-columns: 1fr; gap: 24px }
  .book-lookup-row { grid-template-columns: 1fr }
  .book-lookup-row .btn { width: 100% }
  .book-sent-card { padding: 24px 18px 28px }
  .book-write,
  .book-lookup,
  .book-feed { padding: 36px 0 8px }
  .book-pop {
    padding: 8px 8px max(12px, env(safe-area-inset-bottom, 0px));
    align-items: stretch;
    -webkit-overflow-scrolling: touch;
  }
  .book-pop-card {
    padding: 28px 18px 24px;
    max-height: none;
    width: 100%;
    margin: auto 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .book-pop-card .form select {
    font-size: 16px; /* iOS: без зума при фокусе */
  }
  .portals-sec { padding: 48px 0 calc(56px + 50px + env(safe-area-inset-bottom, 0px)) }
  .portals { grid-template-columns: 1fr }
  .portal, .portal:nth-child(1) { min-height: 280px; grid-row: auto }
  .shots { grid-template-columns: 1fr 1fr; gap: 6px }
  .shot { aspect-ratio: 1; min-height: 0 }
  .shot span { left: 10px; right: 10px; bottom: 8px; font-size: 9px; letter-spacing: .14em }
  .lite { padding: 64px 16px 40px }
  .form .row { grid-template-columns: 1fr }
  .sec { padding: 72px 0 }
  .foot-logo { letter-spacing: .28em; padding-left: 0 }
  .rules-sec { padding: 72px 0 64px }
  .rules-list > li { grid-template-columns: 40px 1fr; column-gap: 12px; padding: 20px 0 }
  .rules-laws { grid-template-columns: 1fr; gap: 8px }
  .rules-law { min-height: 0; padding: 22px 18px 20px }
  .float-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--dock-shift, 0px);
    z-index: 255;
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    pointer-events: none;
    transform: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility .55s ease;
  }
  body.float-ready .float-cta {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .float-write {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 12px 8px;
    border: 1px solid var(--line);
    background: rgba(10, 9, 7, .94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .float-write:has(a + a) { grid-template-columns: 1fr 1fr }
  .float-write[hidden] { display: none }
  .float-write a {
    min-height: 46px;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    gap: 8px;
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
    font-family: var(--serif);
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .float-write .float-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    display: block;
  }
  .float-write a + a { border-left: 1px solid var(--line) }
  .float-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--line);
    background: rgba(10, 9, 7, .94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .float-bar.is-3 { grid-template-columns: 1fr 1fr 1fr }
  .float-cta a,
  .float-cta a:link,
  .float-cta a:visited,
  .float-msg {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-2);
    -webkit-text-fill-color: var(--gold-2);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: auto;
  }
  .float-bar > * + * { border-left: 1px solid var(--line) }
  .float-bar.is-3 .float-msg { border-right: 1px solid var(--line) }
  .float-call,
  .float-msg {
    color: var(--gold-2);
    background: transparent;
  }
  .float-book,
  .float-book:link,
  .float-book:visited {
    background: var(--gold);
    color: #14110c;
    -webkit-text-fill-color: #14110c;
    border: 0;
  }
  .float-msg[aria-expanded="true"] {
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
  }
  .float-write a:hover { color: var(--ink); -webkit-text-fill-color: var(--ink) }
  body.is-booting .float-cta,
  body:has(.age.is-on) .float-cta,
  body:has(.book-pop.is-on) .float-cta,
  body:has(.nav-links.open) .float-cta,
  body:has(.lite.is-on) .float-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 900px) {
  .about-hero {
    justify-content: flex-end;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding:
      var(--nav-clear)
      20px
      calc(92px + env(safe-area-inset-bottom, 0px));
  }
  .about-hero .hero-inner {
    width: min(100%, 520px);
    padding-top: 0;
  }
  .about-hero-seal {
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
  }
  .about-hero-cta { margin-top: 18px }
  .about-hero-cta .btn {
    min-height: 50px;
    padding: 0 26px;
    font-size: 13px;
  }
  .about-hero-embers { height: 42%; opacity: .62 }
  .thanks h1 {
    font-size: clamp(32px, 11vw, 52px);
  }
  .thanks-facts { gap: 16px 24px; margin-top: 24px }
  .thanks-facts b { font-size: 18px }
  .thanks-acts { margin-top: 26px }
  .thanks-acts .btn { min-height: 50px }

  .chapter,
  .chapter.is-flip {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .chapter.is-flip .chapter-media { order: 0 }
  .chapter-lintel {
    padding: 22px 20px;
  }
  .chapter-kicker {
    gap: 14px;
    letter-spacing: .26em;
    font-size: 11px;
    color: var(--gold-2);
  }
  .chapter-kicker::before,
  .chapter-kicker::after {
    width: 40px;
    opacity: .85;
  }
  .chapter-media {
    min-height: 72vh;
    min-height: 72svh;
    height: 72vh;
    height: 72svh;
  }
  .chapter-copy {
    padding: 56px 22px 72px;
  }
  .chapter-copy::before,
  .chapter.is-flip .chapter-copy::before {
    left: 22px;
    right: auto;
    top: 28px;
    bottom: auto;
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: .8;
  }
  .chapter-num {
    font-size: clamp(72px, 22vw, 104px);
    color: rgba(212, 180, 131, .22);
    margin: 0 0 6px;
  }
  .chapter-copy p.chapter-num {
    font-size: clamp(72px, 22vw, 104px);
    line-height: .8;
    color: rgba(212, 180, 131, .22);
    max-width: none;
    margin: 0 0 6px;
  }
  .chapter-copy h2 {
    font-size: clamp(36px, 11vw, 48px);
    margin: 0 0 20px;
    letter-spacing: .02em;
  }
  .chapter-copy .maya-rule {
    width: min(220px, 78%);
    margin: 0 0 28px;
  }
  .chapter-copy p {
    font-size: 17px;
    line-height: 1.8;
    max-width: none;
  }
  .chapter-copy p + p { margin-top: 20px }
  .chapter-act { margin-top: 36px }
  .chapter-cta .chapter-copy {
    padding-bottom: 80px;
  }

  .about-still,
  .about-still img,
  .about-still-fire,
  .about-still-fire img {
    min-height: 64vh;
    min-height: 64svh;
  }
  .about-still {
    height: 64vh;
    height: 64svh;
  }
  .about-still img {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
  }
  .about-still-fire {
    height: 70vh;
    height: 70svh;
    min-height: 70vh;
    min-height: 70svh;
  }
  .about-rules-link { padding: 12px 0 56px }
}

/* ── 404 / lost path ── */
body.is-lost .nav,
body.is-lost .foot,
body.is-lost .float-cta,
body.is-lost .sec-bleed {
  display: none !important;
}
body.is-lost {
  min-height: 100vh;
  min-height: 100dvh;
}
.lost {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(48px, env(safe-area-inset-top)) 24px max(48px, env(safe-area-inset-bottom));
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 48% at 50% 18%, rgba(93, 67, 62, .38), transparent 62%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(196, 92, 50, .16), transparent 55%),
    linear-gradient(180deg, #0c0a08 0%, var(--bg) 52%, #060504 100%);
}
.lost-glow {
  position: absolute;
  inset: 12% 20% auto;
  height: 42%;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(212, 180, 131, .14), transparent 68%);
  pointer-events: none;
}
.lost-ember {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(196, 92, 50, .1) 55%, rgba(8, 6, 5, .9));
  pointer-events: none;
}
.lost-inner {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lost-seal {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 0 18px;
  filter: drop-shadow(0 0 18px rgba(212, 180, 131, .3));
  opacity: 0;
  transform: translateY(10px);
  animation: lost-rise .9s ease .08s forwards;
}
.lost-brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .48em;
  padding-left: .48em;
  color: var(--gold);
  margin: 0 0 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: lost-rise .9s ease .16s forwards;
}
.lost-rite {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: .28em;
  margin: 0 0 36px;
  opacity: 0;
  transform: translateY(10px);
  animation: lost-rise .9s ease .24s forwards;
}
.lost-code {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(72px, 22vw, 120px);
  line-height: .86;
  letter-spacing: .18em;
  padding-left: .18em;
  color: var(--gold-2);
  margin: 0 0 18px;
  text-shadow: 0 0 40px rgba(212, 180, 131, .18);
  opacity: 0;
  transform: translateY(12px);
  animation: lost-rise 1s ease .32s forwards;
}
.lost-line {
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--mut);
  margin: 0 0 32px;
  opacity: 0;
  transform: translateY(10px);
  animation: lost-rise .9s ease .42s forwards;
}
.lost-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: lost-rise .9s ease .52s forwards;
}
.lost-acts .btn {
  min-width: 148px;
}
@keyframes lost-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 480px) {
  .lost-seal {
    width: 80px;
    height: 80px;
  }
  .lost-brand {
    font-size: 18px;
    letter-spacing: .4em;
    padding-left: .4em;
  }
  .lost-rite {
    margin-bottom: 28px;
  }
  .lost-code {
    letter-spacing: .12em;
    padding-left: .12em;
    margin-bottom: 14px;
  }
  .lost-line {
    font-size: 14px;
    margin-bottom: 26px;
  }
  .lost-acts {
    flex-direction: column;
    width: 100%;
  }
  .lost-acts .btn {
    width: 100%;
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lost-seal,
  .lost-brand,
  .lost-rite,
  .lost-code,
  .lost-line,
  .lost-acts {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


