/* ==========================================================================
   Nupelda Residence Hotel — design system
   Palette taken from the emerald + brass logo and the evening facade.
   Display: Cormorant Garamond · Interface: Jost (echoes the facade signage)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --ink: #0d1411;
  --forest: #122620;
  --emerald: #1c4436;
  --moss: #2e5646;
  --brass: #b08c4f;
  --brass-light: #d7bf90;
  --brass-deep: #8a6a36;
  --ivory: #f3eee4;
  --paper: #faf7f1;
  --stone: #e5ddcf;
  --sand: #cfc3ae;
  --text: #1b221e;
  --muted: #5d655f;
  --line: rgba(13, 20, 17, 0.12);
  --line-light: rgba(243, 238, 228, 0.16);
  --on-dark: rgba(243, 238, 228, 0.74);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 12vw, 176px);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;

  --shadow-soft: 0 30px 80px -40px rgba(18, 38, 32, 0.45);
  --shadow-float: 0 40px 100px -50px rgba(13, 20, 17, 0.6);

  --z-grain: 60;
  --z-header: 40;
  --z-menu: 35;
  --z-dialog: 80;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--brass-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; 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: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--ivory);
  transform: translateY(-160%); transition: transform .4s var(--ease);
}
.skip-link:focus { transform: none; }

/* Film grain: fixed, non-interactive, never on scrolling layers */
body::after {
  content: ''; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase; color: var(--brass-deep);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.is-light { color: var(--brass-light); }
.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.9rem, 6.4vw, 6.4rem);
  line-height: .95; letter-spacing: -.02em;
  text-wrap: balance;
}
.display em, .title em { font-style: italic; font-weight: 300; color: var(--brass-deep); }
.on-dark .display em, .on-dark .title em, .hero .display em, .page-hero .display em { color: var(--brass-light); }

.title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.3rem, 4.4vw, 4.4rem);
  line-height: 1; letter-spacing: -.015em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.75;
  color: var(--muted); max-width: 52ch; text-wrap: pretty;
}
.on-dark { color: var(--ivory); }
.on-dark .lede { color: var(--on-dark); }

/* ---------- Buttons: pill with nested icon ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-icon: rgba(243, 238, 228, .14);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 6px 6px 6px 26px; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  transition: background .5s var(--ease), color .5s var(--ease), transform .4s var(--ease-spring), box-shadow .5s var(--ease);
}
.btn-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--btn-icon); flex: none;
  transition: transform .6s var(--ease-spring), background .5s var(--ease);
}
.btn-icon svg { width: 15px; height: 15px; }
.btn:hover .btn-icon { transform: translate(3px, -2px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn-brass { --btn-bg: var(--brass); --btn-fg: var(--ink); --btn-icon: rgba(13, 20, 17, .12); }
.btn-brass:hover { --btn-bg: var(--brass-light); box-shadow: 0 18px 40px -18px rgba(176, 140, 79, .8); }
.btn-dark:hover { --btn-bg: var(--emerald); }
.btn-ghost {
  --btn-bg: rgba(243, 238, 228, .08); --btn-fg: var(--ivory); --btn-icon: rgba(243, 238, 228, .14);
  box-shadow: inset 0 0 0 1px rgba(243, 238, 228, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { --btn-bg: rgba(243, 238, 228, .18); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-icon: rgba(13, 20, 17, .07); box-shadow: inset 0 0 0 1px var(--line); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-icon: rgba(243, 238, 228, .14); }
.btn-sm { min-height: 46px; padding-left: 20px; font-size: 12px; }
.btn-sm .btn-icon { width: 34px; height: 34px; }
.btn-text { padding-right: 26px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: gap .5s var(--ease-spring), color .4s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { gap: 18px; color: var(--brass-deep); }
.on-dark .link-arrow:hover { color: var(--brass-light); }

/* ---------- Header: floating island ---------- */
.site-header {
  position: fixed; inset: 16px 0 auto; z-index: var(--z-header);
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  width: min(100% - 32px, 1440px); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  color: var(--ink);
  transition: background .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease), padding .6s var(--ease);
}
body[data-hero="dark"] .site-header:not(.is-scrolled) .header-inner { color: var(--ivory); }
.header-inner { position: relative; }
.header-inner::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background:
    radial-gradient(120% 180% at 12% -40%, rgba(255, 255, 255, .34), transparent 46%),
    radial-gradient(90% 160% at 100% 140%, rgba(215, 191, 144, .18), transparent 50%);
  transition: opacity .6s var(--ease);
}
.site-header.is-scrolled .header-inner {
  color: var(--ivory);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 48%, rgba(255, 255, 255, .1) 100%),
    rgba(16, 28, 23, .56);
  backdrop-filter: blur(22px) saturate(1.8) brightness(.96); -webkit-backdrop-filter: blur(22px) saturate(1.8) brightness(.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .32),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    inset 0 -14px 24px -18px rgba(215, 191, 144, .35),
    0 22px 60px -24px rgba(8, 14, 11, .6);
}
.site-header.is-scrolled .header-inner::before { opacity: 1; }
.site-header.is-scrolled .site-nav a:hover, .site-header.is-scrolled .lang-button, .site-header.is-scrolled .menu-button { background: rgba(255, 255, 255, .12); }
.site-header.is-scrolled .lang-button:hover { background: rgba(255, 255, 255, .2); }
.site-header.menu-open .header-inner { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.menu-open .header-inner::before { opacity: 0; }

.brand { display: inline-flex; align-items: center; justify-self: start; padding: 5px 10px; border-radius: 12px; background: transparent; }
.brand img { width: 150px; height: auto; object-fit: contain; filter: none; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: .08em; text-transform: uppercase; }
.brand-text small { margin-top: 5px; font-size: 9.5px; letter-spacing: .38em; text-transform: uppercase; opacity: .75; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.site-nav a:hover { background: rgba(127, 127, 127, .12); }
.site-nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--brass);
}
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.header-phone { font-size: 13px; letter-spacing: .1em; opacity: .85; transition: opacity .3s var(--ease); }
.header-phone:hover { opacity: 1; }

