/* IJIESMBREAK — site styles */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--bar-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--bg); }

:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--gutter); top: 10px; z-index: 200;
  padding: .8em 1.2em;
  background: var(--amber); color: var(--bg);
  font: 500 var(--fs-mono)/1 var(--f-mono);
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
.d-xxl, .d-xl, .d-l, .d-m {
  font-family: var(--f-display);
  color: var(--bone);
  text-wrap: balance;
}
.d-xxl { font-size: var(--fs-xxl); font-weight: 800; line-height: .82; letter-spacing: -.055em; }
.d-xl  { font-size: var(--fs-xl);  font-weight: 700; line-height: .9;  letter-spacing: -.045em; }
.d-l   { font-size: var(--fs-l);   font-weight: 700; line-height: .96; letter-spacing: -.035em; }
.d-m   { font-size: var(--fs-m);   font-weight: 600; line-height: 1.06; letter-spacing: -.022em; }
.amb { color: var(--amber); font-style: normal; }

.mono {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.5;
}
.muted { color: var(--muted); }
.lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--bone-80);
  max-width: 40ch;
  text-wrap: pretty;
}
.body-copy { color: var(--bone-80); max-width: 58ch; text-wrap: pretty; }
.body-copy p:last-child { margin-bottom: 0; }

/* chapter tag  CH—02 / LISTENING ROOM */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .85em;
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-dim), 0 0 12px var(--amber-glow);
  flex: none;
}
.tag .typed::after {
  content: "";
  display: inline-block;
  width: .55em; height: 1.05em;
  margin-left: .2em;
  vertical-align: -.2em;
  background: var(--amber);
  opacity: 0;
}
.tag.is-typing .typed::after { opacity: 1; animation: caret .7s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9em;
  min-height: 48px;
  padding: .95em 1.6em;
  border: 1px solid var(--bone);
  border-radius: 999px;
  background: transparent;
  color: var(--bone);
  font: 500 var(--fs-mono)/1 var(--f-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: -1px;
  z-index: -1;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--bg); border-color: var(--amber); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--quiet { border-color: var(--line-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-line {
  position: relative;
  text-decoration: none;
  background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 1px no-repeat,
              linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease), color .3s;
}
.link-line:hover, .link-line:focus-visible { background-size: 100% 1px, 100% 1px; color: var(--amber); }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: currentColor; flex: none; }

/* ---------- Top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.bar.is-scrolled {
  background: rgba(10, 10, 11, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: var(--line);
}
.wordmark {
  display: inline-flex; align-items: flex-start;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
  letter-spacing: .015em;
  color: var(--bone);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .wm-dot {
  width: 6px; height: 6px; margin-left: 3px; margin-top: -1px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber-glow);
}
.bar-right { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.bar-book {
  display: inline-flex; align-items: center; gap: .8em;
  font: 400 var(--fs-mono)/1 var(--f-mono);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  padding: 10px 0;
}
.bar-book .led, .led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-dim), 0 0 12px var(--amber-glow);
  animation: led 2.8s ease-in-out infinite;
  flex: none;
}
@keyframes led { 50% { box-shadow: 0 0 0 5px rgba(226,160,74,.05), 0 0 4px rgba(226,160,74,.3); opacity: .75; } }
.bar-book span:last-child { background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.bar-book:hover span:last-child, .bar-book:focus-visible span:last-child { background-size: 100% 1px; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 40px;
  padding: 0 16px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10,10,11,.35);
  font: 400 var(--fs-mono)/1 var(--f-mono);
  letter-spacing: .15em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color .4s var(--ease), background-color .4s;
}
.menu-btn:hover { border-color: var(--bone); }
.menu-btn .bars { position: relative; width: 18px; height: 8px; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { top: 7px; right: 6px; }
.menu-btn:hover .bars::after { right: 0; }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: var(--bar-h) 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transition: opacity .55s var(--ease), visibility 0s linear .55s;
  overflow: hidden;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .55s var(--ease), visibility 0s; }
.menu-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.menu-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity .9s var(--ease), transform 1.8s var(--ease);
}
.menu-bg img.is-on { opacity: .26; transform: scale(1); }
.menu-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.55) 55%, rgba(10,10,11,.25) 100%),
    linear-gradient(0deg, rgba(10,10,11,.95) 0%, transparent 30%);
}
.menu-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}
.menu-close .bars::before { top: 4px; transform: rotate(45deg); }
.menu-close .bars::after { top: 4px; right: 0; transform: rotate(-45deg); }
.menu-nav { position: relative; z-index: 2; align-self: center; padding-inline: var(--gutter); }
.menu-list { list-style: none; border-bottom: 1px solid var(--line); }
.menu-list li { border-top: 1px solid var(--line); overflow: hidden; }
.menu-list a {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .06em 0 .1em;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: min(8.4vh, 12.6vw);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-decoration: none;
  color: var(--bone);
  transform: translateY(105%);
  transition: transform .9s var(--ease), color .4s var(--ease);
}
.menu.is-open .menu-list a { transform: none; transition-delay: calc(.08s + var(--i) * .055s), 0s; }
.menu-list .m-idx, .menu-list .m-desc {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .4s;
}
.menu-list .m-word { display: inline-block; white-space: nowrap; transition: transform .6s var(--ease); }
.menu-list .m-desc { text-align: right; }
.menu-list a:hover .m-word, .menu-list a:focus-visible .m-word { transform: translateX(.18em); }
.menu-list a:hover .m-idx, .menu-list a:focus-visible .m-idx, .menu-list a[aria-current="page"] .m-idx { color: var(--amber); }
.menu-list:hover a:not(:hover) { color: rgba(233,229,220,.3); }
.menu-list a:focus-visible { outline-offset: -2px; }
.menu-foot {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px;
  padding: 22px var(--gutter) 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.menu-foot a { text-decoration: none; color: var(--bone); }
.menu-foot .mf-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; }

html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Chapters ---------- */
main { display: block; }
.chapter {
  position: relative;
  min-height: 100svh;
  padding-block: calc(var(--bar-h) + clamp(40px, 8vh, 96px)) clamp(64px, 12vh, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.chapter--auto { min-height: 0; }
.chapter > .rule, .rule {
  position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.6s var(--ease);
}
.no-js .rule, .rule.in { transform: scaleX(1); }
.ch-head { display: grid; gap: clamp(18px, 3vh, 34px); margin-bottom: clamp(36px, 7vh, 88px); }
.ch-head--split {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 6vw;
}
.ch-head--split .tag { grid-column: 1 / -1; }

/* ---------- Hero (spotlight) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #000;
  --x: 66%;
  --y: 46%;
  --r: 220px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}
.hero-base { filter: brightness(.25) saturate(.85); }
.hero-lit {
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, transparent var(--r));
  mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, transparent var(--r));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.55) 26%, transparent 52%),
    linear-gradient(180deg, rgba(10,10,11,.7) 0%, transparent 22%);
}
.hero-top {
  position: absolute; z-index: 2;
  top: calc(var(--bar-h) + clamp(18px, 4vh, 44px));
  left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; gap: 24px;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(18px, 3.4vh, 36px) 5vw;
  padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
  pointer-events: none;
}
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero h1 { grid-column: 1 / -1; grid-row: 1; font-size: clamp(3.6rem, min(14.6vw, 27svh), 16rem); line-height: .8; letter-spacing: -.06em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero-aside { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 48px; }
.hero-aside .lede { margin: 0; font-size: clamp(1rem, 1.12vw, 1.15rem); max-width: 52ch; }
.hero-strip {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 var(--gutter);
  padding: 16px 0 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.hero-strip .cats { text-align: center; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.scroll-cue .cue-line { position: relative; width: 1px; height: 26px; background: var(--line-strong); overflow: hidden; }
.scroll-cue .cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
.hint-touch { display: none; }
@media (hover: none) {
  .hint-mouse { display: none; }
  .hint-touch { display: inline; }
}

/* ---------- Sticky chapter scroller ---------- */
.scroller { padding-bottom: 0; justify-content: flex-start; }
.scroller-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 5vw;
  align-items: start;
}
.scroller-steps { position: relative; }
.step {
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: center;
  gap: 22px;
  padding-block: 8vh;
  opacity: .22;
  transition: opacity .7s var(--ease);
}
.step:first-child { min-height: 80svh; }
.step.is-active { opacity: 1; }
.step .step-idx { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.step .step-idx::after { content: ""; flex: 0 0 64px; height: 1px; background: var(--line-strong); }
.step.is-active .step-idx { color: var(--amber); }
.step .body-copy { max-width: 42ch; }
.scroller-media {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--bar-h);
}
.scroller-frame {
  position: relative;
  width: 100%;
  height: min(78svh, 880px);
  overflow: hidden;
  background: #000;
}
.scroller-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(.35);
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), filter 1.4s var(--ease), transform 2s var(--ease);
}
.scroller-frame img.is-active { opacity: 1; filter: brightness(1); transform: scale(1); }
.scroller-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(10,10,11,.7) 100%);
}
.scroller-hud {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--bone);
}
.scroller-hud .hud-bar { flex: 1; height: 1px; background: rgba(233,229,220,.22); position: relative; overflow: hidden; }
.scroller-hud .hud-bar i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .8s var(--ease); }

