:root {
  color-scheme: light;
  --ink: #172c3b;
  --forest: #102c3e;
  --forest-deep: #081b2a;
  --paper: #fff;
  --paper-tint: #f3f7f9;
  --cream: #f8f2e4;
  --gold: #dfc798;
  --olive: #395d6e;
  --line: #d9e3e9;
  --surface-shadow: 0 18px 48px #1837480d;
  --sans: "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --edge: clamp(24px, 6vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--forest-deep); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; width: 100%; }
svg { width: 22px; height: 22px; flex: 0 0 auto; }
[hidden], .symbols { display: none !important; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.065em; }
h2 { font-size: clamp(3rem, 6.3vw, 6.9rem); line-height: .99; }
h2 em { font-weight: inherit; color: var(--olive); }
:focus-visible { outline: 2px solid #a6813b; outline-offset: 5px; }
.shell { width: min(100% - 2 * var(--edge), 1320px); margin-inline: auto; }
.paper { background: var(--paper); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 10px; transform: translateY(-160%); background: var(--paper); }
.skip:focus { transform: none; }

.masthead { position: absolute; inset: 0 0 auto; z-index: 5; color: var(--cream); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 93px;
  border-bottom: 1px solid #f2e8d64d;
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand img { width: 60px; height: 33px; object-fit: contain; }
.brand > span { padding-left: 12px; border-left: 1px solid #e8e2d963; font-family: var(--serif); font-size: .96rem; letter-spacing: .19em; line-height: 1; }
.brand small { display: block; margin-top: 6px; font: 700 .52rem/1 var(--sans); letter-spacing: .17em; }
nav { display: flex; gap: clamp(15px, 2vw, 33px); font-size: .88rem; }
nav a { padding-block: 12px; color: var(--cream); }
nav a:hover { color: var(--gold); }
.header-cta, .button, .text-link { display: inline-flex; align-items: center; gap: 14px; width: max-content; }
.header-cta { justify-self: end; padding: 11px 15px; border: 1px solid #f2e8d66b; font-size: .79rem; }
.header-cta:hover { background: #ffffff20; }
.header-cta svg, .text-link svg { width: 16px; height: 16px; }
.menu-toggle, .mobile-info { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  min-height: min(900px, 100svh);
  color: var(--cream);
  background: var(--forest);
}
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; }
.hero-image { object-fit: cover; object-position: 62% 54%; z-index: -2; animation: arrive 1.55s ease-out both; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #081726ed 0%, #081726a6 34%, #08172610 70%),
    linear-gradient(0deg, #081726ed, transparent 30%, transparent 76%, #0817269c);
}
.hero-inner { display: grid; grid-template-rows: 1fr auto; padding-top: 125px; }
.hero-copy { align-self: center; padding-block: 39px 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.film-page {
  min-height: 100svh;
  color: var(--cream);
  background: radial-gradient(ellipse at 76% 33%, #1c4359, transparent 52%), var(--forest-deep);
}
.film-header .header-inner { display: flex; justify-content: space-between; }
.film-header .text-link { border: 0; }
.film-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 8vw, 128px); max-width: 1120px; padding-block: clamp(30px, 5vh, 75px); }
.film-intro h1 { margin: 26px 0 18px; font-size: clamp(3.5rem, 8.8vw, 9rem); }
.film-intro > p:last-child { max-width: 38ch; color: #dfe7ea; line-height: 1.65; }
.film-player { width: clamp(210px, 36vh, 346px); }
.film-frame { aspect-ratio: 9 / 16; border: 1px solid #f2e8d673; background: #0b1c29; }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.eyebrow, .chapter, .image-note, .scroll-link, .model-tag, .viewer-label, figcaption {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .19em;
}
.eyebrow { color: var(--gold); display: flex; align-items: center; gap: 12px; }
.rule { width: 34px; height: 1px; background: currentColor; }
h1 { margin: 23px 0 19px; font-size: clamp(4.55rem, 9.25vw, 10rem); line-height: .86; }
h1 em { color: var(--gold); font-weight: inherit; }
.hero-lede { margin-bottom: 27px; color: #f3ece1; font-size: clamp(1rem, 1.4vw, 1.25rem); }
.button { justify-content: space-between; min-height: 53px; padding: 0 17px 0 20px; font-size: .84rem; font-weight: 700; transition: background .2s; }
.button svg { width: 19px; height: 19px; }
.button-gold { background: var(--gold); color: #252519; }
.button-gold:hover { background: #f2dfba; }
.button-outline { border: 1px solid #f2e8d683; background: #081b2a80; }
.button-outline:hover { background: #081b2ad9; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f2e8d64d; min-height: 79px; }
.scroll-link { display: flex; align-items: center; gap: 13px; }
.scroll-link span { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #f2e8d679; border-radius: 50%; }
.scroll-link:hover span { background: #ffffff22; }
.scroll-link svg { width: 18px; height: 18px; transform: rotate(90deg); }
.image-note { font-size: .58rem; color: #efe4cc; }
@keyframes arrive { from { transform: scale(1.035); } to { transform: scale(1); } }
.section-arrive { animation: section-arrive .55s ease-out both; }
@keyframes section-arrive { from { opacity: .35; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.intro, .architecture, .plans, .gallery, .location, .features, .information { padding-block: clamp(68px, 8.6vw, 145px); }
.chapter { display: flex; align-items: center; gap: 14px; color: var(--olive); line-height: 1.4; }
.chapter::before { content: ""; width: 31px; height: 1px; background: currentColor; opacity: .55; }
.intro-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(37px, 8vw, 150px); align-items: center; margin-top: 34px; }
.intro-copy > p, .architecture-copy > p:not(.model-tag), .information-grid > div > p { max-width: 38ch; margin-top: 28px; font-size: 1.06rem; line-height: 1.75; }
.intro-copy > p { color: #3d5260; }
.text-link { padding-block: 9px; border-bottom: 1px solid currentColor; font-size: .88rem; font-weight: 700; }
.intro-copy .text-link { margin-top: 22px; }
.text-link:hover { opacity: .75; }
.intro-figure, .gallery-figure { padding: clamp(8px, 1.1vw, 15px); border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--surface-shadow); }
.intro-figure img { height: auto; aspect-ratio: 1.32; object-fit: cover; }
figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: #4a606a; line-height: 1.5; }
figcaption span + span { text-align: right; }
.project-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 52px 0 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--surface-shadow); }
.project-stats > div { display: flex; flex-direction: column-reverse; justify-content: start; gap: 6px; padding: 20px clamp(10px, 2vw, 30px); border-right: 1px solid var(--line); }
.project-stats > div:last-child { border-right: 0; }
.project-stats dt { font-size: .84rem; color: var(--olive); }
.project-stats dd { margin: 0; font: 400 clamp(2.1rem, 4.4vw, 4.35rem)/1 var(--serif); letter-spacing: -.06em; }
.project-stats small { font: 400 .43em/1 var(--sans); letter-spacing: 0; }

.architecture { background: var(--forest); color: var(--cream); }
.architecture .chapter, .information .chapter { color: var(--gold); }
.architecture-grid { display: grid; grid-template-columns: .74fr 1.26fr; align-items: center; gap: 26px; margin-top: 31px; }
.architecture h2 { font-size: clamp(3.1rem, 5vw, 5.8rem); }
.architecture h2 em, .information h2 em { color: var(--gold); }
.architecture-copy p { color: #dce5eb; }
.model-tag { display: flex; align-items: center; gap: 10px; margin-top: 31px; color: var(--gold) !important; }
.model-tag span { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #dfc79825; }
.viewer {
  position: relative;
  min-height: 340px;
  height: clamp(340px, 43vw, 565px);
  border: 1px solid #eee1b934;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #4f7282, #193b4e 67%, #122c3d);
}
.viewer::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 55px #10161058; }
.model-fallback, canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.model-fallback { object-fit: cover; opacity: .69; }
.viewer.is-interactive .model-fallback { display: none; }
canvas { display: block; cursor: grab; touch-action: pan-y; }
canvas:active { cursor: grabbing; }
canvas:focus-visible { outline-offset: -5px; }
.viewer-label, .model-hint, .model-controls { position: absolute; z-index: 1; }
.viewer-label { top: 19px; left: 20px; color: var(--cream); padding: 7px 9px; background: #102a3d; border: 1px solid #dfc79863; font-size: .6rem; }
.model-hint { bottom: 23px; left: 20px; max-width: calc(100% - 270px); font-size: .73rem; color: var(--cream); }
.model-controls { right: 15px; bottom: 13px; display: flex; gap: 5px; }
.model-controls button { width: 41px; height: 41px; display: grid; place-items: center; background: #102a3d; border: 1px solid #dfc79866; color: var(--cream); }
.model-controls button:hover { background: #365e71; }
.model-controls svg { width: 19px; height: 19px; }
.left { transform: rotate(180deg); }

.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 30px 0 40px; }
.gallery-head p { color: var(--olive); padding-bottom: 5px; }
.plans, .location { background: var(--paper-tint); }
.plan-switch { display: flex; justify-content: center; gap: 8px; width: 50%; margin: 16px 0 0 auto; }
.plan-switch button { min-height: 44px; padding: 11px 18px; border: 1px solid #9bacb1; background: transparent; font-size: .88rem; }
.plan-switch button[aria-pressed="true"] { color: var(--cream); background: var(--forest); border-color: var(--forest); }
.plan-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--surface-shadow); }
.plan-data { padding: clamp(22px, 4vw, 55px); }
.plan-data h3, .information h3 { margin: 0 0 9px; font: 400 clamp(1.6rem, 3vw, 2.7rem)/1.12 var(--serif); letter-spacing: -.035em; }
.plan-data > p { color: var(--olive); line-height: 1.55; }
.plan-data dl { margin: 19px 0 0; }
.plan-data dl > div { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.plan-data dd { flex-shrink: 0; margin: 0; font-variant-numeric: tabular-nums; }
.plan-data .total { font-weight: 700; }
.plan-panel figure { display: grid; place-items: center; padding: 18px; background: #09253b; }
.plan-panel figure img { width: auto; max-width: 100%; height: auto; max-height: 490px; }
.gallery-grid { display: grid; grid-template-columns: .37fr .63fr; align-items: start; gap: clamp(32px, 5vw, 78px); }
.gallery-options { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--paper-tint); }
.gallery-options button {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 73px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: 400 clamp(1.2rem, 2vw, 1.85rem)/1.1 var(--serif);
  text-align: left;
  transition: background .2s, color .2s;
}
.gallery-options button[aria-pressed="true"] { color: var(--cream); background: var(--forest); }
.gallery-options button:last-child { border-bottom: 0; }
.gallery-options button[aria-pressed="false"]:hover { background: #e7f0f4; }
.gallery-options button span { font: 700 .63rem/1 var(--sans); letter-spacing: .1em; }
.gallery-options button svg { width: 19px; height: 19px; }
.gallery-figure img { height: auto; aspect-ratio: 1.56; object-fit: cover; background: #d9d2bd; }
.gallery-figure video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--forest-deep); }

.location-map { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--surface-shadow); }
.location-map img { height: auto; }
.location-stats { margin-top: 26px; }
.location-note { margin-top: 12px; font-size: .8rem; color: var(--olive); }
.features { background: linear-gradient(150deg, var(--paper) 24%, var(--paper-tint)); }
.features-head p { max-width: 33ch; line-height: 1.55; }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 20px); margin: 0; padding: 0; list-style: none; }
.features-grid li { min-width: 0; padding: clamp(15px, 2.1vw, 30px); border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--surface-shadow); }
.feature-icon { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 20px; border-radius: 50%; background: #edf4f7; color: #214b62; }
.feature-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.features-grid h3 { margin: 0 0 7px; font: 400 clamp(1.12rem, 1.8vw, 1.58rem)/1.16 var(--serif); letter-spacing: -.025em; }
.features-grid p { color: var(--olive); font-size: .87rem; line-height: 1.45; }
.information { background: #112e42; color: var(--cream); }
.information-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; margin-top: 29px; }
.information-grid > div > p { margin-top: 0; }
.information h2 { font-size: clamp(3rem, 5.6vw, 6.25rem); }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.contact-card { display: flex; flex: 1 1 160px; justify-content: space-between; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid #dfc79880; color: var(--cream); }
.contact-social { flex-basis: 100%; }
.contact-card:hover { background: #dfc79821; }
.contact-card span { display: grid; gap: 5px; }
.contact-card strong { font-size: .85rem; }
.contact-card small { font-size: .78rem; color: var(--gold); }
.contact-card svg { width: 16px; height: 16px; color: var(--gold); }
.footer { background: var(--forest-deep); color: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 110px; padding-block: 23px; }
.footer p { font-size: .78rem; color: #d3d2bf; }

@media (max-width: 840px) {
  .intro-grid { gap: 32px; }
  .architecture-grid { grid-template-columns: 1fr; gap: 30px; }
  .architecture-copy > p:not(.model-tag) { max-width: 56ch; }
  .gallery-grid { grid-template-columns: .42fr .58fr; gap: 20px; }
}

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0; min-height: 76px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; padding: 11px 0 11px 10px; border: 0; background: transparent; }
  .menu-toggle span { width: 17px; height: 7px; border-block: 1px solid currentColor; }
  nav { grid-column: 1 / -1; gap: 18px; flex-wrap: wrap; }
  .mobile-info { display: inline-block; }
  .js nav { position: absolute; top: 76px; left: 0; right: 0; padding: 12px var(--edge); background: var(--forest-deep); }
  .js nav:not(.is-open) { display: none; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 12px; }
  .hero { min-height: min(815px, 100svh); }
  .hero-image { object-position: 55% 55%; }
  .hero-shade { background: linear-gradient(90deg, #08172684, #0817260d 88%), linear-gradient(0deg, #081726fb 0%, #081726d7 25%, #08172616 63%, #081726aa 100%); }
  .hero-inner { padding-top: 86px; }
  .hero-copy { align-self: end; padding-block: 52px 54px; }
  .hero-actions .button { gap: 7px; padding-inline: 11px; }
  .film-layout { grid-template-columns: 1fr; gap: 24px; }
  .film-intro h1 { margin: 16px 0 12px; }
  .film-player { width: min(100%, 310px); justify-self: center; }
  .film-header .text-link { gap: 5px; }
  h1 { font-size: clamp(3.4rem, 12.5vw, 5.05rem); }
  .hero-foot { min-height: 63px; }
  .image-note { max-width: 125px; text-align: right; line-height: 1.5; }
  .scroll-link { letter-spacing: .12em; }
  .intro-grid, .information-grid, .plan-panel { grid-template-columns: 1fr; }
  .plan-switch { width: 100%; }
  .project-stats { grid-template-columns: 1fr 1fr; }
  .project-stats > div { padding: 16px 10px; }
  .project-stats > div:nth-child(2) { border-right: 0; }
  .project-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery-head { align-items: start; flex-direction: column; margin-bottom: 23px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-options { display: grid; grid-template-columns: 1fr 1fr; }
  .gallery-options button:last-child { grid-column: 1 / -1; }
  .gallery-options button { min-height: 55px; grid-template-columns: 17px 1fr auto; gap: 6px; padding-inline: 9px; }
  .gallery-options button svg { width: 15px; height: 15px; }
  .gallery-figure img { aspect-ratio: 1.12; }
  .feature-icon { width: 43px; height: 43px; margin-bottom: 13px; }
  .feature-icon svg { width: 24px; height: 24px; }
  .viewer { min-height: 307px; height: 87vw; max-height: 420px; }
  .model-hint { max-width: 75%; left: 20px; top: 52px; bottom: auto; }
  .model-controls { right: 10px; bottom: 9px; }
  .model-controls button { width: 36px; height: 36px; }
  .footer-inner { flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