.menu-button {
  display: none; position: relative; width: 50px; height: 50px; border: 0; border-radius: 50%;
  background: rgba(127, 127, 127, .14); color: inherit;
}
.menu-button i {
  position: absolute; left: 16px; right: 16px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .6s var(--ease-spring), top .6s var(--ease-spring), opacity .3s var(--ease);
}
.menu-button i:nth-of-type(1) { top: 20px; }
.menu-button i:nth-of-type(2) { top: 29px; }
.menu-open .menu-button i:nth-of-type(1) { top: 24.5px; transform: rotate(45deg); }
.menu-open .menu-button i:nth-of-type(2) { top: 24.5px; transform: rotate(-45deg); }

/* Full-screen menu */
.site-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: grid; align-content: safe center; gap: 48px; overflow-y: auto; overscroll-behavior: contain;
  padding: 120px var(--gutter) 48px;
  background: rgba(13, 20, 17, .94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  color: var(--ivory);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.menu-open ~ .site-menu, .site-menu.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.site-menu-links { display: grid; gap: 4px; }
.site-menu-links a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: 1.05;
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .9s var(--ease-spring), color .4s var(--ease);
}
.site-menu-links a:hover { color: var(--brass-light); }
.site-menu.is-open .site-menu-links a { opacity: 1; transform: none; }
.site-menu.is-open .site-menu-links a:nth-child(2) { transition-delay: .06s; }
.site-menu.is-open .site-menu-links a:nth-child(3) { transition-delay: .12s; }
.site-menu.is-open .site-menu-links a:nth-child(4) { transition-delay: .18s; }
.site-menu.is-open .site-menu-links a:nth-child(5) { transition-delay: .24s; }
.site-menu-foot { display: grid; gap: 10px; color: var(--on-dark); font-size: 15px; }
.site-menu-foot a { color: var(--ivory); }
.site-menu-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.menu-contact-button { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 76px; padding: 12px 10px; border: 1px solid rgba(215, 191, 144, .22); border-radius: 18px; background: rgba(243, 238, 228, .045); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.menu-contact-button:hover { background: rgba(176, 140, 79, .14); border-color: var(--brass); transform: translateY(-2px); }
.menu-contact-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 36px; color: var(--brass-light); }
.menu-contact-icon svg { width: 23px; height: 23px; }
.menu-contact-copy { display: grid; gap: 3px; min-width: 0; }
.menu-contact-copy strong { font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: .04em; }
.menu-contact-copy small { color: var(--on-dark); font-size: 11px; line-height: 1.4; white-space: nowrap; }
.site-menu-group { display: block; justify-self: center; margin-top: 14px; background: transparent; transition: opacity .25s ease; }
.site-menu-group img { width: 168px; height: auto; background: transparent; }
.site-menu-group:hover { opacity: .8; }
@media (max-height: 740px) {
  .site-menu { gap: 28px; padding-top: 110px; padding-bottom: 24px; }
}