/* ---------- Department rows ---------- */
.dept-list { list-style: none; border-bottom: 1px solid var(--line); }
.dept-list li { position: relative; }
.dept-list li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line-strong);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease) calc(var(--i, 0) * .12s);
}
.no-js .dept-list li::before, .dept-list.in li::before { transform: scaleX(1); }
.dept-row {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 17rem) 56px;
  align-items: center;
  gap: 16px 3vw;
  padding: clamp(20px, 3.4vh, 40px) 0;
  text-decoration: none;
  color: var(--bone);
}
.dept-row::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--amber-dim), transparent 75%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
}
.dept-row:hover::after, .dept-row:focus-visible::after { transform: scaleX(1); }
.dept-row .d-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 6.4vw, 7.6rem); white-space: nowrap; line-height: .86; letter-spacing: -.05em; transition: transform .7s var(--ease); }
.dept-row:hover .d-name, .dept-row:focus-visible .d-name { transform: translateX(.08em); }
.dept-row .d-idx { color: var(--muted); padding-left: 2px; }
.dept-row:hover .d-idx { color: var(--amber); }
.dept-row .d-meta { color: var(--bone-60); line-height: 1.9; }
.dept-row .d-go {
  justify-self: end;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s;
}
.dept-row .d-go svg { width: 20px; height: 20px; transition: transform .6s var(--ease); }
.dept-row:hover .d-go, .dept-row:focus-visible .d-go { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.dept-row:hover .d-go svg { transform: rotate(45deg); }

/* ---------- Spec sheet ---------- */
.spec { margin: 0; border-bottom: 1px solid var(--line); }
.spec-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
  gap: 6px 2rem;
  padding: 16px 0 17px;
}
.spec-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line-strong);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.3s var(--ease) calc(var(--i, 0) * .09s);
}
.no-js .spec-row::before, .spec.in .spec-row::before { transform: scaleX(1); }
.spec dt {
  font: 400 var(--fs-mono)/1.7 var(--f-mono);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.spec dd { margin: 0; color: var(--bone); font-size: .98rem; line-height: 1.55; text-wrap: pretty; }
.spec dd.mono, .spec .dd-mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: none; color: var(--bone-80); line-height: 1.8; }

