/* ==========================================================================
   F.Rambocus Events — shared stylesheet
   1. Tokens   2. Base   3. Layout   4. Typography   5. Buttons & links
   6. Header / nav / footer   7. Media & motion helpers   8. Components
   9. Page sections (home, planning, rentals, gallery, about, contact, 404)
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --onyx: #0B0B0B;
  --charcoal: #1A1A1A;
  --ivory: #F7F3EE;
  --taupe: #D9D1C7;
  --white: #FFFFFF;
  --champagne: #C6A969;
  --stone: #5E574F;                       /* muted text on ivory (6.6:1) */
  --mist: rgba(247, 243, 238, 0.74);      /* muted text on onyx */
  --mist-soft: rgba(247, 243, 238, 0.62);
  --line-dark: rgba(247, 243, 238, 0.12); /* hairline on onyx */
  --line-light: var(--taupe);             /* hairline on ivory */

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-label: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4vw, 64px);
  --max: 1560px;
  --section-y: clamp(72px, 10vw, 150px);
  --radius: 2px;
  --header-h: 84px;

  --ease: cubic-bezier(0.16, 0.8, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-slow: 900ms;
  --t-med: 450ms;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--onyx);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--champagne); color: var(--onyx); }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  background: var(--ivory); color: var(--onyx);
  font: 600 11px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase;
  padding: 14px 18px; transform: translateY(-160%); transition: transform var(--t-med) var(--ease);
}
.skip-link:focus { transform: none; }

/* Native cross-document page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 700ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
::view-transition-group(site-header) { animation: none; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding-block: var(--section-y); position: relative; }
.section--onyx { --bg: var(--onyx); background: var(--onyx); color: var(--ivory); }
.section--ivory { --bg: var(--ivory); background: var(--ivory); color: var(--onyx); }
.section--charcoal { --bg: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.section--flush-top { padding-top: 0; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head--rule { padding-bottom: 28px; border-bottom: 1px solid var(--line-light); }
.section--onyx .section-head--rule { border-color: var(--line-dark); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head__aside { max-width: 400px; margin: 0; font-size: 15px; color: var(--stone); }
.section--onyx .section-head__aside { color: var(--mist); }

/* 4. Typography ------------------------------------------------------------ */
.eyebrow {
  /* inline-flex, not flex, so the mark follows the parent's text-align
     (the centred section heads centre the whole label, mark included). */
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-size: 11px; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; line-height: 1.6;
  color: var(--stone);
}
/* The chapiteau from the logo — a peaked roof with two swept wings — set before
   every eyebrow. Drawn as a mask so it takes its colour from `background`. */
.eyebrow::before {
  content: ''; width: 24px; height: 13px; flex: none; background: var(--champagne);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 16'%3E%3Cpath d='M15 2.2 C15.9 7 17 11 18.6 15 L11.4 15 C13 11 14.1 7 15 2.2 Z M14.2 3.2 C10.3 6 5.6 10.1 1.2 14.1 L2 15.1 C6.6 11.6 11.1 7.7 14.7 4.5 Z M15.8 3.2 C19.7 6 24.4 10.1 28.8 14.1 L28 15.1 C23.4 11.6 18.9 7.7 15.3 4.5 Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 16'%3E%3Cpath d='M15 2.2 C15.9 7 17 11 18.6 15 L11.4 15 C13 11 14.1 7 15 2.2 Z M14.2 3.2 C10.3 6 5.6 10.1 1.2 14.1 L2 15.1 C6.6 11.6 11.1 7.7 14.7 4.5 Z M15.8 3.2 C19.7 6 24.4 10.1 28.8 14.1 L28 15.1 C23.4 11.6 18.9 7.7 15.3 4.5 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--onyx .eyebrow, .on-dark .eyebrow, .eyebrow--accent { color: var(--champagne); }

.display, .h1, .h2, .h3 {
  font-family: var(--font-serif); font-weight: 300; letter-spacing: -0.01em; margin: 0;
  text-wrap: balance;
}
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 400; }
.display { font-size: clamp(44px, 7.6vw, 118px); line-height: 0.98; }
.h1 { font-size: clamp(42px, 6vw, 96px); line-height: 1; }
.h2 { font-size: clamp(36px, 5vw, 74px); line-height: 1.02; }
.h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.15; font-weight: 400; }
.eyebrow + .h1, .eyebrow + .h2, .eyebrow + .display { margin-top: 16px; }

.lede {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(22px, 2.6vw, 36px); line-height: 1.42; margin: 0; text-wrap: pretty;
}
.prose { max-width: 62ch; }
.prose p { color: var(--stone); }
.section--onyx .prose p { color: var(--mist); }
.muted { color: var(--stone); }
.section--onyx .muted { color: var(--mist); }
.placeholder-tag {
  display: inline-block; font: 600 10px/1 var(--font-label); letter-spacing: 0.2em;
  text-transform: uppercase; padding: 6px 8px; border: 1px dashed currentColor; opacity: 0.8;
  margin-bottom: 12px;
}

/* Champagne hairlines */
.hairline { display: block; height: 1px; width: 100%; background: var(--champagne); transform-origin: left center; border: 0; margin: 0; }
.hairline--short { width: clamp(48px, 6vw, 96px); }
.hairline--soft { opacity: 0.7; }

