:root {
  --paper: #f2efe8;
  --paper-deep: #e7e2d8;
  --ink: #171914;
  --forest: #0d120e;
  --forest-soft: #151b16;
  --line: rgba(23, 25, 20, 0.18);
  --line-light: rgba(255, 255, 255, 0.18);
  --muted: #6d7068;
  --muted-light: #aeb4aa;
  --ivory: #f5f2eb;
  --bronze: #a98b64;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --shell: min(1360px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

main > section[id] {
  scroll-margin-top: 68px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
}

img {
  display: block;
}

figure,
h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p,
li,
dd,
figcaption,
.film-play-label {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.dark-section {
  color: var(--ivory);
  background: var(--forest);
}

.eyebrow {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #c3aa88;
}

.keep,
.hero-facts strong,
.house-profile dt,
.system-facts strong {
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 84px;
  padding: 0 48px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: height 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  height: 68px;
  color: var(--ivory);
  background: rgba(13, 18, 14, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.wordmark {
  width: max-content;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.site-header nav a {
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.site-header nav a:hover {
  opacity: 1;
}

.header-note {
  justify-self: end;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.68;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--forest);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 48%;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(5, 10, 7, 0.28) 0%, rgba(5, 10, 7, 0.08) 34%, rgba(5, 10, 7, 0.82) 100%),
    linear-gradient(90deg, rgba(5, 10, 7, 0.5) 0%, transparent 62%);
}

.hero-inner {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 190px;
  transform: translateX(-50%);
}

.hero h1,
.film-intro h2,
.chapter-heading h2,
.thesis h2,
.floors-heading h2,
.ready h2,
.closing h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 1000px;
  margin-top: 28px;
  font-size: clamp(68px, 8vw, 124px);
}

.hero-lead {
  max-width: 570px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.6;
}

.hero-facts {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 38px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-facts div {
  display: flex;
  align-items: baseline;
  gap: 18px;
  min-width: 0;
}

.hero-facts strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 48px;
  bottom: 43px;
  width: 22px;
  height: 36px;
}

.scroll-cue::before,
.scroll-cue span {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.scroll-cue::before {
  top: 0;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.5);
}

.scroll-cue span {
  bottom: 7px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}

.film-section {
  padding: 150px 0 160px;
}

.film-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: 9%;
  align-items: end;
  padding-bottom: 72px;
}

.film-intro h2 {
  max-width: 890px;
  margin-top: 0;
  font-size: clamp(60px, 6.6vw, 104px);
}

.film-intro > p {
  max-width: 420px;
  padding-bottom: 8px;
  color: var(--muted-light);
  font-size: 16px;
  line-height: 1.75;
}

.film-stage {
  position: relative;
  width: var(--shell);
  margin: 0 auto;
  background: #050705;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.film-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050705;
}

.film-play {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 8, 5, 0.06), rgba(5, 8, 5, 0.27));
  border: 0;
  cursor: pointer;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.film-play.hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.film-play-icon {
  position: relative;
  display: block;
  width: 82px;
  height: 82px;
  background: rgba(13, 18, 14, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.film-play-icon::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  content: "";
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
  transform: translate(-40%, -50%);
}

.film-play-label {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

@media (hover: hover) {
  .film-play:hover .film-play-icon {
    background: rgba(13, 18, 14, 0.92);
    transform: scale(1.06);
  }
}

.film-meta {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 19px;
  color: #777e75;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.thesis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 9%;
  padding-top: 180px;
  padding-bottom: 180px;
}

.thesis > .eyebrow {
  grid-column: 1 / -1;
}

.thesis h2 {
  margin-top: 0;
  font-size: clamp(58px, 6vw, 94px);
}

.thesis-copy {
  align-self: end;
  max-width: 530px;
  padding-bottom: 6px;
}

.large-copy {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.thesis-copy > p:last-child {
  max-width: 480px;
  margin-top: 32px;
  color: var(--muted);
}

.editorial-image {
  grid-column: 1 / -1;
  height: min(72vw, 850px);
  margin-top: 110px;
  overflow: hidden;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.chapter-heading {
  display: grid;
  grid-template-columns: 68px minmax(360px, 1.4fr) minmax(280px, 0.6fr);
  grid-template-rows: auto auto;
  column-gap: 5%;
  padding-top: 168px;
  padding-bottom: 96px;
}

.chapter-number {
  grid-row: 1 / 3;
  color: var(--bronze);
  font-family: var(--serif);
  font-size: 18px;
}

.chapter-heading .eyebrow {
  grid-column: 2;
}

.chapter-heading h2 {
  grid-column: 2;
  margin-top: 26px;
  font-size: clamp(56px, 5.8vw, 90px);
}

.chapter-heading > p:last-child {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  max-width: 430px;
  color: var(--muted);
  line-height: 1.75;
}

.dark-section .chapter-heading > p:last-child {
  color: var(--muted-light);
}

.territory-visual {
  position: relative;
  height: min(82vw, 920px);
  min-height: 650px;
  overflow: hidden;
}

.territory-visual figure,
.territory-visual img {
  width: 100%;
  height: 100%;
}

.territory-visual img {
  object-fit: cover;
}

.territory-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 44%, rgba(4, 9, 6, 0.56) 100%);
  pointer-events: none;
}

.territory-statement {
  position: absolute;
  z-index: 2;
  right: max(48px, calc((100vw - 1360px) / 2));
  bottom: 72px;
  display: flex;
  align-items: flex-end;
  gap: 26px;
  color: #fff;
}

.territory-statement strong {
  font-family: var(--serif);
  font-size: clamp(98px, 12vw, 180px);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: -0.06em;
}

.territory-statement span {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 9%;
  align-items: center;
  padding-top: 170px;
  padding-bottom: 180px;
}

.location-story figure {
  height: 720px;
  overflow: hidden;
}

.location-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-story h3,
.compound-heading h3,
.house-profile h3,
.light-story h3,
.floor-copy h3,
.spa-text h3,
.cinema-story h3,
.materials-copy h3,
.systems-copy h3,
.service-copy h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.location-story h3 {
  max-width: 590px;
  margin: 28px 0 34px;
  font-size: clamp(45px, 4.6vw, 70px);
}

.location-story > div > p:not(.eyebrow) {
  max-width: 510px;
  color: var(--muted);
}

.line-list {
  padding: 0;
  margin: 52px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.line-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 15px 0;
  color: #44483f;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.line-list span {
  color: var(--bronze);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.compound {
  padding: 160px 0;
}

.compound-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  column-gap: 10%;
  align-items: end;
}

.compound-heading .eyebrow {
  grid-column: 1 / -1;
}

.compound-heading h3 {
  margin-top: 28px;
  font-size: clamp(50px, 5vw, 78px);
}

.compound-heading > p:last-child {
  color: var(--muted-light);
  line-height: 1.75;
}

.compound-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  margin-top: 96px;
}

.compound-card {
  grid-column: span 4;
}

.compound-card:nth-child(2) {
  margin-top: 88px;
}

.compound-card figure {
  height: 410px;
  overflow: hidden;
  background: #111;
}

.compound-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compound-card > div {
  position: relative;
  padding: 28px 0 0;
  border-top: 1px solid var(--line-light);
}

.compound-card span {
  position: absolute;
  top: 30px;
  right: 0;
  color: #b9bdb6;
  font-family: var(--serif);
  font-size: 17px;
}

.compound-card h4 {
  margin: 0 110px 12px 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.compound-card p {
  max-width: 320px;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.65;
}

.utility-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 0.75fr;
  gap: 28px;
  align-items: end;
  margin-top: 120px;
  padding-top: 40px;
  border-top: 1px solid var(--line-light);
}

.utility-strip figure {
  height: 270px;
  overflow: hidden;
}

.utility-strip img {
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
}

.utility-strip figcaption,
.detail-ribbon figcaption,
.service-gallery figcaption {
  padding-top: 10px;
  color: var(--muted-light);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.utility-copy {
  padding-bottom: 34px;
}

.utility-copy p {
  padding: 12px 0;
  color: var(--muted-light);
  font-size: 12px;
  border-bottom: 1px solid var(--line-light);
}

.house {
  padding-bottom: 180px;
}

.house-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  min-height: 790px;
  background: var(--paper-deep);
}

.house-portrait > figure {
  min-height: 700px;
  overflow: hidden;
}

.house-portrait > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.house-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 9%;
}

.house-profile h3 {
  margin: 28px 0 32px;
  font-size: clamp(45px, 4.5vw, 68px);
}

.house-profile > p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
}