/* ---------- Feature chapters (inner pages) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 3vw;
  align-items: center;
}
.feature-media { grid-column: 1 / span 6; margin: 0; min-width: 0; }
.feature-copy { grid-column: 7 / span 6; display: grid; gap: 26px; align-content: center; min-width: 0; padding-left: 2vw; }
.feature--right .feature-media { grid-column: 7 / span 6; grid-row: 1; }
.feature--right .feature-copy { grid-column: 1 / span 6; grid-row: 1; padding-left: 0; padding-right: 2vw; }
.feature-copy h2 { font-size: clamp(2.3rem, 4.5vw, 5.4rem); hyphens: manual; overflow-wrap: break-word; }
.feature--left .feature-copy { justify-items: end; text-align: right; }
.feature--left .feature-copy .spec { width: 100%; text-align: left; }
.feature--left .feature-copy .spec dd { text-align: right; }
.feature--left .feature-copy .lede { margin-left: auto; }
.feature-copy .lede { margin: 0; }
.feature-copy .spec { width: 100%; margin-top: 8px; }

.frame {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 5;
  max-height: 82svh;
  width: 100%;
}
.frame--wide { aspect-ratio: 16 / 10; }
.frame--cine { aspect-ratio: 2.2 / 1; max-height: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 90% at 50% 45%, transparent 58%, rgba(10,10,11,.72) 100%);
}
.figcap {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 14px;
  color: var(--muted);
}
.figcap span:last-child { text-align: right; }

/* image fades up from black */
.js .fade-black img { filter: brightness(0); opacity: .6; transform: scale(1.035); transition: filter 1.8s var(--ease), opacity 1.4s var(--ease), transform 2.4s var(--ease); }
.js .fade-black.in img { filter: brightness(1); opacity: 1; transform: none; }

