@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  --ink: #10100e;
  --sheet: #171613;
  --paper: #f5f0e7;
  --foreground: #f6f2ea;
  --muted: #bdb5a8;
  --bronze: #dfb87f;
  --line: #443c30;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1.25rem, 5.5vw, 5.5rem);
  --content: 87.5rem;
  --header: 4.5rem;
  background: var(--ink);
  color: var(--foreground);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
::selection { background: var(--bronze); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, summary, a, input, textarea { -webkit-tap-highlight-color: #dfb87f24; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 5px; }
[id] { scroll-margin-top: calc(var(--header) + 1rem); }
h1, h2, h3, p, figure, ol, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.038em; text-wrap: balance; }
p { line-height: 1.62; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  white-space: nowrap; clip-path: inset(50%); border: 0;
}
.skip:focus {
  position: fixed; top: .75rem; left: .75rem; z-index: 40;
  padding: .75rem 1rem; background: var(--bronze); color: var(--ink);
}

.masthead {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink); border-bottom: 1px solid #ffffff16;
}
.masthead-inner, .section-inner, .hero-inner {
  max-width: var(--content); margin-inline: auto; padding-inline: var(--gutter);
}
.masthead-inner {
  min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; white-space: nowrap;
}
.brand img { display: block; }
.masthead nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.5rem); }
.masthead nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: .85rem; color: var(--muted); transition: color 150ms ease;
}
.masthead nav a:hover { color: var(--foreground); }
.masthead nav .nav-contact {
  color: var(--bronze); padding-inline: .95rem; border: 1px solid #756143; border-radius: .2rem;
}

