/* ==========================================================
   THE BRASS HOUR: a grand hotel lobby at dusk
   ========================================================== */
:root {
  --ebony: #0A1A33;
  --walnut: #10284C;
  --walnut-2: #173462;
  --brass: #C09040;
  --brass-lit: #EBC77F;
  --brass-deep: #87621F;
  --ivory: #EEE5D3;
  --ivory-2: #E3D6BE;
  --ink: #0F2340;
  --ink-soft: #4B5870;
  --on-dark: #EEE5D3;
  --on-dark-soft: rgba(238, 229, 211, .66);
  --line-dark: rgba(192,144,64, .22);
  --line-light: rgba(14,31,58, .16);
  --oxblood: #7A2327;

  --serif: "Castoro Titling", "Trajan Pro", Georgia, serif;
  --sans: "Tenor Sans", "Gill Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1380px;
  --ease-lux: cubic-bezier(.65, 0, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Songket-inspired brass band, a nod to the old site's pattern strip */
  --songket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16' viewBox='0 0 40 16'%3E%3Cg fill='none' stroke='%23B8914F' stroke-width='1'%3E%3Cpath d='M0 8 L10 1 L20 8 L10 15 Z M20 8 L30 1 L40 8 L30 15 Z'/%3E%3Cpath d='M10 5 L13 8 L10 11 L7 8 Z M30 5 L33 8 L30 11 L27 8 Z' fill='%23B8914F'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ebony);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--brass); color: var(--ebony); }
:focus-visible { outline: 2px solid var(--brass-lit); outline-offset: 3px; }
body.locked { overflow: hidden; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); }
em { font-style: normal; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Floor tag used at the top of each section */
.floor-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brass);
}
.floor-tag b { font-family: var(--serif); font-weight: 400; font-size: 13px; letter-spacing: .01em; }
.floor-tag b::after { content: "·"; margin-left: 12px; font-family: var(--sans); }

.light .floor-tag { color: var(--brass-deep); }

.band { height: 16px; background: var(--songket) repeat-x center / auto 16px; opacity: .55; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 14px; letter-spacing: .01em;
  border: 1px solid var(--brass);
  color: var(--brass-lit);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease-lux);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brass);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-lux);
}
.btn:hover { color: var(--ebony); }
.btn:hover::before { transform: scaleY(1); }
.btn .arr { transition: transform .5s var(--ease-lux); }
.btn:hover .arr { transform: translateX(4px); }
.btn.solid { background: var(--brass); color: var(--ebony); }
.btn.solid::before { background: var(--brass-lit); }
.light .btn { color: var(--brass-deep); border-color: var(--brass-deep); }
.light .btn::before { background: var(--ink); }
.light .btn:hover { color: var(--ivory); }

/* ==========================================================
   LIFT DOORS INTRO
   ========================================================== */
