:root {
  --ink: #1f2421;
  --ink-2: #4d5550;
  --cream: #faf7f2;
  --sage: #5f7a61;
  --sage-d: #4a614c;
  --terra: #d9825b;
  --line: rgba(31, 36, 33, .1);
  --pale: #e6ddcc;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --fell: "IM Fell English", "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: #000;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.sec { position: relative; padding: 128px 0; }

/* ---------- overlays ---------- */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.grain {
  inset: -100px;
  opacity: 0;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(4) infinite;
  mix-blend-mode: overlay;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-40px, 30px); }
  50% { transform: translate(30px, -50px); } 75% { transform: translate(-20px, -20px); } 100% { transform: translate(0, 0); }
}
.vignette { opacity: 0; background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.9) 100%); }
.flash { background: #000; opacity: 0; z-index: 91; }
.flash.on { opacity: .85; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250, 247, 242, .78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: opacity .6s, transform .6s;
}
.nav.gone { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -.01em; }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--sage); position: relative; }
.logo-mark::after { content: ""; position: absolute; left: 7px; top: 8px; width: 12px; height: 10px; background: var(--cream); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.nav-links { display: flex; gap: 32px; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; transition: transform .2s, background .2s, box-shadow .2s;
}
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.primary { background: var(--sage); color: #fff; box-shadow: 0 6px 20px -8px rgba(74, 97, 76, .7); }
.btn.primary:hover { background: var(--sage-d); transform: translateY(-1px); }
.btn.ghost { border-color: rgba(31, 36, 33, .18); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: rgba(31, 36, 33, .05); }

/* ---------- hero ---------- */
#hero { padding-top: 150px; padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #eef2ea; color: var(--sage-d); font-size: 13px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6cae6f; box-shadow: 0 0 0 4px rgba(108, 174, 111, .2); }
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -.025em; margin: 22px 0 22px; }
.display em { font-style: italic; font-weight: 500; color: var(--sage); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.ctas { display: flex; gap: 12px; margin: 34px 0 30px; flex-wrap: wrap; }
.proof { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); }
.proof strong { color: #d39b3b; letter-spacing: 1px; margin-right: 4px; }
.stack { display: flex; }
.stack i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; border: 2px solid var(--cream); margin-left: -10px; }
.stack i:first-child { margin-left: 0; }

.hero-art { position: relative; }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 560 / 683; box-shadow: 0 40px 80px -40px rgba(60, 50, 35, .5); margin-left: auto; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero-sheen { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 236, 200, .1), transparent 40%, rgba(40, 30, 10, .18)); pointer-events: none; }
.watcher {
  position: absolute; left: 54.5%; top: 50.5%; height: 9.5%; width: auto;
  opacity: .2; filter: blur(.7px); mix-blend-mode: screen; transform-origin: 50% 100%;
  transition: left 0s, top 0s, opacity 3s, height 3s;
}
.returned .watcher { left: 47%; top: 46%; height: 17%; opacity: .5; filter: blur(.4px); }
.returned .hero-photo img { filter: saturate(.7) contrast(1.05); }
.chip { position: absolute; display: flex; gap: 12px; align-items: center; background: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(40, 35, 25, .35); font-size: 14px; animation: bob 6s ease-in-out infinite; }
.chip small { display: block; color: var(--ink-2); font-size: 12px; }
.chip-a { left: -28px; top: 44px; }
.chip-b { right: -20px; bottom: 60px; animation-delay: -3s; }
.chip-ico { font-size: 20px; }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 5px rgba(217, 130, 91, .2); }
@keyframes bob { 50% { transform: translateY(-8px); } }

.logos { margin-top: 96px; text-align: center; }
.logos p { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: #8b918c; margin-bottom: 22px; }
.logo-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; color: #9aa09b; }
.l1 { font-family: var(--serif); font-size: 22px; font-style: italic; }
.l2 { font-weight: 700; letter-spacing: .3em; font-size: 16px; }
.l3 { font-family: Georgia, serif; font-size: 20px; }
.l4 { font-weight: 500; font-size: 20px; letter-spacing: -.03em; }
.l5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- section heads ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); margin-bottom: 14px; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.sub { font-size: 18px; color: var(--ink-2); margin-top: 16px; }

