/* ==========================================================================
   Divine Design Construction — Variant C · "Architectural Contrast"
   Alternating warm-black / bone sections on a visible 12-column hairline grid.
   Type: Inter Tight (display + text) · Cinzel (wordmark)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Palette (from the logo) */
  --black: #0E0C0A;
  --black-2: #16130F;
  --black-3: #221E19;
  --gold: #C0904F;
  --champagne: #E5BC7C;
  --bronze: #8A5F2E;
  --bone: #F5F1EA;
  --stone: #E7E0D5;
  --grey: #6B645B;
  --ink: #1A1714;

  /* Type */
  --f-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-brand: "Cinzel", "Trajan Pro", Georgia, serif;

  --fs-display: clamp(3.25rem, 1.9rem + 5.9vw, 8.5rem);
  --fs-h2: clamp(2.25rem, 1.15rem + 4.3vw, 5.75rem);
  --fs-h3: clamp(1.5rem, 1.05rem + 1.5vw, 2.375rem);
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.36vw, 1.3125rem);
  --fs-body: 1rem;
  --fs-label: 0.75rem;

  /* Layout */
  --maxw: 1440px;
  --pad: clamp(20px, 4.4vw, 64px);
  --gut: clamp(16px, 1.7vw, 24px);
  --cols: 4;
  --header-h: 64px;
  --section-y: clamp(88px, 10.5vw, 168px);

  /* 8px spacing scale */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px;
  --s-6: 48px; --s-8: 64px; --s-10: 80px; --s-12: 96px; --s-16: 128px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 768px)  { :root { --cols: 12; } }
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* Section themes — every component reads these */
.s-dark, .hero, .site-footer, .mobile-menu {
  --bg: var(--black);
  --fg: var(--bone);
  --fg-2: rgba(245, 241, 234, .72);
  --fg-3: rgba(245, 241, 234, .52);
  --label: var(--champagne);
  --accent: var(--champagne);
  --line: rgba(229, 188, 124, .22);
  --line-2: rgba(229, 188, 124, .4);
  --gl: rgba(229, 188, 124, .055);
}
.s-light {
  --bg: var(--bone);
  --fg: var(--ink);
  --fg-2: #4A443D;
  --fg-3: var(--grey);
  --label: var(--ink);
  --accent: var(--bronze);
  --line: rgba(26, 23, 20, .16);
  --line-2: rgba(26, 23, 20, .38);
  --gl: rgba(26, 23, 20, .06);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--black);
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
main:focus, [tabindex="-1"]:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.s-light :focus-visible { outline-color: var(--bronze); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; background: var(--gold); color: var(--black);
  font-weight: 600; transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Layout primitives ---------- */
.wrap {
  width: min(var(--maxw), 100% - 2 * var(--pad));
  margin-inline: auto;
}
.g12 {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gut);
}
.g12 > * { grid-column: 1 / -1; }

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg);
  color: var(--fg);
}
.section > .wrap { position: relative; z-index: 1; }

/* Visible column grid — lines sit on every column's left edge + the container's right edge */
.gridlines {
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(var(--maxw), 100% - 2 * var(--pad));
  transform: translateX(-50%);
  border-right: 1px solid var(--gl);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.gridlines::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 0;
  width: calc(100% + var(--gut));
  background-image: linear-gradient(to right, var(--gl) 1px, transparent 1px);
  background-size: calc(100% / var(--cols)) 100%;
}

/* ---------- 4. Typography ---------- */
/* highlighted words: same typeface as the line, colour only */
.accent {
  font-style: normal;
  color: var(--accent);
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.eyebrow {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--label);
}
.eyebrow--rule { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--rule::before { content: ""; width: 32px; height: 1px; background: currentColor; }

/* Section head: 01/06 ├──────────┤ LABEL */
.shead {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: clamp(40px, 6.5vw, 96px);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.shead__num {
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  color: var(--fg);
}
.shead__num span { color: var(--fg-3); margin-left: 2px; }
.shead__rule {
  position: relative;
  flex: 1;
  height: 11px;
  border-inline: 1px solid var(--line-2);
}
.shead__rule::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 5px;
  height: 1px;
  background: var(--line-2);
}
.shead__label { color: var(--label); }

/* Dimension line: ├──── LABEL ────┤ */
.dim {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 11px;
  border-inline: 1px solid currentColor;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dim::before, .dim::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

/* Corner crop marks */
.crop { position: relative; }
.crop::after {
  --m: var(--line-2);
  content: "";
  position: absolute;
  inset: -12px;
  pointer-events: none;
  background:
    linear-gradient(var(--m), var(--m)) left top / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) left top / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 1px 18px no-repeat;
}

/* ---------- 5. Buttons & links ---------- */
.i-arrow, .i-play, .i-pause {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: square;
}
.i-play, .i-pause { fill: currentColor; stroke: none; }

.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.1;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn .i-arrow { transition: transform .35s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(4px); }
/* primary: gold outline with champagne text, fills with gold on hover */
.btn--gold { --btn-bg: rgba(14, 12, 10, .35); --btn-fg: var(--champagne); --btn-bd: var(--gold); transition: background-color .35s, color .35s, border-color .35s; }
.btn--gold:hover { --btn-bg: var(--gold); --btn-fg: var(--black); --btn-bd: var(--gold); }
.btn--ghost { --btn-fg: var(--bone); --btn-bd: rgba(245, 241, 234, .45); backdrop-filter: blur(6px); background: rgba(14, 12, 10, .18); }
.btn--ghost:hover { --btn-bd: var(--champagne); background: rgba(14, 12, 10, .4); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }


.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 500;
  color: var(--fg);
  background: linear-gradient(currentColor, currentColor) left calc(50% + 0.85em) / 100% 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s var(--ease);
}
.link-arrow:hover { background-size: 0% 1px; background-position-x: right; color: var(--accent); }
.link-arrow .i-arrow { transition: transform .35s var(--ease-out); }
.link-arrow:hover .i-arrow { transform: translateX(3px); }
.link-arrow:hover .i-arrow--out { transform: translate(2px, -2px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  color: var(--bone);
  transition: height .45s var(--ease-out), background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
/* At the very top the bar is taller so the full logo and the menu share one centre line */
.site-header:not(.is-scrolled) { height: 104px; }
@media (min-width: 1024px) { .site-header:not(.is-scrolled) { height: 148px; } }
.menu-open .site-header { height: var(--header-h); }
.site-header::before {
  /* soft top scrim so the nav reads over the bright hero */
  content: "";
  position: absolute; inset: 0 0 -40px;
  background: linear-gradient(to bottom, rgba(14, 12, 10, .55), rgba(14, 12, 10, 0));
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(14, 12, 10, .9);
  border-bottom-color: rgba(229, 188, 124, .16);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.site-header.is-scrolled::before, .menu-open .site-header::before { opacity: 0; }
.menu-open .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: auto;
  color: var(--champagne);
}
.brand__mark {
  width: 44px; height: 44px;
  margin-block: -4px;
  object-fit: contain;
}
@media (min-width: 1024px) { .brand__mark { width: 54px; height: 54px; } }

/* Full lion logo over the top of the hero; the compact mark + wordmark take over once the header turns solid */
.brand { position: relative; }
.brand__full {
  display: block;
  position: absolute; left: -4px; top: 50%;
  width: 84px; height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5));
  transition: opacity .45s var(--ease), transform .45s var(--ease-out);
  transform-origin: left center;
}
@media (min-width: 1024px) { .brand__full { width: 124px; left: -4px; } }
.brand__mark, .brand__text { transition: opacity .45s var(--ease); }
.site-header:not(.is-scrolled) .brand__mark,
.site-header:not(.is-scrolled) .brand__text { opacity: 0; }
.site-header.is-scrolled .brand__full,
.menu-open .brand__full { opacity: 0; transform: translateY(-50%) scale(.6); pointer-events: none; }
.menu-open .site-header .brand__mark, .menu-open .site-header .brand__text { opacity: 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-brand);
  font-weight: 600;
  font-size: 1.3125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--champagne);
}
.brand__sub {
  margin-top: 5px;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, .78);
}