/* generic reveal */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Title card (inner pages) ---------- */
.titlecard {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--bar-h) + 6vh) 0 0;
  overflow-x: clip;
  overflow-y: visible;
}
.titlecard::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 70vmax; height: 70vmax;
  right: -22vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(226,160,74,.14) 0%, rgba(226,160,74,.04) 38%, transparent 68%);
}
.titlecard .ghost {
  position: absolute; z-index: 0; right: calc(var(--gutter) - .06em); top: calc(var(--bar-h) + 1vh);
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(10rem, 34vw, 36rem); line-height: .8; letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233,229,220,.09);
  pointer-events: none; user-select: none;
}
.titlecard .wrap { position: relative; z-index: 1; }
.tc-head { display: grid; gap: clamp(20px, 3.5vh, 40px); }
.tc-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px 6vw;
  align-items: end;
  margin-top: clamp(32px, 6vh, 72px);
  padding: 26px 0 clamp(28px, 6vh, 64px);
  border-top: 1px solid var(--line);
}
.tc-foot .lede { margin: 0; max-width: 46ch; }
.toc { list-style: none; display: grid; }
.toc li { border-top: 1px solid var(--line); }
.toc li:last-child { border-bottom: 1px solid var(--line); }
.toc a {
  display: grid; grid-template-columns: 6.5rem 1fr auto; align-items: center; gap: 12px;
  padding: 13px 0;
  text-decoration: none;
  font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .15em; text-transform: uppercase;
  color: var(--bone);
  transition: color .3s, padding .5s var(--ease);
}
.toc a span:first-child { color: var(--muted); }
.toc a svg { width: 14px; height: 14px; opacity: .6; transition: transform .5s var(--ease), opacity .3s; }
.toc a:hover, .toc a:focus-visible { color: var(--amber); padding-left: 8px; }
.toc a:hover svg { transform: translateY(3px); opacity: 1; }

/* ---------- CTA chapter ---------- */
.cta { text-align: left; min-height: 0; padding-block: clamp(120px, 22vh, 240px) clamp(110px, 20vh, 220px); overflow: hidden; }
.cta::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -18vw; bottom: -40vw; width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(226,160,74,.10) 0%, rgba(226,160,74,.03) 40%, transparent 66%);
}
.cta .wrap { position: relative; }
.cta .d-xl { max-width: 15ch; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 6vw; align-items: end; }
.cta-meta { display: grid; gap: 22px; }
.cta-meta .lede { margin: 0; }

/* ---------- Appointment (home) ---------- */
.appt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px 6vw; align-items: start; }
.appt-grid .left { display: grid; gap: 28px; position: sticky; top: calc(var(--bar-h) + 6vh); }
.appt-grid .d-xl { font-size: clamp(2.4rem, 5.1vw, 6rem); }