.lift { display: none; }
.js .lift {
  display: block; position: fixed; inset: 0; z-index: 300; pointer-events: auto; cursor: pointer;
}
.lift-door {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 100%) 0 0 / 7px 100%,
    linear-gradient(180deg, #13294B, #0B1C36 60%, #07142A);
  overflow: hidden;
  transition: transform 1.35s var(--ease-lux);
}
.lift-door.l { left: 0; }
.lift-door.r { right: 0; }
.lift-door::before {
  content: ""; position: absolute; inset: 7vh 5vw;
  border: 1px solid rgba(192,144,64,.28);
}
.lift-door::after {
  content: ""; position: absolute; inset: calc(7vh + 12px) calc(5vw + 12px);
  border: 1px solid rgba(192,144,64,.12);
}
.lift-door.l { box-shadow: inset -2px 0 0 rgba(235,199,127,.55); }
.lift-door.r { box-shadow: inset 2px 0 0 rgba(235,199,127,.55); }
.lift-medal {
  position: absolute; top: 50%; width: 200px; height: 200px; margin-top: -100px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #1A3560, #0A1A33 70%);
}
.lift-medal::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(192,144,64,.35);
}
.lift-medal img { position: relative; width: 128px; height: auto; margin-top: -4px; }
.lift-door.l .lift-medal { right: -100px; }
.lift-door.r .lift-medal { left: -100px; }
.lift-head {
  position: absolute; top: 7vh; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: opacity .5s ease;
  z-index: 2;
}
.lift-lamp {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--brass);
  background: #07142A;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; color: rgba(235,199,127,.25);
  transition: color .4s ease, box-shadow .6s ease, background .4s ease;
}
.lift-word { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--brass); opacity: .0; transition: opacity .4s ease .1s; }
.lift.ding .lift-lamp { color: #FFE6B3; background: #1E3358; box-shadow: 0 0 30px rgba(235,199,127,.55), inset 0 0 14px rgba(235,199,127,.35); }
.lift.ding .lift-word { opacity: 1; }
.lift.open .lift-door.l { transform: translateX(-101%); }
.lift.open .lift-door.r { transform: translateX(101%); }
.lift.open .lift-head { opacity: 0; }
.lift.gone { display: none; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s ease, border-color .5s ease, transform .5s var(--ease-lux);
  border-bottom: 1px solid transparent;
}
/* Soft shade behind the transparent header so the menu stays readable over photos */
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,13,28,.62), rgba(5,13,28,0));
  transition: opacity .5s ease;
}
.site-header.scrolled::before { opacity: 0; }
.site-header.scrolled {
  background: rgba(10,26,51, .97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 124px; gap: 24px; transition: height .5s ease; }
.site-header.scrolled .header-inner { height: 88px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1; }
.brand-mark { font-family: var(--serif); font-size: 26px; letter-spacing: .06em; text-indent: .06em; color: var(--ivory); }

.brand-rule { display: none; }
.brand-sub { font-size: 11px; letter-spacing: .07em; text-indent: .07em; text-transform: uppercase; color: var(--on-dark-soft); }
.brand-sub br { display: none; }
.brand-crest { display: block; height: 100px; width: auto; transition: height .5s var(--ease-lux); filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.site-header.scrolled .brand-crest { height: 70px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav.right { justify-content: flex-end; }
.nav a {
  position: relative; font-size: 16px; letter-spacing: .03em;
  color: #F6EEDF; transition: color .3s ease; padding: 6px 0;
  -webkit-text-stroke: .35px currentColor;
  text-shadow: 0 1px 14px rgba(5,13,28,.55);
}
.nav a:hover { color: var(--brass-lit); }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 50%;
  background: var(--brass-lit); transform: translate(-50%, 6px) scale(0); transition: transform .4s var(--ease-out);
}
.nav a.active { color: var(--brass-lit); }
.nav a.active::after { transform: translate(-50%, 6px) scale(1); }
.nav a.enquire { color: var(--brass-lit); border-bottom: 1px solid rgba(235,199,127,.5); }
.floors-btn { display: none; justify-self: end; align-items: center; gap: 12px; font-size: 15px; color: #F6EEDF; -webkit-text-stroke: .3px currentColor; }
.floors-btn .chip {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--brass); font-family: var(--serif); font-size: 14px; color: var(--brass-lit); letter-spacing: 0;
}

/* ==========================================================
   ELEVATOR DIAL (signature)
   ========================================================== */
.dial {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 150px; padding: 12px 12px 12px;
  background: rgba(10,26,51, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  border-radius: 90px 90px 6px 6px;
  text-align: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s ease, transform .6s var(--ease-out);
}
.dial.show { opacity: 1; transform: none; }
.dial svg { width: 100%; height: auto; overflow: visible; }
.dial .arc { fill: none; stroke: var(--brass); stroke-width: 1; opacity: .55; }
.dial .tick { stroke: var(--brass); stroke-width: 1; opacity: .7; }
.dial .num { font-family: var(--serif); font-size: 10px; fill: var(--on-dark-soft); text-anchor: middle; dominant-baseline: middle; transition: fill .4s ease; cursor: pointer; }
.dial .num.on { fill: #FFE3AA; }
.dial .needle { transform-origin: 60px 60px; transition: transform 1.1s cubic-bezier(.34, 1.45, .5, 1); }
.dial .needle line { stroke: var(--brass-lit); stroke-width: 1.5; stroke-linecap: round; }
.dial .hub { fill: var(--brass); }
.dial-label { margin-top: 4px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--brass-lit); white-space: nowrap; }

/* ==========================================================
   LIFT PANEL MENU (mobile / tablet)
   ========================================================== */
.panel-menu {
  position: fixed; inset: 0; z-index: 250;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(192,144,64,.12), transparent 60%),
    var(--ebony);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  padding: 90px 24px 40px;
  clip-path: inset(0 50% 0 50%);
  visibility: hidden;
  transition: clip-path .8s var(--ease-lux), visibility 0s linear .8s;
}
.panel-menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-lux), visibility 0s; }
.panel-close { position: absolute; top: 22px; right: var(--gutter); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.panel-close span { font-size: 26px; line-height: 1; color: var(--brass-lit); font-family: var(--serif); }
.panel-plate {
  border: 1px solid var(--line-dark); padding: 26px 28px; width: min(360px, 100%);
  background: linear-gradient(180deg, #10284C, #0A1A33);
}
.panel-plate p { margin: 0 0 18px; text-align: center; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--brass); }
.panel-plate ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.panel-plate a { display: flex; align-items: center; gap: 16px; padding: 4px 0; }
.panel-plate a b {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--brass); font-family: var(--serif); font-size: 14px; color: var(--brass-lit);
  box-shadow: inset 0 0 0 4px var(--ebony), inset 0 0 0 5px rgba(192,144,64,.25);
  transition: background .3s ease, color .3s ease;
}
.panel-plate a:hover b, .panel-plate a.active b { background: var(--brass); color: var(--ebony); }
.panel-plate a span { font-family: var(--serif); font-size: 16px; letter-spacing: .01em; }