/* 5. Buttons & links ------------------------------------------------------- */
.btn {
  --btn-fg: var(--onyx); --btn-bg: var(--ivory); --btn-bd: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 17px 32px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600; line-height: 1.2;
  letter-spacing: 0.24em; text-transform: uppercase; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  will-change: transform;
}
.btn:hover { --btn-bg: var(--champagne); --btn-bd: var(--champagne); }
.btn--outline { --btn-fg: var(--white); --btn-bg: transparent; --btn-bd: rgba(255, 255, 255, 0.6); }
.btn--outline:hover { --btn-bg: rgba(198, 169, 105, 0.12); --btn-bd: var(--champagne); --btn-fg: var(--white); }
.btn--outline-dark { --btn-fg: var(--onyx); --btn-bg: transparent; --btn-bd: var(--onyx); }
.btn--outline-dark:hover { --btn-bg: transparent; --btn-bd: var(--champagne); --btn-fg: var(--onyx); }
.btn--dark { --btn-fg: var(--ivory); --btn-bg: var(--onyx); --btn-bd: var(--onyx); }
.btn--dark:hover { --btn-bg: var(--charcoal); --btn-bd: var(--champagne); --btn-fg: var(--white); }
.btn--sm { min-height: 44px; padding: 12px 20px; font-size: 10.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-line {
  display: inline-block; padding-bottom: 8px; border-bottom: 1px solid var(--champagne);
  font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  transition: color var(--t-med) var(--ease), letter-spacing var(--t-slow) var(--ease);
}
.link-line:hover { letter-spacing: 0.34em; }
.section--onyx .link-line:hover, .on-dark .link-line:hover { color: var(--champagne); }

/* 6. Header / nav / footer ------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: var(--onyx); color: var(--ivory);
  border-bottom: 1px solid var(--line-dark);
  transition: border-color var(--t-slow) var(--ease), padding var(--t-slow) var(--ease);
  padding-block: 20px;
  view-transition-name: site-header;
}
.site-header.is-scrolled { padding-block: 12px; border-bottom-color: rgba(198, 169, 105, 0.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: clamp(42px, 3.8vw, 54px); width: auto; mix-blend-mode: lighten; }

.primary-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); list-style: none; }
.primary-nav a {
  position: relative; display: block; padding: 8px 0;
  font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory);
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--champagne);
  transform: scaleX(0); transform-origin: right; transition: transform var(--t-slow) var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a[aria-current='page'] { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); flex: none; }
.lang-toggle { display: flex; align-items: center; gap: 4px; font: 600 11px/1 var(--font-label); letter-spacing: 0.2em; }
.lang-toggle button {
  background: none; border: 0; padding: 10px 4px; color: var(--mist-soft); letter-spacing: inherit; font: inherit;
  transition: color var(--t-med) var(--ease);
}
.lang-toggle button:hover { color: var(--champagne); }
.lang-toggle button[aria-pressed='true'] { color: var(--white); }
.lang-toggle span { color: rgba(247, 243, 238, 0.35); }

.menu-toggle {
  display: none; width: 48px; height: 48px; padding: 0; background: none;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius);
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--ivory); transition: transform var(--t-med) var(--ease); }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1099px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 420px) { .site-header .lang-toggle { display: none; } }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--onyx); color: var(--ivory);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease), visibility 0s linear 600ms;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease), visibility 0s; }
.mobile-menu nav { margin-block: auto; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: clamp(10px, 2.4vh, 22px); }
.mobile-menu nav a {
  display: inline-block; font-family: var(--font-serif); font-weight: 300; font-size: clamp(34px, 9vw, 52px); line-height: 1.1;
  transition: color var(--t-med) var(--ease), transform var(--t-slow) var(--ease);
}
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current='page'] { color: var(--champagne); }
.mobile-menu nav a[aria-current='page'] { font-style: italic; }
.mobile-menu__foot { display: grid; gap: 18px; margin-top: 40px; }
.mobile-menu__foot .lang-toggle { font-size: 12px; }
.mobile-menu__phones { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--mist); }
.mobile-menu__phones a:hover { color: var(--white); }

/* No-JS fallback nav */
.noscript-nav { background: var(--onyx); padding: 16px var(--gutter); }
.noscript-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.noscript-nav a { color: var(--ivory); font: 600 11px/2 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; }
.noscript-nav img { height: 40px; width: auto; margin: 0 auto 12px; }

/* Footer */
.site-footer { --bg: var(--onyx); background: var(--onyx); color: var(--ivory); padding: clamp(56px, 7vw, 104px) 0 40px; border-top: 1px solid rgba(198, 169, 105, 0.35); }
.footer-grid {
  display: grid; gap: clamp(36px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--charcoal);
}
.footer-brand img { height: 56px; width: auto; mix-blend-mode: lighten; margin-bottom: 20px; }
.footer-brand p { font: 600 11px/2 var(--font-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mist); max-width: 280px; margin: 0; }
.footer-col h2 { font: 700 11px/1.4 var(--font-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--champagne); margin: 0 0 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 15px; color: var(--mist); transition: color var(--t-med) var(--ease); }
.footer-col a:hover { color: var(--white); }
.social-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.social-icons a {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(247, 243, 238, 0.25); border-radius: var(--radius); color: var(--ivory);
  transition: border-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.social-icons a:hover { border-color: var(--champagne); color: var(--champagne); }
.social-icons svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 26px;
  font: 500 10.5px/1.8 var(--font-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mist-soft);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 34px); bottom: clamp(16px, 2.4vw, 34px); z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: var(--onyx); border: 1px solid var(--champagne);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.wa-float:hover { background: var(--charcoal); transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }
body.has-basket-bar .wa-float { bottom: calc(clamp(16px, 2.4vw, 34px) + 72px); }

/* 7. Media & motion helpers ----------------------------------------------- */
.media { position: relative; overflow: hidden; background: var(--charcoal); isolation: isolate; }
.media > img, .media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.media--fill { position: absolute; inset: 0; }
.media__curtain {
  position: absolute; inset: -1px; z-index: 2; background: var(--bg, var(--ivory));
  transform-origin: top center; pointer-events: none;
}
.shade { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.shade--bottom { background: linear-gradient(180deg, rgba(11, 11, 11, 0.12) 0%, rgba(11, 11, 11, 0.88) 100%); }
.shade--hero { background: linear-gradient(180deg, rgba(11, 11, 11, 0.7) 0%, rgba(11, 11, 11, 0.3) 38%, rgba(11, 11, 11, 0.92) 100%); }
.shade--flat { background: rgba(11, 11, 11, 0.72); }

/* SplitText line masks */
.split-line-mask { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* First-visit intro */
.intro {
  position: fixed; inset: 0; z-index: 400; background: var(--onyx);
  display: flex; align-items: center; justify-content: center; will-change: transform;
}
.intro__mark { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.intro__mark .monogram { color: var(--white); border-color: var(--champagne); }

/* Monogram */
.monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; border: 1px solid var(--champagne); border-radius: 50%;
  font-family: var(--font-serif); font-size: 34px; font-weight: 300; letter-spacing: 0.04em; line-height: 1;
}
.monogram em { font-style: italic; font-weight: 400; }
.monogram-rule { display: flex; align-items: center; justify-content: center; gap: 22px; }
.monogram-rule .hairline { flex: 1; max-width: 180px; }

/* 8. Components ------------------------------------------------------------ */

/* Page hero (inner pages) */
.page-hero {
  --bg: var(--onyx); position: relative; min-height: clamp(460px, 72svh, 780px);
  display: flex; align-items: flex-end; color: var(--ivory); background: var(--onyx); overflow: hidden;
  padding-top: var(--header-h);
}
.page-hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 6vw, 96px); }
.page-hero .lede-small { margin: 22px 0 0; max-width: 560px; color: var(--mist); font-size: 16px; }

/* Cards: services (tall portrait) */
.services-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }
.service-card { display: block; position: relative; border-bottom: 1px solid transparent; transition: border-color var(--t-slow) var(--ease); }
.service-card:hover { border-bottom-color: var(--champagne); }
.service-card .media { aspect-ratio: 3 / 4.3; }
.service-card .media img { transition: transform 1.6s var(--ease); }
.service-card:hover .media img { transform: scale(1.04); }
.service-card__body { padding: 22px 4px 20px; }
.service-card__num { font: 700 11px/1 var(--font-label); letter-spacing: 0.3em; color: var(--stone); }
.service-card h3 { margin: 12px 0 8px; }
.service-card p { font-size: 14px; line-height: 1.7; margin: 0; color: var(--stone); }

