:root {
  --bg: #0b0b0b;
  --panel: #111110;
  --cream: #ece4d6;
  --gold: #c4a574;
  --mute: #9a9186;
  --line: rgba(236, 228, 214, 0.14);
  --serif: "Oranienbaum", "Times New Roman", serif;
  --sans: "Golos Text", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3, .brand, .giant, blockquote, .loader p, .words h2, .idx {
  font-family: var(--serif);
  font-weight: 400;
}
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #111; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.cursor {
  display: none;
  position: fixed;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .2s, height .2s;
}
body.has-cursor .cursor { display: block; }
.cursor.hot { width: 40px; height: 40px; }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 70;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: grid;
  place-items: center;
  gap: 18px;
  color: var(--gold);
  transition: opacity .7s ease, visibility .7s;
}
.loader p {
  margin: 0;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: 13px;
}
.loader-mark {
  width: 72px;
  height: 72px;
  animation: draw 1.4s ease both;
}
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes draw {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: none; }
}

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  height: 64px;
  mix-blend-mode: difference;
}
.brand {
  font-size: 1.15rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a, .tel, .open {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border: 0;
  color: inherit;
}
.nav a:hover, .tel:hover, .nav a.is-on { color: var(--gold); }
.tel { white-space: nowrap; }
.open { display: none; margin-left: auto; border: 1px solid currentColor; padding: 7px 12px; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 32px;
}
.menu[hidden] { display: none; }
.menu a {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  text-decoration: none;
  line-height: 1.12;
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.menu-x {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 1px solid var(--cream);
  color: var(--cream);
  padding: 8px 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
}

.stage { display: flex; min-height: 100svh; }
.stage-media {
  position: sticky;
  top: 0;
  width: 46vw;
  height: 100svh;
  overflow: hidden;
  background: #161310;
  flex: none;
}
.stage-media img, .stage-media video {
  transform: scale(1.06);
  object-position: 62% 10%;
  filter: saturate(.9) contrast(1.06);
  will-change: transform;
}
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}
.cap {
  position: absolute;
  left: 20px;
  bottom: 20px;
  margin: 0;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(236,228,214,.72);
}

.stage-copy {
  width: 54vw;
  padding: 0 6vw 8vh;
  min-width: 0;
}
.hero { padding: 22vh 0 16vh; }
.hero.inner { padding: 18vh 0 7vh; }
.crumbs {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 { margin: 0; line-height: .88; }
.hero h1 span {
  display: block;
  font-size: clamp(3.8rem, 8.5vw, 8rem);
  letter-spacing: -.03em;
}
.hero h1 span span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: up .8s cubic-bezier(.16,1,.3,1) forwards;
  font-size: inherit;
}
@keyframes up { to { opacity: 1; transform: none; } }
body.is-ready .hero h1 span span { }
.lead {
  max-width: 22em;
  margin: 28px 0 32px;
  color: var(--mute);
  font-size: 1.08rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--cream);
  color: #111;
  text-decoration: none;
  border: 1px solid var(--cream);
  letter-spacing: .04em;
  font-size: 13px;
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.line {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gold);
  color: var(--cream);
  text-decoration: none;
  padding: 0 0 3px;
  font-size: 13px;
  letter-spacing: .06em;
  cursor: pointer;
}
.stats {
  list-style: none;
  margin: 56px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}
.stats b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--cream);
}
.stats span { font-size: 12px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }

.block { padding: 10vh 0; border-top: 1px solid var(--line); }
.block > h2 { font-size: 1.5rem; margin: 28px 0 8px; }
.idx {
  margin: 0 0 28px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.h { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.12; margin: 0 0 36px; max-width: 12ch; }

.words { list-style: none; margin: 0; padding: 0; }
.words li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.words li:last-child { border-bottom: 1px solid var(--line); }
.words a { display: block; text-decoration: none; color: inherit; }
.words a:hover h2 { color: var(--gold); }
.plain { list-style: none; margin: 24px 0; padding: 0; }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.words h2 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.02em;
}
.words p {
  margin: 10px 0 0;
  color: var(--mute);
  max-width: 32em;
}

.cols { display: grid; gap: 36px; }
.cols h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: var(--gold);
}
.cols ul { margin: 0; padding: 0; list-style: none; }
.cols li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: #d8d0c4;
}

blockquote {
  margin: 0 0 32px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.25;
  max-width: 14ch;
}
.bio { display: grid; gap: 16px; max-width: 38em; }
.bio p { margin: 0; color: var(--mute); }