/* ==========================================================
   G: LOBBY (HERO)
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.slides { position: absolute; inset: 0; z-index: -2; background: var(--ebony); }
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.8s ease;
}
.slide.on { opacity: 1; }
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14);
  transition: transform 9s linear;
}
.slide.on img { transform: scale(1.02); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,13,28,.6) 0%, rgba(5,13,28,.3) 24%, rgba(5,13,28,.34) 60%, rgba(5,13,28,.82) 100%),
    radial-gradient(ellipse 55% 50% at 50% 58%, rgba(5,13,28,.55), transparent 75%);
}
/* Art-deco inset frame */







.hero-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 180px; padding-bottom: 40px; }
.hero-meta { display: flex; flex-direction: column; align-items: center; gap: 26px; color: var(--brass-lit); margin-bottom: 34px; font-size: clamp(13px, 1vw, 15px); letter-spacing: .12em; text-indent: .12em; -webkit-text-stroke: .3px currentColor; text-shadow: 0 1px 16px rgba(5,13,28,.7); }
.hero-meta::before { content: ""; width: 1px; height: 64px; background: linear-gradient(180deg, transparent, rgba(238,229,211,.7)); }
.hero h1 {
  margin: 0 auto;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 4.3vw, 4.25rem);
  line-height: 1.2; letter-spacing: .01em;
  color: #F6EEDF;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}

.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }
@media (min-width: 681px) { .hero h1 .line > span { white-space: nowrap; } }
.js .line > span { transform: translateY(108%); transition: transform 1.3s var(--ease-out); }
.arrived .line > span { transform: none; }
.arrived .line:nth-child(2) > span { transition-delay: .1s; }
.arrived .line:nth-child(3) > span { transition-delay: .2s; }