/* Two-path split */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 1px; background: var(--taupe); }
.path {
  --bg: var(--onyx); position: relative; min-height: clamp(480px, 58vw, 760px); display: flex; align-items: flex-end;
  overflow: hidden; background: var(--onyx); color: var(--ivory);
}
.path__body { position: relative; z-index: 3; padding: clamp(28px, 4vw, 56px); max-width: 560px; }
.path__body .h2 { margin: 18px 0 14px; font-size: clamp(32px, 4vw, 58px); }
.path__body p { font-size: 15px; line-height: 1.85; color: var(--mist); margin: 0 0 28px; max-width: 420px; }

/* Structures — horizontal panels */
.structures { overflow: hidden; }
.structures-track { padding: clamp(36px, 5vw, 64px) var(--gutter) 0; }
.structures-list {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none;
}
.structures-list::-webkit-scrollbar { display: none; }
.structure-panel {
  --bg: var(--onyx); flex: 0 0 auto; width: min(86vw, 620px); scroll-snap-align: start;
  position: relative; height: clamp(440px, 60vh, 700px); overflow: hidden; background: var(--charcoal);
  display: flex; align-items: flex-end;
}
.structure-panel__body { position: relative; z-index: 3; padding: clamp(24px, 2.6vw, 44px); }
.structure-panel__num { font: 700 11px/1 var(--font-label); letter-spacing: 0.3em; color: var(--champagne); }
.structure-panel h3 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; margin: 14px 0 12px; color: var(--white); }
.structure-panel p { font-size: 15px; line-height: 1.8; color: var(--mist); margin: 0 0 22px; max-width: 380px; }
.structures-nav { display: flex; align-items: center; gap: 18px; }
.structures-nav button {
  width: 52px; height: 52px; border-radius: 50%; background: none; border: 1px solid rgba(247, 243, 238, 0.35); color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; transition: border-color var(--t-med) var(--ease), opacity var(--t-med);
}
.structures-nav button:hover { border-color: var(--champagne); }
.structures-nav button:disabled, .structures-nav button.swiper-button-disabled { opacity: 0.3; cursor: default; }
.structures-progress { position: relative; height: 1px; background: var(--line-dark); margin: clamp(28px, 3vw, 40px) var(--gutter) 0; overflow: hidden; }
.structures-progress span { position: absolute; inset: 0; background: var(--champagne); transform: scaleX(0.33); transform-origin: left; }