.site-nav { display: none; }
.site-nav__list { display: flex; gap: clamp(20px, 2.2vw, 36px); }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(245, 241, 234, .9);
  transition: color .25s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 8px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.site-nav__link:hover { color: var(--champagne); }
.site-nav__link:hover::after, .site-nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.site-header__cta { display: none; }

.menu-toggle {
  position: relative;
  width: 48px; height: 48px;
  margin-right: -10px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.menu-toggle__bar {
  width: 26px; height: 1.5px; background: var(--bone);
  transition: transform .4s var(--ease-out), width .3s var(--ease);
}
.menu-toggle__bar:last-child { width: 18px; margin-left: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child { width: 26px; margin-left: 0; transform: translateY(-4.25px) rotate(-45deg); }
html:not(.js) .menu-toggle { display: none; }

@media (min-width: 768px) {
  .site-header__cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .site-nav { display: block; margin-right: var(--s-2); }
  .menu-toggle { display: none; }
  .brand__name { font-size: 1.4375rem; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--black);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: var(--s-5) calc(var(--s-4) + env(safe-area-inset-bottom));
}
.mobile-menu__list { border-top: 1px solid var(--line); }
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out), color .2s;
}
.mobile-menu__link { justify-content: space-between; align-items: center; }
.mobile-menu__link .i-arrow { width: 22px; height: 22px; color: var(--gold); }
.mobile-menu__link:hover { color: var(--champagne); }
.mobile-menu.is-open .mobile-menu__link { transform: none; opacity: 1; }
.mobile-menu.is-open li:nth-child(2) .mobile-menu__link { transition-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) .mobile-menu__link { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) .mobile-menu__link { transition-delay: .12s; }
.mobile-menu.is-open li:nth-child(5) .mobile-menu__link { transition-delay: .16s; }
.mobile-menu__foot { display: grid; gap: var(--s-4); }
.mobile-menu__cta { width: 100%; justify-content: space-between; }
.mobile-menu__contacts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.mobile-menu__contacts dt { font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.mobile-menu__contacts a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.0625rem; color: var(--champagne); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--black);
  color: var(--bone);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -3; background: var(--black-2); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to top, rgba(14, 12, 10, .94) 0%, rgba(14, 12, 10, .78) 30%, rgba(14, 12, 10, .3) 62%, rgba(14, 12, 10, .45) 100%),
    linear-gradient(to right, rgba(14, 12, 10, .55) 0%, rgba(14, 12, 10, 0) 70%);
}
.gridlines--hero { --gl: rgba(245, 241, 234, .085); z-index: -1; }
@media (max-width: 767px) {
  /* content climbs higher on phones, so the scrim does too */
  .hero__shade {
    background: linear-gradient(to top, rgba(14, 12, 10, .95) 0%, rgba(14, 12, 10, .82) 45%, rgba(14, 12, 10, .58) 72%, rgba(14, 12, 10, .5) 100%);
  }
}