/* ---------- Services ---------- */
.svc-list { list-style: none; border-bottom: 1px solid var(--line); counter-reset: svc; }
.svc {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 20px 4vw;
  padding: clamp(28px, 5vh, 56px) 0;
}
.svc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease);
}
.no-js .svc::before, .svc.in::before { transform: scaleX(1); }
.svc .svc-num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3.4rem, 7vw, 7rem); line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  transition: -webkit-text-stroke-color .5s, color .5s;
}
.svc:hover .svc-num { -webkit-text-stroke-color: var(--amber); }
.svc h3 { margin-bottom: 16px; }
.svc .includes { list-style: none; display: grid; gap: 0; align-self: start; }
.svc .includes li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); color: var(--bone-80); }
.svc .includes li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex: none; transform: translateY(-2px); }
.svc .includes .mono { color: var(--muted); padding: 0 0 6px; border: 0; }
.svc .includes .mono::before { display: none; }

/* Timeline */
.timeline { position: relative; list-style: none; margin-top: 8px; }
.timeline::before, .timeline .tl-progress {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
  background: var(--line-strong);
}
.timeline .tl-progress { background: var(--amber); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 10px var(--amber-glow); }
.tl-item {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 9vw;
  padding: clamp(26px, 5vh, 56px) 0;
}
.tl-item::before {
  content: ""; position: absolute; left: 50%; top: calc(clamp(26px, 5vh, 56px) + .45em);
  width: 11px; height: 11px; border-radius: 50%;
  transform: translateX(-50%);
  background: var(--bg); border: 1px solid var(--line-strong);
  transition: background-color .5s, border-color .5s, box-shadow .5s;
}
.tl-item.is-lit::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 5px var(--amber-dim), 0 0 14px var(--amber-glow); }
.tl-item .tl-when { text-align: right; color: var(--muted); padding-top: .5em; }
.tl-item.is-lit .tl-when { color: var(--amber); }
.tl-item .tl-body { display: grid; gap: 10px; }
.tl-item.alt .tl-when { order: 2; text-align: left; }
.tl-item.alt .tl-body { order: 1; text-align: right; justify-items: end; }

/* Numbered procedure (house) */
.proc { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 3vw; }
.proc li { position: relative; padding: 26px 0 34px; display: grid; gap: 14px; align-content: start; }
.proc li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong);
  transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) calc(var(--i, 0) * .1s);
}
.no-js .proc li::before, .proc.in li::before { transform: scaleX(1); }
.proc .p-n { color: var(--amber); }
.proc h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 1.8vw, 1.75rem); letter-spacing: -.02em; line-height: 1.1; }
.proc p { color: var(--bone-80); margin: 0; font-size: .98rem; }

.wont { list-style: none; border-bottom: 1px solid var(--line); }
.wont li {
  display: grid; grid-template-columns: 6rem 1fr; gap: 16px; align-items: baseline;
  padding: clamp(16px, 2.6vh, 26px) 0;
  border-top: 1px solid var(--line);
}
.wont .w-x { color: var(--amber); }
.wont .w-t { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.025em; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px 6vw; align-items: start; }
.form { display: grid; gap: 30px; }
.field { display: grid; gap: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.f-label { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.f-label .req { color: var(--amber); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--bone);
  font: 400 1.15rem/1.4 var(--f-body);
  transition: border-color .4s var(--ease);
}
.textarea { min-height: 120px; resize: vertical; }

.input:focus, .select:focus, .textarea:focus { outline: none; border-bottom-color: var(--amber); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--amber); }
.select-wrap { position: relative; }
.select { -webkit-appearance: none; appearance: none; padding-right: 32px; cursor: pointer; }
.select option { background: var(--surface); color: var(--bone); }
.select-wrap svg { position: absolute; right: 2px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.chips legend { padding: 0; margin-bottom: 12px; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 400 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--bone-80);
  cursor: pointer;
  transition: border-color .3s, background-color .3s, color .3s;
}
.chip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--muted); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.chip:hover span { border-color: var(--bone); color: var(--bone); }
.chip input:checked + span { border-color: var(--amber); color: var(--bone); background: var(--amber-dim); }
.chip input:checked + span::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 8px var(--amber-glow); }
.chip input:focus-visible + span { outline: 1px solid var(--amber); outline-offset: 3px; }
.f-error { display: none; align-items: center; gap: 8px; color: var(--amber); font: 400 .78rem/1.4 var(--f-mono); letter-spacing: .04em; }
.f-error svg { width: 15px; height: 15px; }
.field.is-invalid .f-error, fieldset.is-invalid .f-error { display: flex; }
.field.is-invalid .input, .field.is-invalid .select { border-bottom-color: var(--amber); }
fieldset.is-invalid .chip span { border-color: rgba(226,160,74,.5); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 8px; border-top: 1px solid var(--line); }
.form-note { color: var(--muted); max-width: 46ch; margin: 0; font-size: .92rem; }
.form-status { min-height: 1.5em; color: var(--bone); font-size: .95rem; margin: 0; }
.form-status.is-ok { display: flex; gap: 10px; align-items: flex-start; color: var(--bone); }
.form-status svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 3px; }
.aside-card { position: sticky; top: calc(var(--bar-h) + 32px); display: grid; gap: 28px; padding: 30px; background: var(--surface); border: 1px solid var(--line); }
.aside-steps { list-style: none; display: grid; }
.aside-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--bone-80); font-size: .96rem; }
.aside-steps li span:first-child { color: var(--amber); padding-top: 3px; }
.aside-meta { display: grid; gap: 18px; }
.aside-meta div { display: grid; gap: 4px; }
.aside-meta a { text-decoration: none; }