/* Desktop pinned mode (class set by JS) */
.structures.is-pinned { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 24px) 40px; }
.structures.is-pinned .structures-list { overflow: visible; scroll-snap-type: none; will-change: transform; }
.structures.is-pinned .structure-panel { width: min(58vw, 980px); height: min(62vh, 640px); }
.structures.is-pinned .structures-nav { display: none; }
.structures.is-pinned .section-head { margin-bottom: 0; }

/* Masonry gallery (home featured + gallery page) */
.masonry { column-count: 1; column-gap: clamp(10px, 1.2vw, 18px); }
@media (min-width: 560px) { .masonry { column-count: 2; } }
@media (min-width: 1000px) { .masonry { column-count: 3; } }
@media (min-width: 1400px) { .masonry--wide { column-count: 4; } }
.masonry__item { display: block; break-inside: avoid; margin-bottom: clamp(10px, 1.2vw, 18px); position: relative; }
.masonry__item .media { background: var(--taupe); }
.masonry__item img { transition: transform 1.6s var(--ease), opacity 600ms var(--ease); }
.masonry__item:hover img { transform: scale(1.03); }
.masonry__item:focus-visible { outline-offset: 3px; }

/* Featured gallery grid (home) */
.feature-grid {
  display: grid; gap: clamp(10px, 1.2vw, 18px);
  grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(130px, 30vw, 220px); grid-auto-flow: dense;
}
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 14vw, 230px); } }
.feature-grid a { position: relative; display: block; overflow: hidden; background: var(--taupe); }
.feature-grid a .media { position: absolute; inset: 0; background: var(--taupe); }
.feature-grid .tall { grid-row: span 2; }
.feature-grid .wide { grid-column: span 2; }
.feature-grid img { transition: transform 1.6s var(--ease); }
.feature-grid a:hover img { transform: scale(1.03); }

/* Tabs (social) */
.tabs__list { display: flex; justify-content: center; gap: clamp(22px, 3vw, 48px); border-bottom: 1px solid var(--line-light); margin: clamp(36px, 4.5vw, 60px) 0 clamp(32px, 4vw, 52px); }
.tabs__tab {
  background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 8px 2px 16px;
  font: 600 11px/1 var(--font-label); letter-spacing: 0.28em; text-transform: uppercase; color: var(--stone);
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.tabs__tab:hover { color: var(--onyx); }
.tabs__tab[aria-selected='true'] { color: var(--onyx); border-bottom-color: var(--champagne); }
.tabs__panel:focus-visible { outline-offset: 8px; }
.social-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.social-panel__handle { font: 600 11px/1 var(--font-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); }
.social-panel__follow { display: flex; justify-content: center; margin-top: clamp(34px, 4vw, 52px); }
.embed-frame { position: relative; min-height: 420px; display: flex; justify-content: center; }
.embed-frame__fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 32px; border: 1px solid var(--line-light); color: var(--stone); font-size: 15px;
}
.embed-frame__fallback .h3 { color: var(--onyx); }
.embed-frame iframe { position: relative; z-index: 1; border: 0; background: transparent; width: 100%; max-width: 500px; }
.embed-frame.is-loaded .embed-frame__fallback { visibility: hidden; }
.embed-frame .tiktok-embed { position: relative; z-index: 1; margin: 0 auto; width: 100%; max-width: 780px; min-width: 288px; background: var(--ivory); }
.embed-frame--tiktok { min-height: 560px; }
.ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1vw, 14px); list-style: none; }
@media (min-width: 700px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-grid a { display: block; position: relative; }
.ig-grid .media { aspect-ratio: 1; background: var(--taupe); }
.ig-grid a::after {
  content: ''; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color var(--t-med) var(--ease); pointer-events: none; z-index: 3;
}
.ig-grid a:hover::after { border-color: var(--champagne); }
behold-widget { display: block; min-height: 300px; }

/* Testimonials */
.testimonials { text-align: center; }
.testimonials__viewport { max-width: 1080px; margin-inline: auto; }
.testimonial-list { list-style: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testimonial-list::-webkit-scrollbar { display: none; }
.testimonial { flex: 0 0 100%; scroll-snap-align: center; padding-inline: 4px; }
.testimonial blockquote {
  margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: clamp(26px, 3.6vw, 52px); line-height: 1.32; color: var(--white); text-wrap: pretty;
  min-height: clamp(160px, 18vw, 260px); display: flex; align-items: center; justify-content: center;
}
.testimonial figcaption { margin-top: clamp(22px, 3vw, 38px); font: 600 11px/1.6 var(--font-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--mist); }
.testimonial .placeholder-tag { color: var(--mist-soft); margin: 0 0 18px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(30px, 4vw, 48px); }
.carousel-dots { display: flex; align-items: center; gap: 6px; }
.carousel-dot {
  width: 44px; height: 32px; padding: 0; background: none; border: 0; position: relative; opacity: 1 !important;
}
.carousel-dot::before {
  content: ''; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: rgba(247, 243, 238, 0.3);
  transition: background-color 600ms var(--ease), transform 600ms var(--ease); transform-origin: left;
}
.carousel-dot.is-active::before, .carousel-dot.swiper-pagination-bullet-active::before { background: var(--champagne); }
.carousel-dot.is-active, .carousel-dot.swiper-pagination-bullet-active { width: 72px; }
.carousel-pause {
  width: 44px; height: 44px; border-radius: 50%; background: none; border: 1px solid rgba(247, 243, 238, 0.3); color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; transition: border-color var(--t-med);
}
.carousel-pause:hover { border-color: var(--champagne); }
.carousel-pause svg { width: 12px; height: 12px; }
.testimonials .swiper-pagination { position: static; width: auto; }

/* CTA band */
.cta-band { --bg: var(--onyx); position: relative; min-height: clamp(480px, 62vw, 760px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--onyx); color: var(--white); }
.cta-band__body { position: relative; z-index: 3; text-align: center; padding: clamp(60px, 8vw, 110px) var(--gutter); max-width: 1000px; }
.cta-band .btn-row { justify-content: center; margin-top: clamp(32px, 4vw, 52px); }

/* Hero */
.hero { --bg: var(--onyx); position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--onyx); color: var(--white); padding-top: var(--header-h); }
.hero .media--fill { background: var(--onyx); }
.hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 7vw, 104px); }
.hero__inner { max-width: 1080px; }
.hero .eyebrow { color: var(--ivory); margin-bottom: 28px; }
.hero .btn-row { margin-top: clamp(32px, 4vw, 52px); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(56px, 7vw, 104px); z-index: 2; display: none; writing-mode: vertical-rl;
  font: 600 10px/1 var(--font-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--mist-soft); }
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* Intro block */
.intro-block { text-align: center; }
.intro-block .lede { margin-top: 28px; }
.intro-block .monogram-rule { margin-top: clamp(36px, 5vw, 56px); }
.intro-block small { display: block; margin-top: 16px; font: 600 10.5px/1 var(--font-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--stone); }

