:root {
  --paper: #f1efea;
  --ink: #0e0e0e;
  --grey: #8a8781;
  --line: #d6d3cc;
  --signal: #ff5b1f;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: .92; letter-spacing: -0.035em; }
h2 { font-size: clamp(44px, 8vw, 120px); }
p { margin: 0; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--grey); }
.kicker { color: var(--grey); margin-bottom: 18px; }
::selection { background: var(--signal); color: var(--ink); }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.intro-half {
  position: absolute; left: 0; right: 0; height: 50%;
  background: var(--ink); color: var(--paper); overflow: hidden;
  transition: transform 1s var(--ease);
}
.intro-top { top: 0; }
.intro-bot { bottom: 0; }
.intro-half span {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-weight: 800; font-size: clamp(60px, 14vw, 200px); letter-spacing: -0.04em; line-height: 1;
}
.intro-top span { bottom: -0.5em; }
.intro-bot span { top: -0.5em; }
.intro-blade {
  position: absolute; top: 50%; left: 0; height: 2px; width: 100%;
  background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease), opacity .3s .4s;
}
.intro.cut .intro-blade { transform: scaleX(1); }
.intro.open .intro-blade { opacity: 0; }
.intro.open .intro-top { transform: translate(-6%, -100%); }
.intro.open .intro-bot { transform: translate(6%, 100%); }
.intro.done { display: none; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--paper); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), opacity .2s;
  opacity: 0;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.cursor-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transition: opacity .2s;
}
.cursor.big .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- concept bar + header ---------- */
.concept-bar {
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  text-align: center; padding: 7px var(--pad);
}
.concept-bar a { color: var(--signal); }
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.mark { font-weight: 800; font-size: 24px; letter-spacing: -0.04em; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.top nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:not(.nav-book) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }
.top nav a:not(.nav-book):hover { background-size: 100% 1px; }
.nav-book { background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: 99px; }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - 90px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 5vh, 56px) var(--pad) 40px;
  position: relative; overflow: hidden;
}
.stack { font-size: clamp(62px, 17.5vw, 270px); font-weight: 800; letter-spacing: -0.045em; line-height: .86; }
.line { position: relative; width: max-content; will-change: transform; }
.line[data-line="1"] { margin-left: 26%; }
.line[data-line="2"] { margin-left: 10%; }
.slice { display: block; white-space: nowrap; transition: transform 1.1s var(--ease-out); }
.slice-top { clip-path: inset(0 0 55% 0); transform: translateX(var(--cut, 0px)); }
.slice-bot { clip-path: inset(49% 0 0 0); position: absolute; inset: 0; }
.stack.pre .slice-top { transform: translateX(-30vw); }
.stack.pre .slice-bot { transform: translateX(30vw); }
.stack.live .slice { transition: transform .5s var(--ease-out); }
.line[data-line="0"] .slice-top { --cut: var(--cut0, 0px); }
.line[data-line="1"] .slice-top { --cut: var(--cut1, 0px); }
.line[data-line="2"] .slice-top { --cut: var(--cut2, 0px); }