.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: 22px; padding: 32px; border: 1px solid var(--line); box-shadow: 0 20px 40px -32px rgba(40, 35, 25, .4); }
.card h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 18px 0 8px; }
.card p { color: var(--ink-2); }
.card-img { display: block; width: calc(100% + 64px); margin: -32px -32px 6px; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 22px 22px 0 0; max-width: none; }
.ico { width: 52px; height: 52px; border-radius: 14px; background: #eef2ea; display: grid; place-items: center; font-size: 26px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { color: var(--ink-2); font-size: 15px; }
.days { color: #8a3b2b; }
.footnote { text-align: center; font-size: 12px; color: #9b9283; margin-top: 40px; }

/* ---------- testimonials ---------- */
#stories .card { background: #fbf8f1; }
.quote blockquote { font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.quote figcaption small { display: block; color: var(--ink-2); font-size: 13px; }
.face-slot svg { width: 52px; height: 52px; display: block; border-radius: 50%; }
.cut { color: #8a3b2b; }

/* ---------- steps ---------- */
.steps { list-style: none; max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.steps li { display: flex; gap: 28px; align-items: flex-start; background: rgba(255, 255, 255, .45); border-radius: 20px; padding: 28px 32px; border: 1px solid var(--line); }
.steps li > span { font-family: var(--serif); font-size: 30px; color: var(--sage); min-width: 46px; }
.steps h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.steps p { color: var(--ink-2); }
.steps .wrong { background: rgba(255, 255, 255, .25); }
.steps .wrong > span { color: #8a3b2b; }
.steps .more { opacity: .75; }
.steps .more p { font-size: 13px; letter-spacing: .04em; word-break: break-word; }

/* ---------- pricing ---------- */
.billing { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.switch { width: 50px; height: 28px; border-radius: 99px; border: 0; background: var(--ink); position: relative; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s; }
.switch.on i { transform: translateX(22px); }
.prices .card { background: #f3eee4; display: flex; flex-direction: column; position: relative; }
.price h3 { margin-top: 0; }
.amt { font-family: var(--serif); font-size: 36px; color: var(--ink) !important; font-weight: 600; margin: 6px 0 20px; line-height: 1.15; }
.amt small { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.price ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.price li { padding-left: 26px; position: relative; color: var(--ink-2); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.price .fine { font-size: 12px; margin-top: 12px; }
.featured { background: var(--ink) !important; color: #f3eee4; transform: translateY(-10px); }
.featured .amt, .featured h3 { color: #f3eee4 !important; }
.featured li, .featured .amt small { color: #c9c1b2; }
.badge { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 600; background: var(--terra); color: #fff; padding: 4px 10px; border-radius: 99px; }

/* ---------- dark-ish sections ---------- */
.on-dark { color: #efe7da; }
.on-dark .eyebrow { color: #c9b58f; }
.on-dark .sub { color: #cfc5b4; }

.faq details { border-bottom: 1px solid rgba(239, 231, 218, .2); padding: 22px 4px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 21px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; opacity: .7; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; color: #d6ccbb; font-size: 17px; }
.faq .later { font-family: var(--fell); font-style: italic; color: #e8b9a8; font-size: 20px; opacity: 0; transition: opacity 3s 1.5s; }
.faq details[open] .later { opacity: 1; }

.name-form { display: flex; gap: 10px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.name-form input {
  height: 52px; width: min(320px, 100%); padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(239, 231, 218, .3); background: rgba(0, 0, 0, .25); color: #efe7da;
  font: inherit; font-size: 16px; outline: none;
}
.name-form input:focus { border-color: #c9b58f; }
.name-form .btn { height: 52px; background: #8d7a57; box-shadow: none; }
.name-reply { min-height: 3.2em; margin-top: 26px; font-family: var(--fell); font-size: 22px; font-style: italic; color: #e3d6bf; }

/* ---------- ritual (deep) ---------- */
.ritual { font-family: var(--fell); font-weight: 400; letter-spacing: 0; }
.deep { color: #d9d0c1; }
.deep .h2 { font-family: var(--fell); font-weight: 400; }
.facts { list-style: none; margin: 48px 0; display: grid; gap: 22px; }
.facts li { font-family: var(--fell); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: #c8bead; border-left: 1px solid rgba(200, 190, 173, .25); padding-left: 22px; }
.facts li b { color: #f0e6d6; font-weight: 400; font-style: italic; }
.whisper { font-size: 18px; color: #7d7466; font-style: italic; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.6s ease, transform 1.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* portrait */
.photo-frame { max-width: 820px; margin: 0 auto; padding: 18px; background: #1c1712; box-shadow: 0 0 0 1px #2c241b, 0 40px 120px -20px #000; transform: rotate(-1.2deg); }
.photo-frame svg { width: 100%; height: auto; display: block; }
.caption { text-align: center; font-size: 20px; color: #9b8f7c; margin-top: 34px; font-style: italic; }
.cap2 { color: #c5a48a; }

/* ---------- corridor ---------- */
#corridor { position: relative; height: 520vh; background: #000; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.hall { position: absolute; inset: 0; }
.ceil { background: linear-gradient(to bottom, #000, #0e0c0a); clip-path: polygon(0 0, 100% 0, calc(50% + 11vh) 38%, calc(50% - 11vh) 38%); }
.floor { background: linear-gradient(to top, #000 10%, #191510); clip-path: polygon(0 100%, 100% 100%, calc(50% + 11vh) 75%, calc(50% - 11vh) 75%); }
.wall-l { background: linear-gradient(to right, #020202, #120f0c); clip-path: polygon(0 0, calc(50% - 11vh) 38%, calc(50% - 11vh) 75%, 0 100%); }
.wall-r { background: linear-gradient(to left, #020202, #120f0c); clip-path: polygon(100% 0, calc(50% + 11vh) 38%, calc(50% + 11vh) 75%, 100% 100%); }
.door { position: absolute; left: calc(50% - 11vh); width: 22vh; top: 38%; height: 37%; background: #070605; box-shadow: inset 0 0 0 3px #15110d; }
.door-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 70%, rgba(150, 120, 80, .32), rgba(60, 45, 30, .1) 60%, transparent 80%); }
.figure { position: absolute; left: 50%; top: calc(44% - 18vh); width: 60vh; height: 180vh; margin-left: -30vh; transform-origin: 50% 10%; will-change: transform, filter; }
.figure svg { width: 100%; height: 100%; display: block; }
.fig-head { transform-box: fill-box; transform-origin: 50% 85%; }
.lights { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.hall-text { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; padding: 0 24px; pointer-events: none; }
.hall-text p { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--fell); font-size: clamp(20px, 2.6vw, 30px); color: #d6cbb8; opacity: 0; text-shadow: 0 0 20px #000; padding: 0 24px; }
.hall-text .idle-text { bottom: auto; top: -78vh; color: #b8574a; font-style: italic; transition: opacity 1.2s; }

/* ---------- end ---------- */
#end { padding-top: 30vh; min-height: 120vh; }
.end-lines p { font-size: clamp(22px, 3vw, 32px); color: #cfc5b4; margin-bottom: 18px; }
.end-lines .huge { font-size: clamp(42px, 7vw, 84px); color: #efe6d6; line-height: 1.1; margin-bottom: 40px; }
.end-lines .dim { color: #6f665a; font-style: italic; }
.leave { margin-top: 60px; background: none; border: 1px solid #3a332b; color: #8d8374; padding: 14px 28px; border-radius: 999px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; transition: color .4s, border-color .4s; }
.leave:hover { color: #e6dccb; border-color: #8d8374; }
.foot { margin-top: 30vh; text-align: center; font-size: 12px; color: #4a443c; padding: 0 16px 40px; line-height: 2; }
.foot a { text-decoration: underline; }

/* ---------- scare ---------- */
.scare { position: fixed; inset: 0; z-index: 80; background: #000; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.scare-face { position: relative; height: 106vh; aspect-ratio: 520 / 600; }
.scare-face img { width: 100%; height: 100%; display: block; }
.glint { position: absolute; top: 47.8%; width: .55vh; height: .55vh; border-radius: 50%; background: #fff; box-shadow: 0 0 1.2vh .3vh rgba(255, 255, 255, .55); transform: translate(-50%, -50%); }
.glint.l { left: 35.6%; } .glint.r { left: 64.2%; }
.scare.on { opacity: 1; animation: shake .09s steps(2) infinite; }
@keyframes shake { 0% { transform: translate(3px, -2px) scale(1.04); } 50% { transform: translate(-4px, 3px) scale(1.02); } 100% { transform: translate(2px, 2px) scale(1.05); } }

/* ---------- cookie + sound ---------- */
.cookie {
  position: fixed; z-index: 70; left: 24px; bottom: 24px; max-width: 420px;
  background: #fff; color: var(--ink); border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 24px 60px -20px rgba(30, 25, 18, .45); border: 1px solid var(--line);
  transform: translateY(140%); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  font-size: 14px;
}
.cookie.show { transform: none; }
.cookie-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.cookie.cursed { background: #120f0c; color: #d9cfbf; border-color: #2b241c; font-family: var(--fell); font-size: 18px; }
.cookie.cursed .btn.ghost { color: #d9cfbf; border-color: #3a3128; }
.cookie.cursed .btn.primary { background: #5a1f17; box-shadow: none; }
.cookie s { color: #7a6f60; }
.sound { position: fixed; z-index: 70; right: 16px; bottom: 16px; background: rgba(20, 18, 15, .6); color: #bfb4a2; border: 1px solid rgba(191, 180, 162, .25); border-radius: 99px; padding: 6px 12px; font-size: 12px; letter-spacing: .05em; }

/* ---------- glitch ---------- */
.glitch { animation: jitter 7s infinite; }
@keyframes jitter {
  0%, 92%, 100% { transform: none; text-shadow: none; }
  93% { transform: translate(-2px, 1px) skewX(-6deg); text-shadow: 2px 0 #7a1d16, -2px 0 #2d4f5a; }
  95% { transform: translate(3px, -1px); text-shadow: -3px 0 #7a1d16; }
  97% { transform: translate(-1px, 0) skewX(4deg); }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards.three { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .featured { transform: none; }
  .chip-a { left: 8px; top: 16px; }
  .chip-b { right: 8px; bottom: 16px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 96px 0; }
  #hero { padding-top: 112px; }
  .lead { font-size: 17px; }
  .logo-row { gap: 22px 30px; }
  .steps li { padding: 22px; gap: 16px; }
  .card { padding: 26px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .chip { font-size: 12px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .chip, .glitch { animation: none; }
  .scare.on { animation: none; }
}

/* ---------- second pass ---------- */
.rise { opacity: 0; translate: 0 28px; transition: opacity .9s ease, translate .9s cubic-bezier(.2, .8, .2, 1); }
.rise.in { opacity: 1; translate: 0 0; }
.cards .rise:nth-child(2) { transition-delay: .12s; }
.cards .rise:nth-child(3) { transition-delay: .24s; }
.card { transition: box-shadow .4s, translate .9s cubic-bezier(.2, .8, .2, 1), opacity .9s; }
.card:hover { box-shadow: 0 30px 50px -30px rgba(40, 35, 25, .55); }

.hero-copy > * { animation: up 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-art { animation: up 1.2s .2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }

.hidden-ink { color: #ece5d8; }
.hidden-ink::selection { color: #8a1c1c; background: #000; }

.mist-bg { position: absolute; inset: 0; background: url(assets/mist.webp) center / cover no-repeat; opacity: .22; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; pointer-events: none; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
#name .wrap { position: relative; }

.photo-frame { position: relative; cursor: none; }
.photo-frame canvas { display: block; width: 100%; height: auto; }
.photo-fallback { display: block; width: 100%; height: auto; filter: brightness(.6) sepia(.3); }
.photo-frame.gl .photo-fallback { display: none; }
.caption-sub { text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #4d453b; margin-top: 10px; }

.gl-hall { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage.gl .css-hall { display: none; }

.toast { position: fixed; left: 50%; bottom: 14vh; transform: translateX(-50%); z-index: 95; font-family: var(--fell); font-style: italic; font-size: clamp(22px, 3vw, 34px); color: #c9b9a0; text-shadow: 0 0 30px #000, 0 0 8px #000; opacity: 0; transition: opacity 1.2s; pointer-events: none; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; }
.credits { color: #2f2a24; margin-top: 8px; }
.quote blockquote { transition: opacity .5s; }
@media (max-width: 900px) { .hero-photo { max-width: 460px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) {
  .hero-photo img, .hero-copy > *, .hero-art { animation: none; }
  .rise { translate: 0 0; }
}

/* ---------- language switch ---------- */
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; border: 1px solid var(--line); font: 600 12px/1 var(--sans); letter-spacing: .06em; }
.lang button { appearance: none; border: 0; background: transparent; color: var(--ink-2); padding: 7px 10px; border-radius: 99px; cursor: pointer; font: inherit; letter-spacing: inherit; transition: background .25s, color .25s; }
.lang button:hover { color: var(--ink); }
.lang button.on { background: var(--ink); color: #faf7f2; }
.lang button:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
/* once the nav is gone, the switch stays behind, darker */
.lang-float { position: fixed; z-index: 70; top: 16px; right: 16px; background: rgba(20, 18, 15, .6); border-color: rgba(191, 180, 162, .25); opacity: 0; pointer-events: none; transition: opacity .6s; }
.lang-float.show { opacity: 1; pointer-events: auto; }
.lang-float button, .foot .lang button { color: #8f8574; }
.lang-float button:hover, .foot .lang button:hover { color: #d9cfbf; }
.lang-float button.on, .foot .lang button.on { background: #2b251d; color: #d9cfbf; }
.foot-lang { margin: 6px 0; }
.foot .lang { border-color: #2b251d; letter-spacing: .02em; font-weight: 500; }
@media (max-width: 560px) {
  .nav-end { gap: 8px; }
  .lang button { padding: 7px 8px; }
  .nav .btn.sm { padding: 0 14px; }
}

/* ---------- doors into the house (episode 1) ---------- */
.end-doors { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.end-doors .leave { margin-top: 0; }
.room-ready { background: #e8dcc6; color: #1a140d; box-shadow: 0 0 60px rgba(255, 196, 120, .18); }
.room-ready:hover { background: #fff3dc; }
.foot .hot { font-size: 12px; color: #8d8374; margin-top: 18px; }
.foot .hot b { color: #cfc5b4; font-weight: 600; }

/* Advent: a ribbon over the site, in season */
.advent-ribbon { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: #0d131f; color: #e8e0d2; font-size: 14px; text-align: center; }
.advent-ribbon b { color: #e3b878; font-weight: 600; }
.advent-ribbon .ar-win { width: 12px; height: 18px; border-radius: 50% 50% 1px 1px / 32% 32% 1px 1px; background: radial-gradient(ellipse at 50% 70%, #ffd08a, #c46a2a 55%, #3a1608); box-shadow: 0 0 10px rgba(255, 170, 80, .6); }
body.has-ribbon .nav { top: var(--ribbon-h, 0px); }

/* ---------- the house notices ---------- */
.label-turned { color: #8a2a22 !important; letter-spacing: .01em; transition: color .6s; }
.on-dark .label-turned, .returned .label-turned { color: #e8b9a8 !important; }
.quote .edited { display: block; margin-top: 10px; font-size: 12px; color: #8a2a22; font-style: italic; opacity: 0; transition: opacity 2.5s 1s; }
.quote .edited.dark-shown { opacity: 1; }
.foot .mere-line a { color: inherit; }
.nav .mid { display: none; } @media (min-width: 520px) { .nav .mid { display: inline-flex; } }