.house-profile dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.house-profile dl div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.house-profile dt {
  font-family: var(--serif);
  font-size: 28px;
}

.house-profile dd {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.light-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  align-items: stretch;
  width: min(1600px, 100%);
  min-height: 760px;
  margin: 180px auto 0;
}

.light-story figure {
  min-height: 650px;
  overflow: hidden;
}

.light-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.light-story > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 12%;
}

.light-story h3 {
  margin: 30px 0;
  font-size: clamp(46px, 4.6vw, 72px);
}

.light-story > div > p:last-child {
  max-width: 440px;
  color: var(--muted-light);
}

.floors {
  padding-top: 180px;
}

.floors-heading {
  display: grid;
  grid-template-columns: 68px 1fr;
}

.floors-heading .chapter-number {
  grid-row: 1 / 3;
}

.floors-heading h2 {
  margin-top: 28px;
  font-size: clamp(56px, 5.8vw, 90px);
}

.floor-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 82px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.floor-tabs button {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 0 24px;
  background: none;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  opacity: 0.48;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.floor-tabs button:last-child {
  border-right: 0;
}

.floor-tabs button.active {
  background: rgba(169, 139, 100, 0.09);
  opacity: 1;
}

.floor-tabs button span {
  color: var(--bronze);
  font-family: var(--serif);
  font-size: 18px;
}

.floor-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: 8%;
  align-items: start;
  padding-top: 72px;
}