/* Process steps (planning) */
.steps { list-style: none; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line-dark); }
.step { padding: clamp(28px, 3vw, 44px) clamp(0px, 2vw, 32px) clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line-dark); position: relative; }
@media (min-width: 600px) { .step + .step { padding-left: clamp(20px, 2vw, 32px); border-left: 1px solid var(--line-dark); } }
.step__num { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--champagne); display: block; }
.step h3 { margin: 18px 0 10px; color: var(--white); }
.step p { margin: 0; font-size: 15px; color: var(--mist); }

/* Décor styles */
.styles-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.style-card .media { aspect-ratio: 3 / 4; }
.style-card h3 { margin: 20px 0 8px; }
.style-card p { margin: 0; font-size: 14px; color: var(--stone); }

/* Before / after slider */
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--charcoal); user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--champagne); transform: translateX(-0.5px); pointer-events: none; z-index: 2; }
.compare__handle {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: var(--onyx); border: 1px solid var(--champagne); color: var(--white); display: flex; align-items: center; justify-content: center;
}
.compare__handle svg { width: 22px; height: 22px; }
.compare__label {
  position: absolute; top: 18px; z-index: 2; padding: 8px 12px; background: rgba(11, 11, 11, 0.6); color: var(--ivory);
  font: 600 10.5px/1 var(--font-label); letter-spacing: 0.26em; text-transform: uppercase; pointer-events: none;
}
.compare__label--before { left: 18px; }
.compare__label--after { right: 18px; }
.compare input[type='range'] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3;
  -webkit-appearance: none; appearance: none;
}
.compare:has(input:focus-visible) .compare__handle { outline: 1px solid var(--champagne); outline-offset: 4px; }

/* Split content (about, planning intro) */
.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.split .media { aspect-ratio: 4 / 5; }
.values { list-style: none; display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.value { padding-top: 24px; border-top: 1px solid var(--champagne); }
.value h3 { margin: 0 0 10px; }
.value p { margin: 0; font-size: 15px; color: var(--stone); }
.section--onyx .value p { color: var(--mist); }
.section--onyx .value h3 { color: var(--white); }

/* Rentals catalogue */
.rentals-layout { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 1100px) { .rentals-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.rental-nav { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line-light); }
.rental-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); overflow-x: auto; scrollbar-width: none; padding: 18px 0; }
.rental-nav ul::-webkit-scrollbar { display: none; }
.rental-nav a { white-space: nowrap; font: 600 11px/1 var(--font-label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); padding: 8px 0; border-bottom: 1px solid transparent; transition: color var(--t-med), border-color var(--t-med); }
.rental-nav a:hover, .rental-nav a.is-active { color: var(--onyx); border-bottom-color: var(--champagne); }
.rental-category { padding-top: clamp(48px, 6vw, 88px); scroll-margin-top: calc(var(--header-h) + 70px); }
.rental-category__head { display: grid; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); max-width: 720px; }
.rental-category__head p { margin: 0; color: var(--stone); }
.rental-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; }
.rental-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line-light); transition: border-color var(--t-slow) var(--ease); }
.rental-card:hover { border-color: var(--champagne); }
.rental-card .media { aspect-ratio: 4 / 3; background: var(--taupe); }
.rental-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.rental-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0; }
.rental-card p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--stone); flex: 1; }
.rental-card .btn { margin-top: 8px; align-self: flex-start; }
.rental-card .btn[aria-pressed='true'] { --btn-bg: var(--onyx); --btn-fg: var(--ivory); --btn-bd: var(--onyx); }
.rental-card .btn[aria-pressed='true']:hover { --btn-bd: var(--champagne); }