.hero-foot {
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end;
  margin-top: 48px;
}
.hero-foot .kicker { grid-column: 1 / -1; margin: 0; }
.hero-lede { font-size: clamp(32px, 4.4vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.hero-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.addr { display: flex; align-items: center; gap: 8px; }
.pin { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 var(--signal); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,91,31,.6); } 100% { box-shadow: 0 0 0 12px rgba(255,91,31,0); } }
.hint { position: absolute; right: var(--pad); top: 24px; color: var(--grey); }
@media (hover: none) { .hint { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 16px 26px; border-radius: 99px; font-weight: 600; font-size: 17px;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--signal);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn .arrow { transition: transform .45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.magnetic { transition: transform .4s var(--ease-out); will-change: transform; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; border-block: 1px solid var(--ink); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee span, .marquee i {
  font-size: clamp(28px, 4vw, 56px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase;
  white-space: nowrap; padding: 0 .4em; font-style: normal; font-variation-settings: "wdth" 80;
}
.marquee i { color: var(--signal); font-variation-settings: normal; }

/* ---------- trim ---------- */
.trim { height: 320vh; position: relative; }
.trim-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.trim-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.trim-copy { position: absolute; left: var(--pad); top: clamp(80px, 14vh, 140px); max-width: 520px; }
.trim-sub { margin-top: 18px; font-size: 19px; max-width: 30ch; }
.trim-readout {
  position: absolute; right: var(--pad); top: clamp(80px, 14vh, 140px);
  width: min(240px, 40vw); display: grid; gap: 10px;
}
.trim-readout > div:first-child { display: flex; justify-content: space-between; }
.trim-readout .val { color: var(--ink); font-weight: 500; }
.trim-readout .lbl { color: var(--grey); }
.trim-readout .bar { height: 3px; background: var(--line); }
.trim-readout .bar span { display: block; height: 100%; width: 0; background: var(--signal); }

/* ---------- services ---------- */
.services { padding: clamp(80px, 14vh, 160px) var(--pad); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 6vh, 64px); }
.section-head .kicker { margin: 0; }
.menu { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.menu li { border-bottom: 1.5px solid var(--ink); }
.row {
  width: 100%; border: 0; background: none; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 60px minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: clamp(22px, 3.4vw, 40px) 12px; position: relative; isolation: isolate;
  transition: color .35s;
}
.row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease);
}
.row:hover::before, .row:focus-visible::before { clip-path: inset(0 0 0 0); }
.row:hover, .row:focus-visible { color: var(--paper); outline: none; }
.row .idx { color: var(--grey); }
.row .name {
  font-size: clamp(26px, 4vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -0.035em;
  font-variation-settings: "wdth" 100;
  transition: font-variation-settings .6s var(--ease-out);
}
.row:hover .name { font-variation-settings: "wdth" 72; }
.row .desc { font-size: 15px; color: var(--grey); max-width: 42ch; transition: color .35s; }
.row:hover .desc { color: #bdbab3; }
.row .meta { display: flex; align-items: baseline; gap: 14px; justify-self: end; }
.row .meta b { font-family: var(--sans); font-size: clamp(24px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; text-transform: none; }
.row[aria-pressed="true"]::before { clip-path: inset(0 0 0 0); background: var(--signal); }
.row[aria-pressed="true"] { color: var(--ink); }
.row[aria-pressed="true"] .desc, .row[aria-pressed="true"] .idx { color: var(--ink); }
.row[aria-pressed="true"] .idx::before { content: "✂ "; }
.note { margin-top: 28px; color: var(--grey); }

/* ---------- process (horizontal) ---------- */
.process { position: relative; background: var(--ink); color: var(--paper); }
.process-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.process-track { display: flex; gap: 24px; padding: 0 var(--pad); will-change: transform; }
.panel {
  flex: 0 0 auto; width: min(78vw, 440px); height: min(64vh, 520px);
  border: 1.5px solid #333; border-radius: 4px; padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; position: relative;
}
.panel-intro { width: min(86vw, 620px); border: 0; padding-left: 0; justify-content: center; }
.panel-intro .kicker { color: #8a8781; }
.scroll-cue { margin-top: 28px; }
.panel .num {
  position: absolute; top: 20px; left: 28px;
  font-size: clamp(90px, 14vw, 180px); font-weight: 800; letter-spacing: -0.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px #555;
}
.panel h3 { font-size: clamp(40px, 5vw, 64px); }
.panel p { color: #bdbab3; max-width: 32ch; }
.panel-ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.panel-ink p { color: #55524c; }
.panel-ink .num { -webkit-text-stroke-color: #b8b4ac; }
.panel-signal { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.panel-signal p { color: var(--ink); }
.panel-signal .num { -webkit-text-stroke-color: var(--ink); }

/* ---------- visit ---------- */
.visit {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(80px, 14vh, 160px) var(--pad);
}
.visit h2 { margin-bottom: 40px; }
.lift { display: flex; gap: 22px; align-items: center; margin-bottom: 36px; }
.lift-display {
  width: 92px; height: 92px; flex: 0 0 auto; background: var(--ink); color: var(--signal);
  border-radius: 6px; display: grid; place-items: center; position: relative; font-size: 13px;
}
.lift-floor { font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: 0; }
.lift-arrow { position: absolute; top: 8px; font-size: 10px; opacity: .3; }
.lift.moving .lift-arrow { opacity: 1; animation: blink .5s steps(2) infinite; }
.lift.arrived .lift-display { animation: ding .5s var(--ease-out); }
@keyframes blink { 50% { opacity: .2; } }
@keyframes ding { 40% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255,91,31,.25); } }
.lift-text { font-size: 20px; font-weight: 600; line-height: 1.3; }
.facts { list-style: none; padding: 0; margin: 0 0 36px; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li span:first-child { color: var(--grey); }
.facts a { text-decoration: none; border-bottom: 1px solid var(--signal); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map-wrap { position: relative; min-height: 420px; border-radius: 4px; overflow: hidden; border: 1.5px solid var(--ink); }
.map-wrap { display: block; --pin-red: #e4161f; }
.map-tiles { position: absolute; inset: 0; overflow: hidden; background: #e9e6df; transition: transform 1.2s var(--ease-out); }
.map-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; }
.map-wrap:hover .map-tiles { transform: scale(1.06); }
.map-credit { position: absolute; right: 0; bottom: 0; font-size: 10px; padding: 3px 6px; background: rgba(241,239,234,.85); color: #55524c; }
/* greyscale everywhere except a soft circle of colour around the pin */
.map-grey {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-backdrop-filter: grayscale(1) contrast(1.08);
  backdrop-filter: grayscale(1) contrast(1.08);
  --r: 90px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0, transparent var(--r), #000 calc(var(--r) * 2.2));
  mask-image: radial-gradient(circle at 50% 50%, transparent 0, transparent var(--r), #000 calc(var(--r) * 2.2));
  transition: --r .6s;
}
.map-wrap:hover .map-grey { --r: 140px; }
@property --r { syntax: '<length>'; inherits: false; initial-value: 90px; }
.map-pin {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 46px;
  transform: translate(-50%, -100%); pointer-events: none;
  animation: pin-drop .9s var(--ease-out) both;
}
.map-pin svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.map-pin path { fill: var(--pin-red); }
.map-pin circle { fill: #fff; }
.map-ring {
  position: absolute; left: 50%; bottom: -6px; width: 18px; height: 8px; margin-left: -9px;
  border-radius: 50%; border: 2px solid var(--pin-red);
  animation: pin-ring 2s ease-out infinite;
}
@keyframes pin-drop { from { transform: translate(-50%, -260%); opacity: 0; } 60% { opacity: 1; } }
@keyframes pin-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.map-tag { position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--paper); padding: 6px 10px; pointer-events: none; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 48px var(--pad) 100px; overflow: hidden; }
.foot-word {
  font-size: clamp(80px, 24vw, 380px); font-weight: 800; letter-spacing: -0.05em; line-height: .8;
  display: flex; justify-content: center; margin: 0 0 32px; user-select: none;
}
.foot-word span {
  display: inline-block; font-variation-settings: "wdth" 100;
  transition: font-variation-settings .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
.foot-word span:hover { font-variation-settings: "wdth" 125; color: var(--signal); transform: translateY(-6%); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: #8a8781; border-top: 1px solid #2a2a2a; padding-top: 20px; }
.foot-row a { color: var(--paper); }

/* ---------- booking bar ---------- */
.bookbar {
  position: fixed; left: 50%; bottom: 18px; z-index: 60;
  width: min(680px, calc(100% - 32px));
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 16px;
  background: var(--ink); color: var(--paper); border-radius: 14px; padding: 12px 12px 12px 20px;
  transform: translate(-50%, 150%); transition: transform .6s var(--ease-out);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
}
.bookbar.show { transform: translate(-50%, 0); }
.bookbar-info { display: grid; min-width: 0; }
.bookbar-lbl { color: var(--signal); font-size: 10px; }
.bookbar-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookbar-price { color: #bdbab3; }
.bookbar-go { background: var(--signal); color: var(--ink); text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 9px; white-space: nowrap; }
.bookbar-x { background: none; border: 0; font-size: 24px; line-height: 1; padding: 4px 8px; cursor: pointer; color: #8a8781; }
.bookbar-name.flip { animation: flip .4s var(--ease-out); }
@keyframes flip { from { transform: translateY(60%); opacity: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-meta { align-items: flex-start; }
  .row { grid-template-columns: 36px 1fr auto; gap: 8px 14px; }
  .row .desc { grid-column: 2 / -1; grid-row: 2; }
  .visit { grid-template-columns: 1fr; }
  .map-wrap { min-height: 320px; }
  .trim-readout { top: auto; bottom: 28px; left: var(--pad); right: auto; width: min(240px, 70vw); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top nav a:not(.nav-book) { display: none; }
  .hero { justify-content: flex-start; gap: 56px; min-height: auto; padding-bottom: 56px; }
  .stack { font-size: 21vw; margin-top: 24px; }
  .line[data-line="1"] { margin-left: 12%; }
  .line[data-line="2"] { margin-left: 2%; }
  .hero-foot { margin-top: 0; }
  .bookbar { grid-template-columns: 1fr auto auto; padding-left: 16px; }
  .bookbar-price { display: none; }
  .panel { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .intro { display: none; }
  .reveal { opacity: 1; transform: none; }
}