.floor-panel[hidden] {
  display: none;
}

.floor-copy {
  position: sticky;
  top: 110px;
  padding-top: 12px;
}

.floor-copy h3 {
  margin: 28px 0;
  font-size: clamp(43px, 4vw, 62px);
}

.floor-copy > p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
}

.floor-copy ul {
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.floor-copy li {
  padding: 10px 0 10px 20px;
  color: #575b52;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.floor-copy li::before {
  display: inline-block;
  width: 20px;
  margin-left: -20px;
  color: var(--bronze);
  content: "—";
}

.floor-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.floor-gallery figure {
  height: 330px;
  overflow: hidden;
}

.floor-gallery .floor-main {
  grid-column: 1 / -1;
  height: 570px;
}

.floor-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life {
  padding-bottom: 180px;
}

.spa-story {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 28px;
}

.spa-hero {
  grid-column: 1 / 9;
  grid-row: 1;
  height: 700px;
  overflow: hidden;
}

.spa-text {
  grid-column: 9 / 13;
  grid-row: 1;
  align-self: end;
  padding: 0 0 16px 28px;
}

.spa-text h3 {
  margin: 30px 0;
  font-size: clamp(43px, 4vw, 63px);
}

.spa-text > p:last-child {
  color: var(--muted-light);
}

.spa-detail {
  grid-column: 3 / 7;
  height: 390px;
  overflow: hidden;
}

.spa-water {
  grid-column: 7 / 13;
  height: 540px;
  overflow: hidden;
}

.spa-story img,
.cinema-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinema-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 9%;
  align-items: center;
  margin-top: 200px;
}

.cinema-story figure {
  height: 720px;
  overflow: hidden;
}

.cinema-story h3 {
  margin: 30px 0;
  font-size: clamp(45px, 4.6vw, 70px);
}

.cinema-story > div > p:not(.eyebrow):not(.award-line) {
  max-width: 440px;
  color: var(--muted-light);
}

.award-line {
  max-width: 440px;
  margin-top: 56px;
  padding: 20px 0;
  color: #d1d4cf;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.award-line span {
  margin-right: 14px;
  color: var(--bronze);
  font-family: var(--serif);
  font-size: 22px;
}

.engineering {
  padding-bottom: 0;
}

.materials {
  display: grid;
  grid-template-columns: minmax(330px, 0.7fr) minmax(0, 1.3fr);
  gap: 8%;
  align-items: center;
  padding-bottom: 170px;
}

.materials-copy h3 {
  margin: 30px 0;
  font-size: clamp(43px, 4vw, 62px);
}