.hero__inner {
  position: relative;
  padding-top: calc(var(--header-h) + var(--s-6));
  padding-bottom: clamp(24px, 4.5vw, 56px);
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: clamp(16px, 2.2vw, 32px);
}
.hero__meta .eyebrow { color: var(--champagne); }
.hero__coords {
  display: none;
  font-size: 0.6875rem;
  letter-spacing: .2em;
  color: rgba(245, 241, 234, .7);
  font-variant-numeric: tabular-nums;
}
.hero__title {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.034em;
  color: var(--bone);
}
.hero__line { display: block; }
.hero__title .accent { color: var(--champagne); }
.hero__dim {
  margin-top: clamp(28px, 4vw, 56px);
  color: rgba(229, 188, 124, .9);
}
.hero__dim span { letter-spacing: .26em; }
.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-3) var(--s-2);
  margin-top: clamp(36px, 4.5vw, 64px);
}
.hero__sub {
  grid-column: 1 / -1;
  max-width: 34em;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(245, 241, 234, .86);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
.hero__toggle {
  align-self: end;
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(245, 241, 234, .4);
  border-radius: 50%;
  color: var(--bone);
  background: rgba(14, 12, 10, .25);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.hero__toggle:hover { border-color: var(--champagne); background: rgba(14, 12, 10, .5); }
.hero__toggle svg { width: 16px; height: 16px; }
.hero__toggle .i-play { display: none; }
.hero__toggle[aria-pressed="true"] .i-play { display: block; }
.hero__toggle[aria-pressed="true"] .i-pause { display: none; }
html:not(.js) .hero__toggle { display: none; }

@media (max-width: 767px) {
  .hero__inner { position: static; }
  .hero__meta .eyebrow { font-size: 0.6875rem; letter-spacing: .15em; gap: 10px; }
  .hero__meta .eyebrow--rule::before { width: 20px; }
  .hero__foot { grid-template-columns: minmax(0, 1fr); }
  .hero__ctas { grid-column: 1 / -1; }
  .hero__ctas .btn { justify-content: center; }
  .hero__toggle {
    /* top-right corner of the hero, under the menu button */
    position: absolute;
    right: var(--pad);
    top: 116px;
    width: 44px; height: 44px;
  }
}
@media (min-width: 600px) {
  .hero__ctas .btn { flex: 0 1 auto; justify-content: center; }
}
@media (min-width: 768px) {
  .hero__coords { display: block; }
  .hero__foot {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gut);
    align-items: end;
  }
  .hero__sub { grid-column: 1 / span 7; }
  .hero__ctas { grid-column: 1 / span 10; }
  .hero__toggle { grid-column: 12 / 13; }
}
@media (min-width: 1024px) {
  .hero__sub { grid-column: 1 / span 5; grid-row: 1; }
  .hero__ctas { grid-column: 7 / span 5; grid-row: 1; align-self: end; }
  .hero__toggle { grid-row: 1; }
}


/* ---------- 8. About ---------- */
.about__intro { row-gap: var(--s-4); }
.about__body { max-width: 34em; }
.about__story { display: grid; gap: var(--s-2); max-width: 38em; }
.about__story p:not(.lead) { font-size: 1.0625rem; line-height: 1.7; color: var(--fg-2); }
.about__teamline {
  margin-top: clamp(48px, 6vw, 88px);
  max-width: 44em;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--fg-2);
}
.about__teamline span { color: var(--fg); font-weight: 500; }
@media (min-width: 768px) {
  .about__title { grid-column: 1 / span 11; }
  .about__body { grid-column: 6 / span 7; }
  .about__story { grid-column: 5 / span 8; }
}
@media (min-width: 1024px) {
  .about__title { grid-column: 1 / span 10; }
  .about__body { grid-column: 8 / span 5; margin-top: var(--s-4); }
  .about__title { grid-column: 1 / span 6; grid-row: 1; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
  .about__story { grid-column: 7 / span 6; grid-row: 1; padding-top: 10px; }
}

.team {
  position: relative;
  display: grid;
  margin-top: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--line-2);
}
.team__plus {
  position: absolute;
  top: 0; left: 50%;
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent);
}
.person {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: var(--s-2);
  padding-block: var(--s-5) var(--s-6);
}
.person + .team__plus + .person { border-top: 1px solid var(--line); }
.person__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.person__tag span {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 0.6875rem; letter-spacing: 0;
  color: var(--fg);
}
.person__name {
  margin-top: var(--s-2);
  font-size: clamp(3.25rem, 1.6rem + 6.4vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: .9;
}
.person__role { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; }
.person__role .accent { line-height: 1.1; }
.person__desc { max-width: 26em; color: var(--fg-2); font-size: var(--fs-lead); line-height: 1.5; }
.person__tel {
  justify-self: start;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--s-2);
  min-height: 56px;
  padding: 0 20px 0 0;
  border-bottom: 1px solid var(--fg);
  font-size: 1.1875rem;
  font-weight: 500;
  transition: gap .35s var(--ease-out), color .3s;
}
.person__tel-label { font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.person__tel-num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.person__tel:hover { gap: 20px; }
@media (min-width: 768px) {
  .team { grid-template-columns: 1fr 1fr; }
  .team__plus { display: grid; }
  .person { padding: var(--s-6) var(--s-5) var(--s-2) 0; }
  .person + .team__plus + .person {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: calc(var(--gut) + var(--s-1));
    padding-right: 0;
  }
}

/* ---------- 9. Homes / gallery ---------- */
.homes__head { row-gap: var(--s-4); margin-bottom: clamp(48px, 6vw, 88px); }
.homes__intro { display: grid; gap: var(--s-4); }
.features {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.features li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.35;
  color: var(--fg);
}
.features span {
  font-size: 1.3125rem;
  color: var(--champagne);
  width: 18px;
  flex: none;
}
.homes__head .features { grid-column: 1 / -1; }
@media (min-width: 600px) {
  .features { grid-template-columns: 1fr 1fr; column-gap: var(--gut); }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; margin-top: var(--s-2); border-bottom: 1px solid var(--line); }
  .features li { flex-direction: column; gap: 10px; padding: 22px 24px 26px; border-bottom: 0; border-left: 1px solid var(--line); }
  .features li:first-child { border-left: 0; padding-left: 0; }
  .features span { font-size: 1.125rem; line-height: 1; width: auto; }
}
@media (min-width: 768px) {
  .homes__title { grid-column: 1 / span 12; }
  .homes__intro { grid-column: 4 / span 9; }
}
@media (min-width: 1024px) {
  .homes__title { grid-column: 1 / span 6; align-self: start; }
  .homes__intro { grid-column: 8 / span 5; padding-top: 10px; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gut);
}
.gitem { position: relative; }
.gitem--wide, .gitem--mwide { grid-column: span 2; }
.gitem__link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--black-3);
  aspect-ratio: 4 / 5;
}
.gitem--wide .gitem__link, .gitem--mwide .gitem__link { aspect-ratio: 16 / 10; }
@media (min-width: 600px) and (max-width: 1023px) {
  .gitem__link { aspect-ratio: 4 / 3; }
}
.gitem__link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
}
.gitem__link::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 12, 10, .72), rgba(14, 12, 10, 0) 45%);
  opacity: .55;
  transition: opacity .5s var(--ease);
}
.gitem__tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 5px 8px 4px;
  background: rgba(14, 12, 10, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--champagne);
  font-variant-numeric: tabular-nums;
}
.gitem__cap {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bone);
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.gitem__link:hover img { transform: scale(1.03); }
.gitem__link:hover::after { opacity: 1; }

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: clamp(200px, 19.5vw, 300px);
  }
  .gitem { grid-column: span 4; }
  .gitem--mwide { grid-column: span 4; }
  .gitem--wide { grid-column: span 8; grid-row: span 2; }
  .gitem__link, .gitem--wide .gitem__link, .gitem--mwide .gitem__link { aspect-ratio: auto; }
  .gitem__tag { top: 14px; left: 14px; }
  .gitem__cap { left: 16px; bottom: 14px; font-size: 0.9375rem; transform: translateY(8px); opacity: 0; }
  .gitem__link:hover .gitem__cap, .gitem__link:focus-visible .gitem__cap { transform: none; opacity: 1; }
  .gitem__link::after { opacity: 0; }
}
@media (hover: none) and (min-width: 1024px) {
  .gitem__cap { transform: none; opacity: 1; }
  .gitem__link::after { opacity: .6; }
}