.hero-lower { margin-top: 30px; display: flex; flex-direction: column; align-items: center; }
.hero-sub { max-width: 600px; margin: 0 auto 40px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.65; color: #F6EEDF; -webkit-text-stroke: .25px currentColor; text-shadow: 0 1px 18px rgba(5,13,28,.75); }

.js .fade-up { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1.2s var(--ease-out); }
.arrived .fade-up { opacity: 1; transform: none; }
.arrived .fade-up.d1 { transition-delay: .45s; }
.arrived .fade-up.d2 { transition-delay: .6s; }
.arrived .fade-up.d3 { transition-delay: .8s; }
.arrived .fade-up.d4 { transition-delay: 1s; }

/* Audience links */
.hero-links { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.hero-links a {
  position: relative; display: inline-block; padding-bottom: 10px; text-align: center;
  font-size: 17px; letter-spacing: .02em; color: #F6EEDF;
  -webkit-text-stroke: .3px currentColor; text-shadow: 0 1px 14px rgba(5,13,28,.7);
}
.hero-links a::after { content: ""; position: absolute; left: 0; right: .3em; bottom: 0; height: 1px; background: rgba(238,229,211,.75); transform-origin: left; transition: background .4s ease, transform .6s var(--ease-lux); }
.hero-links a:hover::after { background: var(--brass-lit); transform: scaleX(1.12); }
.hero-links a span { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .07em; color: var(--brass-lit); }

.hero-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid rgba(235,199,127,.2);
  padding-top: 20px; padding-bottom: 44px;
}
.slide-nav { display: flex; align-items: center; gap: 22px; }
.slide-nav button { display: flex; flex-direction: column; gap: 8px; text-align: left; font-size: 14.5px; color: rgba(238,229,211,.8); -webkit-text-stroke: .2px currentColor; text-shadow: 0 1px 12px rgba(5,13,28,.6); }
.slide-nav button .bar { position: relative; width: 84px; height: 1px; background: rgba(238,229,211,.25); overflow: hidden; }
.slide-nav button .bar i { position: absolute; inset: 0; background: var(--brass-lit); transform: scaleX(0); transform-origin: left; }
.slide-nav button.on { color: var(--ivory); }
.slide-nav button.on .bar i { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: rgba(238,229,211,.85); -webkit-text-stroke: .2px currentColor; text-shadow: 0 1px 12px rgba(5,13,28,.6); }
.scroll-cue .shaft { position: relative; width: 1px; height: 38px; background: rgba(238,229,211,.2); overflow: hidden; }
.scroll-cue .shaft::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--brass-lit); animation: shaft 2.2s var(--ease-lux) infinite; }
@keyframes shaft { to { top: 110%; } }

/* ==========================================================
   Scroll reveals
   ========================================================== */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity 1.1s ease, transform 1.3s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .1s; } .js .rv.d2 { transition-delay: .2s; } .js .rv.d3 { transition-delay: .3s; }
.js .curtain { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease-lux); }
.js .curtain.in { clip-path: inset(0 0 0 0); }

section { position: relative; }
.section-pad { padding: clamp(90px, 12vw, 170px) 0; }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 3.3vw, 3.2rem); line-height: 1.22; letter-spacing: .01em; margin: 0;
}


/* ==========================================================
   01: THE HOUSE (about)
   ========================================================== */
.light { background: var(--ivory); color: var(--ink); }
.house-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: start; margin-top: 56px; }

.house-lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.6; margin: 34px 0 0; color: var(--ink); max-width: 30ch; }
.house-copy { margin-top: 26px; color: var(--ink-soft); max-width: 52ch; }
.house-arch {
  position: relative; margin-top: 10px;
}
.arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 0 0;
}
.arch img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.arch-outline {
  position: absolute; inset: -16px -16px 22px 22px; border: 1px solid var(--brass-deep); opacity: .45;
  border-radius: 999px 999px 0 0; pointer-events: none; z-index: 0;
}
.house-arch .arch { z-index: 1; }
.arch-caption { display: flex; justify-content: space-between; margin-top: 16px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }

.ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line-light); }
.ledger div { padding: 28px 24px 0 0; }
.ledger div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.ledger strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: .01em; line-height: 1; color: var(--ink); }
.ledger strong sup { font-size: .45em; color: var(--brass-deep); vertical-align: top; position: relative; top: .3em; }
.ledger > div > span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(60px, 8vw, 100px); background: var(--ivory-2); }
.vm div { padding: clamp(28px, 4vw, 52px); }
.vm div + div { border-left: 1px solid var(--line-light); }
.vm h3 { margin: 0 0 16px; font-family: var(--serif); font-weight: 400; font-size: 14px; letter-spacing: .04em; color: var(--brass-deep); }
.vm p { margin: 0; font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.6; }