/* Enquiry basket */
.basket { background: var(--onyx); color: var(--ivory); border: 1px solid var(--charcoal); }
.basket__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-bottom: 1px solid var(--line-dark); }
.basket__title { font-family: var(--font-serif); font-size: 26px; font-weight: 300; margin: 0; }
.basket__count { font: 600 11px/1 var(--font-label); letter-spacing: 0.2em; color: var(--champagne); }
.basket__body { padding: 16px 24px 24px; }
.basket__empty { color: var(--mist); font-size: 14px; margin: 8px 0 0; }
.basket__list { list-style: none; display: grid; gap: 0; margin-bottom: 20px; max-height: 44vh; overflow-y: auto; }
.basket__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.basket__item small { display: block; font: 600 9.5px/1.6 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist-soft); }
.basket__remove { flex: none; width: 36px; height: 36px; background: none; border: 1px solid transparent; color: var(--mist); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.basket__remove:hover { border-color: var(--champagne); color: var(--white); }
.basket__actions { display: grid; gap: 10px; }
.basket__clear { background: none; border: 0; color: var(--mist); font: 600 10.5px/1 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; padding: 12px; }
.basket__clear:hover { color: var(--champagne); }
.basket-bar { display: none; }
@media (min-width: 1100px) {
  .basket { position: sticky; top: calc(var(--header-h) + 88px); }
  .basket__close { display: none; }
}
@media (max-width: 1099px) {
  .basket {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; max-height: 82vh; overflow-y: auto;
    transform: translateY(105%); transition: transform 700ms var(--ease); border-width: 1px 0 0; border-top-color: var(--champagne);
    visibility: hidden;
  }
  .basket.is-open { transform: none; visibility: visible; }
  .basket__close { width: 44px; height: 44px; background: none; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--ivory); display: inline-flex; align-items: center; justify-content: center; }
  .basket-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 57; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px var(--gutter); background: var(--onyx); color: var(--ivory); border-top: 1px solid var(--champagne);
    transform: translateY(110%); transition: transform 700ms var(--ease);
  }
  .basket-bar.is-visible { transform: none; }
  .basket-bar span { font: 600 11px/1.4 var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; }
  .basket-scrim { position: fixed; inset: 0; z-index: 56; background: rgba(11, 11, 11, 0.5); opacity: 0; visibility: hidden; transition: opacity 600ms var(--ease), visibility 0s linear 600ms; }
  .basket-scrim.is-open { opacity: 1; visibility: visible; transition: opacity 600ms var(--ease); }
}

/* Gallery page */
.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; margin-bottom: clamp(32px, 4vw, 56px); }
.filter-btn {
  background: none; border: 0; border-bottom: 1px solid transparent; padding: 10px 2px;
  font: 600 11px/1 var(--font-label); letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone);
  transition: color var(--t-med), border-color var(--t-med);
}
.filter-btn:hover { color: var(--onyx); }
.filter-btn[aria-pressed='true'] { color: var(--onyx); border-bottom-color: var(--champagne); }
.gallery-status { text-align: center; color: var(--stone); font-size: 14px; margin: -24px 0 32px; }

/* PhotoSwipe theme */
.pswp { --pswp-bg: #0B0B0B; --pswp-placeholder-bg: #1A1A1A; --pswp-icon-color: #F7F3EE; --pswp-icon-color-secondary: #0B0B0B; --pswp-icon-stroke-color: #0B0B0B; }
.pswp__counter { font: 600 11px/44px var(--font-label); letter-spacing: 0.24em; color: var(--ivory); }
.pswp__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px var(--gutter) 28px; text-align: center; color: var(--mist); font-family: var(--font-serif); font-style: italic; font-size: 20px; pointer-events: none; }

