:root {
  --void: #0c0a09;
  --ink: #f2ebe3;
  --soft: #1a1614;
  --blush: #c98b7b;
  --pearl: #e8d8c8;
  --mute: rgba(242, 235, 227, 0.62);
  --line: rgba(242, 235, 227, 0.12);
  --paper: #f4efe8;
  --paper-ink: #1c1613;
  --paper-mute: #6a5c52;
  --display: "Syne", system-ui, sans-serif;
  --sans: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 360;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.pw-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.65rem 1.2rem; align-items: center;
  padding: 0.7rem clamp(1rem, 3vw, 2.2rem); background: #0b0a09;
  border-bottom: 1px solid rgba(196, 164, 106, 0.18);
}
.pw-mark { display: flex; flex-direction: column; align-items: flex-start; min-width: 12.6rem; color: #f7f3ea; }
.pw-bug-line {
  display: block; min-height: 1.15em;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: 0.01em;
  white-space: nowrap; line-height: 1; color: #f7f3ea;
}
.pw-caret {
  display: inline-block; width: 1px; height: 0.82em; margin-left: 2px;
  background: #c4b6ff; vertical-align: -0.06em;
  animation: pwCaret 1s steps(1) infinite;
}
@keyframes pwCaret { 50% { opacity: 0; } }
.pw-rule {
  display: block; width: 100%; height: 2px; margin: 0.28rem 0 0.22rem;
  background: linear-gradient(90deg, #efe8ff, #b9a0ff 28%, #7a3ff2 62%, #d7ccff);
  box-shadow: 0 0 10px rgba(122, 63, 242, 0.55);
}
.pw-sub {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: lowercase; color: #ddd4ff;
}
.pw-top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.55rem 1.05rem; margin-left: auto; }
.pw-top nav a {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(246, 241, 232, 0.72);
}
.pw-top nav a.is-on, .pw-top nav a:hover { color: #c4a46a; }
.lumen-nav {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.1rem; align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 10, 9, 0.92);
  backdrop-filter: blur(14px);
}
.lumen-brand { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.02em; }
.lumen-brand small {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute);
}
.lumen-nav nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; }
.lumen-nav nav a {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute);
}
.lumen-nav nav a.is-on, .lumen-nav nav a:hover { color: var(--pearl); }
.hero {
  position: relative; min-height: 88vh; overflow: hidden;
  display: grid; place-items: end start;
  color: var(--ink);
}
.hero video, .hero .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero .shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 9, 0.18) 0%, rgba(12, 10, 9, 0.22) 40%, rgba(12, 10, 9, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 10, 9, 0.55) 0%, transparent 55%);
}
.hero .copy {
  position: relative; z-index: 2;
  padding: clamp(2rem, 8vh, 4.5rem) clamp(1rem, 4vw, 2.4rem) 2.4rem;
  max-width: 42rem;
}
.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blush); font-weight: 600;
}
h1 {
  margin: 0 0 0.7rem;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.95; letter-spacing: -0.03em;
}
.lede { margin: 0 0 1.4rem; max-width: 34rem; color: rgba(242, 235, 227, 0.86); font-size: 1.08rem; }
.btns { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.btn {
  display: inline-block; padding: 0.85rem 1.2rem; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.btn-solid { background: var(--ink); color: var(--void); }
.btn-ghost { border: 1px solid rgba(242, 235, 227, 0.4); color: var(--ink); }
.btn-ink { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.btn-paper { background: var(--paper-ink); color: var(--paper); }
section { padding: clamp(2.4rem, 7vh, 4.2rem) clamp(1rem, 4vw, 2.4rem); }
.wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blush); font-weight: 600;
}
h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -0.02em; line-height: 1.08;
}
.note { margin: 0 0 1.4rem; max-width: 40rem; color: var(--mute); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.4rem; align-items: center; }
.card {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: rgba(26, 22, 20, 0.7);
}
.card a { display: block; }
.card img, .card video { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.card .body { padding: 1rem 1.05rem 1.15rem; }
.card h3 {
  margin: 0 0 0.35rem; font-family: var(--display); font-weight: 600;
  font-size: 1.35rem; letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--mute); font-size: 0.95rem; }