/* Values marquee */
.marquee { overflow: hidden; background: var(--ebony); color: var(--ivory); border-block: 1px solid var(--line-dark); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 42px; padding: 26px 21px; font-family: var(--serif); font-size: clamp(1rem, 1.7vw, 1.4rem); letter-spacing: .01em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 9px; height: 9px; background: var(--brass); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   02: TWO WINGS (audience routing)
   ========================================================== */
.wings-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.wings-head .display { max-width: 16ch; margin-top: 28px; }
.wings-head p { max-width: 40ch; color: var(--on-dark-soft); margin: 0; }
.wings { display: flex; gap: 14px; height: min(88vh, 820px); min-height: 620px; }
.wing {
  position: relative; flex: 1; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(26px, 3.4vw, 50px);
  transition: flex-grow 1.1s var(--ease-lux);
}
.wing:hover { flex-grow: 1.45; }
.wing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.6s var(--ease-lux), filter 1.1s ease; filter: saturate(.85) brightness(.9); }
.wing:hover img { transform: scale(1); filter: saturate(1) brightness(1); }
.wing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,16,33,.7) 0%, rgba(6,16,33,.1) 20%, rgba(6,16,33,.25) 34%, rgba(6,16,33,.88) 58%, rgba(6,16,33,.97) 100%); }
.wing-top { position: absolute; top: clamp(22px, 3vw, 40px); left: clamp(26px, 3.4vw, 50px); right: clamp(26px, 3.4vw, 50px); display: flex; justify-content: space-between; align-items: center; }
.wing-top .eyebrow { color: var(--brass-lit); font-size: 10.5px; letter-spacing: .07em; }
.wing .btn { color: var(--ivory); border-color: rgba(238,229,211,.6); }
.wing-top .plate { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ivory); border: 1px solid rgba(235,199,127,.45); padding: 7px 14px; }
.wing h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.25; letter-spacing: .01em; margin: 0 0 18px; max-width: 18ch; }

.wing p { margin: 0; max-width: 44ch; color: rgba(246,238,223,.8); }
.wing ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; max-width: 560px; }
.wing li { position: relative; padding-left: 20px; font-size: 14px; color: rgba(246,238,223,.88); }
.wing li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border: 1px solid var(--brass-lit); transform: rotate(45deg); }

/* ==========================================================
   03: THE DIRECTORY (services)
   ========================================================== */
.directory { background: var(--walnut); }
.directory::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 80% 0%, rgba(192,144,64,.1), transparent 70%);
}
.dir-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.dir-head .display { margin-top: 28px; }
.dir-head p { color: var(--on-dark-soft); margin: 0; max-width: 46ch; justify-self: end; }
.board { border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(10,26,51,.55), rgba(10,26,51,.2)); padding: 10px clamp(18px, 3vw, 40px); }
.board-top { display: flex; justify-content: space-between; padding: 14px 0 16px; border-bottom: 1px solid var(--line-dark); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--brass); }
.row {
  position: relative; display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) 40px;
  gap: 28px; align-items: center; padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: default;
}
.row:last-child { border-bottom: 0; }
.row .idx { font-family: var(--serif); font-size: 14px; letter-spacing: .01em; color: var(--brass); }
.row h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1.8vw, 1.65rem); line-height: 1.3; letter-spacing: .01em; transition: color .4s ease, transform .6s var(--ease-out); }
.row p { margin: 0; color: var(--on-dark-soft); font-size: 15.5px; transition: color .4s ease; }
.row .go { justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--brass); transition: background .4s ease, color .4s ease, border-color .4s ease; }
.row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brass-lit); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-lux); }
.row:hover::before { transform: scaleX(1); }
.row:hover h3 { color: var(--brass-lit); transform: translateX(10px); }
.row:hover p { color: var(--ivory); }
.row:hover .go { background: var(--brass); color: var(--ebony); border-color: var(--brass); }
.row .thumb { display: none; }
.dir-preview {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 280px; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 140px 140px 0 0;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85);
  transition: opacity .35s ease;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.dir-preview.show { opacity: 1; }
.dir-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.dir-preview img.on { opacity: 1; }
.commit { display: flex; gap: 22px; align-items: center; margin-top: 40px; color: var(--on-dark-soft); font-size: 15px; }
.commit b { color: var(--brass-lit); font-weight: 400; letter-spacing: .07em; text-transform: uppercase; font-size: 10.5px; white-space: nowrap; }
.commit::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--brass); transform: rotate(45deg); }

/* ==========================================================
   04: BACK OF HOUSE (strengths)
   ========================================================== */
.boh-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.boh-sticky { position: sticky; top: 110px; align-self: start; }
.boh-sticky .display { margin: 28px 0 24px; }

