:root {
  --ink: #0e0d0b;
  --ink-2: #161410;
  --ivory: #f3eee6;
  --muted: #b7b1a6;
  --line: rgba(243, 238, 230, 0.16);
  --copper: #e07a45;
  --copper-deep: #c4652f;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --header: 5.4rem;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--copper); color: var(--ink); }

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 80;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
}

.skip:focus { top: 0.6rem; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--copper);
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 var(--pad);
  mix-blend-mode: difference;
}

.site-header.is-open { mix-blend-mode: normal; background: var(--ink); }

.mark {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
  font-family: var(--serif);
  letter-spacing: -0.04em;
  font-size: 1.95rem;
  font-weight: 500;
  line-height: 1;
}

.mark-plum {
  width: 1.85rem;
  height: 1.85rem;
  flex: none;
  display: block;
}

.mark-leaf { fill: var(--copper); }

.mark-type { position: relative; top: 0.04em; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.85rem 0.15rem;
  min-height: 3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav-panel a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ivory);
}

.nav-panel a.is-current {
  box-shadow: inset 0 -1px 0 var(--copper);
}

.nav-write {
  margin-left: 0.6rem;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 2rem) var(--pad) 4.5rem;
  overflow: hidden;
}

.hero-short { min-height: 86svh; }

.hero .film,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(14, 13, 11, 0.28) 0%, rgba(14, 13, 11, 0.05) 28%, rgba(14, 13, 11, 0.45) 62%, var(--ink) 100%);
}

.hero-copy { position: relative; z-index: 1; max-width: 18em; }

.hero-copy > * { animation: rise 1.15s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(1.4rem); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

h1, h2, h3, p { margin: 0; }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 8.4vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

h1 em, .lede em, .address-sample em {
  font-style: italic;
  font-weight: 500;
  color: var(--copper);
}

.deck {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--ivory);
  font-size: 1.12rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 2rem;
  align-items: center;
}

.link-arrow, .link-quiet, .go {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
}

.link-arrow::after, .go::after {
  content: " →";
  color: var(--copper);
}

.link-quiet { color: var(--muted); box-shadow: inset 0 -1px 0 var(--line); }

.film-toggle {
  position: absolute;
  right: var(--pad);
  bottom: 1.4rem;
  z-index: 2;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.65rem;
  cursor: pointer;
}

.film-toggle:hover { color: var(--ivory); border-color: var(--ivory); }

.wrap {
  width: min(1240px, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.band { padding: clamp(4.5rem, 12vh, 8rem) 0; scroll-margin-top: calc(var(--header) + 1rem); }
.band.tight { padding-top: 0; }

.lede {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.3vw, 2.85rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  max-width: 18em;
}

.split {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 3rem;
  align-items: end;
}

.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.facts strong { color: var(--ivory); font-weight: 400; }

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 0.9rem 0;
  color: var(--muted);
}

.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: drift 46s linear infinite;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.marquee-track span::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 2.4rem;
  background: var(--copper);
  transform: translateY(-0.05rem);
}

@keyframes drift { to { transform: translateX(-50%); } }

.chapters { display: grid; gap: clamp(3.5rem, 8vh, 6rem); }

.chapter {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  text-decoration: none;
  color: inherit;
}

.chapter:nth-child(even) { grid-template-columns: 0.9fr 1.35fr; }
.chapter:nth-child(even) .frame { order: 2; }

.frame {
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 16 / 9;
}

.frame img, .frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter:hover .frame img { transform: scale(1); }

.chapter h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 1.2rem;
}

.address {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: 4rem var(--pad);
  overflow: hidden;
}

.address .film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.address .hero-shade { background: linear-gradient(90deg, rgba(14, 13, 11, 0.78), rgba(14, 13, 11, 0.2) 70%); }

.address-copy { position: relative; z-index: 1; max-width: 46rem; }