/* ---------- Reveal motion ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 48px, 0);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(18% 0 0 0 round var(--radius-xl)); transition: clip-path 1.4s var(--ease); }
.js [data-reveal="mask"].is-visible { clip-path: inset(0 0 0 0 round var(--radius-xl)); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100dvh; min-height: max(100dvh, 720px);
  display: grid; align-items: end;
  padding: 160px 0 clamp(150px, 16vw, 190px);
  color: var(--ivory); isolation: isolate; overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: hero-zoom 2.8s var(--ease) both; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 20, 17, .78) 0%, rgba(13, 20, 17, .45) 42%, rgba(13, 20, 17, 0) 70%),
    linear-gradient(180deg, rgba(13, 20, 17, .6) 0%, rgba(13, 20, 17, 0) 28%, rgba(13, 20, 17, .15) 55%, rgba(13, 20, 17, .9) 100%);
}
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 9.2rem); line-height: .9; margin-top: 26px; }
.hero .lede { margin-top: 30px; max-width: 46ch; }
.hero .lede, .page-hero .lede { color: rgba(243, 238, 228, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-aside {
  display: grid; gap: 18px; justify-items: end; text-align: right;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark);
}
.hero-aside strong { display: block; font-family: var(--serif); font-size: 3.2rem; font-weight: 300; letter-spacing: 0; color: var(--ivory); line-height: 1; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { position: relative; width: 1px; height: 54px; background: rgba(243, 238, 228, .25); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--brass-light); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: block; animation: rise 1.4s var(--ease) both; animation-delay: var(--d, .15s); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-fade { animation: fade-up 1.2s var(--ease) both; animation-delay: var(--d, .5s); }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Booking bar (double bezel) ---------- */
.booking-dock { position: relative; z-index: 3; margin-top: -96px; }
.bezel {
  padding: 8px; border-radius: var(--radius-xl);
  background: rgba(243, 238, 228, .55);
  box-shadow: 0 0 0 1px rgba(13, 20, 17, .06), var(--shadow-float);
}
.bezel-core {
  border-radius: calc(var(--radius-xl) - 8px);
  background: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.availability-module { padding: 10px; }
.availability-module-label { padding: 14px 18px 4px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-deep); }
.availability-search {
  display: grid; grid-template-columns: 1fr 1fr .8fr 1.3fr auto; align-items: stretch; gap: 0;
}
.availability-field {
  position: relative; display: grid; gap: 4px; padding: 14px 20px 16px; border-radius: 18px;
  cursor: pointer; transition: background .4s var(--ease);
}
.availability-field + .availability-field::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line);
}
.availability-field:hover, .availability-field:focus-within { background: var(--ivory); }
.availability-field-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.availability-field input, .availability-field select {
  width: 100%; border: 0; padding: 0; background: transparent; outline: none;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--ink);
  appearance: none; -webkit-appearance: none; cursor: pointer; min-height: 34px;
}
.availability-field select { padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238a6a36' stroke-width='1.3'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E") right center no-repeat; }
.availability-submit {
  display: inline-flex; align-items: center; gap: 14px; margin: 6px;
  padding: 0 8px 0 28px; border: 0; border-radius: 22px;
  background: var(--ink); color: var(--ivory);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .5s var(--ease), transform .4s var(--ease-spring);
}
.availability-submit:hover { background: var(--emerald); }
.availability-submit:active { transform: scale(.98); }
.availability-submit .btn-icon { background: var(--brass); color: var(--ink); }
.availability-submit:hover .btn-icon { transform: translate(3px, -2px) scale(1.06); }
.availability-note { padding: 6px 18px 12px; font-size: 13px; color: var(--muted); }

/* ---------- Availability results ---------- */
.availability-results { padding: clamp(80px, 9vw, 120px) 0 20px; scroll-margin-top: 90px; }
.availability-results-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.availability-results-summary { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.availability-results-note { margin-top: 10px; color: var(--muted); font-size: 15px; }
.availability-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.availability-result-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); background: var(--ivory); overflow: hidden; }
.availability-result-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.availability-result-copy { display: grid; gap: 16px; align-content: start; padding: 26px; }
.availability-result-copy h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; }
.availability-feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.availability-feature-list li { padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: 13px; color: var(--muted); }
.availability-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: auto; padding-top: 8px; }
.availability-detail-link { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.availability-select {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--ivory); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s var(--ease);
}
.availability-select:hover { background: var(--emerald); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head .title, .section-head .display { margin-top: 22px; }
.section-head-side { display: grid; gap: 28px; justify-items: start; }

/* Intro */
.intro { padding-top: clamp(120px, 14vw, 200px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.intro-statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 3.1rem); line-height: 1.18; letter-spacing: -.01em; margin-top: 28px; text-wrap: pretty; }
.intro-statement em { color: var(--brass-deep); }
.intro-copy { margin-top: 30px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); }
.fact { padding: 26px 20px 0 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; color: var(--ink); }
.fact span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.intro-media { position: relative; padding: 0 0 72px 64px; }
.intro-media-main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); }
.intro-media-main img { width: 100%; height: 100%; object-fit: cover; }
.intro-media-inset {
  position: absolute; left: 0; bottom: 0; width: 46%;
  padding: 8px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-soft);
  transform: rotate(-2.5deg);
}
.intro-media-inset img { border-radius: calc(var(--radius-lg) - 8px); aspect-ratio: 1; object-fit: cover; width: 100%; }
.media-caption {
  position: absolute; right: 22px; top: 22px; padding: 8px 16px; border-radius: 999px;
  background: rgba(13, 20, 17, .55); color: var(--ivory);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}

/* ---------- Residences (asymmetric bento) ---------- */
.residences { background: var(--ivory); }
.residence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.residence-link {
  position: relative; display: block; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius-xl); background: var(--stone); color: var(--ivory);
  box-shadow: 0 30px 60px -45px rgba(18, 38, 32, .6);
}
.residence-media { position: absolute; inset: 0; z-index: -1; }
.residence-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.residence-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 20, 17, 0) 40%, rgba(13, 20, 17, .82) 100%); }
.residence-link:hover .residence-media img, .residence-link:focus-visible .residence-media img { transform: scale(1.06); }
.residence-meta { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: clamp(22px, 2.4vw, 32px); }
.residence-meta h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1; letter-spacing: -.01em; }
.residence-meta p { max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; font-size: 14px; color: var(--on-dark); transition: max-height .8s var(--ease), margin .8s var(--ease), opacity .6s var(--ease); }
.residence-link:hover .residence-meta p, .residence-link:focus-visible .residence-meta p { max-height: 3em; margin-top: 10px; opacity: 1; }
.residence-view {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: var(--ivory);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .7s var(--ease-spring), background .5s var(--ease), color .5s var(--ease);
}
.residence-view svg { width: 17px; height: 17px; }
.residence-link:hover .residence-view, .residence-link:focus-visible .residence-view { transform: rotate(45deg); background: var(--brass); color: var(--ink); }
.residences-foot { display: flex; justify-content: center; margin-top: clamp(48px, 5vw, 72px); }