.giant {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-decoration: none;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -.02em;
}
.giant:hover { color: var(--gold); }
.grid2 { display: grid; gap: 32px; }
.grid2 a { text-decoration: none; border-bottom: 1px solid var(--line); }
.grid2 a:hover { border-color: var(--gold); }

.form { display: grid; gap: 14px; }
.form label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.form input, .form textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 0;
  outline: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--cream);
}
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.form .btn { justify-self: start; }
.check {
  display: flex !important;
  flex-direction: row;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.check input { margin-top: 3px; }
.err { color: #d4a09a; }
.ok { color: var(--gold); }

.map { margin-top: 36px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 240px; border: 0; filter: grayscale(1) contrast(1.1); opacity: .85; }

.req { margin: 0; }
.req div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.req dt { color: var(--mute); }
.req dd { margin: 0; }
.copy { margin-top: 18px; }

.end {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}
.end a { text-decoration: none; }

.dock { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

.legal { max-width: 720px; padding: 18vh 8vw 12vh; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 16px; }
.legal h2 { font-size: 1.5rem; margin: 28px 0 8px; }
.legal p { color: var(--mute); }

@media (max-width: 980px) {
  .nav, .tel { display: none; }
  .open { display: inline-block; }
  .top { mix-blend-mode: normal; background: linear-gradient(to bottom, #0b0b0b, transparent); }
  .stage { display: block; }
  .stage-media {
    position: relative;
    width: 100%;
    height: 54svh;
  }
  .stage-copy { width: 100%; padding: 8vw 6vw 14vh; }
  .hero { padding: 6vw 0 18vw; }
  .hero h1 span { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .open {
    display: inline-block;
    color: var(--cream);
    border: 1px solid var(--cream);
  }
  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    background: #0b0b0b;
    border-top: 1px solid var(--line);
  }
  .dock a {
    text-align: center;
    padding: 14px 8px calc(12px + env(safe-area-inset-bottom));
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .dock a + a { color: #111; background: var(--cream); }
  .end { padding-bottom: 96px; }
}

.wipe {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  z-index: 96;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}
body.is-ready .wipe {
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .7s cubic-bezier(.77, 0, .18, 1);
}
body.is-leaving .wipe {
  transform: scaleY(1);
  transform-origin: top;
  transition: transform .55s cubic-bezier(.77, 0, .18, 1);
}

.ghost-word {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17vw;
  line-height: .8;
  color: rgba(236, 228, 214, .045);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  letter-spacing: -.05em;
  white-space: nowrap;
  transition: opacity .4s ease;
}
.ghost-word.on { opacity: 1; }

.year {
  position: absolute;
  right: 2vw;
  top: 12vh;
  margin: 0;
  font-family: var(--serif);
  font-size: 17vw;
  line-height: .75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 165, 116, .22);
  pointer-events: none;
  user-select: none;
}
.cue {
  display: inline-flex;
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}
.cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 48px;
  margin: 10px auto 0;
  background: var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scaleY(.4); opacity: .3; }
  50% { transform: scaleY(1); opacity: 1; }
}

.page-home .top { mix-blend-mode: normal; }
.page-home .stage { display: block; }
.page-home .stage-media {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  z-index: 0;
}
.page-home .stage-media img,
.page-home .stage-media video {
  animation: ken 22s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.16) translate(-2.5%, -1.5%); }
}
.page-home .stage-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
}
.page-home .hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 7vw 10vh;
  background: linear-gradient(180deg, rgba(11,11,11,.25) 0%, rgba(11,11,11,.05) 38%, rgba(11,11,11,.8) 100%);
  position: relative;
}
.page-home .hero h1 span {
  font-size: clamp(4.2rem, 12.5vw, 11rem);
}
.page-home .lead { color: rgba(236, 228, 214, .82); max-width: 28em; }
.page-home .block {
  position: relative;
  z-index: 2;
  background: var(--bg);
  padding: 12vh 7vw;
}
.page-home .end { padding-left: 7vw; padding-right: 7vw; background: var(--bg); position: relative; z-index: 2; }
.page-home .cap { display: none; }

@media (max-width: 980px) {
  .page-home .stage-media { position: relative; height: 100svh; }
  .page-home .hero {
    min-height: auto;
    margin-top: -46svh;
    padding: 0 6vw 22vh;
  }
  .page-home .lead { font-size: 15px; }
  .page-home .hero h1 span { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  .year { font-size: 28vw; top: 8vh; right: 0; }
  .ghost-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero h1 span span { opacity: 1; transform: none; animation: none; }
  .loader { display: none; }
  .cursor { display: none !important; }
  .page-home .stage-media { clip-path: none; }
  .page-home .stage-media img, .page-home .stage-media video { animation: none; }
  .cue::after { animation: none; }
}