.homes__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.homes__count { font-size: 0.875rem; color: var(--fg-3); }
.homes__count span { color: var(--fg); font-variant-numeric: tabular-nums; }

/* ---------- 10. Process ---------- */
.process__layout { display: grid; }
.process__aside { display: contents; }
.process__title { margin-bottom: var(--s-5); }
.process__visual {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  padding-block: var(--s-2) var(--s-2);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.pd { width: 100%; margin: 0 auto; max-width: 560px; }
.pd__svg { width: 100%; height: auto; max-height: 30svh; margin-inline: auto; overflow: visible; }

/* drawing styles */
.pd__svg * { vector-effect: none; }
.pd__svg line, .pd__svg path, .pd__svg rect, .pd__svg circle { fill: none; stroke-linecap: butt; stroke-linejoin: miter; }
.pd-ground { stroke: var(--ink); stroke-width: 1.6; }
.pd-sun { stroke: var(--gold); stroke-width: 1.5; }
.pd-sketch { stroke: var(--grey); stroke-width: 1.2; stroke-dasharray: 5 7; opacity: .7; transition: opacity .8s var(--ease); }
.pd-axis { stroke: var(--bronze); stroke-width: .9; opacity: .55; }
.pd-bubble { stroke: var(--bronze); stroke-width: 1.1; fill: var(--bone) !important; }
.pd-bubble-t, .pd-dim-t, .pd-label {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: var(--grey);
}
.pd-bubble-t { text-anchor: middle; font-size: 12px; letter-spacing: 0; fill: var(--ink); }
.pd-dim-t { text-anchor: middle; font-size: 11px; }
.pd-label--end { text-anchor: end; fill: var(--bronze); }
.pd-dimline { stroke: var(--ink); stroke-width: .9; }
.pd-tick { stroke: var(--ink); stroke-width: 1.4; }
.pd-center { stroke: var(--bronze); stroke-width: .9; stroke-dasharray: 18 5 3 5; opacity: .6; }
.pd-struct { stroke: var(--ink); stroke-width: 2.2; }
.pd-thin { stroke: var(--ink); stroke-width: 1; }
.pd-glow { fill: var(--champagne) !important; stroke: none; opacity: .75; }
.pd-lamp { fill: var(--gold) !important; stroke: none; }
.pd.is-s3 .pd-sketch, .pd.is-s4 .pd-sketch { opacity: 0; }

/* Progressive enhancement: everything is drawn unless JS is running */
html.js .pd-s { opacity: 0; transition: opacity .7s var(--ease); }
html.js .pd .draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out); }
html.js .pd.is-s1 .pd-s1,
html.js .pd.is-s2 .pd-s1, html.js .pd.is-s2 .pd-s2,
html.js .pd.is-s3 .pd-s1, html.js .pd.is-s3 .pd-s2, html.js .pd.is-s3 .pd-s3,
html.js .pd.is-s4 .pd-s { opacity: 1; }
html.js .pd.is-s1 .pd-s1 .draw,
html.js .pd.is-s2 .pd-s1 .draw, html.js .pd.is-s2 .pd-s2 .draw,
html.js .pd.is-s3 .pd-s1 .draw, html.js .pd.is-s3 .pd-s2 .draw, html.js .pd.is-s3 .pd-s3 .draw,
html.js .pd.is-s4 .draw { stroke-dashoffset: 0; }
html.js .pd.is-s4 .pd-s2 { opacity: .55; }
.pd-s4 .pd-glow { transition: opacity 1s var(--ease) .3s; }

.pindex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--s-2);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.pindex__item { display: flex; gap: 6px; padding-top: 10px; transition: color .4s var(--ease); }
.pindex__item span { font-variant-numeric: tabular-nums; }
.pindex__item.is-active { color: var(--fg); }
.pbar { position: relative; height: 1px; margin-top: -1px; background: var(--line); order: -1; }
.pbar__fill {
  position: absolute; inset: 0;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--p, .25));
  transition: transform .8s var(--ease-out);
}
html:not(.js) .pbar__fill { transform: scaleX(1); }
.process__visual { display: flex; flex-direction: column; }
.process__visual .pbar { order: 2; margin-top: var(--s-2); }
.process__visual .pindex { order: 3; margin-top: 0; }