/* ---------- Stay by purpose (interactive) ---------- */
.purpose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.purpose-list { border-top: 1px solid var(--line); }
.purpose-item { border-bottom: 1px solid var(--line); }
.purpose-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
  padding: 26px 0; border: 0; background: none; text-align: left; color: var(--muted);
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1.05;
  transition: color .5s var(--ease), padding .7s var(--ease-spring);
}
.purpose-trigger small { flex: none; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-deep); opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .7s var(--ease-spring); }
.purpose-trigger:hover { color: var(--ink); }
.purpose-item.is-active .purpose-trigger { color: var(--ink); padding-left: 18px; }
.purpose-item.is-active .purpose-trigger small { opacity: 1; transform: none; }
.purpose-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.purpose-item.is-active .purpose-panel { grid-template-rows: 1fr; }
.purpose-panel > div { overflow: hidden; }
.purpose-panel p { padding: 0 0 12px 18px; max-width: 48ch; color: var(--muted); }
.purpose-panel .link-arrow { margin: 6px 0 28px 18px; }
.purpose-stage { position: relative; aspect-ratio: 4 / 5; }
.purpose-stage .bezel { position: absolute; inset: 0; }
.purpose-stage .bezel-core { position: relative; height: 100%; overflow: hidden; }
.purpose-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease);
}
.purpose-stage img.is-active { opacity: 1; transform: none; }
.purpose-chip {
  position: absolute; left: 28px; bottom: 28px; z-index: 1; display: grid; gap: 2px;
  padding: 14px 20px; border-radius: 18px; color: var(--ivory);
  background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)), rgba(16, 28, 23, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
}
.purpose-chip span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-light); }
.purpose-chip strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }

/* ---------- Residences page ---------- */
.index-bar {
  position: sticky; top: 96px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  width: fit-content; max-width: 100%; margin: 0 auto clamp(56px, 6vw, 88px); padding: 6px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .35)), rgba(243, 238, 228, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(13, 20, 17, .06), 0 20px 40px -28px rgba(18, 38, 32, .45);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
}
.index-bar::-webkit-scrollbar { display: none; }
.index-bar a { flex: none; padding: 10px 18px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: background .4s var(--ease), color .4s var(--ease); }
.index-bar a:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.index-bar a.is-current { background: var(--ink); color: var(--ivory); }
.suite-list { display: grid; gap: clamp(96px, 11vw, 168px); }
.suite { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; scroll-margin-top: 170px; }
.suite:nth-child(even) .suite-media { order: 2; }
.suite-media { position: relative; }
.suite-media .bezel-core { overflow: hidden; aspect-ratio: 5 / 4; }
.suite-media .bezel-core img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.suite-media:hover .bezel-core img { transform: scale(1.04); }
.suite-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.suite-thumbs button { padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.suite-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.suite-thumbs button:hover img { transform: scale(1.08); }
.suite-copy { display: grid; gap: 24px; justify-items: start; }
.suite-copy .room-subtitle { margin: 0; }
.suite-copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .95; letter-spacing: -.02em; }
.suite-copy h2 em { color: var(--brass-deep); }
.suite-copy .room-features { margin-top: 0; }
.suite-copy .room-features li { background: var(--ivory); }
.suite-copy .room-actions { margin-top: 8px; }

/* ---------- About logo ---------- */
.about-mark { position: sticky; top: 130px; display: grid; gap: 28px; align-content: start; justify-items: start; }
.about-mark figure { width: min(100%, 340px); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl); background: transparent; box-shadow: none; }
.about-mark img { width: 100%; height: auto; }
.about-mark figcaption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- A day at Nupelda (dark) ---------- */
.day { position: relative; background: var(--forest); color: var(--ivory); overflow: hidden; }
.day::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 140, 79, .14), transparent 60%); pointer-events: none;
}
.day-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.day-card:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }
.day-card:nth-child(3) { margin-top: clamp(20px, 4vw, 60px); }
.day-card-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3 / 4; }
.day-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.day-card:hover .day-card-media img { transform: scale(1.04); }
.day-card figcaption { padding: 26px 6px 0; }
.day-card figcaption span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-light); }
.day-card figcaption strong { display: block; margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.day-card figcaption p { margin-top: 10px; color: var(--on-dark); max-width: 34ch; }

/* ---------- Location atlas ---------- */
.atlas-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.atlas-intro { position: sticky; top: 130px; display: grid; gap: 28px; justify-items: start; }
.atlas-address { padding: 24px 26px; border-radius: var(--radius-lg); background: var(--ivory); font-size: 15px; line-height: 1.7; }
.atlas-address span { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-deep); }
.place-list { border-top: 1px solid var(--line); }
.place {
  display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.place-thumb { width: 132px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--stone); }
.place-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.place:hover .place-thumb img { transform: scale(1.08); }
.place h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; transition: color .4s var(--ease); }
.place:hover h3 { color: var(--brass-deep); }
.place p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.place-tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.atlas-note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------- Gallery mosaic ---------- */
.gallery-preview { background: var(--ink); color: var(--ivory); }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 240px); gap: clamp(12px, 1.4vw, 18px); }
.mosaic-item {
  position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--forest); color: var(--ivory); text-align: left;
}
.mosaic-item:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.mosaic-item:nth-child(2) { grid-column: 8 / span 5; grid-row: 1; }
.mosaic-item:nth-child(3) { grid-column: 8 / span 5; grid-row: 2; }
.mosaic-item:nth-child(4) { grid-column: 1 / span 4; grid-row: 3 / span 2; }
.mosaic-item:nth-child(5) { grid-column: 5 / span 4; grid-row: 3 / span 2; }
.mosaic-item:nth-child(6) { grid-column: 9 / span 4; grid-row: 3 / span 2; }
.mosaic-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), opacity .6s var(--ease); }
.mosaic-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13, 20, 17, .65)); opacity: 0; transition: opacity .6s var(--ease); }
.mosaic-item span {
  position: absolute; left: 20px; bottom: 16px; z-index: 1;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .7s var(--ease-spring);
}
.mosaic-item:hover img, .mosaic-item:focus-visible img { transform: scale(1.05); }
.mosaic-item:hover::after, .mosaic-item:focus-visible::after { opacity: 1; }
.mosaic-item:hover span, .mosaic-item:focus-visible span { opacity: 1; transform: none; }