/* ---------- Legal ---------- */
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 40px 6vw; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--bar-h) + 28px); }
.legal-body { max-width: 72ch; }
.legal-body section { padding: 34px 0 10px; border-top: 1px solid var(--line); }
.legal-body section:first-child { border-top: 0; padding-top: 0; }
.legal-body h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2.1rem); letter-spacing: -.025em; line-height: 1.1; margin: 10px 0 18px; }
.legal-body p, .legal-body li { color: var(--bone-80); }
.legal-body ul { padding-left: 1.1em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .45em; }
.legal-body li::marker { color: var(--amber); }
.legal-body a { color: var(--bone); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; padding: calc(var(--bar-h) + 5vh) 0 8vh; }
.nf .ghost404 {
  font-family: var(--f-display); font-weight: 800; font-size: min(27vw, 38svh); line-height: .8; letter-spacing: -.07em; margin: clamp(16px, 3vh, 32px) 0 0;
  color: transparent; -webkit-text-stroke: 1px rgba(233,229,220,.16);
  margin-left: -.04em;
}

/* ---------- Footer ---------- */
.foot {
  position: relative;
  background: #000;
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 10vh, 110px);
  overflow: hidden;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
  gap: 40px 3vw;
  padding-bottom: clamp(40px, 7vh, 72px);
}
.foot-lead { display: grid; gap: 24px; align-content: start; }
.foot-lead .d-m { max-width: 14ch; }
.foot-col { display: grid; gap: 12px; align-content: start; }
.foot-col h2 { font: 400 var(--fs-mono)/1.5 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--bone); font-size: .98rem; }
.foot-col a:hover, .foot-col a:focus-visible { color: var(--amber); }
.foot-col address { font-style: normal; color: var(--bone-80); font-size: .98rem; line-height: 1.6; }
.foot-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot-legal a { color: var(--muted); text-decoration: none; }
.foot-legal a:hover { color: var(--bone); }
.foot-mark {
  position: relative;
  height: calc(var(--mark-size, 15vw) * .66);
  overflow: hidden;
  pointer-events: none; user-select: none;
}
.foot-mark span {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%);
  font-family: var(--f-display); font-weight: 800;
  font-size: var(--mark-size, 15vw);
  line-height: .8;
  letter-spacing: -.05em;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(233,229,220,.92) 0%, rgba(233,229,220,.5) 45%, rgba(233,229,220,.08) 78%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-lead { grid-column: 1 / -1; }
  .dept-row { grid-template-columns: 4.5rem minmax(0, 1fr) 56px; }
  .dept-row .d-name { font-size: clamp(2.5rem, 9vw, 7rem); }
  .dept-row .d-meta { grid-column: 2 / 3; grid-row: 2; }
  .dept-row .d-go { grid-row: 1; grid-column: 3; }
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
  .svc .includes { grid-column: 2; }
  .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature-media, .feature--right .feature-media { grid-column: 1 / -1; grid-row: auto; }
  .feature-copy, .feature--right .feature-copy { grid-column: 1 / -1; grid-row: auto; padding: 0; }
  .feature--left .feature-copy { text-align: left; justify-items: start; }
  .feature--left .feature-copy .lede { margin-left: 0; }
  .feature--left .feature-copy .spec dd { text-align: left; }
  .frame { aspect-ratio: 4 / 3; max-height: 72svh; }
  .frame--cine { aspect-ratio: 16 / 9; }
  .appt-grid, .cta-grid, .contact-grid, .legal-grid, .ch-head--split { grid-template-columns: 1fr; }
  .appt-grid .left, .legal-toc, .aside-card { position: static; }
  .tc-foot { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .hero-strip { grid-template-columns: auto auto; justify-content: space-between; }
  .hero-strip .cats { display: none; }
}