.psteps { counter-reset: none; }
.pstep {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--s-2);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--line);
}
.pstep::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
html.js .pstep.is-active::before { transform: scaleX(1); }
html.js .pstep__title, html.js .pstep__text, html.js .pstep__num span { transition: color .5s var(--ease); }
html.js .pstep:not(.is-active) .pstep__title,
html.js .pstep:not(.is-active) .pstep__num span { color: var(--fg-3); }
html.js .pstep:not(.is-active) .pstep__text { color: var(--fg-2); }
.pstep__lead {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}
.pstep__lead span {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-top: 2px;
}
.pstep:last-child { border-bottom: 0; }
.pstep__num {
  font-size: var(--fs-label);
  letter-spacing: .16em;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.pstep__num span { color: var(--fg); }
.pstep__title {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: .95;
}
.pstep__text { max-width: 30em; font-size: var(--fs-lead); line-height: 1.55; color: var(--fg-2); }

@media (max-width: 1023px) {
  .pstep { min-height: 36svh; }
}
/* Phones: the drawing is shown complete and scrolls with the page, so it never covers the steps */
@media (max-width: 767px) {
  .process__visual { position: static; border-bottom: 0; padding-bottom: 0; }
  .process__visual .pbar, .process__visual .pindex { display: none; }
  html.js .pd .pd-s { opacity: 1; }
  html.js .pd .draw { stroke-dashoffset: 0; }
  html.js .pd .pd-s2 { opacity: .55; }
  html.js .pd .pd-sketch { opacity: 0; }
  .pstep { min-height: 0; padding-block: var(--s-5); }
  html.js .pstep:not(.is-active) .pstep__title,
  html.js .pstep:not(.is-active) .pstep__num span { color: var(--fg); }
  html.js .pstep::before { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pd__svg { max-height: 32svh; }
  .process__visual .pindex { font-size: 0.75rem; }
}
@media (min-width: 1024px) {
  .process__layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gut);
    align-items: start;
  }
  .process__aside {
    display: block;
    grid-column: 1 / span 6;
    position: sticky;
    top: calc(var(--header-h) + clamp(24px, 4vh, 48px));
  }
  .process__title { margin-bottom: clamp(24px, 4vh, 48px); }
  .process__visual { position: static; padding: 0; border-bottom: 0; background: none; }
  .pd { max-width: none; }
  .pd__svg { max-height: 46vh; margin-inline: 0; }
  .psteps { grid-column: 8 / span 5; }
  .pstep {
    min-height: 50vh;
    padding-block: 0 var(--s-8);
    border-bottom: 0;
    border-top: 1px solid var(--line-2);
    padding-top: var(--s-3);
  }
  .pstep:last-child { min-height: 40vh; }
}