.fees { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.85rem; }
.fee {
  padding: 1.15rem 1.1rem; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(26, 22, 20, 0.65);
}
.fee span { display: block; color: var(--mute); font-size: 0.9rem; }
.fee strong {
  display: block; margin: 0.35rem 0;
  font-family: var(--display); font-weight: 600; font-size: 1.7rem;
}
.band-paper {
  background: var(--paper); color: var(--paper-ink);
}
.band-paper .eyebrow { color: #a56a58; }
.band-paper .note, .band-paper p { color: var(--paper-mute); }
.band-paper .card { background: #fff; border-color: rgba(28, 22, 19, 0.1); color: var(--paper-ink); }
.band-paper .card p { color: var(--paper-mute); }
.film-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; }
.film {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #000; margin: 0;
}
.film video { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.film.tall video { aspect-ratio: 4/5; }
.film.wide video { aspect-ratio: 16/9; }
.film figcaption {
  padding: 0.55rem 0.1rem 0; font-size: 0.86rem; color: var(--mute);
}
.process-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem;
  margin-top: 1.2rem;
}
.process-rail .film video { aspect-ratio: 4/5; }
.process-rail .cap {
  display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline;
  padding: 0.55rem 0.05rem 0; font-size: 0.82rem; color: var(--mute);
}
.process-rail .cap b {
  font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--ink);
}
.stage {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: #000; margin: 0 0 1rem;
}
.stage video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.stage .shade {
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(12, 10, 9, 0.88));
  pointer-events: none;
}
.stage .label {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(242, 235, 227, 0.9);
}
@media (prefers-reduced-motion: reduce) {
  .hero video, .film video, .stage video { display: none; }
  .hero { background: center / cover no-repeat url("/site-asset/lumen/media/poster-apply.jpg"); }
}
/* Opacity crossfade (old chanted.media mix door) — both plates visible, degrees of transparency */
.wipe {
  position: relative; max-width: 36rem; aspect-ratio: 4/5;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: #111; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.wipe img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.wipe-before {
  z-index: 1;
  animation: lumenBaBefore 7s ease-in-out infinite alternate;
}
.wipe-after {
  z-index: 2;
  opacity: 0;
  animation: lumenBaAfter 7s ease-in-out infinite alternate;
}
.wipe.is-paused .wipe-before,
.wipe.is-paused .wipe-after,
.wipe.is-paused .wipe-tag.before,
.wipe.is-paused .wipe-tag.after { animation-play-state: paused; }
.wipe.is-locked .wipe-before,
.wipe.is-locked .wipe-after,
.wipe.is-locked .wipe-tag.before,
.wipe.is-locked .wipe-tag.after { animation: none; }
.wipe.show-before .wipe-before { opacity: 1; }
.wipe.show-before .wipe-after { opacity: 0; }
.wipe.show-after .wipe-before { opacity: 0.18; }
.wipe.show-after .wipe-after { opacity: 1; }
@keyframes lumenBaBefore {
  0% { opacity: 1; }
  100% { opacity: 0.22; }
}
@keyframes lumenBaAfter {
  0% { opacity: 0.08; }
  100% { opacity: 1; }
}
.wipe-tag {
  position: absolute; bottom: 1rem; z-index: 3;
  font: inherit;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 0.7rem; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.wipe-tag:hover { transform: translateY(-1px); }
.wipe-tag:focus-visible {
  outline: 2px solid var(--blush);
  outline-offset: 2px;
}
.wipe-tag.before {
  left: 1rem; color: #fff; background: rgba(0, 0, 0, 0.5);
  animation: lumenBaTagBefore 7s ease-in-out infinite alternate;
}
.wipe-tag.after {
  right: 1rem; color: var(--void); background: rgba(242, 235, 227, 0.92);
  animation: lumenBaTagAfter 7s ease-in-out infinite alternate;
}
.wipe-tag[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--blush);
  animation: none;
  opacity: 1;
}
@keyframes lumenBaTagBefore {
  0% { opacity: 1; }
  100% { opacity: 0.45; }
}
@keyframes lumenBaTagAfter {
  0% { opacity: 0.45; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wipe-before { animation: none; opacity: 0.35; }
  .wipe-after { animation: none; opacity: 1; }
  .wipe-tag.before, .wipe-tag.after { animation: none; opacity: 1; }
  .pw-caret { animation: none; }
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { border-top: 2px solid var(--blush); padding-top: 0.7rem; }
.step b {
  display: block; font-family: var(--display); font-size: 1.2rem;
  font-weight: 600; margin-bottom: 0.35rem;
}
.step p { margin: 0; color: var(--mute); }
.towns { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0; }
.towns span {
  border: 1px solid var(--line); padding: 0.28rem 0.55rem;
  font-size: 0.88rem; color: var(--mute);
}
.book-box {
  max-width: 34rem; padding: 1.4rem 1.25rem;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(26, 22, 20, 0.7);
}
.book-box p { margin: 0 0 0.85rem; color: var(--mute); }
.book-box a.phone {
  display: inline-block; margin-bottom: 0.8rem;
  font-family: var(--display); font-size: 1.6rem; font-weight: 600;
}
footer.site {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  max-width: 1120px; margin: 0 auto;
  padding: 1.3rem clamp(1rem, 4vw, 2.4rem) 2.2rem;
  color: var(--mute); font-size: 0.82rem;
}
.detail-hero {
  min-height: 54vh;
  display: grid; place-items: end start;
  padding: 2.2rem clamp(1rem, 4vw, 2.4rem);
  background: center / cover no-repeat;
  position: relative;
}
.detail-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.2), rgba(12, 10, 9, 0.9));
}
.detail-hero .copy { position: relative; z-index: 1; max-width: 40rem; }
@media (max-width: 860px) {
  .grid-3, .grid-2, .film-row, .steps, .process-rail { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}

/* Diary + desk */
.treatment-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.55rem;
  margin-top: 0.8rem;
}
.treatment-chips button {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(26, 22, 20, 0.65);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.treatment-chips button span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--mute);
}
.treatment-chips button.is-on,
.treatment-chips button:hover {
  border-color: var(--blush);
  background: rgba(201, 139, 123, 0.12);
}
.diary-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem;
  align-items: center; justify-content: space-between;
}
.diary-week-nav {
  display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center;
}
.diary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}
.diary-day {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem 0.55rem 0.75rem;
  background: rgba(26, 22, 20, 0.45);
  min-height: 12rem;
}
.diary-day header {
  display: flex; justify-content: space-between; gap: 0.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
}
.diary-day header b { font-family: var(--display); font-size: 0.95rem; }
.diary-day header span { color: var(--mute); }
.diary-slots { display: flex; flex-direction: column; gap: 0.35rem; }
.diary-slots .slot {
  border: 1px solid rgba(201, 139, 123, 0.35);
  background: rgba(201, 139, 123, 0.1);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.diary-slots .slot:hover { background: rgba(201, 139, 123, 0.28); }
.diary-slots .slot.is-held,
.diary-slots span.slot.is-held {
  cursor: default;
  opacity: 0.55;
  background: rgba(120, 110, 104, 0.22);
  border-color: rgba(120, 110, 104, 0.4);
  color: var(--mute);
  pointer-events: none;
}
.site-chips { margin-bottom: 0.25rem; }
.diary-empty, .diary-loading { color: var(--mute); font-size: 0.85rem; margin: 0.4rem 0 0; }
body.modal-open { overflow: hidden; }
.modal-back {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8, 6, 5, 0.72);
  display: grid; place-items: center;
  padding: 1rem;
}
.modal-back[hidden] { display: none !important; }
.modal {
  width: min(26rem, 100%);
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
  position: relative;
  max-height: min(90vh, 40rem);
  overflow: auto;
}
.modal h2 { font-family: var(--display); margin: 0 1.5rem 0.5rem 0; font-size: 1.55rem; }
.modal-x {
  position: absolute; top: 0.85rem; right: 0.85rem;
  border: 0; background: transparent; color: var(--paper-mute);
  font: inherit; cursor: pointer; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.68rem;
}
.book-summary { color: var(--paper-mute); margin: 0 0 1rem; }
.modal label, .desk-form label {
  display: block; margin: 0 0 0.75rem;
  font-size: 0.88rem; color: var(--paper-mute);
}
.desk-form label { color: var(--mute); }
.modal input, .modal select, .desk-form input, .desk-form select {
  display: block; width: 100%; margin-top: 0.3rem;
  border: 1px solid #d8c8bc; border-radius: 10px;
  padding: 0.55rem 0.65rem; font: inherit;
  background: #fff; color: var(--paper-ink);
}
.desk-form input, .desk-form select {
  border-color: var(--line); background: rgba(26, 22, 20, 0.7); color: var(--ink);
}
.modal label.check {
  display: flex; align-items: flex-start; gap: 0.55rem;
  margin: 0.9rem 0 1rem;
}
.modal label.check input { width: auto; margin: 0.15rem 0 0; }
.opt { opacity: 0.65; font-size: 0.8em; }
.form-error { color: #b42318; margin: 0 0 0.8rem; }
.desk-day { display: block; margin: 0.6rem 0 1rem; color: var(--mute); }
.desk-day input {
  display: block; margin-top: 0.35rem;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.45rem 0.6rem; background: rgba(26, 22, 20, 0.7); color: var(--ink); font: inherit;
}
.desk-timeline, #monthRows { display: flex; flex-direction: column; gap: 0.55rem; }
.desk-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.2rem 0.75rem;
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: rgba(26, 22, 20, 0.45);
  font-size: 0.9rem;
}
.desk-card b { grid-column: 1; font-family: var(--display); }
.desk-card span:nth-of-type(1) { grid-column: 2; }
.desk-card span:nth-of-type(2) { grid-column: 2; color: var(--mute); font-size: 0.82rem; }
.desk-card strong { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.desk-card a { grid-column: 1 / -1; font-size: 0.78rem; color: var(--blush); }
.desk-actions {
  display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin: 0.4rem 0 0.2rem;
}
.month-nav {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.2rem;
  align-items: center; margin-bottom: 0.6rem;
}
.month-nav-controls {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
}
.month-picker input[type="month"] {
  font: inherit; padding: 0.45rem 0.55rem; border: 1px solid rgba(28, 22, 19, 0.18);
  background: #fff; color: var(--paper-ink);
}
.band-paper .month-nav-controls strong { color: var(--paper-ink); min-width: 8rem; text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.treatment-bars { display: flex; flex-direction: column; gap: 0.55rem; margin: 0 0 1.1rem; }
.t-bar-meta {
  display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.88rem;
  color: var(--paper-ink); margin-bottom: 0.25rem;
}
.t-bar-meta span { color: var(--paper-mute); font-size: 0.8rem; }
.t-bar-track {
  height: 0.55rem; background: rgba(28, 22, 19, 0.08); border-radius: 99px; overflow: hidden;
}
.t-bar-track i {
  display: block; height: 100%; background: linear-gradient(90deg, #c98b7b, #8c5a4a);
  border-radius: 99px;
}
.ledger-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; align-items: end;
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(28, 22, 19, 0.1);
}
.ledger-toolbar label {
  display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.78rem; color: var(--paper-mute);
}
.ledger-toolbar select {
  font: inherit; min-width: 9rem; padding: 0.45rem 0.55rem;
  border: 1px solid rgba(28, 22, 19, 0.18); background: #fff; color: var(--paper-ink);
}
.desk-form textarea {
  width: 100%; margin-top: 0.35rem; padding: 0.65rem 0.75rem;
  border: 1px solid var(--line); border-radius: 0; background: var(--soft);
  color: var(--ink); font: inherit; resize: vertical; min-height: 5.5rem;
}
.band-paper .desk-form textarea {
  background: #fff; border-color: rgba(28, 22, 19, 0.15); color: var(--paper-ink);
}
.mute { color: var(--mute); font-size: 0.85rem; }
.band-paper .mute { color: var(--paper-mute); }
label.check {
  display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 0.55rem;
  font-size: 0.88rem; margin-top: 0.55rem;
}
label.check input { width: auto; margin-top: 0.2rem; }
.mute { color: var(--mute); }
@media (max-width: 960px) {
  .diary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .diary-grid { grid-template-columns: 1fr 1fr; }
}