@media (max-width: 860px) {
  .hero h1 { font-size: min(19.4vw, 30svh); }
  .scroller-grid { grid-template-columns: 1fr; }
  .scroller-media {
    order: -1;
    top: var(--bar-h);
    height: auto;
    padding-top: 0;
    z-index: 3;
    background: var(--bg);
    padding-bottom: 14px;
  }
  .scroller-frame { height: 44svh; }
  .step, .step:first-child { min-height: 64svh; padding-block: 6vh; }
  .timeline::before, .timeline .tl-progress { left: 5px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 36px; gap: 8px; }
  .tl-item::before { left: 5px; top: calc(clamp(26px, 5vh, 56px) + .2em); }
  .tl-item .tl-when, .tl-item.alt .tl-when { order: 0; text-align: left; padding-top: 0; }
  .tl-item.alt .tl-body { order: 1; text-align: left; justify-items: start; }
  .field-row { grid-template-columns: 1fr; }
  .menu-list .m-desc { display: none; }
  .menu-list a { grid-template-columns: 2.6rem 1fr; }
}

@media (max-width: 640px) {
  .titlecard { min-height: 86svh; }
  .bar-book .hide-sm { display: none; }
  .wordmark { font-size: 17px; }
  .hero-top .hint { display: none; }
  .hero-strip { grid-template-columns: auto auto; justify-content: space-between; }
  .hero-strip .cats { display: none; }
  .dept-row { grid-template-columns: minmax(0, 1fr) 48px; gap: 10px 14px; }
  .dept-row .d-idx { grid-column: 1; grid-row: 1; }
  .dept-row .d-name { grid-column: 1; grid-row: 2; }
  .dept-row .d-meta { grid-column: 1 / -1; grid-row: 3; }
  .dept-row .d-go { grid-column: 2; grid-row: 2; width: 48px; height: 48px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .svc { grid-template-columns: 1fr; }
  .svc .includes { grid-column: 1; }
  .proc { grid-template-columns: 1fr; }
  .wont li { grid-template-columns: 3.6rem 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-col--addr { grid-column: 1 / -1; }
  .toc a { grid-template-columns: 5rem 1fr auto; }
  .figcap { flex-direction: column; gap: 4px; }
  .figcap span:last-child { text-align: left; }
  .aside-card { padding: 22px; }
  .menu-foot { padding-block: 16px 20px; }
  .menu-foot .btn { width: 100%; }
}

@media (max-width: 480px) {
  .bar .menu-btn .mb-label { display: none; }
  .menu-list a { font-size: min(7.6vh, 9.6vw); grid-template-columns: 2.2rem 1fr; gap: .6rem; padding: .14em 0 .18em; }
  .bar .menu-btn { padding: 0 13px; min-width: 46px; min-height: 42px; justify-content: center; }
  .bar-right { gap: 16px; }
  .wordmark { font-size: 15.5px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .rv, .js .fade-black img { opacity: 1 !important; transform: none !important; filter: none !important; }
  .rule, .spec-row::before, .dept-list li::before, .svc::before, .proc li::before { transform: scaleX(1) !important; }
  .step { opacity: 1; }
  .menu-list a { transform: none; }
}