/* Contact */
.contact-layout { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); } }
.form { display: grid; gap: 26px; }
.form-row { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: 10px; }
.field label, .field legend { font: 600 10.5px/1.4 var(--font-label); letter-spacing: 0.24em; text-transform: uppercase; color: var(--onyx); padding: 0; }
.field label .req { color: var(--stone); }
.input {
  width: 100%; min-height: 52px; padding: 14px 0; font: 400 16px/1.5 var(--font-body); color: var(--onyx);
  background: transparent; border: 0; border-bottom: 1px solid var(--taupe); border-radius: 0;
  transition: border-color var(--t-med) var(--ease);
}
.input::placeholder { color: #8A8279; }
.input:hover { border-bottom-color: var(--stone); }
.input:focus { border-bottom-color: var(--champagne); outline: none; box-shadow: 0 1px 0 0 var(--champagne); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--onyx) 50%), linear-gradient(135deg, var(--onyx) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
textarea.input { min-height: 160px; resize: vertical; }
.input[aria-invalid='true'] { border-bottom-color: #9B2C2C; }
.field__error { font-size: 13px; color: #9B2C2C; margin: 0; min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: grid; gap: 10px 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); margin-top: 6px; }
.check { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; min-height: 40px; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.check__box { flex: none; width: 20px; height: 20px; border: 1px solid var(--stone); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; transition: background-color var(--t-med), border-color var(--t-med); }
.check__box::after { content: ''; width: 9px; height: 5px; border-left: 1px solid var(--ivory); border-bottom: 1px solid var(--ivory); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked + .check__box { background: var(--onyx); border-color: var(--onyx); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 1px solid var(--champagne); outline-offset: 3px; }
.check:hover .check__box { border-color: var(--champagne); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--stone); margin: 0; }
.form-status { padding: 22px 24px; border: 1px solid var(--line-light); display: flex; gap: 16px; align-items: flex-start; }
.form-status h3 { margin: 0 0 6px; }
.form-status p { margin: 0; color: var(--stone); }
.form-status--success { border-color: var(--champagne); background: var(--white); }
.form-status--error { border-color: #9B2C2C; }
.form-status svg { flex: none; width: 28px; height: 28px; color: var(--champagne); margin-top: 4px; }
.form-status--error svg { color: #9B2C2C; }
.btn .spinner { width: 14px; height: 14px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-aside { display: grid; gap: 28px; }
.contact-card { --bg: var(--onyx); background: var(--onyx); color: var(--ivory); padding: clamp(28px, 3vw, 40px); display: grid; gap: 18px; }
.contact-card .h3 { color: var(--white); }
.contact-card p { margin: 0; color: var(--mist); font-size: 15px; }
.contact-card .btn { width: 100%; justify-content: space-between; }
/* Phone buttons name whose number it is, stacked above the number itself. */
.contact-card .btn__person { display: grid; gap: 5px; justify-items: start; text-align: left; }
.contact-card .btn__who { font-size: 9px; letter-spacing: 0.22em; color: var(--champagne); }

/* 404 */
.notfound { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; background: var(--onyx); color: var(--ivory); }
.notfound .display { margin: 20px 0 16px; }
.notfound p { color: var(--mist); max-width: 460px; margin: 0 auto 36px; }
.notfound .btn-row { justify-content: center; }

/* Utility spacing */
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: clamp(24px, 3vw, 40px); }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.center-flex { display: flex; justify-content: center; }

/* Reduced motion: everything calm and immediate */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Boot states (set by boot.js only when JS + motion are available) -------- */
@keyframes failsafe-show { to { opacity: 1; } }
@keyframes failsafe-hide { to { opacity: 0; visibility: hidden; } }
.motion-pending [data-hero-title], .motion-pending [data-hero-fade] { opacity: 0; animation: failsafe-show 0.6s ease 2.5s forwards; }
.intro-pending body::after {
  content: ''; position: fixed; inset: 0; z-index: 399; background: var(--onyx);
  animation: failsafe-hide 0.6s ease 2.5s forwards;
}

/* Library integration ------------------------------------------------------ */
.structures-track.swiper { overflow: hidden; }
.structures-track.swiper .structures-list { overflow: visible; scroll-snap-type: none; gap: 0; }
.structure-panel .stretched::after { content: ''; position: absolute; inset: 0; z-index: 4; }
.structure-panel .stretched:focus-visible { outline: none; }
.structure-panel:has(.stretched:focus-visible) { outline: 1px solid var(--champagne); outline-offset: -8px; }
.testimonials__viewport.swiper { overflow: hidden; }
.testimonials__viewport.swiper .testimonial-list { overflow: visible; }
.testimonials__viewport.swiper .testimonial { background: var(--onyx); }
.embed-frame--tiktok .tiktok-embed { visibility: hidden; }
.embed-frame--tiktok.is-loaded .tiktok-embed { visibility: visible; }
#behold-mount { margin-bottom: 8px; }
.hairline--center { margin: 0 auto 32px; }
.social-rule { margin-bottom: clamp(56px, 7vw, 110px); }
.section-head--tight { margin-bottom: 0; }
.social-icons--light a { color: var(--onyx); border-color: var(--taupe); }
.social-icons--light a:hover { color: var(--onyx); border-color: var(--champagne); }
.btn.is-disabled { opacity: 0.45; cursor: not-allowed; }

/* Review fixes -------------------------------------------------------------- */
ul[role='list'], ol.steps { list-style: none; }
.carousel-dots { justify-content: center; width: auto !important; }
#social { padding-top: 0; }
@media (max-width: 559px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .service-card__body { padding: 14px 0 8px; }
  .service-card h3 { font-size: 20px; }
  .service-card p { font-size: 13px; }
  .eyebrow::before { width: 20px; height: 11px; }
}

/* Hero background video ------------------------------------------------------ */
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.6s var(--ease); pointer-events: none; }
.hero__video.is-playing { opacity: 1; }
.hero__video-toggle {
  position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--header-h) + 24px);
  width: 44px; height: 44px; border-radius: 50%; padding: 0;
  background: rgba(11, 11, 11, 0.35); border: 1px solid rgba(247, 243, 238, 0.35); color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--t-med) var(--ease);
}
.hero__video-toggle:hover { border-color: var(--champagne); }
.hero__video-toggle svg { width: 12px; height: 12px; }

/* Stats band (home) ------------------------------------------------------------ */
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--champagne); border-bottom: 1px solid var(--champagne);
}
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: clamp(28px, 4vw, 52px) 12px; }
.stat + .stat { border-left: 1px solid var(--line-light); }
.stat__link { display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity var(--t-med) var(--ease); }
.stat__link:hover .stat__label { color: var(--onyx); }
.stat__value { font-family: var(--font-serif); font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1; color: var(--onyx); font-variant-numeric: lining-nums tabular-nums; }
.stat__star { color: var(--champagne); font-size: 0.55em; margin-left: 0.12em; vertical-align: 0.45em; }
.stat__icon { width: clamp(44px, 5vw, 68px); height: clamp(44px, 5vw, 68px); color: var(--champagne); }
.stat__label { font: 600 11px/1.5 var(--font-label); letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone); max-width: 22ch; transition: color var(--t-med) var(--ease); }
@media (max-width: 599px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-light); }
}