/* Process film: scrubs with scroll on tablet/desktop, loops on phones */
.pvid { position: relative; margin: 0; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 10; max-height: 46vh; width: 100%; }
.pvid__v { width: 100%; height: 100%; object-fit: cover; display: block; }
.pvid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 12, 10, .55) 0%, rgba(14, 12, 10, 0) 38%); pointer-events: none; }
.pvid__cap { position: absolute; left: 20px; bottom: 16px; z-index: 1; display: grid; color: #fff; font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; }
.pvid__cap span { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.pvid.is-s1 .pvid__cap span:nth-child(1), .pvid.is-s2 .pvid__cap span:nth-child(2),
.pvid.is-s3 .pvid__cap span:nth-child(3), .pvid.is-s4 .pvid__cap span:nth-child(4) { opacity: 1; transform: none; }
@media (min-width: 1024px) { .pvid { max-height: 52vh; } }
@media (max-width: 767px) { .pvid__cap { display: none; } }

/* ---------- 11. Floor plans ---------- */
.plans { background: var(--black-2); }
.plans__head { row-gap: var(--s-3); margin-bottom: clamp(48px, 6vw, 88px); }
.plans__sub { max-width: 32em; }
@media (min-width: 768px) {
  .plans__title { grid-column: 1 / span 11; }
  .plans__sub { grid-column: 6 / span 7; }
}
@media (min-width: 1024px) {
  .plans__title { grid-column: 1 / span 7; }
  .plans__sub { grid-column: 9 / span 4; align-self: end; }
}
.plans__grid { display: grid; gap: var(--s-6) var(--gut); }
@media (min-width: 768px) {
  .plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.plan { display: flex; flex-direction: column; }
.plan__sheet {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-2);
  background-color: #12100D;
  background-image:
    linear-gradient(rgba(192, 144, 79, .15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 144, 79, .15) 1px, transparent 1px),
    linear-gradient(rgba(192, 144, 79, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 144, 79, .055) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  background-position: -1px -1px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.plan__dim { position: absolute; color: rgba(229, 188, 124, .55); }
.plan__dim--x { left: 12%; right: 12%; top: 18px; height: 9px; border-inline: 1px solid currentColor; }
.plan__dim--x::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: currentColor; }
.plan__dim--y { top: 16%; bottom: 16%; left: 18px; width: 9px; border-block: 1px solid currentColor; }
.plan__dim--y::before { content: ""; position: absolute; top: 0; bottom: 0; left: 4px; width: 1px; background: currentColor; }
.plan__soon {
  position: relative;
  padding: 14px 22px;
  border: 1px solid var(--line-2);
  background: rgba(18, 16, 13, .88);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.7;
  text-transform: uppercase;
  text-align: center;
  color: var(--champagne);
}
.plan__sheetno {
  position: absolute; right: 0; bottom: 0;
  padding: 6px 10px;
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
  background: #12100D;
  font-size: 0.625rem;
  letter-spacing: .18em;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.plan__body { display: grid; gap: 12px; padding-top: var(--s-3); }
.plan__idx {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--champagne);
}
.plan__name { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.plan__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.plan__specs > div { padding: 10px 0 10px 10px; border-left: 1px solid var(--line); }
.plan__specs > div:first-child { border-left: 0; padding-left: 0; }
.plan__specs dt { font-size: 0.6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.plan__specs dd { font-size: 1.125rem; color: var(--fg-2); }
.plan__note { font-size: 0.875rem; color: var(--fg-3); }

.plan--custom .plan__sheet--custom {
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(192, 144, 79, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 144, 79, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  border-color: var(--gold);
}
.plan__cross { position: absolute; inset: 0; }
.plan__cross::before, .plan__cross::after { content: ""; position: absolute; background: rgba(192, 144, 79, .5); }
.plan__cross::before { left: 50%; top: 14%; bottom: 14%; width: 1px; }
.plan__cross::after { top: 50%; left: 14%; right: 14%; height: 1px; }
.plan__sheet--custom .plan__soon { background: var(--black); border-color: var(--gold); }
.plan__sheet--custom .plan__soon .accent { display: inline-block; margin-top: 4px; font-size: 1.625rem; line-height: 1; letter-spacing: 0; text-transform: none; }
.plan__text { color: var(--fg-2); font-size: var(--fs-lead); line-height: 1.5; max-width: 26em; }
.plan__link { justify-self: start; color: var(--champagne); }

/* Plan library sheet: abstract room outlines in place of a real plan */
.plan__room { position: absolute; border: 1px solid rgba(229, 188, 124, .5); }
.plan__room--a { left: 16%; top: 22%; width: 40%; height: 56%; }
.plan__room--b { left: 56%; top: 22%; width: 28%; height: 30%; border-left: 0; }
.plan__room--c { left: 56%; top: 52%; width: 28%; height: 26%; border-left: 0; border-top-style: dashed; }
.plan__room--a::after { content: ""; position: absolute; right: -1px; top: 30%; width: 1px; height: 18%; background: #12100D; }
.plan__btn { justify-self: start; align-self: end; margin-top: var(--s-2); }
.plan--library .plan__body, .plan--custom .plan__body { flex: 1; grid-template-rows: auto auto auto 1fr; align-content: stretch; }


/* Plan sheets: drawn in when they scroll into view (final state without JS / with reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  html.js .plan__dim--x { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .1s; }
  html.js .plan__dim--y { transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease-out) .25s; }
  html.js .plan__room { clip-path: inset(0 100% 100% 0); transition: clip-path 1.1s var(--ease-out); }
  html.js .plan__room--a { transition-delay: .45s; }
  html.js .plan__room--b { transition-delay: .85s; }
  html.js .plan__room--c { transition-delay: 1.15s; }
  html.js .plan__sheetno { opacity: 0; transition: opacity .6s ease 1.6s; }
  html.js .plan__cross::before { transform: scaleY(0); transition: transform 1s var(--ease-out) .2s; }
  html.js .plan__cross::after { transform: scaleX(0); transition: transform 1s var(--ease-out) .35s; }
  html.js .plan__sheet--custom .plan__soon { opacity: 0; transform: scale(.94); transition: opacity .7s ease .9s, transform .9s var(--ease-out) .9s; }

  html.js .plan.is-visible .plan__dim--x { transform: scaleX(1); }
  html.js .plan.is-visible .plan__dim--y { transform: scaleY(1); }
  html.js .plan.is-visible .plan__room { clip-path: inset(0 0 0 0); }
  html.js .plan.is-visible .plan__sheetno { opacity: 1; }
  html.js .plan.is-visible .plan__cross::before { transform: scaleY(1); }
  html.js .plan.is-visible .plan__cross::after { transform: scaleX(1); }
  html.js .plan.is-visible .plan__sheet--custom .plan__soon { opacity: 1; transform: none; }

  /* slow scanner sweep over the plan library sheet */
  .plan__scan {
    position: absolute; inset: 0; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, transparent 48.5%, rgba(229, 188, 124, .05) 49.6%, rgba(229, 188, 124, .32) 50%, rgba(229, 188, 124, .05) 50.4%, transparent 51.5%);
    background-size: 300% 100%;
    background-position: 100% 0;
  }
  html.js .plan.is-visible .plan__scan { animation: planScan 7s linear 2.2s infinite; }
  @keyframes planScan {
    0% { opacity: 0; background-position: 100% 0; }
    8% { opacity: 1; }
    55% { opacity: 1; background-position: 0% 0; }
    60%, 100% { opacity: 0; background-position: 0% 0; }
  }

  /* drafting caret after "starts here" */
  .plan__sheet--custom .plan__soon .accent::after {
    content: ""; display: inline-block; width: 1px; height: .85em; margin-left: 4px; vertical-align: -0.08em;
    background: var(--champagne); opacity: 0;
  }
  html.js .plan.is-visible .plan__sheet--custom .plan__soon .accent::after { animation: planCaret 1.1s steps(1) 1.8s infinite; }
  @keyframes planCaret { 0% { opacity: 1; } 50% { opacity: 0; } }
}

/* ---------- 12. Tour ---------- */
.tour__head { row-gap: var(--s-3); margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 768px) {
  .tour__title { grid-column: 1 / span 8; }
  .tour__sub { grid-column: 9 / span 4; align-self: end; }
}
.tour__player { display: grid; gap: var(--s-3); }
.tour__dim { color: var(--fg-3); }
.tour__frame {
  --m: var(--line-2);
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}
.tour__video { width: 100%; height: 100%; object-fit: cover; background: var(--black); }
.tour__play {
  position: absolute; inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: var(--bone);
  background: linear-gradient(to top, rgba(14, 12, 10, .5), rgba(14, 12, 10, .12) 60%);
  transition: background-color .4s var(--ease), opacity .4s var(--ease);
}
.tour__play-ring {
  display: grid; place-items: center;
  width: clamp(72px, 9vw, 128px); height: clamp(72px, 9vw, 128px);
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(14, 12, 10, .42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--champagne);
  box-shadow: 0 0 0 10px rgba(14, 12, 10, .14);
  transition: transform .6s var(--ease-out), background-color .4s var(--ease), color .4s, border-color .4s, box-shadow .6s var(--ease-out);
}
.tour__play-ring .i-play { fill: currentColor; }
.tour__play-ring .i-play { width: clamp(20px, 2.2vw, 30px); height: auto; margin-left: 4px; }
.tour__play-text {
  padding: 8px 14px 7px;
  background: rgba(14, 12, 10, .78);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.tour__play-text span { color: var(--champagne); margin-left: 8px; font-variant-numeric: tabular-nums; }
.tour__play:hover .tour__play-ring { transform: scale(1.05); background: var(--gold); color: var(--black); box-shadow: 0 0 0 16px rgba(14, 12, 10, .12); }
.tour__player.is-playing .tour__play { opacity: 0; pointer-events: none; }
html:not(.js) .tour__play { display: none; }
.tour__noscript { position: absolute; left: 16px; bottom: 16px; padding: 10px 14px; background: var(--gold); color: var(--black); font-weight: 600; }
.tour__cap {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: var(--fg-3);
}
@media (max-width: 599px) {
  .tour__cap span:last-child { display: none; }
  .tour__play-text { display: none; }
}

/* ---------- 13. Contact ---------- */
.contact__grid { display: grid; gap: var(--s-8); }
.contact__intro { display: grid; align-content: start; gap: var(--s-4); }
.contact__nav { display: flex; flex-wrap: wrap; gap: 4px clamp(20px, 2.4vw, 36px); margin-top: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.contact__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--fg-2); transition: color .25s var(--ease); }
.contact__nav a:hover { color: var(--champagne); }
.contact__sub { max-width: 30em; }
.contact__brand {
  display: grid;
  justify-items: start;
  gap: var(--s-2);
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.contact__brandtext { display: grid; gap: 12px; }
.contact__tagline { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--bone); max-width: 16em; }
.contact__values { font-size: 0.6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }
.contact__logo {
  flex: none;
  width: clamp(240px, 30vw, 400px);
  height: auto;
  margin-left: -16px;
  /* the source file carries a faint noise patch top-right, outside the lion */
  clip-path: polygon(0 0, 55% 0, 55% 24%, 100% 24%, 100% 100%, 0 100%);
}
/* Phones/tablets: contact rows come straight after the heading, the logo closes the section */
@media (max-width: 1023px) {
  .contact__grid { gap: var(--s-4); }
  .contact__intro { display: contents; }
  .ccards { order: 2; margin-top: var(--s-2); }
  .contact__brand { order: 3; margin-top: var(--s-5); }
  .contact__nav { order: 4; }
}
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gut);
  }
  .contact__intro { grid-column: 1 / span 6; }
  .ccards { grid-column: 8 / span 5; align-self: start; margin-top: 8px; }
}

.ccards { border-top: 1px solid var(--line-2); }
.ccards > li { border-bottom: 1px solid var(--line); }
.ccard {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 24px;
  grid-template-areas: "idx label arrow" "idx value arrow";
  align-items: center;
  align-content: center;
  column-gap: var(--s-2);
  row-gap: 6px;
  min-height: 96px;
  padding-block: var(--s-3);
  transition: background-color .35s var(--ease), padding .45s var(--ease-out);
}
.ccard__idx {
  grid-area: idx;
  align-self: start;
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  margin-top: 2px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--champagne);
}
.ccard__idx svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ccard__idx svg .dot { fill: currentColor; stroke: none; }
.ccard__label {
  grid-area: label;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.ccard__value {
  grid-area: value;
  font-size: clamp(1.625rem, 1.1rem + 2.1vw, 2.625rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
  transition: color .3s var(--ease);
}
.ccard--long .ccard__value { font-size: clamp(1.0625rem, 0.9rem + 0.95vw, 1.5rem); letter-spacing: -0.015em; overflow-wrap: anywhere; }
.ccard__arrow { grid-area: arrow; width: 22px; height: 22px; color: var(--gold); transition: transform .45s var(--ease-out); }
@media (min-width: 1024px) { .ccard { min-height: 132px; } }
.ccard:hover .ccard__value { color: var(--champagne); }
.ccard:hover .ccard__arrow { transform: translateX(5px); }
.ccard:hover .i-arrow--out { transform: translate(3px, -3px); }

/* ---------- 14. Footer ---------- */
.footer__logo {
  width: clamp(220px, 26vw, 360px);
  height: auto;
  margin: -24px 0 0 -18px;
  /* the source file carries a faint noise patch top-right, outside the lion */
  clip-path: polygon(0 0, 55% 0, 55% 24%, 100% 24%, 100% 100%, 0 100%);
}
.site-footer {
  position: relative;
  background: #0A0907;
  color: var(--bone);
  padding-block: var(--s-3) calc(var(--s-3) + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(229, 188, 124, .14);
}
.site-footer__inner { position: relative; z-index: 1; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.8125rem; color: var(--fg-3); }
.footer__legal a { color: var(--fg-2); text-decoration: underline; text-decoration-color: rgba(229, 188, 124, .4); text-underline-offset: 3px; transition: color .25s; }
.footer__legal a:hover { color: var(--champagne); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 1023px) {
  .site-footer { padding-bottom: calc(var(--s-3) + 72px + env(safe-area-inset-bottom)); }
}

/* ---------- 15. Mobile quick-contact bar ---------- */
.quickbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(229, 188, 124, .2);
  border-top: 1px solid rgba(229, 188, 124, .2);
  transition: transform .45s var(--ease-out);
}
.quickbar__btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 56px;
  background: rgba(14, 12, 10, .96);
  color: var(--bone);
  font-size: 0.9375rem;
  font-weight: 500;
}
.quickbar__k { color: var(--champagne); }
.quickbar__btn--gold { background: rgba(14, 12, 10, .96); color: var(--champagne); box-shadow: inset 0 0 0 1px var(--gold); }
html.js .quickbar { transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s linear .45s; }
html.js .quickbar.is-visible { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
@media (min-width: 1024px) { .quickbar { display: none; } }

/* ---------- 16. Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: #0A0907;
  color: var(--bone);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 9, 7, .9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; animation: lb-in .35s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--pad);
  border-bottom: 1px solid rgba(229, 188, 124, .14);
}
.lightbox__counter { font-size: 0.8125rem; letter-spacing: .18em; color: rgba(245, 241, 234, .7); font-variant-numeric: tabular-nums; }
.lightbox__counter span:first-child { color: var(--champagne); }
.lightbox__close, .lightbox__nav {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  color: var(--bone);
  border: 1px solid rgba(245, 241, 234, .28);
  border-radius: 50%;
  transition: border-color .25s, background-color .25s, color .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); background: var(--gold); color: var(--black); }
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lightbox__figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: var(--s-3) var(--pad) calc(var(--s-3) + 64px);
}
.lightbox__stage { min-height: 0; max-width: 100%; display: grid; place-items: center; }
.lightbox__img {
  max-width: min(100%, var(--lb-max, 1600px));
  max-height: calc(100vh - 220px);
  max-height: calc(100svh - 220px);
  width: auto; height: auto;
  object-fit: contain;
  transition: opacity .3s var(--ease);
}
.lightbox__img.is-loading { opacity: 0; }
.lightbox__caption { padding-top: var(--s-2); text-align: center; font-size: 0.9375rem; color: rgba(245, 241, 234, .82); }
.lightbox__nav { position: absolute; bottom: 16px; }
.lightbox__nav--prev { left: calc(50% - 60px); }
.lightbox__nav--next { left: calc(50% + 12px); }
@media (min-width: 1024px) {
  .lightbox__figure { padding: var(--s-4) 120px; }
  .lightbox__img { max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); }
  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); width: 56px; height: 56px; }
  .lightbox__nav--prev { left: var(--pad); }
  .lightbox__nav--next { left: auto; right: var(--pad); }
}

/* ---------- 17. Reveal animations (progressive enhancement) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .gallery .reveal:nth-child(3n + 2) { transition-delay: .08s; }
html.js .gallery .reveal:nth-child(3n) { transition-delay: .16s; }
html.js .ccards li:nth-child(2) { transition-delay: .06s; }
html.js .ccards li:nth-child(3) { transition-delay: .12s; }
html.js .ccards li:nth-child(4) { transition-delay: .18s; }

/* ---------- 17b. Mobile polish ---------- */
/* Notch / Dynamic Island in landscape (viewport-fit=cover): keep content inside the safe area */
:root { --pad: max(clamp(20px, 4.4vw, 64px), env(safe-area-inset-left), env(safe-area-inset-right)); }

/* Menu open: solid bar so scrolled menu links never run under the logo or the close button */
.menu-open .site-header { background: var(--black); }

/* Tour playing: the quick-contact bar steps aside so it can't cover the native controls */
html:has(.tour__player.is-playing) .quickbar { transform: translateY(110%); visibility: hidden; }

/* Footer links: comfortable tap area without changing the layout */
.footer__legal a { display: inline-block; padding-block: 12px; margin-block: -12px; }

@media (max-width: 1023px) {
  /* contact: one hairline between the last card and the link row, no empty band */
  .contact__nav { margin-top: 0; padding-top: 0; border-top: 0; }
  /* the quick-contact bar hides over the contact section, so the footer needs no extra room for it */
  html.js .site-footer { padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom)); }
  /* lightbox arrows clear the home indicator */
  .lightbox__nav { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .lightbox__figure { padding-bottom: calc(var(--s-3) + 64px + env(safe-area-inset-bottom)); }
}

@media (max-width: 599px) {
  .hero__line { text-wrap: balance; }
}

/* Short phones: the hero eyebrow must not run under the pause button */
@media (max-width: 359px), (max-width: 767px) and (max-height: 620px) {
  .hero__meta { padding-right: 56px; }
}
@media (max-width: 767px) and (max-height: 640px) {
  .mobile-menu__inner { padding-top: var(--s-3); gap: var(--s-4); }
  .mobile-menu__link { font-size: 1.75rem; padding-block: 10px; }
  .mobile-menu__foot { gap: var(--s-2); }
}

/* 320px phones */
@media (max-width: 359px) {
  .person__tel { gap: 10px; padding-right: 0; }
  .person__tel-label { letter-spacing: .1em; }
  .person__tel-num { font-size: 1.0625rem; white-space: nowrap; }
  .ccard { column-gap: 12px; }
  .ccard--long .ccard__value { font-size: 1rem; }
  .mobile-menu__contacts dt { font-size: 0.6875rem; letter-spacing: .08em; }
}

/* Phones held sideways (844x390, 667x375, 932x430 ...) */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1023px) {
  :root { --header-h: 56px; }
  .site-header:not(.is-scrolled) { height: var(--header-h); }
  .brand__full { width: 52px; }

  /* hero: headline, line and both buttons on the first screen */
  .hero__inner { padding-top: calc(var(--header-h) + 12px); padding-bottom: 16px; }
  .hero__meta { margin-bottom: 10px; }
  .hero__title { font-size: min(var(--fs-display), 15vh); font-size: min(var(--fs-display), 15svh); }
  .hero__foot { margin-top: 16px; row-gap: 12px; }
  .hero__sub { font-size: 1rem; max-width: 40em; }
  .hero__ctas .btn { min-height: 46px; }
  .hero__toggle { top: auto; bottom: 16px; }

  .quickbar__btn { min-height: 44px; }

  /* menu: links left, button and phones right, no scrolling */
  .mobile-menu__inner { flex-direction: row; align-items: center; gap: var(--s-6); padding-block: var(--s-2) calc(var(--s-2) + env(safe-area-inset-bottom)); }
  .mobile-menu__list { flex: 1.25; }
  .mobile-menu__foot { flex: 1; gap: var(--s-3); }
  .mobile-menu__link { font-size: 1.625rem; padding-block: 8px; }

  /* gallery: three across so no tile is taller than the screen */
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gitem--wide, .gitem--mwide { grid-column: span 1; }
  .gitem--wide .gitem__link, .gitem--mwide .gitem__link { aspect-ratio: 4 / 3; }

  /* process: the film scrolls with the page instead of pinning a block taller than the screen */
  .process__visual { position: static; border-bottom: 0; padding-bottom: 0; }
  .process__visual .pbar, .process__visual .pindex { display: none; }

  /* tour: the whole 16:9 frame fits between the header and the bar */
  .tour__player { max-width: calc((100vh - 120px) * 16 / 9); max-width: calc((100svh - 120px) * 16 / 9); margin-inline: auto; }

  /* lightbox: arrows at the sides, the photo gets the height */
  .lightbox__bar { padding-block: 4px; }
  .lightbox__figure { padding: 8px 84px; }
  .lightbox__img { max-height: calc(100vh - 110px); max-height: calc(100svh - 110px); }
  .lightbox__caption { padding-top: 8px; font-size: 0.875rem; }
  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__nav--prev { left: var(--pad); }
  .lightbox__nav--next { left: auto; right: var(--pad); }
}
@media (max-height: 500px) and (orientation: landscape) and (min-width: 768px) and (max-width: 1023px) {
  .hero__sub { grid-column: 1 / span 6; grid-row: 1; }
  .hero__ctas { grid-column: 7 / span 5; grid-row: 1; align-self: end; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__toggle { grid-row: 1; }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .gitem__link:hover img { transform: none; }
}