.materials-copy > p:not(.eyebrow) {
  max-width: 440px;
  color: var(--muted);
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.brand-cloud span {
  width: 50%;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}

.materials-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.materials-gallery figure {
  height: 320px;
  overflow: hidden;
}

.materials-gallery .materials-main {
  grid-column: 1 / -1;
  height: 520px;
}

.materials-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-ribbon {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 1px;
  width: 100%;
  padding: 1px 0;
  overflow-x: auto;
  background: rgba(23, 25, 20, 0.14);
  margin-bottom: 150px;
}

.detail-ribbon figure {
  min-width: 180px;
  height: 315px;
  padding-bottom: 40px;
  background: var(--paper);
  overflow: hidden;
}

.detail-ribbon img {
  width: 100%;
  height: calc(100% - 8px);
  object-fit: cover;
}

.detail-ribbon figcaption {
  padding-left: 14px;
  color: var(--muted);
}

.systems {
  padding: 180px 0 130px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  align-items: start;
}

.systems-hero {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  height: 790px;
  overflow: hidden;
}

.systems-copy {
  grid-column: 8 / 13;
  padding: 24px 0 50px 28px;
}

.systems-copy h3 {
  margin: 30px 0;
  font-size: clamp(44px, 4vw, 64px);
}

.systems-copy > p:last-child {
  max-width: 460px;
  color: var(--muted-light);
}

.systems-grid > figure:not(.systems-hero) {
  grid-column: span 2;
  height: 290px;
  overflow: hidden;
}

.systems-grid > figure:last-child {
  grid-column: span 3;
}

.systems-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 100px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.system-facts div {
  padding: 30px 26px 32px 0;
  border-right: 1px solid var(--line-light);
}

.system-facts div:not(:first-child) {
  padding-left: 26px;
}

.system-facts div:last-child {
  border-right: 0;
}

.system-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 400;
}

.system-facts span {
  display: block;
  margin-top: 4px;
  color: var(--muted-light);
  font-size: 11px;
}

.reserve-note {
  margin-top: 24px;
  color: #8d938a;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.service {
  display: grid;
  grid-template-columns: minmax(340px, 0.65fr) minmax(0, 1.35fr);
  gap: 8%;
  align-items: start;
  padding-top: 180px;
  padding-bottom: 190px;
}

.service-copy {
  position: sticky;
  top: 110px;
}

.service-copy h3 {
  margin: 30px 0;
  font-size: clamp(45px, 4.3vw, 66px);
}

.service-copy > p:last-child {
  max-width: 450px;
  color: var(--muted);
}

.service-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 18px;
}

.service-gallery figure {
  height: 350px;
  overflow: hidden;
}

.service-gallery figure:first-child {
  grid-column: 1 / -1;
  height: 520px;
}

.service-gallery img {
  width: 100%;
  height: calc(100% - 32px);
  object-fit: cover;
}

.service-gallery figcaption {
  color: var(--muted);
}

.ready {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: 9%;
  align-items: center;
  padding-bottom: 190px;
}

.ready figure {
  height: 760px;
  overflow: hidden;
}

.ready img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ready .chapter-number {
  margin-bottom: 42px;
}

.ready h2 {
  margin: 28px 0 38px;
  font-size: clamp(52px, 5.2vw, 82px);
}

.ready .large-copy {
  max-width: 520px;
}

.ready div > p:last-child {
  max-width: 500px;
  margin-top: 30px;
  color: var(--muted);
}

.closing {
  position: relative;
  min-height: 880px;
  overflow: hidden;
}

.closing > figure,
.closing > figure img,
.closing-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.closing > figure img {
  object-fit: cover;
  object-position: center;
}

.closing-shade {
  background: linear-gradient(90deg, rgba(7, 11, 8, 0.88) 0%, rgba(7, 11, 8, 0.63) 48%, rgba(7, 11, 8, 0.12) 100%);
}

.closing-copy {
  position: relative;
  z-index: 2;
  padding-top: 210px;
}

.closing h2 {
  max-width: 980px;
  margin: 32px 0 40px;
  font-size: clamp(62px, 7vw, 108px);
}

.closing-copy > p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.72);
}