/* Real reviews in the testimonials carousel */
.testimonial blockquote { font-size: clamp(22px, 2.8vw, 40px); }
.testimonial__stars { display: flex; justify-content: center; gap: 6px; margin-bottom: clamp(18px, 2.4vw, 28px); color: var(--champagne); }
.testimonial__stars svg { width: 14px; height: 14px; fill: currentColor; }
.testimonial__source { color: var(--mist-soft); }
.testimonials .link-line { color: var(--ivory); }

/* About: timeline + logo panel ---------------------------------------------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border-top: 1px solid var(--line-dark); }
.timeline__item { position: relative; padding: clamp(28px, 3vw, 44px) clamp(0px, 2vw, 32px) clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line-dark); }
.timeline__item::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); }
@media (min-width: 600px) { .timeline__item + .timeline__item { padding-left: clamp(20px, 2vw, 32px); border-left: 1px solid var(--line-dark); } .timeline__item + .timeline__item::before { left: clamp(20px, 2vw, 32px); } }
.timeline__year { display: block; font-family: var(--font-serif); font-weight: 300; font-size: clamp(48px, 5vw, 76px); line-height: 1; color: var(--champagne); font-variant-numeric: lining-nums; }
.timeline__year--word { font-style: italic; }
.timeline__item h3 { margin: 18px 0 10px; color: var(--white); }
.timeline__item p { margin: 0; font-size: 15px; color: var(--mist); }
.logo-panel {
  --bg: var(--ivory); position: relative; aspect-ratio: 4 / 5; background: var(--onyx); color: var(--ivory);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 12%;
  overflow: hidden; isolation: isolate;
}
.logo-panel::after { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(198, 169, 105, 0.45); pointer-events: none; }
.logo-panel img { width: min(78%, 420px); height: auto; mix-blend-mode: lighten; }
.logo-panel__est { font: 600 11px/1.6 var(--font-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--mist); text-align: center; }
.logo-panel .hairline { margin: 0 auto; transform-origin: center; }

/* Maps (contact + footer) */
.map-frame { position: relative; overflow: hidden; background: var(--taupe); border: 1px solid var(--line-light); }
.map-frame iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; }
.map-frame--light iframe { filter: grayscale(1) contrast(1.05); transition: filter 900ms var(--ease); }
.map-frame--light:hover iframe, .map-frame--light:focus-within iframe { filter: none; }
.map-frame--dark { background: var(--charcoal); border-color: var(--charcoal); }
.map-frame--dark iframe { height: 220px; filter: grayscale(1) invert(0.92) contrast(0.9); }
.footer-map { display: grid; gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--charcoal); }
@media (min-width: 800px) { .footer-map { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); } }
.footer-map__title { font: 700 11px/1.4 var(--font-label); letter-spacing: 0.3em; text-transform: uppercase; color: var(--champagne); margin: 0 0 14px; }
.footer-map__text p { color: var(--mist); font-size: 15px; margin: 0 0 18px; }
.footer-map .link-line { color: var(--ivory); }
.footer-address { font-style: normal; }
.contact-address { font-style: normal; font-family: var(--font-serif); font-size: 22px; line-height: 1.35; color: var(--white); }

/* Landscape social embeds ------------------------------------------------------ */
.embed-landscape {
  display: grid; max-width: 1000px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line-light);
}
@media (min-width: 900px) { .embed-landscape { grid-template-columns: minmax(0, 1fr) 500px; } }
.embed-landscape__aside {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line-light);
}
@media (min-width: 900px) { .embed-landscape__aside { border-bottom: 0; border-right: 1px solid var(--line-light); } }
.embed-landscape__aside p { margin: 0; color: var(--stone); font-size: 15px; }
.embed-landscape__icon { width: 44px; height: 44px; border: 1px solid var(--champagne); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--onyx); }
.embed-landscape__icon svg { width: 18px; height: 18px; }
.embed-frame--fb { min-height: 440px; }
.embed-frame--fb .embed-frame__fallback { border: 0; }
@media (max-width: 899px) { .embed-frame--fb { min-height: 560px; } }
/* TikTok creator card: let it run wide (TikTok caps its own card at ~780px) */
.embed-frame--tiktok { min-height: 480px; }
.embed-frame .tiktok-embed { max-width: 780px !important; width: 100% !important; margin-inline: auto !important; }
.embed-frame--tiktok iframe { width: 100% !important; max-width: 780px !important; }