.boh-sticky p { color: var(--ink-soft); max-width: 42ch; margin: 0; }
.boh-img { margin-top: 40px; aspect-ratio: 16 / 11; overflow: hidden; }
.boh-img img { width: 100%; height: 115%; object-fit: cover; }
.strengths { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.strengths li {
  display: grid; grid-template-columns: 70px 1fr; gap: 12px 20px;
  padding: 36px 0; border-top: 1px solid var(--line-light);
}
.strengths li:last-child { border-bottom: 1px solid var(--line-light); }
.strengths li::before {
  counter-increment: s; content: "0" counter(s);
  grid-row: span 2;
  font-family: var(--serif); font-size: 13px; letter-spacing: .01em; color: var(--brass-deep);
  padding-top: 10px;
}
.strengths h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.35; letter-spacing: .01em; }
.strengths p { margin: 0; color: var(--ink-soft); max-width: 48ch; }

/* ==========================================================
   05: THE MANAGEMENT (team)
   ========================================================== */
.team-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 64px; }
.team-head .display { margin-top: 28px; max-width: 14ch; }

.team-head p { color: var(--on-dark-soft); max-width: 40ch; margin: 0; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.person:nth-child(even) { margin-top: 64px; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(192,144,64,.22), transparent 60%),
    linear-gradient(160deg, #1A3560, #0A1A33);
}
.portrait .mono {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: .04em; text-indent: .04em; color: rgba(235,199,127,.5);
}
.portrait .mono::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(192,144,64,.25); }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.9); transition: transform 1.4s var(--ease-lux), filter .8s ease; }
.person:hover .portrait img { transform: scale(1.04); filter: none; }
.nameplate {
  position: relative; margin: -34px 12px 0; padding: 20px 20px 22px;
  background: linear-gradient(180deg, #15305A, #0E2242);
  border: 1px solid var(--line-dark);
}
.nameplate::before { content: ""; position: absolute; top: -1px; left: 22px; width: 50px; height: 2px; background: var(--brass-lit); }
.nameplate .role { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--brass-lit); }
.nameplate h3 { margin: 10px 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.35; letter-spacing: .01em; }
.nameplate p { margin: 0; font-size: 14.5px; color: var(--on-dark-soft); }

/* ==========================================================
   06: RECEPTION (contact)
   ========================================================== */
.reception { overflow: hidden; isolation: isolate; }
.reception > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.reception::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,33,.92) 0%, rgba(6,16,33,.72) 48%, rgba(6,16,33,.45) 100%); }
.rec-grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.rec-copy .display { margin: 28px 0 26px; font-size: clamp(2rem, 3.8vw, 3.6rem); }

.rec-copy > p { color: rgba(246,238,223,.8); max-width: 44ch; margin: 0 0 44px; }
.desk { display: grid; gap: 0; max-width: 460px; border-top: 1px solid var(--line-dark); }
.desk a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); transition: color .3s ease; }
.desk a span { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--brass); }
.desk a strong { font-weight: 400; font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: .01em; text-align: right; line-height: 1.55; }
.foot-address { margin-top: 6px; line-height: 1.6; }
.desk a:hover strong { color: var(--brass-lit); }