.closing-copy small {
  display: block;
  max-width: 570px;
  margin-top: 46px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 130px;
  padding: 0 48px;
  color: #9ea399;
  background: var(--forest);
  font-size: 10px;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .wordmark {
  color: var(--ivory);
}

footer span:last-child {
  justify-self: end;
}

.zoomable img {
  cursor: zoom-in;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .zoomable:hover img {
    transform: scale(1.025);
  }
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: 46px;
  background: rgba(4, 6, 4, 0.96);
  border: 0;
}

.lightbox::backdrop {
  background: rgba(4, 6, 4, 0.96);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox button {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 24px;
  width: 46px;
  height: 46px;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 35px;
  font-weight: 200;
  cursor: pointer;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 56px, 1360px);
  }

  .site-header {
    padding-inline: 28px;
  }

  .site-header nav {
    gap: 22px;
  }

  .hero-inner {
    bottom: 200px;
  }

  .scroll-cue {
    right: 28px;
  }

  .chapter-heading {
    grid-template-columns: 52px 1fr;
  }

  .chapter-heading > p:last-child {
    grid-column: 2;
    grid-row: 3;
    margin-top: 36px;
  }

  .location-story,
  .house-portrait,
  .light-story,
  .cinema-story,
  .materials,
  .service,
  .ready {
    gap: 5%;
  }

  .compound-card figure {
    height: 330px;
  }

  .spa-hero {
    grid-column: 1 / 8;
  }

  .spa-text {
    grid-column: 8 / 13;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100vw - 40px);
  }

  body {
    font-size: 15px;
  }

  .site-header,
  .site-header.scrolled {
    grid-template-columns: 1fr auto;
    height: 64px;
    padding-inline: 20px;
  }

  .site-header nav {
    display: none;
  }

  .header-note {
    font-size: 8px;
  }

  .hero {
    min-height: 720px;
    height: 100svh;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-inner {
    bottom: 230px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(49px, 15vw, 66px);
    line-height: 0.98;
  }

  .hero-inner .eyebrow {
    white-space: nowrap;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero-lead {
    max-width: 340px;
    margin-top: 25px;
    font-size: 14px;
  }

  .hero-facts {
    bottom: 30px;
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    padding-top: 18px;
  }

  .hero-facts div {
    display: block;
  }

  .hero-facts div:nth-child(3) {
    display: none;
  }

  .hero-facts strong {
    display: block;
    font-size: 23px;
  }

  .hero-facts span {
    display: block;
    margin-top: 2px;
    font-size: 9px;
  }

  .scroll-cue {
    display: none;
  }

  .film-section {
    padding: 96px 0 100px;
  }

  .film-intro,
  .thesis,
  .compound-heading,
  .location-story,
  .house-portrait,
  .light-story,
  .floor-panel,
  .cinema-story,
  .materials,
  .systems-grid,
  .service,
  .ready {
    display: block;
  }

  .film-intro {
    padding-bottom: 44px;
  }

  .film-intro h2 {
    margin-top: 0;
    font-size: 52px;
  }

  .film-intro > p {
    margin-top: 30px;
    font-size: 14px;
  }

  .film-stage video {
    max-height: none;
  }

  .film-meta {
    padding: 14px 0 15px;
    font-size: 8px;
    letter-spacing: 0.09em;
  }

  .film-play {
    gap: 12px;
  }

  .film-play-icon {
    width: 56px;
    height: 56px;
  }

  .film-play-icon::after {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 12px;
  }

  .film-play-label {
    font-size: 26px;
  }

  .thesis {
    padding-top: 105px;
    padding-bottom: 110px;
  }

  .thesis h2,
  .chapter-heading h2,
  .floors-heading h2,
  .ready h2 {
    font-size: 49px;
  }

  .thesis-copy {
    margin-top: 44px;
  }

  .large-copy {
    font-size: 23px;
  }

  .editorial-image {
    height: 520px;
    margin-top: 70px;
  }

  .chapter-heading {
    display: block;
    padding-top: 105px;
    padding-bottom: 62px;
  }

  .chapter-number {
    margin-bottom: 38px;
  }

  .chapter-heading h2 {
    margin-top: 22px;
  }

  .chapter-heading > p:last-child {
    margin-top: 30px;
  }

  .territory-visual {
    height: 620px;
    min-height: 0;
  }

  .territory-visual img {
    object-position: 40% center;
  }

  .territory-visual::after {
    background: linear-gradient(0deg, rgba(4, 9, 6, 0.7), transparent 65%);
  }

  .territory-statement {
    right: 20px;
    bottom: 38px;
    left: 20px;
  }

  .territory-statement strong {
    font-size: 100px;
  }

  .location-story {
    padding-top: 105px;
    padding-bottom: 110px;
  }

  .location-story figure {
    height: 480px;
    margin-bottom: 58px;
  }

  .location-story h3,
  .compound-heading h3,
  .house-profile h3,
  .light-story h3,
  .floor-copy h3,
  .spa-text h3,
  .cinema-story h3,
  .materials-copy h3,
  .systems-copy h3,
  .service-copy h3 {
    font-size: 40px;
  }

  .compound {
    padding: 105px 0;
  }

  .compound-heading > p:last-child {
    margin-top: 28px;
  }

  .compound-grid {
    display: block;
    margin-top: 66px;
  }

  .compound-card,
  .compound-card:nth-child(2) {
    margin: 0 0 70px;
  }

  .compound-card figure {
    height: 390px;
  }

  .utility-strip {
    display: block;
    margin-top: 30px;
  }

  .utility-strip figure {
    height: 290px;
    margin-bottom: 28px;
  }

  .utility-copy {
    padding-top: 20px;
  }

  .house {
    padding-bottom: 110px;
  }

  .house-portrait {
    width: 100%;
  }

  .house-portrait > figure {
    height: 610px;
    min-height: 0;
  }

  .house-profile {
    padding: 75px 20px 85px;
  }

  .house-profile dl {
    margin-top: 48px;
  }

  .light-story {
    min-height: 0;
    margin-top: 105px;
  }

  .light-story figure {
    height: 560px;
    min-height: 0;
  }

  .light-story > div {
    padding: 75px 20px 90px;
  }

  .floors {
    padding-top: 110px;
  }

  .floors-heading {
    display: block;
  }

  .floor-tabs {
    display: flex;
    width: calc(100vw - 20px);
    margin-top: 55px;
    overflow-x: auto;
  }

  .floor-tabs button {
    flex: 0 0 164px;
    padding-inline: 18px;
  }

  .floor-panel {
    padding-top: 55px;
  }

  .floor-copy {
    position: static;
  }

  .floor-gallery {
    gap: 10px;
    margin-top: 52px;
  }

  .floor-gallery .floor-main {
    height: 420px;
  }

  .floor-gallery figure:not(.floor-main) {
    height: 220px;
  }

  .life {
    padding-bottom: 110px;
  }

  .life .chapter-heading h2 {
    font-size: 43px;
  }

  .spa-story {
    display: block;
  }

  .spa-hero,
  .spa-detail,
  .spa-water {
    height: 460px;
  }

  .spa-text {
    padding: 70px 0;
  }

  .spa-detail {
    width: 72%;
  }

  .spa-water {
    width: 88%;
    margin: 18px 0 0 auto;
  }

  .cinema-story {
    margin-top: 120px;
  }

  .cinema-story figure {
    height: 540px;
    margin-bottom: 65px;
  }

  .engineering .chapter-heading {
    padding-bottom: 80px;
  }

  .materials {
    padding-bottom: 105px;
  }

  .materials-copy {
    margin-bottom: 58px;
  }

  .materials-gallery .materials-main {
    height: 400px;
  }

  .materials-gallery figure:not(.materials-main) {
    height: 230px;
  }

  .detail-ribbon {
    grid-template-columns: repeat(6, 210px);
    margin-bottom: 100px;
  }

  .detail-ribbon figure {
    height: 280px;
  }

  .systems {
    padding: 105px 0 90px;
  }

  .systems-hero {
    height: 520px;
  }

  .systems-copy {
    padding: 65px 0;
  }

  .systems-grid > figure:not(.systems-hero) {
    display: inline-block;
    width: calc(50% - 7px);
    height: 240px;
  }

  .systems-grid > figure:last-child {
    margin-left: 10px;
  }

  .system-facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 70px;
  }

  .system-facts div:nth-child(2) {
    border-right: 0;
  }

  .system-facts div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-light);
  }

  .system-facts div:nth-child(3) {
    padding-left: 0;
  }

  .reserve-note {
    line-height: 1.7;
  }

  .service {
    padding-top: 110px;
    padding-bottom: 120px;
  }

  .service-copy {
    position: static;
    margin-bottom: 65px;
  }

  .service-gallery {
    gap: 22px 10px;
  }

  .service-gallery figure:first-child {
    height: 410px;
  }

  .service-gallery figure:not(:first-child) {
    height: 250px;
  }

  .ready {
    padding-bottom: 120px;
  }

  .ready figure {
    height: 570px;
    margin-bottom: 70px;
  }

  .closing {
    min-height: 800px;
  }

  .closing-shade {
    background: linear-gradient(0deg, rgba(7, 11, 8, 0.94) 0%, rgba(7, 11, 8, 0.66) 65%, rgba(7, 11, 8, 0.15) 100%);
  }

  .closing-copy {
    padding-top: 270px;
  }

  .closing h2 {
    font-size: 53px;
  }

  footer {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  footer span:nth-child(2) {
    display: none;
  }

  .lightbox {
    padding: 42px 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 340px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .film-intro h2 {
    font-size: 44px;
  }

  .thesis h2,
  .chapter-heading h2,
  .floors-heading h2,
  .ready h2 {
    font-size: 40px;
  }

  .life .chapter-heading h2 {
    font-size: 38px;
  }

  .closing h2 {
    font-size: 42px;
  }
}