.hero { position: relative; isolation: isolate; overflow: clip; background: #11110f; }
.hero-image { position: absolute; z-index: -1; inset: 0 0 0 36%; overflow: hidden; }
.hero-image picture, .hero-image img { width: 100%; height: 100%; display: block; }
.hero-image img { object-fit: cover; object-position: 59% 49%; }
.motion-ready .hero-image img {
  transform: translateY(calc(var(--hero-travel, 0) * 3.2rem)) scale(calc(1 + var(--hero-travel, 0) * .075));
  transform-origin: 65% 55%;
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #11110f 0, #11110f00 37%),
    linear-gradient(0deg, #11110f 0, #11110f00 27%);
}
.hero-inner {
  position: relative; min-height: min(52rem, 92svh);
  display: flex; align-items: center; padding-block: clamp(4.75rem, 9vh, 7rem);
}
.hero-copy { position: relative; z-index: 1; max-width: 34rem; }
.hero h1 {
  font-size: clamp(3.6rem, 5.85vw, 6rem); line-height: .99;
  text-wrap: initial; max-width: 10ch;
}
.hero h1 span { color: #e8e0d2; }
.hero-copy > p {
  max-width: 30rem; margin-top: 1.6rem;
  color: #d2c9bc; font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.35rem; }
.button {
  min-height: 3.15rem; display: inline-flex; align-items: center; justify-content: center;
  gap: .75rem; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .2rem;
  font-weight: 600; font-size: .9rem; text-align: center; line-height: 1.3;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button-primary { background: var(--bronze); color: var(--ink); }
.button-primary:hover { background: #efd2a4; }
.button-secondary { color: var(--foreground); padding-inline: .35rem; }
.button-secondary:hover { color: var(--bronze); }
.arrow {
  display: inline-block; width: .72em; height: .72em; flex: 0 0 auto;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); margin-right: .2em;
}
.arrow-down { transform: translateY(-.15em) rotate(135deg); }
.hero-inquiry { position: absolute; right: var(--gutter); bottom: clamp(2rem, 7vh, 4.25rem); width: min(21rem, 32%); }
.motion-ready .hero-inquiry .inquiry-card {
  transform: translate(calc(var(--hero-travel, 0) * -1.45rem), calc(var(--hero-travel, 0) * -2.2rem));
}
.inquiry-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem;
  padding: .95rem 1.05rem; background: #191713; border: 1px solid #65553c;
  border-radius: .85rem;
}
.inquiry-label { color: var(--muted); font-size: .76rem; margin-bottom: .3rem; }
.inquiry-card strong { display: block; font-size: clamp(.9rem, 1.5vw, 1.1rem); letter-spacing: -.025em; }
.hero-inquiry figcaption { margin-top: .6rem; color: #e6daca; font-size: .72rem; letter-spacing: .02em; text-align: right; }
.record-icon {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.4rem; height: 2.4rem;
  border-radius: .55rem; border: 1px solid #806846; color: var(--bronze); background: #2a231a;
}
.record-icon::before {
  content: ""; display: block; width: .76rem; height: .9rem; border: 1.5px solid currentColor; border-radius: .13rem;
  background: linear-gradient(currentColor, currentColor) 50% 37%/.36rem 1px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 64%/.36rem 1px no-repeat;
}
.booking-mark {
  width: .68rem; height: .4rem; border-left: 1.5px solid var(--bronze);
  border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg);
  margin: 0 .15rem .18rem 0;
}

.system { background: #181713; padding-block: clamp(4rem, 8vw, 8.5rem); }
.system-intro, .work-inner, .contact-inner { display: grid; grid-template-columns: 1.14fr .86fr; gap: clamp(1.5rem, 6vw, 6.5rem); }
.system-intro { align-items: end; }
.section-inner h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 1.03; }
.system-side { max-width: 24rem; }
.system-side > p, .contact-copy > p { color: var(--muted); font-size: 1.05rem; }
.mode-control { padding: 0; margin: 1.55rem 0 0; border: 0; min-inline-size: 0; }
.mode-control legend { font-size: .8rem; color: var(--muted); padding: 0; }
.mode-buttons {
  display: inline-flex; gap: .15rem; padding: .2rem; margin-top: .5rem;
  border: 1px solid #5f5140; border-radius: .45rem; background: #151410;
}
.mode-buttons button {
  min-height: 2.75rem; border: 0; border-radius: .25rem; padding: .55rem .8rem;
  color: #dbd3c6; background: transparent; font-size: .84rem;
  transition: color 150ms ease, background-color 150ms ease;
}
.mode-buttons button:hover { background: #302a21; }
.mode-buttons button[aria-pressed=true] { color: var(--ink); background: var(--bronze); font-weight: 600; }

.sequence-scroll { margin-top: clamp(2.5rem, 6vw, 5rem); }
.sequence-scroll[data-scrub]::after {
  content: ""; display: block; height: clamp(58rem, 156svh, 94rem);
}
.sequence-scroll[data-scrub] .sequence {
  position: sticky; top: calc(var(--header) + 1rem);
}
.sequence {
  --progress: 0;
  padding: clamp(1rem, 4vw, 3.6rem);
  border: 1px solid #5b4b37; border-radius: .9rem; background: #11100e;
}
.timeline { position: relative; isolation: isolate; }
.track {
  position: absolute; z-index: -1; left: 12.5%; right: 12.5%; top: 1.39rem;
  height: 1px; background: #665641;
}
.track span {
  position: absolute; inset: 0; background: var(--bronze);
  transform: scaleX(var(--trace-progress, var(--progress))); transform-origin: left;
  transition: transform 1050ms var(--ease-out);
}
.sequence[data-driver="scroll"] .track span { transition: none; }
.track::after {
  content: ""; position: absolute; inset: -3px 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 3px at calc(var(--trace-progress, var(--progress)) * 100%) center, #fff0cf 32%, #dfb87f 70%, transparent 100%);
}
.sequence[data-driver="scroll"] .track::after { opacity: 1; }
.stages {
  padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stages li { min-width: 0; }
.stages button {
  display: flex; flex-direction: column; align-items: center; min-inline-size: 100%; min-height: 3.5rem;
  border: 0; padding: .79rem .1rem .4rem; background: transparent; color: var(--muted);
  font-size: clamp(.66rem, 1.5vw, .9rem); font-weight: 550; line-height: 1.22;
  transition: color 200ms ease;
}
.stages button:hover, .stages button[aria-current] { color: var(--foreground); }
.stage-point {
  width: 1.26rem; height: 1.26rem; background: #1d1a15; border: 1px solid #8a7352; border-radius: 50%;
  margin-bottom: .65rem;
  transition: border-color 250ms ease, background-color 250ms ease, box-shadow 350ms ease;
}
.stages button[data-complete] .stage-point { background: #8a6a42; border-color: var(--bronze); }
.stages button[aria-current] .stage-point {
  background: var(--bronze); border-color: var(--bronze); box-shadow: 0 0 0 5px #dfb87f26;
}
.sequence-scene {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(1.25rem, 5vw, 5rem); min-height: 13rem; margin-top: 1.85rem;
  border-top: 1px solid #44382a; border-bottom: 1px solid #44382a;
  padding: 1.7rem clamp(.3rem, 2.5vw, 2rem);
}
.scene-copy h3 { font-size: clamp(1.55rem, 3vw, 2.85rem); line-height: 1.08; }
.scene-copy p { margin-top: .7rem; color: var(--muted); max-width: 35ch; }
.scene-record {
  border-radius: .75rem; border: 1px solid #6d5840; background: #241f17;
}
.record-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem .7rem;
  padding: .75rem .95rem; border-bottom: 1px solid #594837;
  color: #eee0cd; font-size: .77rem; font-weight: 550;
}
.record-demo { color: #c7b6a0; font-weight: 400; }
.record-body { display: flex; gap: .8rem; align-items: center; padding: .95rem; }
.record-body strong { display: block; font-weight: 650; letter-spacing: -.02em; }
.record-body p { margin-top: .22rem; color: #d9c8b3; font-size: .83rem; }
.sequence-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .6rem 1rem; margin-top: .85rem; color: var(--muted);
}
.sequence-footer p { font-size: .88rem; }
.sequence-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.05rem; }
.play-button, .scroll-button, .skip-study {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 2.75rem; padding: .45rem 0 .45rem .45rem;
  border: 0; color: var(--bronze); background: none; font-size: .9rem; font-weight: 600;
}
.sequence-controls [hidden] { display: none; }
.scroll-button, .skip-study { padding-left: 0; color: var(--muted); font-size: .83rem; font-weight: 500; }
.play-button:hover .play-label, .scroll-button:hover, .skip-study:hover { text-decoration: underline; text-underline-offset: .23rem; }
.play-icon {
  width: .58rem; height: .68rem; border-left: .58rem solid currentColor;
  border-top: .34rem solid transparent; border-bottom: .34rem solid transparent;
}
.play-button[data-playing] .play-icon {
  border: 0; border-left: 2px solid currentColor; border-right: 2px solid currentColor; width: .55rem;
}
noscript p { font-size: .875rem; color: var(--muted); }

.work {
  color-scheme: light; color: #1b1813; background: var(--paper);
  padding-block: clamp(4rem, 9.4vw, 10rem);
}
.work :focus-visible { outline-color: #76461f; }
.work ::selection { background: #865827; color: #fff9ed; }
.work-inner { grid-template-columns: .88fr 1.12fr; align-items: center; }
.work-copy h2 { max-width: 12ch; }
.work-copy > p { margin-top: 1.3rem; max-width: 37ch; color: #504637; font-size: 1.05rem; }
.proof-support {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: .95rem;
  margin-top: 1.7rem; border-top: 1px solid #b2a18c; padding-top: 1.2rem;
}
.proof-support dt { color: #554939; font-size: .81rem; }
.proof-support dd { margin-top: .3rem; font-size: clamp(1.5rem, 3.5vw, 2.6rem); font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.proof { border-left: 1px solid #b2a18c; padding-left: clamp(1.6rem, 4vw, 4.7rem); }
.proof-label { font-size: clamp(.85rem, 1.5vw, 1.03rem); font-weight: 650; color: #504334; }
.figures {
  position: relative;
  display: flex; align-items: center; gap: clamp(.65rem, 1.9vw, 2rem);
  margin-top: .7rem; padding-bottom: 1.15rem; border-bottom: 1px solid #b2a18c;
}
.figures::after {
  content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px;
  background: #9d7045; transform: scaleX(var(--proof-travel, 1)); transform-origin: left;
}
.figures strong {
  font-variant-numeric: tabular-nums; display: block; font-size: clamp(2.5rem, 5.7vw, 6rem);
  font-weight: 650; letter-spacing: -.04em; line-height: 1;
}
.figures > div:last-child strong { color: #794a1f; }
.motion-ready .figures > div:last-child strong {
  transform: translateY(calc((1 - var(--proof-travel, 1)) * .75rem));
}
.figures > div > span { display: block; margin-top: .6rem; font-size: .82rem; color: #554939; }
.proof-arrow {
  position: relative; flex: 1 1 2rem; min-width: 1.08rem; max-width: 4rem; height: 1px;
  margin-bottom: 1.4rem; background: #876746;
}
.motion-ready .proof-arrow { transform: scaleX(var(--proof-travel, 1)); transform-origin: left; }
.proof-arrow::after {
  content: ""; display: block; width: .5rem; height: .5rem; position: absolute; right: 0; top: -.23rem;
  border-right: 1px solid #876746; border-top: 1px solid #876746; transform: rotate(45deg);
}
.proof figcaption, .method p { color: #514739; font-size: .88rem; line-height: 1.55; }
.proof figcaption { margin-top: 1rem; max-width: 52ch; }
.method { margin-top: .6rem; }
.method summary { min-height: 2.75rem; align-content: center; cursor: pointer; color: #684019; font-size: .87rem; font-weight: 650; text-underline-offset: .24rem; }
.method summary:hover { text-decoration: underline; }
.method p { max-width: 53ch; margin-top: .4rem; }

.contact { padding-block: clamp(3.5rem, 8vw, 7rem); background: #181713; }
.contact-copy > p { margin-top: 1.25rem; max-width: 38ch; }
.contact-form { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.form-note { color: var(--muted); font-size: .85rem; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.contact-form label { display: grid; gap: .5rem; min-width: 0; color: var(--foreground); font-size: .9rem; }
.contact-form input, .contact-form textarea {
  width: 100%; min-width: 0; background: #11100e; color: var(--foreground);
  border: 1px solid #8b7a64; border-radius: .3rem; padding: .65rem; caret-color: var(--bronze);
  scroll-margin-top: calc(var(--header) + 1rem);
}
.contact-form input { min-height: 2.85rem; }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.confirmation { color: var(--bronze); font-size: .9rem; }
.confirmation:empty { display: none; }
footer { background: #10100e; border-top: 1px solid #3f362a; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
  padding-block: 1.2rem;
}
.footer-inner p { color: var(--muted); font-size: .8rem; }

@media (max-width: 850px) {
  .hero h1 { font-size: clamp(3.5rem, 8vw, 5.4rem); }
  .hero-copy { max-width: 27rem; }
  .hero-copy > p { max-width: 25rem; }
  .hero-image { left: 29%; }
  .hero-image::after {
    background: linear-gradient(90deg, #11110f 0, #11110fe8 11%, #11110f00 64%),
      linear-gradient(0deg, #11110f 0, #11110f00 30%);
  }
  .system-intro, .work-inner, .contact-inner { gap: 1.75rem; }
}

@media (max-width: 680px) {
  :root { --header: 4rem; }
  .brand img { width: 2.85rem; height: 2.85rem; }
  .brand-suffix, .masthead nav .nav-section { display: none; }
  .masthead nav .nav-contact { padding-inline: .65rem; font-size: .78rem; }
  .masthead-inner { gap: .6rem; }
  .hero-image { inset: auto 0 0; height: clamp(20rem, 89vw, 30rem); }
  .hero-image img { object-position: 60% 44%; }
  .motion-ready .hero-image img { transform: translateY(calc(var(--hero-travel, 0) * 1rem)); }
  .motion-ready .hero-inquiry .inquiry-card { transform: translateY(calc(var(--hero-travel, 0) * -1.15rem)); }
  .hero-image::after {
    background: linear-gradient(180deg, #11110f 0, #11110fd9 12%, #11110f00 43%),
      linear-gradient(0deg, #11110f 0, #11110f00 30%);
  }
  .hero-inner {
    display: flex; flex-direction: column; align-items: stretch;
    min-height: clamp(42rem, 178vw, 50rem); padding-block: 2.9rem 1.65rem;
  }
  .hero-copy { max-width: 31rem; }
  .hero h1 { font-size: clamp(2.75rem, 10.2vw, 4.45rem); max-width: 11ch; line-height: 1.02; }
  .hero-copy > p { margin-top: 1rem; max-width: 40ch; font-size: .94rem; line-height: 1.55; }
  .actions { margin-top: 1.1rem; gap: .3rem 1rem; }
  .button { min-height: 2.9rem; padding-inline: .85rem; font-size: .82rem; }
  .button-secondary { padding-inline: .1rem; }
  .hero-inquiry {
    position: static; width: min(14.75rem, 92%); margin-top: auto; padding-top: 12.5rem; align-self: end;
  }
  .hero-inquiry figcaption { margin-top: .45rem; }
  .inquiry-card { padding: .65rem .7rem; gap: .6rem; }
  .hero-inquiry .record-icon { width: 2.05rem; height: 2.05rem; }
  .system-intro, .work-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .section-inner h2 { font-size: clamp(2.3rem, 8.9vw, 3.6rem); }
  .system-side > p, .contact-copy > p, .work-copy > p { font-size: .97rem; }
  .sequence-scroll { margin-top: 2rem; }
  .sequence-scroll[data-scrub]::after { height: clamp(40rem, 124svh, 66rem); }
  .sequence-scene { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-top: .75rem; padding: 1.2rem 0; gap: .95rem; }
  .scene-copy p { font-size: .88rem; }
  .record-bar, .record-body { padding-inline: .7rem; }
  .record-body { gap: .6rem; }
  .sequence-footer { margin-top: .65rem; }
  .sequence-footer p { font-size: .8rem; }
  .play-button { padding-left: 0; }
  .proof { border-left: 0; border-top: 1px solid #b2a18c; padding: 1.45rem 0 0; }
  .figures strong { font-size: clamp(2.5rem, 12.1vw, 4.65rem); }
  .contact { padding-block: 2.4rem 3rem; }
  .contact-copy > p { margin-top: .85rem; }
  .contact-inner { gap: 1.2rem; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track span, .stage-point, .stages button, .button, .mode-buttons button, .masthead nav a {
    transition: none;
  }
  .motion-ready .hero-image img, .motion-ready .hero-inquiry .inquiry-card,
  .motion-ready .figures > div:last-child strong, .motion-ready .proof-arrow, .figures::after {
    transform: none;
  }
}