/* Registration card */
.card {
  position: relative;
  background: var(--ivory); color: var(--ink);
  padding: clamp(28px, 3.4vw, 46px);
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(135,98,31,.35); pointer-events: none; }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px dashed rgba(14,31,58,.3); }
.card-top h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; letter-spacing: .01em; }
.card-top small { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.card-no { text-align: right; font-family: var(--serif); color: var(--brass-deep); font-size: 11px; letter-spacing: .01em; line-height: 1.5; white-space: nowrap; }
.card-no b { display: block; font-size: 20px; color: var(--ink); font-weight: 400; }
.field { position: relative; margin-bottom: 22px; }
.field label, .legend { display: block; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(14,31,58,.35); background: transparent;
  font-family: var(--sans); font-size: 17px; color: var(--ink); padding: 6px 0 10px; border-radius: 0;
  transition: border-color .3s ease;
}
.field textarea { resize: vertical; min-height: 92px; font-size: 16px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(14,31,58,.38); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass-deep); box-shadow: 0 1px 0 var(--brass-deep); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; border: 0; padding: 0; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 14px; border: 1px solid rgba(14,31,58,.25);
  font-size: 13px; transition: all .3s ease;
}
.types label::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); transition: background .3s ease; }
.types input:checked + label { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.types input:checked + label::before { background: var(--brass-lit); border-color: var(--brass-lit); }
.types input:focus-visible + label { outline: 2px solid var(--brass-deep); outline-offset: 2px; }
#captcha-placeholder { display: flex; justify-content: flex-start; min-height: 70px; margin: 4px 0 6px; }
.fine { font-size: 12px; color: var(--ink-soft); margin: 0 0 22px; }
.card .btn.solid { width: 100%; justify-content: center; background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.card .btn.solid::before { background: var(--brass); }
.card .btn.solid:hover { color: var(--ebony); }
.card .btn[disabled] { opacity: .6; pointer-events: none; }
#formStatus { margin-top: 14px; font-size: 14px; min-height: 1.4em; }
#formStatus.err { color: var(--oxblood); }
#formStatus.ok { color: #2E5B3A; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--ebony); padding: 80px 0 34px; }
.foot-motto { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3.4vw, 3.2rem); line-height: 1.3; letter-spacing: .01em; margin: 0 0 70px; color: var(--ivory); text-align: center; }

.foot-motto span { color: var(--brass); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 50px; border-top: 1px solid var(--line-dark); }
.foot-grid h4 { margin: 0 0 18px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--brass); font-weight: 400; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--on-dark-soft); transition: color .3s ease; font-size: 14.5px; }
.foot-grid a:hover { color: var(--brass-lit); }
.foot-brand .brand { align-items: flex-start; }
.foot-logo { display: inline-block; }
.foot-logo img { width: 150px; height: auto; }
.foot-grid p { margin: 16px 0 0; color: var(--on-dark-soft); font-size: 15px; max-width: 34ch; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(238,229,211,.5); }
.foot-base a { color: var(--brass); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
/* Keep "Take the lift" clear of the elevator dial on desktop */
@media (min-width: 1181px) { .hero-bar { padding-right: calc(var(--gutter) + 180px); } }

@media (max-width: 1180px) {
  .nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .site-header .brand { align-items: flex-start; }
  .brand-crest { height: 76px; }
  .site-header.scrolled .brand-crest { height: 58px; }
  .floors-btn { display: inline-flex; }
  .dial { display: none; }
}
@media (max-width: 980px) {
  .house-grid, .boh-grid, .rec-grid, .dir-head { grid-template-columns: 1fr; }
  .dir-head p { justify-self: start; }
  .boh-sticky { position: static; }
  .house-arch { max-width: 480px; }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ledger div:nth-child(n+3) { margin-top: 20px; }
  .wings { flex-direction: column; height: auto; min-height: 0; }
  .wing { min-height: 600px; }
  .wing:hover { flex-grow: 1; }
  .row { grid-template-columns: 60px minmax(0, 1fr) 40px; gap: 8px 18px; }
  .row p { grid-column: 2 / 3; }
  .row .go { grid-row: 1; grid-column: 3; }
  .team { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header .brand-sub { display: none; }
  .header-inner { height: 92px; }
  .site-header.scrolled .header-inner { height: 74px; }
  .brand-crest { height: 66px; }
  .site-header.scrolled .brand-crest { height: 52px; }
  .floors-btn .lbl { display: none; }
  .hero-body { padding-top: 150px; }
  .hero::before { background: linear-gradient(180deg, rgba(6,16,33,.62) 0%, rgba(6,16,33,.5) 22%, rgba(6,16,33,.76) 45%, rgba(6,16,33,.94) 100%); }
  .hero-links { gap: 28px; }
  .hero-bar { padding-bottom: 30px; }
  .slide-nav button .bar { width: 44px; }
  .slide-nav button .cap { display: none; }
  .scroll-cue .lbl { display: none; }
  .vm { grid-template-columns: 1fr; }
  .vm div + div { border-left: 0; border-top: 1px solid var(--line-light); }
  .ledger div, .ledger div + div { padding: 22px 12px 0 0; }
  .ledger div + div:nth-child(2), .ledger div:nth-child(4) { padding-left: 14px; }
  .wing { min-height: 560px; }
  .wing ul { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; padding: 24px 0; }
  .row .idx { grid-column: 1; }
  .row h3 { grid-column: 1; }
  .row p { grid-column: 1 / -1; }
  .row .go { display: none; }
  .row .thumb { display: block; grid-column: 1 / -1; order: -1; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 10px; }
  .row .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .team { grid-template-columns: 1fr; }
  .person:nth-child(n) { margin-top: 0; }
  .two { grid-template-columns: 1fr; }
  .card-no { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .lift { display: none; }
}