/* ---------- Guest notes ---------- */
.notes-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.note-featured {
  position: relative; display: grid; align-content: space-between; gap: 48px;
  padding: clamp(36px, 5vw, 72px); border-radius: var(--radius-xl);
  background: var(--emerald); color: var(--ivory); overflow: hidden;
}
.note-featured::before {
  content: '“'; position: absolute; right: 28px; top: -40px;
  font-family: var(--serif); font-size: 22rem; line-height: 1; color: rgba(215, 191, 144, .12); pointer-events: none;
}
.note-featured blockquote { position: relative; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.15; text-wrap: pretty; }
.note-stack { display: grid; gap: clamp(24px, 3vw, 40px); }
.note { display: grid; align-content: space-between; gap: 28px; padding: 36px; border-radius: var(--radius-xl); background: var(--ivory); }
.note blockquote { font-family: var(--serif); font-size: 1.55rem; line-height: 1.25; }
.note-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.note-foot span { letter-spacing: .2em; text-transform: uppercase; color: var(--brass-deep); }
.note-featured .note-foot span { color: var(--brass-light); }
.note-foot a { opacity: .75; border-bottom: 1px solid currentColor; transition: opacity .3s var(--ease); }
.note-foot a:hover { opacity: 1; }
.notes-source { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.faq-aside { position: sticky; top: 130px; display: grid; gap: 28px; justify-items: start; }
.faq-contact { display: grid; gap: 8px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--ivory); width: 100%; max-width: 420px; }
.faq-contact span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-deep); }
.faq-contact a { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2;
  transition: color .4s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brass-deep); }
.faq-toggle { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s var(--ease), transform .6s var(--ease-spring); }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; margin: -.75px 0 0 -6.5px; background: currentColor; transition: transform .6s var(--ease-spring); }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-toggle { background: var(--ink); color: var(--ivory); transform: rotate(180deg); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-item p { padding: 0 64px 30px 0; color: var(--muted); max-width: 62ch; }
.faq-item[open] p { animation: fade-up .6s var(--ease) both; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 var(--section); }
.cta-frame {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 62vw, 760px); border-radius: clamp(24px, 3vw, 40px);
  display: grid; align-items: end; padding: clamp(32px, 6vw, 88px);
  color: var(--ivory);
}
.cta-frame > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-frame::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13, 20, 17, .9) 0%, rgba(13, 20, 17, .55) 45%, rgba(13, 20, 17, .1) 100%); }
.cta-copy { max-width: 760px; display: grid; gap: 28px; justify-items: start; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 78vh, 820px); display: grid; align-items: end;
  padding: 170px 0 clamp(64px, 8vw, 110px);
  color: var(--ivory); background: var(--ink);
}
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 2.6s var(--ease) both; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 20, 17, .7) 0%, rgba(13, 20, 17, .2) 60%, transparent), linear-gradient(180deg, rgba(13, 20, 17, .6) 0%, rgba(13, 20, 17, .1) 40%, rgba(13, 20, 17, .85) 100%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.page-hero h1 { margin-top: 24px; font-size: clamp(3.2rem, 8vw, 7.6rem); }
.page-hero .lede { margin-top: 26px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); }
.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- About ---------- */
.about-statement { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 120px); }
.about-statement .intro-statement { margin-top: 0; }
.about-body { display: grid; gap: 22px; margin-top: 36px; color: var(--muted); max-width: 60ch; }
.about-body strong { color: var(--ink); font-weight: 400; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(72px, 9vw, 128px); }
.principle { padding-top: 28px; border-top: 1px solid var(--line); }
.principle span { font-size: 12px; letter-spacing: .22em; color: var(--brass-deep); }
.principle h3 { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.principle p { margin-top: 12px; color: var(--muted); }
.leadership { background: var(--forest); color: var(--ivory); }
.leadership-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: center; }
.leadership-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.leadership-media img { width: 100%; height: 100%; object-fit: cover; }
.leadership-card { display: grid; gap: 26px; justify-items: start; }
.leadership-card .title { margin-top: 4px; }
.leadership-role { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-light); }
.leadership-card p { color: var(--on-dark); max-width: 50ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-list { display: grid; margin-top: 44px; border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-row > span { padding-top: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-deep); }
.contact-row address, .contact-row a { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; word-break: break-word; }
.contact-row a { transition: color .4s var(--ease); }
.contact-row a:hover { color: var(--brass-deep); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.contact-form { display: grid; gap: 18px; padding: clamp(28px, 4vw, 48px); }
.contact-form h2 { font-family: var(--serif); font-weight: 300; font-size: 2.4rem; line-height: 1; }
.contact-form > p { color: var(--muted); margin-top: -4px; }
.field { display: grid; gap: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 16px 18px; border: 0; border-radius: 14px;
  background: var(--ivory); box-shadow: inset 0 0 0 1px transparent;
  font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 1px var(--brass); }
.contact-form .btn { justify-self: start; }
.form-status { font-size: 14px; color: var(--emerald); min-height: 1.4em; }
.map-frame { margin-top: clamp(64px, 8vw, 110px); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 21 / 8; background: var(--stone); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15) contrast(.95); }

/* ---------- Gallery page ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-chip {
  padding: 10px 18px; border: 0; border-radius: 999px; background: var(--ivory);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.filter-chip:hover { color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry-item {
  position: relative; display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0;
  break-inside: avoid; border-radius: var(--radius-md); overflow: hidden; background: var(--stone);
}
.masonry-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item span {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(250, 247, 241, .9); color: var(--ink); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease-spring);
}
.masonry-item:hover span, .masonry-item:focus-visible span { opacity: 1; transform: none; }
.masonry-item[hidden] { display: none; }

/* ---------- Room page ---------- */
.room-hero { padding: 150px 0 clamp(64px, 8vw, 110px); background: var(--ivory); }
.room-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.room-hero .breadcrumb { color: var(--muted); }
.room-hero .breadcrumb a:hover { color: var(--ink); }
.room-hero h1 { margin-top: 26px; font-size: clamp(3.2rem, 7vw, 6.6rem); }
.room-hero .lede { margin-top: 26px; }
.room-subtitle { margin-top: 18px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.room-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.room-features li { padding: 8px 16px; border-radius: 999px; background: var(--paper); font-size: 14px; }
.room-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.room-hero-media { position: relative; }
.room-hero-media .bezel { background: rgba(255, 255, 255, .45); }
.room-hero-media .bezel-core { overflow: hidden; aspect-ratio: 4 / 3; }
.room-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.room-hero-count {
  position: absolute; left: -22px; bottom: 34px; padding: 18px 22px; border-radius: 20px;
  background: var(--ink); color: var(--ivory); box-shadow: var(--shadow-soft);
}
.room-hero-count strong { display: block; font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1; }
.room-hero-count span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); }
.room-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(12px, 1.4vw, 18px); }
.room-shot { position: relative; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); grid-column: span 4; aspect-ratio: 3 / 2; }
.room-shot:nth-child(6n+1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.room-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-shot:hover img { transform: scale(1.04); }
.room-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(72px, 8vw, 110px); }
.room-pagination a {
  display: grid; gap: 8px; padding: 30px 32px; border-radius: var(--radius-lg); background: var(--ivory);
  transition: background .5s var(--ease), color .5s var(--ease);
}
.room-pagination a:last-child { text-align: right; }
.room-pagination span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-deep); transition: color .5s var(--ease); }
.room-pagination strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; }
.room-pagination a:hover { background: var(--ink); color: var(--ivory); }
.room-pagination a:hover span { color: var(--brass-light); }
.room-note { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); padding: clamp(80px, 10vw, 140px) 0 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-light); }
.footer-top .title { max-width: 14ch; }
.footer-top-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: clamp(48px, 6vw, 80px) 0; }
.footer-brand { display: grid; gap: 22px; align-content: start; }
.footer-brand .brand { color: var(--ivory); }
.footer-brand .brand { padding: 14px 20px; }
.footer-brand .brand img { width: 200px; }
.footer-brand .brand-text strong { font-size: 34px; }
.footer-brand .brand-text small { font-size: 10px; }
.footer-brand p { color: var(--on-dark); max-width: 32ch; font-size: 15px; }
.footer-label { margin-bottom: 18px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-light); }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-col a { color: var(--on-dark); transition: color .3s var(--ease); width: fit-content; }
.footer-col a:hover { color: var(--ivory); }
.footer-col address { color: var(--on-dark); line-height: 1.7; }
.footer-wordmark {
  display: grid; justify-items: center; user-select: none; margin: 0; padding: 32px 0 40px;
}
.footer-wordmark img { width: min(70vw, 420px); height: auto; padding: 22px 30px; background: transparent; border-radius: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 13px; color: var(--on-dark); }
.footer-bottom a:hover { color: var(--ivory); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--emerald); color: var(--ivory);
  box-shadow: 0 18px 40px -16px rgba(18, 38, 32, .7);
  transition: transform .6s var(--ease-spring), background .4s var(--ease);
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); background: var(--moss); }

