/* ==========================================================================
   Leo Linus · the circle
   One day, sunrise to fire. Sections move from dawn sand to night.
   ========================================================================== */

:root {
  --paper: #F3E9D6;
  --paper-2: #EBDcc0;
  --bone: #FBF6EC;
  --ink: #2B1D12;
  --ink-soft: #5E4A39;
  --rust: #B4512A;
  --clay: #CF7A52;
  --ochre: #D8962B;
  --gold: #EDB94E;
  --olive: #6B6C36;
  --sage: #A7A67A;
  --dusk: #4A2E3E;
  --night: #16111B;
  --night-2: #211927;
  --ember: #FF9B3D;

  --display: "Fraunces", "Cooper Black", Georgia, serif;
  --body: "Fraunces", Georgia, serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --hand: "Reenie Beanie", "Bradley Hand", cursive;

  --ease: cubic-bezier(.2, .8, .2, 1);

  /* paper tooth: fractal noise lit from the top-left, like real paper fibres */
  --paper-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045 .06' numOctaves='5' seed='4' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='1.4'%3E%3CfeDistantLight azimuth='45' elevation='58'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  /* fibres & specks: the odd hair and dust caught in the scan */
  --dust: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M40 60q12 6 20 2' stroke-width='.8' opacity='.7'/%3E%3Cpath d='M300 330q-8 14-2 26' stroke-width='.7' opacity='.6'/%3E%3Cpath d='M210 120q10-4 16 3' stroke-width='.6' opacity='.5'/%3E%3Cg fill='%23fff' stroke='none'%3E%3Ccircle cx='120' cy='300' r='1.2' opacity='.8'/%3E%3Ccircle cx='350' cy='80' r='.9' opacity='.7'/%3E%3Ccircle cx='260' cy='220' r='1.5' opacity='.5'/%3E%3Ccircle cx='60' cy='190' r='.8' opacity='.8'/%3E%3Ccircle cx='390' cy='260' r='1' opacity='.6'/%3E%3Ccircle cx='170' cy='40' r='.7' opacity='.7'/%3E%3C/g%3E%3C/svg%3E");
  --wrap: min(1240px, 100% - clamp(2.5rem, 6vw, 6rem));
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.02rem, .96rem + .25vw, 1.16rem);
  line-height: 1.6;
  font-variation-settings: "opsz" 14, "SOFT" 50, "WONK" 0;
  font-weight: 380;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading main, body.is-loading .footer { opacity: 0; }
main, .footer { transition: opacity .8s var(--ease); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px dashed var(--rust); outline-offset: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 640;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); }
em { font-style: italic; color: var(--rust); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }

.wrap { width: var(--wrap); margin-inline: auto; position: relative; }

.kicker {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  display: flex; align-items: center; gap: .8rem;
}
.kicker::before {
  content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .6;
}

.handnote, .handwritten { font-family: var(--hand); font-weight: 400; line-height: 1.05; }
.handnote { font-size: 1.55rem; }

/* film grain over everything, very subtle */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .55'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(5) infinite;
  mix-blend-mode: soft-light;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* paper tooth on the daylight sections */
.hero, .story, .about, .offerings { isolation: isolate; }
.hero::before, .story::before, .about::before, .offerings::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--paper-tex) 0 0 / 360px 360px;
  mix-blend-mode: multiply; opacity: .24;
}
.story, .about, .offerings { position: relative; }

