* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--forest-black);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--body-size);
  line-height: var(--body-leading);
  overflow-x: hidden;
}
:focus-visible {
  outline: 2px solid var(--teal-web);
  outline-offset: 3px;
  border-radius: 2px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 100;
  background: var(--forest-deep); color: var(--bone);
  padding: 0.8rem 1.2rem; text-decoration: none; border-radius: 0.25rem;
}
.skip-link:focus-visible { top: 1rem; }
canvas#web {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.45;
}
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(122, 217, 194, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(201, 162, 39, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(7, 10, 8, 0.2), rgba(7, 10, 8, 0.55));
}
header.site-header, main, footer.site-footer { position: relative; z-index: 2; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  background: linear-gradient(180deg, rgba(7, 10, 8, 0.85), transparent);
}
.site-header .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.6rem 2.2rem;
  max-width: var(--page-max); margin: 0 auto;
}
.masthead {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.28em; color: var(--gold-glow);
  text-decoration: none;
}
nav.site-nav { display: flex; gap: 1.6rem; align-items: center; }
nav.site-nav a {
  color: var(--stone); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding-block: 0.6rem; min-height: 44px; display: inline-flex; align-items: center;
  background-image: linear-gradient(var(--gold-antique), var(--gold-antique));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: color 250ms ease-out, background-size 250ms ease-out;
}
nav.site-nav a:hover, nav.site-nav a:focus-visible { color: var(--gold-glow); background-size: 100% 1px; }
nav.site-nav .sep { color: var(--moss-soft); font-size: 0.78rem; }
main { display: block; }
section { padding-block: var(--section-pad); }
.wrap { max-width: var(--page-max); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--eyebrow-size); letter-spacing: var(--eyebrow-spacing);
  text-transform: uppercase; color: var(--earth); margin-bottom: 1rem;
}
.rule { width: var(--rule-width); height: 1px; background: var(--gold-antique); opacity: 0.35; margin-bottom: 1.4rem; }
h2.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--h2-size); line-height: var(--h2-leading);
  color: var(--bone); margin-bottom: 1.6rem;
}
.hero { min-height: 100svh; display: flex; align-items: center; position: relative; }
.hero .wrap { width: 100%; padding-top: 7rem; padding-bottom: 5rem; }
.hero-backdrop {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244, 208, 149, 0.06), transparent 33%),
    linear-gradient(0deg, rgba(7, 10, 8, 0.55), transparent 40%);
}
.hero-inner { position: relative; max-width: 46rem; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--h1-size); line-height: var(--h1-leading); color: var(--bone);
}
.hero h1 em { font-style: italic; color: var(--gold-glow); display: block; }
.hero-note { max-width: 34rem; margin-top: 2.2rem; color: var(--stone); font-size: 1.05rem; }
.hero-accent {
  float: right; width: min(320px, 30vw); margin: 0 0 1.5rem 2rem;
  border-radius: var(--card-radius); border: 1px solid rgba(90, 115, 80, 0.3);
  position: relative;
}
.hero-accent img { display: block; width: 100%; height: auto; border-radius: var(--card-radius); }
.hero-accent::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--card-radius);
  background: linear-gradient(rgba(244, 208, 149, 0.12), transparent 60%);
  pointer-events: none;
}
.scroll-hint {
  margin-top: 4rem; font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--moss-soft);
}
.ache .wrap { max-width: 40rem; }
.ache blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.35;
  color: var(--bone); max-width: 38rem; text-align: left;
  padding-top: calc(var(--section-pad) * 0.5);
}
.ache cite {
  display: block; margin-top: 1.4rem;
  font-family: var(--font-body); font-style: normal;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone);
}
.field-grid { position: relative; }
.filament {
  position: absolute; top: 2rem; left: -2rem; right: -2rem; height: 1px;
  background: rgba(62, 122, 110, 0.4);
}
.field-grid .grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap); align-items: stretch; margin-top: 1.2rem; position: relative;
}
.card {
  background: rgba(235, 245, 251, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(90, 115, 80, 0.3); border-radius: var(--card-radius);
  padding: var(--card-pad);
  transition: border-color 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.card::before {
  content: ""; display: block; width: 2rem; height: 1px;
  background: var(--gold-antique); opacity: 0.35; margin-bottom: 1.2rem;
}
.card h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.35rem;
  color: var(--bone); margin-bottom: 0.5rem;
}
.card p { color: var(--stone); font-size: 0.98rem; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    border-color: rgba(122, 217, 194, 0.5);
    box-shadow: 0 0 24px rgba(122, 217, 194, 0.08);
  }
}
.path .wrap { max-width: 42rem; }
.timeline { position: relative; padding-left: 1.5rem; border-left: 2px solid var(--teal-dim); }
.entry { position: relative; padding: 1.15rem 0; border-bottom: 1px solid rgba(90, 115, 80, 0.3); }
.entry::before {
  content: ""; position: absolute; left: calc(-1.5rem - 6px); top: 1.5rem;
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold-antique);
}
.entry time {
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-antique);
}
.entry p { color: var(--stone); margin-top: 0.25rem; }
@media (min-width: 640px) {
  .entry { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.4rem; }
  .entry p { margin-top: 0; }
}
.now-panel {
  max-width: 44rem; margin: 0 auto;
  background: rgba(235, 245, 251, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(90, 115, 80, 0.3); border-radius: var(--card-radius);
  padding: clamp(1.75rem, 4vw, 2.75rem); position: relative;
}
.now-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-antique); opacity: 0.6;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.now-panel p { font-size: 1.0625rem; line-height: 1.7; }
.now-panel p + p { margin-top: 1.1rem; }
.now-panel .p1 { color: var(--bone); }
.now-panel .p2 { color: var(--stone); }
.now-panel .p3 { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--gold-glow); }
.site-footer { background: var(--forest-deep); border-top: 1px solid rgba(90, 115, 80, 0.3); }
.site-footer .row {
  max-width: var(--page-max); margin: 0 auto; padding: 4rem var(--gutter) 3.2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--card-gap);
}
.footer-line { font-size: 0.86rem; color: var(--stone); }
.footer-right { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.x-link {
  color: var(--gold-glow); text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.x-link:hover, .x-link:focus-visible { text-decoration: underline; }
.mini-nav { display: flex; gap: 1rem; }
.mini-nav a {
  color: var(--stone); text-decoration: none; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  min-height: 44px; display: inline-flex; align-items: center;
}
.mini-nav a:hover, .mini-nav a:focus-visible { color: var(--gold-glow); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1), transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.revealed { opacity: 1; transform: none; }
@media (max-width: 1023px) and (min-width: 640px) {
  .field-grid .grid { grid-template-columns: repeat(2, 1fr); }
  nav.site-nav { gap: 1.1rem; }
}
@media (max-width: 1023px) {
  .hero-accent { display: none; }
}
@media (max-width: 639px) {
  .site-header .row { padding: 1.1rem 1.2rem; }
  nav.site-nav { gap: 0.9rem; }
  nav.site-nav a { font-size: 0.72rem; }
  nav.site-nav .sep { font-size: 0.72rem; }
  .wrap { padding-inline: 1.3rem; }
  .field-grid .grid { grid-template-columns: 1fr; }
  .entry::before { width: 8px; height: 8px; left: calc(-1.5rem - 5px); }
  .site-footer .row { flex-direction: column; gap: 1rem; align-items: flex-start; }
  body { font-size: 1rem; }
  .filament { display: none; }
}
/* Mozi pastes this block verbatim into site.css */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* === v2 room rules (additive; v1 selectors above untouched) === */
nav.site-nav a.is-current {
  color: var(--gold-glow);
  background-size: 100% 1px;
  text-decoration: underline;
  text-decoration-color: var(--gold-antique);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.page-head .wrap { max-width: var(--page-max); }
.page-head h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--h1-size); line-height: var(--h1-leading);
  color: var(--bone); margin-bottom: 1.6rem;
}
.room-intro {
  max-width: 42rem; color: var(--stone);
  font-size: 1.0625rem; line-height: var(--body-leading);
}
.room-intro a { color: var(--gold-glow); }
.method-line {
  max-width: 42rem; margin-top: 2rem;
  border-left: 2px solid var(--gold-antique);
  padding-left: 1.25rem;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.25rem; line-height: 1.5; color: var(--bone);
}
.room-section { max-width: 46rem; }
.room-section h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--h2-size); line-height: var(--h2-leading);
  color: var(--bone); margin-bottom: 0.6rem;
}
.rows { list-style: none; }
.rows .row-item {
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(90, 115, 80, 0.3);
}
.rows .row-title {
  font-weight: 600; font-size: 1.05rem; color: var(--bone);
}
.rows .row-title a {
  color: var(--bone); text-decoration: none;
  background-image: linear-gradient(var(--gold-antique), var(--gold-antique));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: color 250ms ease-out, background-size 250ms ease-out;
  min-height: 44px; display: inline-flex; align-items: center;
}
.rows .row-title a:hover, .rows .row-title a:focus-visible { color: var(--gold-glow); background-size: 100% 1px; }
.rows .row-frame { color: var(--stone); font-size: 0.98rem; line-height: 1.7; margin-top: 0.25rem; }
.rows .row-frame a { color: var(--gold-glow); }
.ext-mark { color: var(--gold-antique); font-size: 0.85em; margin-left: 0.35rem; }
.threads .thread-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.25rem; color: var(--bone);
}
.threads .thread-title a {
  color: var(--bone); text-decoration: none;
  background-image: linear-gradient(var(--gold-antique), var(--gold-antique));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: color 250ms ease-out, background-size 250ms ease-out;
}
.threads .thread-title a:hover, .threads .thread-title a:focus-visible { color: var(--gold-glow); background-size: 100% 1px; }
.threads .thread-frame { color: var(--stone); font-size: 0.95rem; line-height: 1.7; margin-top: 0.25rem; }
.pointer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 1.2rem;
}
.pointer-item { display: block; text-decoration: none; }
.pointer-label {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.35rem; color: var(--bone);
  transition: color 250ms ease-out;
}
.pointer-desc { font-size: 0.95rem; color: var(--stone); margin-top: 0.25rem; }
.pointer-link {
  display: inline-block; margin-top: 0.5rem;
  color: var(--gold-glow); font-size: 0.95rem; text-decoration: none;
  background-image: linear-gradient(var(--gold-antique), var(--gold-antique));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: color 250ms ease-out, background-size 250ms ease-out;
}
.pointer-item:hover .pointer-label { color: var(--gold-glow); }
.pointer-item:hover .pointer-link { background-size: 100% 1px; }
.teaser-links { margin-top: 1rem; line-height: 2; }
.teaser-links a { color: var(--gold-glow); font-size: 0.95rem; text-decoration: none; }
.teaser-links a:hover, .teaser-links a:focus-visible { text-decoration: underline; }
.teaser-links .dot { color: var(--moss-soft); margin: 0 0.5rem; }
.teaser-filament { height: 1px; background: rgba(62, 122, 110, 0.4); margin-bottom: 1rem; }
.now-stamp-slot { display: none; }
.doors { display: flex; flex-direction: column; gap: 1rem; max-width: 40rem; }
.door {
  background: rgba(235, 245, 251, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(90, 115, 80, 0.3); border-radius: var(--card-radius);
  padding: 1.25rem 1.5rem;
}
.door-label {
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-antique); margin-bottom: 0.4rem;
}
.door a.door-link {
  font-family: var(--font-display); font-weight: 500; font-size: 1.35rem;
  color: var(--bone); text-decoration: none;
  background-image: linear-gradient(var(--gold-antique), var(--gold-antique));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: color 250ms ease-out, background-size 250ms ease-out;
  min-height: 44px; display: inline-flex; align-items: center;
}
.door a.door-link:hover, .door a.door-link:focus-visible { color: var(--gold-glow); background-size: 100% 1px; }
.close-line { color: var(--stone); font-size: 0.98rem; margin-top: 2.5rem; max-width: 42rem; }
.close-line a { color: var(--gold-glow); }
.miss-block {
  max-width: 36rem; margin: 0 auto; min-height: 60svh;
  display: flex; flex-direction: column; justify-content: center;
}
.miss-line {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.35rem); color: var(--bone);
}
.miss-links { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.miss-links a {
  color: var(--gold-glow); font-size: 0.95rem; text-decoration: none;
  background-image: linear-gradient(var(--gold-antique), var(--gold-antique));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: color 250ms ease-out, background-size 250ms ease-out;
  min-height: 44px; display: inline-flex; align-items: center;
}
.miss-links a:hover, .miss-links a:focus-visible { background-size: 100% 1px; }
.hero-sub { max-width: 34rem; margin-top: 1.1rem; color: var(--stone); font-size: 1.05rem; }
@media (min-width: 640px) and (max-width: 1023px) {
  .pointer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .pointer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .miss-links { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1024px) {
  .room-section, .room-intro, .method-line { margin-right: auto; }
}
@media (max-width: 1023px) {
  .teaser-filament { display: none; }
}