/* ---------- Booking dialog: slide-over sheet ---------- */
.booking-dialog {
  position: fixed; inset: 0 0 0 auto; z-index: var(--z-dialog);
  width: min(620px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0;
  padding: 0; border: 0; background: var(--paper); color: var(--text);
  box-shadow: -40px 0 120px -40px rgba(13, 20, 17, .6);
}
.booking-dialog[open] { animation: sheet-in .8s var(--ease-spring); }
.booking-dialog::backdrop { background: rgba(13, 20, 17, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .6s var(--ease); }
@keyframes sheet-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.booking-dialog-shell { display: grid; align-content: start; gap: 32px; min-height: 100%; padding: 28px clamp(24px, 5vw, 56px) 48px; }
.booking-dialog-top { display: flex; justify-content: space-between; align-items: center; }
.booking-dialog-top .eyebrow { font-size: 11px; }
.booking-close {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--ivory); font-size: 22px; line-height: 1;
  transition: background .4s var(--ease), transform .6s var(--ease-spring);
}
.booking-close:hover { background: var(--stone); transform: rotate(90deg); }
.booking-step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: step; }
.booking-step-list li {
  counter-increment: step; padding-top: 14px; border-top: 2px solid var(--stone);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: border-color .5s var(--ease), color .5s var(--ease);
}
.booking-step-list li::before { content: '0' counter(step) ' · '; }
.booking-step-list li[aria-current="step"] { border-color: var(--brass); color: var(--ink); }
.booking-step h2, .booking-success h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin-top: 14px; }
.booking-step h2 em, .booking-success h2 em { color: var(--brass-deep); font-style: italic; }
.booking-step-copy { margin-top: 14px; color: var(--muted); }
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.booking-fields-contact { grid-template-columns: 1fr; }
.booking-fields label { display: grid; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.booking-fields label span { letter-spacing: .08em; text-transform: none; opacity: .75; }
.booking-fields input, .booking-fields select, .booking-fields textarea {
  width: 100%; padding: 15px 16px; border: 0; border-radius: 14px; background: var(--ivory);
  font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink);
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.booking-fields input:focus, .booking-fields select:focus, .booking-fields textarea:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 1px var(--brass); }
.booking-error { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: #f6e3dc; color: #7a2e18; font-size: 14px; }
.booking-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.booking-actions-end { justify-content: flex-end; }
.booking-summary { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.booking-summary div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.booking-summary dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.booking-summary dd { font-family: var(--serif); font-size: 1.35rem; }
.booking-success { display: grid; gap: 18px; justify-items: start; padding-top: 12px; }
.booking-success > p:not(.eyebrow) { color: var(--muted); }
.booking-success-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--emerald); color: var(--ivory); font-size: 26px; }
.booking-done { border: 0; background: none; padding: 6px 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

/* ---------- Lightbox ---------- */
.gallery-lightbox {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0;
  background: rgba(13, 20, 17, .96); color: var(--ivory);
}
.gallery-lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade .5s var(--ease); }
.gallery-lightbox::backdrop { background: transparent; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); }
.lightbox-stage { display: grid; place-items: center; min-height: 0; padding: 0 clamp(16px, 8vw, 120px); }
.lightbox-stage img { max-width: 100%; max-height: calc(100dvh - 180px); width: auto; border-radius: 14px; object-fit: contain; animation: fade .5s var(--ease); }
.lightbox-caption { padding: 18px 24px 26px; text-align: center; color: var(--on-dark); font-size: 14px; }
.lightbox-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(243, 238, 228, .1); color: var(--ivory); transition: background .4s var(--ease);
}
.lightbox-btn:hover { background: rgba(243, 238, 228, .22); }
.lightbox-btn svg { width: 18px; height: 18px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

body.menu-lock { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav, .header-phone { display: none; }
  .menu-button { display: block; }
  .header-inner { grid-template-columns: 1fr auto; }
  .availability-search { grid-template-columns: 1fr 1fr; }
  .availability-field:nth-child(3)::before { display: none; }
  .availability-room-field { grid-column: span 2; }
  .availability-room-field::before { display: none; }
  .availability-submit { grid-column: span 2; justify-content: space-between; min-height: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section: 96px; }
  body { font-size: 16px; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .section-head, .intro-grid, .atlas-grid, .faq-grid, .notes-grid, .about-statement, .leadership-grid, .contact-grid, .room-hero-grid, .footer-top, .availability-results-heading { grid-template-columns: 1fr; }
  .atlas-intro, .faq-aside { position: static; }
  .intro-media { padding: 0 0 56px 40px; }
  .residence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .residence-meta p { max-height: 3em; margin-top: 8px; opacity: 1; }
  .purpose-grid, .suite { grid-template-columns: 1fr; }
  .purpose-stage { order: -1; aspect-ratio: 4 / 3; }
  .suite:nth-child(even) .suite-media { order: 0; }
  .about-mark { position: static; }
  .index-bar { top: 84px; margin-left: 0; }
  .day-grid { grid-template-columns: 1fr; gap: 56px; }
  .day-card:nth-child(n) { margin-top: 0; }
  .day-card-media { aspect-ratio: 4 / 3; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
  .mosaic-item:nth-child(n) { grid-column: auto / span 1; grid-row: auto / span 1; }
  .mosaic-item:nth-child(1), .mosaic-item:nth-child(6) { grid-column: 1 / span 2; }
  .mosaic-item span { opacity: 1; transform: none; }
  .mosaic-item::after { opacity: 1; }
  .principles { grid-template-columns: 1fr; }
  .availability-result-grid { grid-template-columns: 1fr 1fr; }
  .room-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-shot:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 3 / 2; }
  .room-shot:nth-child(3n+1) { grid-column: span 2; }
  .room-hero-count { left: 16px; bottom: 16px; }
  .footer-top-actions { justify-content: flex-start; }
  .map-frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
  .header-inner { padding-left: 16px; }
  .brand img { width: 126px; }
  .brand-text strong { font-size: 21px; }
  .brand-text small { font-size: 8px; letter-spacing: .3em; }
  .header-actions .btn { display: none; }
  .hero { padding-bottom: 130px; }
  .hero-actions .btn, .cta-actions .btn, .room-actions .btn { width: 100%; justify-content: space-between; }
  .booking-dock { margin-top: -72px; }
  .availability-search { grid-template-columns: 1fr; }
  .availability-room-field, .availability-submit { grid-column: auto; }
  .availability-field + .availability-field::before { left: 20px; right: 20px; top: 0; bottom: auto; width: auto; height: 1px; display: block; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
  .fact { padding-right: 0; }
  .intro-media { padding: 0 0 48px 24px; }
  .intro-media-inset { width: 52%; }
  .residence-grid { grid-template-columns: 1fr; }
  .residence-link { aspect-ratio: 1 / 1.1; }
  .purpose-trigger { font-size: 1.9rem; }
  .purpose-chip { left: 16px; bottom: 16px; }
  .place { grid-template-columns: 88px minmax(0, 1fr); gap: 18px; }
  .place-thumb { width: 88px; }
  .place-tag { grid-column: 2; }
  .availability-result-grid { grid-template-columns: 1fr; }
  .note-featured::before { font-size: 14rem; }
  .cta-frame::before { background: linear-gradient(180deg, rgba(13, 20, 17, .35) 0%, rgba(13, 20, 17, .9) 60%); }
  .faq-item p { padding-right: 0; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; }
  .contact-row > span { padding-top: 0; }
  .booking-fields { grid-template-columns: 1fr; }
  .booking-summary div { grid-template-columns: 1fr; gap: 4px; }
  .room-pagination { grid-template-columns: 1fr; }
  .room-pagination a:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox-nav { top: auto; bottom: 16px; transform: none; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
}

[data-flush-top] { padding-top: 0; }
.faq-contact a.faq-mail { font-size: 1.15rem; }
.section-head[data-flush-bottom] { margin-bottom: 0; }

/* ---------- Language switcher (Google Translate) ---------- */
.lang-switcher { position: relative; }
.lang-button {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 8px; border: 0; border-radius: 999px;
  background: rgba(127, 127, 127, .14); color: inherit;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  transition: background .4s var(--ease);
}
.lang-button:hover { background: rgba(127, 127, 127, .24); }
.lang-flag { display: block; width: 22px; height: 22px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.lang-flag img { width: 100%; height: 100%; object-fit: cover; }
.lang-chevron { width: 10px; height: 10px; transition: transform .5s var(--ease-spring); }
.lang-button[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 2; width: 220px; padding: 8px;
  border-radius: 20px; background: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(13, 20, 17, .06), var(--shadow-float);
  animation: fade-up .45s var(--ease) both;
}
.lang-menu button {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 14px; background: transparent; text-align: left;
  font-size: 15px; transition: background .3s var(--ease);
}
.lang-menu button:hover { background: var(--ivory); }
.lang-menu button[aria-current] { background: var(--ink); color: var(--ivory); }
.lang-menu .lang-code { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.lang-menu .lang-flag { box-shadow: 0 0 0 1px rgba(13, 20, 17, .1); }

/* Hide Google's own toolbar, tooltips and highlight */
body { top: 0 !important; position: static !important; }
.skiptranslate, .goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, font[style] { background-color: transparent !important; box-shadow: none !important; }

@media (max-width: 600px) {
  .lang-button { height: 44px; padding-right: 10px; }
  .lang-button .lang-code { display: none; }
}
.suite-media > .bezel { display: block; }

/* ---------- Intro / preloader ---------- */
/* Instant cover painted before any script runs; the failsafe lifts it even if JS never loads. */
.is-intro body::before {
  content: ''; position: fixed; inset: 0; z-index: 99; background: var(--ink);
  animation: intro-failsafe .6s var(--ease) 4s forwards;
}
.is-intro.intro-mounted body::before { display: none; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
.is-intro .hero-media img, .is-intro .page-hero > img, .is-intro .hero-line > span, .is-intro .hero-fade { animation-play-state: paused; }
.is-intro body { overflow: hidden; }

.site-intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(176, 140, 79, .16), transparent 70%),
    radial-gradient(120% 90% at 50% 120%, rgba(28, 68, 54, .55), transparent 60%),
    var(--ink);
  color: var(--ivory); cursor: pointer;
  clip-path: inset(0 0 0 0);
}
.site-intro::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.intro-inner { position: relative; display: grid; justify-items: center; gap: 22px; text-align: center; padding: 24px; }
.intro-mark { width: clamp(240px, 40vw, 360px); height: auto; padding: 24px; background: transparent; border-radius: 16px; clip-path: inset(0 100% 0 0); transform: scale(.92); filter: none; animation: intro-mark 1.1s var(--ease) .15s forwards; }
.intro-word { display: flex; gap: .04em; overflow: hidden; padding: .06em .1em; font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1; letter-spacing: .22em; margin-right: -.22em; }
.intro-word span { display: block; transform: translateY(110%); animation: intro-rise 1s var(--ease-spring) forwards; animation-delay: calc(.55s + var(--i) * .06s); }
.intro-sub { display: flex; align-items: center; gap: 18px; font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--brass-light); }
.intro-sub i { width: clamp(40px, 8vw, 90px); height: 1px; background: linear-gradient(90deg, transparent, var(--brass)); transform: scaleX(0); transform-origin: right; animation: intro-line .9s var(--ease) 1s forwards; }
.intro-sub i:last-child { background: linear-gradient(270deg, transparent, var(--brass)); transform-origin: left; }
.intro-sub span { opacity: 0; animation: intro-fade .8s var(--ease) 1.05s forwards; }
.intro-tagline { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.2rem, 2vw, 1.5rem); color: rgba(243, 238, 228, .7); opacity: 0; transform: translateY(10px); animation: intro-fade .9s var(--ease) 1.35s forwards; }
.intro-progress { position: absolute; left: 50%; bottom: clamp(32px, 6vh, 56px); width: 120px; height: 1px; margin-left: -60px; background: rgba(243, 238, 228, .12); overflow: hidden; }
.intro-progress::after { content: ''; position: absolute; inset: 0; background: var(--brass-light); transform: scaleX(0); transform-origin: left; animation: intro-line 2s var(--ease) .2s forwards; }
.intro-skip { position: absolute; right: clamp(20px, 4vw, 40px); bottom: clamp(26px, 5.4vh, 50px); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(243, 238, 228, .4); }

.site-intro.is-leaving { animation: intro-lift 1.15s var(--ease-spring) forwards; pointer-events: none; }
.site-intro.is-leaving .intro-inner { animation: intro-out .7s var(--ease) forwards; }
@keyframes intro-mark { to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes intro-rise { to { transform: none; } }
@keyframes intro-line { to { transform: scaleX(1); } }
@keyframes intro-fade { to { opacity: 1; transform: none; } }
@keyframes intro-out { to { opacity: 0; transform: translateY(-36px) scale(.98); } }
@keyframes intro-lift { to { clip-path: inset(0 0 100% 0); } }

@media (prefers-reduced-motion: reduce) {
  .is-intro body::before, .site-intro { display: none; }
}