/* film-photo finish: warm light leak + a few specks of dust */
.arch::after, .polaroid__front::before, .snap::after, .filmstrip::after, .viewfinder::before {
  content: ""; position: absolute; pointer-events: none; z-index: 2;
}
.arch::after {
  inset: 0;
  background:
    var(--dust) 0 0 / 300px 300px,
    radial-gradient(70% 45% at 100% 0%, #FF8A3D66, transparent 70%),
    radial-gradient(50% 35% at 0% 100%, #E2482B33, transparent 70%);
  mix-blend-mode: screen;
}
.polaroid__front { position: relative; }
.polaroid__front::before, .snap::after {
  left: 14px; right: 14px; top: 14px; aspect-ratio: 4 / 4.4;
  background: var(--dust) 40px 20px / 340px 340px, radial-gradient(60% 50% at 95% 5%, #FF9B4A59, transparent 70%);
  mix-blend-mode: screen;
}
.snap::after { left: 12px; right: 12px; top: 12px; aspect-ratio: 4 / 5; }
.snap:nth-child(2n)::after { background: var(--dust) 120px 60px / 300px 300px, radial-gradient(55% 45% at 0% 100%, #FF7A3D4d, transparent 70%); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 1.6rem 1rem 1.7rem;
  border: 1.5px solid var(--b);
  border-radius: 999px;
  background: var(--b);
  color: var(--bone);
  font-family: var(--mono);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--rust);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.1rem; height: 1.1rem; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px) rotate(-6deg); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--bone); }
.btn--small { padding: .65rem 1.1rem; font-size: .7rem; }
.btn--light { --b: var(--bone); color: var(--ink); }
.btn--light:hover { color: var(--bone); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 clamp(1.2rem, 3vw, 2.6rem);
  color: var(--ink);
  transition: background .5s, color .5s, height .4s var(--ease), box-shadow .5s;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  height: 64px;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 12%, transparent);
}
.nav.is-night { color: var(--bone); background: color-mix(in srgb, var(--night) 80%, transparent); box-shadow: 0 1px 0 #ffffff14; }
.nav__brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.sigil { width: 40px; height: 40px; color: currentColor; }
.nav__name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: .3rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 6'%3E%3Cpath d='M0 3c5-4 5 4 10 0s5 4 10 0 5 4 10 0 5 4 10 0' fill='none' stroke='%23B4512A' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 6px;
  clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--ease);
}
.nav__links a:hover::after { clip-path: inset(0); animation: wiggle 1s linear infinite; }
@keyframes wiggle { to { background-position: 20px 0; } }
.daybar { width: 80px; color: currentColor; opacity: .7; }
.daybar__orb { fill: var(--ochre); transition: fill .6s; }
.nav.is-night .daybar__orb { fill: #F4EBD3; }
.nav.is-night .nav__cta { --b: var(--gold); color: var(--ink); }
.nav.is-night .nav__cta:hover { color: var(--bone); }
.nav__breathe { display: none; background: none; border: 0; border-bottom: 1px dashed #2B1D1233; text-align: left; padding: 1rem 0; font-family: var(--hand); font-size: 1.6rem; color: var(--rust); }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 1.6px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   HERO · dawn
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: calc(var(--nav-h) + 3vh) clamp(1.25rem, 5vw, 5rem) 11rem;
  background:
    radial-gradient(60% 55% at 75% 45%, #F6CF8A55, transparent 70%),
    radial-gradient(80% 60% at 10% 100%, #E7B98C40, transparent 70%),
    var(--paper);
  overflow: hidden;
}
.hero__title { font-size: clamp(3.1rem, 1.6rem + 6.2vw, 7.4rem); font-weight: 600; margin-bottom: .35em; }
.hero__title em { position: relative; padding-right: .06em; }
.hero__title em::after {
  content: ""; position: absolute; left: -6%; right: -8%; top: 8%; bottom: -4%;
  border: 2px solid var(--rust); border-radius: 50%; transform: rotate(-4deg);
  clip-path: inset(0 100% 0 0);
  animation: drawRing 1.4s 1.2s var(--ease) forwards;
}
@keyframes drawRing { to { clip-path: inset(0 -10% 0 0); } }
.hero__sub { max-width: 34rem; font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); color: var(--ink-soft); margin: 0 0 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.fieldnote { margin-top: 2.6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--ink-soft); display: flex; align-items: center; gap: .6rem; }
.fieldnote i { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 4px #D8962B33; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px #D8962B00; } }

.altar { position: relative; aspect-ratio: 1; width: min(100%, 620px); justify-self: center; }
.altar__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arch {
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: 46%; aspect-ratio: 3 / 4.1;
  transform: translate(-50%, -48%);
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  box-shadow: 0 0 0 8px var(--bone), 0 0 0 9.5px var(--ink), 0 30px 60px -20px #2B1D1266;
  background: var(--paper-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.92) contrast(1.03) sepia(.08); transition: transform 1.4s var(--ease); }
.altar:hover .arch img { transform: scale(1.05); }
.altar__note { position: absolute; right: -2%; bottom: 3%; transform: rotate(-6deg); color: var(--ink-soft); max-width: 13rem; text-align: right; }

/* art internals */
.sun-group { transform-origin: 300px 300px; cursor: pointer; }
.ring-slow { transform-origin: 300px 300px; animation: spin 140s linear infinite; }
.ring-rev { transform-origin: 300px 300px; animation: spin 220s linear infinite reverse; }
.ring-dance { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sun-pulse { transform-origin: 300px 300px; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.035); } }
.eclipse-moon { transition: transform 2.2s var(--ease); }
.altar.is-eclipse .eclipse-moon { transform: translateX(0) !important; }
.altar-stars { opacity: 0; transition: opacity 2s; }
.altar.is-eclipse .altar-stars, .altar.is-night .altar-stars { opacity: 1; }

.dunes { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; }
.grass { transform-box: fill-box; transform-origin: 50% 100%; animation: sway var(--d, 5s) ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(calc(var(--a, 3deg) * -1)); } to { transform: rotate(var(--a, 3deg)); } }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  position: relative; z-index: 3;
  background: var(--rust); color: var(--bone);
  transform: rotate(-1.6deg) scale(1.03);
  margin: -2.2rem 0 -1rem;
  padding: 1rem 0;
  overflow: hidden;
  box-shadow: 0 10px 30px -14px #2B1D1288;
}
.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker__track { animation-duration: 120s; }
.ticker__item { display: flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-style: italic; white-space: nowrap; }
.ticker__item svg { width: 1.6rem; height: 1.6rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   wavy section edges
   ========================================================================== */
section[data-edge] { position: relative; }
.edge path { filter: url(#f-wobble); }
.edge { position: absolute; left: 0; right: 0; top: 1px; height: 70px; width: 100%; transform: translateY(-100%); fill: var(--bg); pointer-events: none; }

/* ==========================================================================
   STORY · morning
   ========================================================================== */
.story { --bg: var(--bone); background: var(--bg); padding: clamp(6rem, 12vw, 10rem) 0 clamp(5rem, 9vw, 8rem); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story__title { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.9rem); }
.story__lines { list-style: none; margin: 2.4rem 0 0; padding: 0; counter-reset: l; }
.story__lines li {
  counter-increment: l;
  font-family: var(--display);
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 0;
  font-size: clamp(1.2rem, 1rem + .9vw, 1.7rem);
  line-height: 1.25;
  padding: .55rem 0 .55rem 3.2rem;
  position: relative;
  border-bottom: 1px dashed #2B1D1226;
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), color .4s;
}
.story__lines li::before {
  content: counter(l, upper-roman);
  position: absolute; left: 0; top: .95rem;
  font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; color: var(--rust);
}
.story__lines li:last-child { font-style: italic; color: var(--rust); border: 0; }
.story__lines.is-in li { opacity: 1; transform: none; }
.story__lines li:hover { color: var(--rust); }

.filmstrip {
  position: relative;
  display: grid; grid-template-columns: 26px 1fr 26px;
  background: #1D1611;
  padding: 18px 0;
  border-radius: 6px;
  transform: rotate(2.2deg);
  box-shadow: 0 40px 70px -30px #2B1D12aa;
  max-width: 380px; justify-self: center; width: 100%;
}
.filmstrip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: 2px; filter: sepia(.12) contrast(1.04); }
.filmstrip__holes {
  background: var(--paper);
  --hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='30'%3E%3Crect x='7' y='8' width='12' height='14' rx='3'/%3E%3C/svg%3E");
  -webkit-mask: var(--hole) 0 0 / 26px 30px repeat-y;
  mask: var(--hole) 0 0 / 26px 30px repeat-y;
  opacity: .92;
}
.filmstrip.is-playing .filmstrip__holes { animation: sprocket .6s linear infinite; }
@keyframes sprocket { to { -webkit-mask-position: 0 30px; mask-position: 0 30px; } }
.filmstrip__sound {
  position: absolute; right: 38px; top: 30px;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: #000a; color: var(--bone); border: 1px solid #ffffff55; border-radius: 99px; padding: .4rem .7rem;
}
.filmstrip__label { position: absolute; left: 50%; bottom: -3.2rem; transform: translateX(-50%) rotate(-3deg); font-family: var(--hand); font-size: 1.5rem; white-space: nowrap; color: var(--ink-soft); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { --bg: var(--paper); background: var(--bg); padding: clamp(6rem, 11vw, 9rem) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about__title { font-size: clamp(3rem, 2rem + 4vw, 5.6rem); }
.prose p { margin: 0 0 1.1em; max-width: 38rem; }
.prose p:first-child { font-size: 1.25em; font-family: var(--display); font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; line-height: 1.35; }

.polaroid { position: relative; perspective: 1400px; cursor: pointer; }
.polaroid__inner { position: relative; transition: transform 1s var(--ease); transform-style: preserve-3d; transform: rotate(-3deg); }
.polaroid--flip:hover .polaroid__inner, .polaroid--flip:focus .polaroid__inner, .polaroid--flip.is-flipped .polaroid__inner { transform: rotate(-1deg) rotateY(180deg); }
.polaroid__front, .polaroid__back {
  background: #FFFDF7; padding: 14px 14px 64px;
  box-shadow: 0 2px 0 #0000000d, 0 30px 50px -25px #2B1D1288;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.polaroid__front img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; filter: sepia(.15) saturate(.9); }
.polaroid__front .handnote { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: var(--ink-soft); }
.polaroid__back {
  position: absolute; inset: 0; transform: rotateY(180deg);
  display: grid; place-items: center; text-align: center; padding: 2.4rem;
  background: #F8F1E1 repeating-linear-gradient(0deg, transparent 0 31px, #2B1D1214 31px 32px);
}
.polaroid__back .handnote { font-size: 2rem; color: var(--ink); }
.polaroid__mark { width: 46px; height: 46px; color: var(--rust); position: absolute; bottom: 24px; }
.tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 32px; transform: translateX(-50%) rotate(-4deg);
  background: #E8D7A9b3; box-shadow: 0 1px 2px #0002; z-index: 2;
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0) , url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='32'%3E%3Cpath d='M0 0h6v32H0z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   PRACTICE · the forest, a camcorder & a counter
   ========================================================================== */
.practice { --bg: #2F3A26; background: radial-gradient(90% 70% at 80% 30%, #3F4D31, var(--bg) 70%); color: var(--bone); padding: clamp(6rem, 10vw, 8rem) 0; position: relative; overflow-x: clip; }
.practice::after { content: ""; position: absolute; inset: 0; background: var(--paper-tex) 0 0 / 360px 360px; mix-blend-mode: soft-light; opacity: .5; pointer-events: none; }
.practice__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; position: relative; z-index: 1; }
.practice .kicker { color: #CFD3A6; }
.odo {
  display: flex; align-items: flex-end;
  font-family: var(--display); font-weight: 700; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(6rem, 3rem + 12vw, 13rem); line-height: .9; letter-spacing: -.04em;
  color: var(--gold);
  text-shadow: 4px 4px 0 #B4512A;
}
.odo__digit { display: inline-block; height: 1em; line-height: 1; overflow: hidden; position: relative; padding-right: .02em; }
.odo__reel { display: flex; flex-direction: column; transition: transform 2.6s cubic-bezier(.2, .9, .1, 1); transition-delay: var(--dl, 0s); }
.odo__reel span { height: 1em; line-height: 1; display: block; }
.odo__label { font-family: var(--mono); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #CFD3A6; margin: 1rem 0 2.2rem; }
.practice__quote { margin: 0; }
.practice__quote p { font-family: var(--display); font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem); line-height: 1.3; margin: 0; max-width: 34rem; }
.practice__quote p::before { content: "“"; color: var(--gold); margin-left: -.45em; }
.practice__quote p::after { content: "”"; color: var(--gold); }
.practice__note { color: var(--gold); margin-top: 1.6rem; transform: rotate(-2deg); }

.viewfinder {
  position: relative; justify-self: center; width: min(100%, 360px);
  border-radius: 18px; overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 10px #1C2216, 0 0 0 11px #ffffff1a, 0 40px 60px -25px #000;
}
.viewfinder video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; filter: saturate(.9) contrast(1.05) sepia(.08); }
.viewfinder::before { inset: 0; background: radial-gradient(ellipse at center, transparent 55%, #0008 100%), repeating-linear-gradient(0deg, #0000 0 2px, #0000001a 2px 3px); z-index: 1; }
.vf { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: #F3E9D6; text-shadow: 0 1px 2px #000a; }
.vf__c { position: absolute; width: 22px; height: 22px; border: 2px solid #F3E9D6cc; }
.vf__c--tl { left: 16px; top: 16px; border-right: 0; border-bottom: 0; }
.vf__c--tr { right: 16px; top: 16px; border-left: 0; border-bottom: 0; }
.vf__c--bl { left: 16px; bottom: 16px; border-right: 0; border-top: 0; }
.vf__c--br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; }
.vf__rec { position: absolute; left: 46px; top: 22px; display: flex; align-items: center; gap: .4rem; }
.vf__rec b { width: 9px; height: 9px; border-radius: 50%; background: #FF3B2F; box-shadow: 0 0 8px #FF3B2F; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vf__bat { position: absolute; right: 46px; top: 22px; display: flex; gap: 2px; padding: 2px; border: 1.5px solid #F3E9D6cc; border-radius: 2px; }
.vf__bat i { width: 4px; height: 8px; background: #F3E9D6cc; }
.vf__bat i:last-child { animation: blink 2.4s steps(1) infinite; }
.vf__cross { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); opacity: .5;
  background: linear-gradient(#F3E9D6, #F3E9D6) center / 1.5px 100% no-repeat, linear-gradient(#F3E9D6, #F3E9D6) center / 100% 1.5px no-repeat; }
.vf__tc { position: absolute; left: 46px; bottom: 22px; }
.vf__date { position: absolute; right: 46px; bottom: 22px; color: #FFB347; font-weight: 700; }
.vf__sound { position: absolute; z-index: 3; left: 50%; bottom: 52px; transform: translateX(-50%); font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; background: #000a; color: var(--bone); border: 1px solid #ffffff55; border-radius: 99px; padding: .4rem .8rem; }

/* ==========================================================================
   OFFERINGS · midday
   ========================================================================== */
.offerings { --bg: var(--paper-2); background: var(--bg); padding: 0 0 clamp(6rem, 10vw, 9rem); }
.stripes { width: 100%; height: 120px; display: block; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--light { color: var(--bone); }
.section-head--light em { color: var(--gold); }
.section-note { font-size: 1.08rem; opacity: .85; max-width: 34rem; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.6rem); perspective: 1200px; }
.card {
  --tilt-x: 0deg; --tilt-y: 0deg;
  position: relative;
  background: var(--bone);
  border: 1.5px solid var(--ink);
  border-radius: 999px 999px 18px 18px;
  padding: 2.6rem 1.5rem 1.6rem;
  display: flex; flex-direction: column; text-align: center;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
  box-shadow: 6px 6px 0 var(--ink);
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid #2B1D1240; border-radius: inherit; pointer-events: none;
}
.card:hover { box-shadow: 12px 14px 0 var(--rust); }
.card__num { font-family: var(--mono); font-size: .72rem; letter-spacing: .3em; color: var(--rust); }
.card__glyph {
  width: 92px; height: 92px; margin: 1.2rem auto 1.1rem; color: var(--ink);
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 54%, transparent 55%);
  transition: transform 1.2s var(--ease);
  transform: translateZ(30px);
}
.card__glyph svg { width: 54px; height: 54px; filter: url(#f-rough); }
.card:hover .card__glyph { transform: translateZ(40px) rotate(360deg); }
.card:nth-child(2) .card__glyph { background: radial-gradient(circle, var(--clay) 0 54%, transparent 55%); }
.card:nth-child(3) .card__glyph { background: radial-gradient(circle, var(--sage) 0 54%, transparent 55%); }
.card:nth-child(4) .card__glyph { background: radial-gradient(circle, #E8C9A0 0 54%, transparent 55%); }
.card h3 { font-size: 1.65rem; margin-bottom: .3rem; }
.card__format { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1rem; }
.card__text { font-size: .98rem; margin: 0 0 1rem; }
.card__details { font-size: .82rem; font-style: italic; color: var(--ink-soft); margin: 0 0 1.4rem; padding-top: .9rem; border-top: 1px dashed #2B1D1240; }
.card__foot { margin-top: auto; display: grid; gap: .8rem; justify-items: center; }
.card__price { font-family: var(--hand); font-size: 1.7rem; color: var(--rust); line-height: 1; }
.card .btn { width: 100%; justify-content: center; padding-inline: 1rem; }

/* ==========================================================================
   GATHERINGS · afternoon
   ========================================================================== */
.gatherings { --bg: var(--rust); background: var(--bg); color: var(--bone); padding: clamp(6rem, 10vw, 8rem) 0; overflow-x: clip; }
.gatherings::after {
  content: ""; position: absolute; right: -12vw; top: 8%; width: 46vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #F3E9D640 1.6px, transparent 2px) 0 0 / 13px 13px;
  -webkit-mask: radial-gradient(circle, #000 0 22%, transparent 68%);
  mask: radial-gradient(circle, #000 0 22%, transparent 68%);
  pointer-events: none;
}
.tickets { display: grid; gap: 1.2rem; position: relative; z-index: 1; }
.ticket {
  display: grid; grid-template-columns: 11rem 1fr auto; align-items: stretch;
  background: var(--bone); color: var(--ink);
  border-radius: 14px;
  position: relative;
  transition: transform .5s var(--ease);
  -webkit-mask: radial-gradient(circle 13px at 11rem 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 11rem 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 13px at 11rem 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 11rem 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket:hover { transform: translateX(10px) rotate(-.4deg); }
.ticket__date {
  display: grid; place-items: center; text-align: center; padding: 1.4rem 1rem;
  border-right: 2px dashed #2B1D1255;
  font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-weight: 640; font-size: 1.35rem; line-height: 1.05;
  color: var(--rust);
}
.ticket__body { padding: 1.4rem 1.8rem; }
.ticket__body h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin: 0 0 .4rem; }
.ticket__meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.ticket__meta span { display: inline-flex; gap: .4rem; align-items: center; }
.ticket__meta svg { width: 14px; height: 14px; }
.ticket__cta { display: grid; place-items: center; padding: 1.2rem 1.6rem; }
.ticket__stamp { position: absolute; right: 13rem; top: 50%; transform: translateY(-50%) rotate(-12deg); font-family: var(--mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rust); border: 1.5px solid currentColor; border-radius: 50%; width: 76px; height: 76px; display: grid; place-items: center; text-align: center; opacity: .0; transition: opacity .4s; line-height: 1.3; }
.ticket:hover .ticket__stamp { opacity: .55; }

/* ==========================================================================
   MOMENTS · golden hour
   ========================================================================== */
.moments { --bg: #9C4A33; background: linear-gradient(180deg, var(--bg) 0%, #7A3B3A 55%, var(--dusk) 100%); color: var(--bone); padding: clamp(6rem, 10vw, 8rem) 0 clamp(5rem, 8vw, 7rem); overflow-x: clip; }
.moments .section-head { margin-bottom: 0; }
.moments__hint { color: var(--gold); transform: rotate(-3deg); display: inline-block; margin-top: .4rem; }
.table { position: relative; height: clamp(560px, 62vw, 760px); }
.snap {
  position: absolute; width: clamp(200px, 22vw, 300px);
  background: #FFFDF7; padding: 12px 12px 52px; color: var(--ink);
  box-shadow: 0 25px 40px -20px #000a;
  transform: rotate(var(--r, 0deg));
  touch-action: none; user-select: none; -webkit-user-select: none;
  cursor: grab;
  transition: box-shadow .3s, transform .4s var(--ease);
}
.snap:hover { transform: rotate(calc(var(--r) * .4)) scale(1.03); }
.snap.is-drag { cursor: grabbing; box-shadow: 0 50px 60px -24px #000c; transform: rotate(0) scale(1.06); transition: box-shadow .3s; }
.snap img, .snap video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; pointer-events: none; filter: sepia(.12) saturate(.95); }
.snap .handnote { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 1.45rem; }
.snap .tape { width: 84px; height: 24px; top: -10px; }

/* ==========================================================================
   VOICES · dusk, the council around the fire
   ========================================================================== */
.voices { --bg: var(--dusk); background: linear-gradient(180deg, var(--dusk), var(--night-2) 75%); color: var(--bone); padding: clamp(6rem, 10vw, 8rem) 0; overflow-x: clip; }
.stars { position: absolute; inset: 0; pointer-events: none; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #FFF6DC; animation: twinkle var(--t, 4s) ease-in-out infinite; animation-delay: var(--dl, 0s); opacity: .7; }
@keyframes twinkle { 50% { opacity: .15; transform: scale(.6); } }
.council { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; position: relative; }
.council__ring { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.council__ring::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  border: 1px dashed #F3E9D638;
}
.council__ring::after {
  content: ""; position: absolute; inset: 30%; border-radius: 50%;
  background: radial-gradient(circle, #FF9B3D55, transparent 65%);
  animation: glow 3s ease-in-out infinite;
}
@keyframes glow { 50% { transform: scale(1.12); opacity: .7; } }
.council__fire { position: absolute; left: 50%; top: 50%; width: 28%; transform: translate(-50%, -58%); z-index: 2; }
.seat {
  position: absolute; left: 50%; top: 50%;
  width: 66px; height: 54px; margin: -27px 0 0 -33px;
  border: 0; background: none; padding: 0;
  transform: rotate(var(--a)) translate(calc(var(--rad) * -1)) rotate(calc(var(--a) * -1));
  color: #8B7B6E;
  transition: color .5s;
}
.seat svg { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.seat span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--night); padding-top: 2px; }
.seat:hover svg { transform: translateY(-4px) rotate(-6deg); }
.seat.is-active { color: var(--gold); }
.seat.is-active svg { transform: scale(1.18); }
.council__stick {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 96px; margin: -48px 0 0 -8px;
  transform: rotate(var(--a, 0deg)) translate(calc(var(--rad, 0px) * -.66)) rotate(90deg);
  transition: transform 1.1s var(--ease);
  z-index: 3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 96'%3E%3Crect x='6' y='8' width='4' height='86' rx='2' fill='%23C9A36B'/%3E%3Cpath d='M5 30h6M5 34h6M5 60h6' stroke='%23B4512A' stroke-width='2'/%3E%3Cpath d='M8 0c4 4 5 10 1 16-4-6-4-12-1-16Z' fill='%23EDB94E'/%3E%3Cpath d='M8 70c3 6 2 14-2 20M10 70c4 5 6 10 4 16' stroke='%23F3E9D6' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
.council__quote { margin: 0; min-height: 20rem; display: flex; flex-direction: column; justify-content: center; }
.council__quote blockquote { margin: 0; }
.council__quote blockquote p {
  font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); line-height: 1.2; font-weight: 400; margin: 0 0 1.4rem;
  transition: opacity .5s, transform .5s var(--ease), filter .5s;
}
.council__quote blockquote p::before { content: "“"; color: var(--gold); margin-left: -.45em; }
.council__quote blockquote p::after { content: "”"; color: var(--gold); }
.council__quote.is-out blockquote p { opacity: 0; transform: translateY(8px); filter: blur(4px); }
.council__quote figcaption { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.council__hint { color: #F3E9D699; margin-top: 2rem; transform: rotate(-2deg); }

/* fire (shared) */
.fire { position: relative; width: 100%; aspect-ratio: 1 / 1.1; }
.fire svg { width: 100%; height: 100%; overflow: visible; }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker var(--d, 1.6s) ease-in-out infinite alternate; }
@keyframes flicker {
  0% { transform: scale(1, 1) skewX(0deg); }
  35% { transform: scale(.94, 1.08) skewX(-3deg); }
  70% { transform: scale(1.04, .95) skewX(2.5deg); }
  100% { transform: scale(.97, 1.05) skewX(-1deg); }
}
.ember { position: absolute; bottom: 30%; width: 3px; height: 3px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 6px var(--ember); animation: rise var(--d, 3s) ease-out infinite; animation-delay: var(--dl, 0s); opacity: 0; }
@keyframes rise {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x, 10px), -160px); }
}

/* ==========================================================================
   FEEDBACK · evening
   ========================================================================== */
.feedback { background: var(--night-2); color: var(--bone); padding: clamp(5rem, 9vw, 8rem) 0; position: relative; }
.feedback__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.letter {
  color: var(--ink); padding: 2.6rem 2.6rem 2.2rem;
  transform: rotate(-2deg);
  position: relative; isolation: isolate;
  filter: drop-shadow(0 0 60px #FF9B3D33) drop-shadow(0 24px 30px #0009);
}
.letter::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 100% 100%, #C9884A40, transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 37px, #2B1D121a 37px 38px),
    var(--paper-tex) 0 0 / 360px 360px,
    #F6EBD3;
  background-blend-mode: normal, normal, multiply, normal;
  filter: url(#f-deckle);
}
.letter .kicker { color: var(--rust); }
.letter__body p { font-size: 2.05rem; line-height: 1.15; margin: 0 0 .9rem; }
.letter__sig { font-size: 2.4rem; text-align: right; margin: 0; display: flex; justify-content: flex-end; align-items: center; gap: .5rem; }
.letter__sig svg { width: 34px; height: 34px; color: var(--rust); }
.form h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.form label { display: grid; gap: .4rem; margin-bottom: 1.2rem; font-size: .95rem; color: #F3E9D6d9; }
.form small { opacity: .6; }
.form input:not([type]), .form input[type=text], .form input[type=email], .form textarea {
  font: inherit; color: var(--bone); background: transparent;
  border: 0; border-bottom: 1.5px solid #F3E9D655; padding: .55rem 0; resize: vertical;
  transition: border-color .3s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; }
.form .check input { margin-top: .3rem; accent-color: var(--gold); }
.form .btn { --b: var(--gold); color: var(--ink); }
.form .btn:hover { color: var(--bone); }
.form__thanks { font-family: var(--hand); font-size: 2rem; color: var(--gold); }

/* ==========================================================================
   BOOK · night
   ========================================================================== */
.book { background: var(--night); color: var(--bone); padding: clamp(6rem, 10vw, 8rem) 0; position: relative; overflow: hidden; }
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.book h2 em, .feedback h2 em { color: var(--gold); }
.book__text { font-size: 1.12rem; opacity: .85; max-width: 30rem; }
.badge { position: relative; width: 170px; height: 170px; margin-top: 2.6rem; }
.badge > svg:first-child { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge text { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; fill: var(--gold); }
.badge__glyph { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); color: var(--gold); animation: spin 18s linear infinite reverse; }
.slots { display: grid; gap: 1.2rem; }
.slot {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center;
  padding: 1.6rem 1.8rem;
  border: 1px solid #F3E9D633; border-radius: 22px;
  background: linear-gradient(135deg, #ffffff0a, #ffffff02);
  transition: border-color .4s, transform .5s var(--ease), background .4s;
  text-align: left; color: inherit; width: 100%;
}
.slot:hover { border-color: var(--gold); transform: translateY(-3px); background: linear-gradient(135deg, #EDB94E1f, #ffffff05); }
.slot__time { width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; color: var(--gold); text-align: center; line-height: 1.1; }
.slot h3 { font-size: 1.6rem; margin: 0 0 .2rem; }
.slot p { margin: 0 0 .7rem; opacity: .75; font-size: .96rem; }
.slot__go { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: .5rem; }
.slot__go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.slot:hover .slot__go svg { transform: translateX(6px); }

/* ==========================================================================
   FOOTER · the fire
   ========================================================================== */
.footer { background: var(--night); color: var(--bone); padding: 2rem 1.5rem 3rem; text-align: center; position: relative; }
.hearth { width: 190px; margin: 0 auto 1rem; position: relative; cursor: pointer; transition: transform .6s var(--ease); }
.hearth:active { transform: scale(.96); }
.hearth__fire { transition: transform 1s var(--ease); transform-origin: 50% 100%; }
.hearth__hint { color: #F3E9D699; margin: .4rem 0 0; min-height: 1.6em; }
.footer__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 2.4rem; margin: 1.6rem 0; }
.footer__row a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; }
.footer__row a:hover { color: var(--gold); }
.footer__row svg { width: 20px; height: 20px; }
.footer__line { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin: 0; }

/* ==========================================================================
   hidden stones
   ========================================================================== */
.stone {
  position: absolute; z-index: 4; width: 26px; height: 26px; padding: 0; border: 0; background: none;
  color: #8E7A63; opacity: .55;
  transition: opacity .3s, transform .4s var(--ease);
  --stone-mark: var(--paper);
}
.stone svg { width: 100%; height: 100%; }
.stone:hover { opacity: 1; transform: scale(1.25) rotate(-10deg); }
.stone.is-found { pointer-events: none; animation: collect .9s var(--ease) forwards; }
@keyframes collect { 40% { transform: translateY(-30px) scale(1.4); opacity: 1; } 100% { transform: translateY(-60px) scale(0); opacity: 0; } }
.altar .stone { left: 9%; bottom: 12%; }
.stone--story { right: 6%; bottom: 3rem; }
.stone--about { left: 4%; top: 22%; }
.stone--offer { right: 3%; top: 140px; }
.stone--gather { left: 50%; bottom: 2rem; color: #7E3519; --stone-mark: var(--rust); }
.stone--voices { right: 8%; top: 16%; color: #6B5568; --stone-mark: var(--dusk); }
.stone--footer { left: 12%; bottom: 2.2rem; color: #3C3244; --stone-mark: var(--night); }
.pouch {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  display: flex; align-items: center; gap: .45rem;
  background: var(--ink); color: var(--bone);
  font-family: var(--mono); font-size: .74rem;
  padding: .5rem .85rem .5rem .6rem; border-radius: 99px;
  box-shadow: 0 10px 30px -10px #0008;
  animation: popIn .6s var(--ease);
  --stone-mark: var(--ink);
}
.pouch svg { width: 20px; height: 20px; color: var(--gold); }
.pouch.bump { animation: bump .5s var(--ease); }
@keyframes popIn { from { transform: translateY(30px); opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.2) rotate(-6deg); } }

/* ==========================================================================
   breathe trinket
   ========================================================================== */
.breathe-btn {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--paper);
  display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .4s var(--ease), background .4s, color .4s, border-color .4s, box-shadow .4s;
}
.breathe-btn::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--gold); animation: breatheDot 10s ease-in-out infinite; z-index: -0; }
.breathe-btn span { position: relative; font-family: var(--hand); font-size: 1.12rem; line-height: 1; }
.breathe-btn:hover { transform: rotate(-8deg) scale(1.06); }
.breathe-btn.is-night { background: var(--night-2); color: var(--bone); border-color: var(--bone); box-shadow: 3px 3px 0 var(--gold); }
@keyframes breatheDot { 0%, 100% { transform: scale(.45); opacity: .7; } 40%, 55% { transform: scale(1); opacity: 1; } }

.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; animation: fadeIn .8s var(--ease); }
.overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.breathe { background: radial-gradient(circle at 50% 50%, #F6E3BD, var(--paper) 60%); color: var(--ink); }
.breathe__orb {
  width: min(64vmin, 440px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, var(--gold) 0 30%, var(--clay) 62%, var(--rust) 100%);
  box-shadow: 0 0 0 16px #EDB94E33, 0 0 0 40px #EDB94E1a, 0 0 120px 30px #D8962B55;
  transform: scale(.42);
  transition: transform 4s cubic-bezier(.45, 0, .55, 1);
}
.breathe__orb span { font-family: var(--display); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-style: italic; font-size: clamp(2rem, 5vmin, 3.4rem); color: var(--bone); transform: scale(calc(1 / var(--s, .42))); transition: transform 4s cubic-bezier(.45, 0, .55, 1); }
.breathe__help { position: absolute; bottom: 8vh; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }


/* ==========================================================================
   modal, toast, sparks
   ========================================================================== */
.modal {
  border: 1.5px solid var(--ink); border-radius: 24px; padding: 2.2rem;
  width: min(760px, 94vw); max-height: 90vh;
  background: var(--bone); color: var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.modal[open] { animation: modalIn .6s var(--ease); }
@keyframes modalIn { from { transform: translateY(30px) rotate(1deg); opacity: 0; } }
.modal::backdrop { background: #16111Bb3; backdrop-filter: blur(4px); }
.modal__close { position: absolute; right: 1rem; top: .8rem; border: 0; background: none; font-size: 2rem; line-height: 1; }
.modal iframe { width: 100%; height: min(70vh, 700px); border: 0; border-radius: 12px; background: #fff; }
.modal h3 { font-size: 2rem; }
.modal .contact-list { display: grid; gap: .8rem; margin-top: 1.4rem; }
.modal--secret { text-align: center; background: var(--night); color: var(--bone); border-color: var(--gold); box-shadow: 0 0 100px -10px #EDB94E66; width: min(560px, 92vw); }
.modal--secret h3 { color: var(--gold); }
.modal--secret p { font-size: 2rem; line-height: 1.15; }
.secret__ring { width: 160px; height: 160px; margin: 0 auto 1rem; color: var(--gold); animation: spin 30s linear infinite; }

.toast {
  position: fixed; left: 50%; top: 92px; z-index: 120;
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bone);
  padding: .8rem 1.3rem; border-radius: 99px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  transition: opacity .5s, transform .5s var(--ease);
  max-width: 90vw; text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.spark { position: fixed; z-index: 110; width: 6px; height: 6px; margin: -3px; border-radius: 50%; pointer-events: none; animation: spark .7s var(--ease) forwards; }
@keyframes spark { to { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }

/* ==========================================================================
   reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.ticket.reveal { transform: translateX(-30px); }
.ticket.reveal.is-in { transform: none; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daybar { display: none; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .breathe-btn, .pouch { transition: opacity .4s, transform .4s var(--ease); }
  body:not(.past-hero) .breathe-btn, body:not(.past-hero) .pouch { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .footer { padding-bottom: 5rem; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 0;
    background: var(--paper); color: var(--ink); padding: 1rem 1.5rem 2rem;
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease);
    box-shadow: 0 20px 30px -20px #0005;
  }
  .nav__links a { padding: 1rem 0; font-size: .85rem; border-bottom: 1px dashed #2B1D1233; }
  .nav.is-open .nav__links { clip-path: inset(0); }
  .nav__brand { margin-right: auto; }
  .nav__burger { display: block; }
  .nav { gap: .8rem; }
  .breathe-btn { display: none; }
  .nav__breathe { display: block !important; }
  .hero { grid-template-columns: 1fr; padding-bottom: 9rem; text-align: left; }
  .altar { width: min(92vw, 480px); order: -1; margin-top: 1rem; }
  .altar__note { right: 0; bottom: -2%; font-size: 1.3rem; }
  .story__grid, .about__grid, .council, .feedback__grid, .book__grid, .practice__grid { grid-template-columns: 1fr; }
  .viewfinder { width: min(80vw, 320px); }
  .filmstrip { max-width: 300px; margin-bottom: 3rem; }
  .about__grid .polaroid { max-width: 340px; margin: 0 auto; }
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket__date { border-right: 0; border-bottom: 2px dashed #2B1D1255; padding: 1rem; }
  .ticket__cta { padding: 0 1.8rem 1.6rem; justify-items: start; }
  .ticket__stamp { display: none; }
  .table { height: auto; display: flex; gap: 1.4rem; overflow-x: auto; padding: 1.5rem .5rem 2rem; scroll-snap-type: x mandatory; margin: 0 -1.25rem; }
  .snap { position: relative; left: auto !important; top: auto !important; flex: 0 0 72%; scroll-snap-align: center; cursor: default; }
  .council__quote { min-height: 16rem; }
  .badge { width: 130px; height: 130px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .breathe-btn { width: 50px; height: 50px; left: .8rem; bottom: .8rem; }
  .breathe-btn span { font-size: .95rem; }
  .pouch { right: .8rem; bottom: .8rem; }
  .letter__body p { font-size: 1.75rem; }
}

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