.address-sample {
  margin: 1rem 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.quote-band {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.frame-portrait { aspect-ratio: 3 / 4; max-height: 78vh; }

blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

blockquote footer {
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0;
}

.close-band {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.close-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  max-width: 10em;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.point {
  padding: 2.2rem 2.2rem 2.4rem 0;
  border-bottom: 1px solid var(--line);
}

.point:nth-child(odd) {
  padding-right: 2.5rem;
  border-right: 1px solid var(--line);
}

.point:nth-child(even) { padding-left: 2.5rem; }

.point .num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--copper);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.point h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.7rem;
}

.point p { color: var(--muted); max-width: 36rem; }

.shifts, .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.steps { grid-template-columns: repeat(4, 1fr); }

.shift, .step {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.shift h3, .step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.shift p, .step p { color: var(--muted); font-size: 0.98rem; }

.bar {
  position: relative;
  height: 0.45rem;
  margin-top: 1.4rem;
  background: rgba(243, 238, 230, 0.08);
}

.bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18%;
  width: 54%;
  background: var(--ivory);
}

.bar i.wide { left: 8%; width: 82%; background: rgba(243, 238, 230, 0.35); }
.bar i.core { left: 32%; width: 34%; background: var(--copper); }
.bar i.open { left: 6%; width: 88%; background: repeating-linear-gradient(90deg, var(--copper) 0 8px, transparent 8px 14px); }

.rooms { display: grid; gap: 0; border-top: 1px solid var(--line); }

.room {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.room:hover h2 { color: var(--copper); }

.room .num { font-family: var(--serif); font-style: italic; color: var(--copper); }

.room h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.3s ease;
}

.room p { color: var(--muted); }

.letter {
  display: grid;
  gap: 1.6rem;
  max-width: 40rem;
}

.field { display: grid; gap: 0.4rem; }

.field span {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--muted);
}

.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  border-radius: 0;
  outline: none;
}

.field textarea { min-height: 8rem; resize: vertical; }

.field input:focus, .field textarea:focus { border-bottom-color: var(--copper); }

.form-error { color: var(--copper); font-size: 0.92rem; }

.send {
  justify-self: start;
  background: var(--ivory);
  color: var(--ink);
  border: 0;
  padding: 0.9rem 1.3rem;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.send:hover { background: var(--copper); color: var(--ink); }

.fine {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36rem;
}

.mail-huge {
  display: inline-block;
  margin: 1.2rem 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--copper);
}

.street {
  font-style: normal;
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.street a { text-decoration: none; }

.footer-contact {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
  text-align: right;
}

.footer-address {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-address:hover { color: var(--ivory); }

.next {
  position: relative;
  display: flex;
  min-height: 72svh;
  align-items: flex-end;
  padding: 3rem var(--pad);
  overflow: hidden;
  text-decoration: none;
  color: var(--ivory);
}

.next img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.next:hover img { transform: scale(1); }

.next::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(14, 13, 11, 0.88));
}

.next-copy { position: relative; z-index: 1; }

.next-title {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.site-footer { padding: 4rem var(--pad) 1.5rem; border-top: 1px solid var(--line); overflow: hidden; }

.footer-top, .footer-nav, .legal-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}

.footer-lead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 12em;
}

.footer-mail { color: var(--muted); text-underline-offset: 0.25rem; }

.footer-nav { margin-top: 2.5rem; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--ivory); }

.footer-mark {
  margin: 2.5rem 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.6rem, 15vw, 11.5rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 238, 230, 0.28);
}

.legal-row { margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }

.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vt-out 0.35s ease both; }
::view-transition-new(root) { animation: vt-in 0.45s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  :root { --header: 5.8rem; }
  .site-header {
    mix-blend-mode: normal;
    background: var(--ink);
    color: var(--ivory);
    border-bottom: 1px solid var(--line);
  }
  .mark {
    position: relative;
    z-index: 5;
    font-size: 1.7rem;
    letter-spacing: -0.04em;
    color: var(--ivory);
  }
  .mark-plum { width: 1.65rem; height: 1.65rem; }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 5;
    font-size: 1.15rem;
    color: var(--ivory);
  }
  .nav-panel {
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem var(--pad) 2.5rem;
    background: var(--ink);
    transform: translateY(-104%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-panel.is-open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-panel a {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 12vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    padding: 0.15rem 0;
  }
  .footer-nav { gap: 1rem 1.4rem; }
  .footer-nav a { font-size: 1.2rem; }
  .nav-write { margin-left: 0; }
  .split, .chapter, .chapter:nth-child(even), .quote-band, .close-band, .footer-top {
    grid-template-columns: 1fr;
    display: grid;
  }
  .chapter:nth-child(even) .frame { order: 0; }
  .points, .shifts, .steps { grid-template-columns: 1fr; }
  .point, .point:nth-child(odd), .point:nth-child(even) {
    padding: 1.6rem 0;
    border-right: 0;
  }
  .room { grid-template-columns: 3rem 1fr; }
  .room p { grid-column: 2; }
  .close-band { align-items: start; }
  .footer-contact { justify-items: start; text-align: left; }
  h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero, .address {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }
  .hero-copy, .address-copy { max-width: 22rem; }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .film-toggle {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
