/* ============================================================
   ROSIUM DEVELOPERS — design system
   Implements design_handoff_rosium_site/DESIGN_GUIDELINES.md.
   Mobile first. Every value here comes from the handoff; when in
   doubt the prototype (Rosium Site.dc.html) is the source of truth.
   ============================================================ */

:root {
  /* ---- palette (brand, do not extend) ---- */
  --maroon: #9a4b6c;
  --plum: #4b2b3b;
  --blush: #fbeef3;
  --blush-2: #f3dfe7;
  --rose-light: #e7bfd0;
  --ink: #241a1f;
  --ink-soft: #3f3338;
  --muted: #6f5f66;
  --hairline: rgba(75, 43, 59, .12);
  --border: rgba(36, 26, 31, .25);
  --white: #fff;

  /* ---- type ---- */
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  /* ---- layout ---- */
  --max: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(56px, 8vw, 120px);
  --sub: clamp(40px, 5vw, 72px);

  /* ---- shape ---- */
  --arch: clamp(160px, 22vw, 300px);
  --arch-sm: clamp(120px, 14vw, 170px);
  --arch-md: clamp(140px, 18vw, 240px);

  /* ---- motion ---- */
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* ---- scrims ---- */
  --scrim: linear-gradient(to top, rgba(75, 43, 59, .88), rgba(75, 43, 59, 0));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--plum); }
img, video, iframe, svg { display: block; }
/* Author `display` rules would otherwise beat the UA hidden rule. */
[hidden] { display: none !important; }
input, select, textarea, button { font: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 400;
  height: 44px; display: flex; align-items: center; padding: 0 18px;
  background: var(--maroon); color: #fff; border-radius: 999px;
  font-size: 13px; font-weight: 500; transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
/* Full-bleed-inside sections: centred to the grid, but their scroller
   keeps its own gutter so cards can peek past the edge. */
.wrap-max { max-width: var(--max); margin-left: auto; margin-right: auto; }
.sec { padding-top: var(--sec); }
.sec-sub { padding-top: var(--sub); }
.sec-pad { padding-top: var(--sec); padding-bottom: var(--sec); }

/* Two-column sections stack on their own — no media query needed. */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(24px, 4vw, 96px);
}
.cols-wide { gap: clamp(28px, 5vw, 96px); }
.cols-400 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.cols-360 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.cols-mid { align-items: center; }
.cols-top { align-items: start; }

/* ============================================================
   TYPE
   ============================================================ */

.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; line-height: 1; letter-spacing: .2em;
  text-transform: uppercase; color: var(--maroon);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.kicker.on-plum { color: var(--rose-light); }
.kicker.dot::before { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(154, 75, 108, .2); }

.label {
  font-size: 10.5px; line-height: 1; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.label.accent { color: var(--maroon); }

.h1-hero {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.4vw, 70px); line-height: 1.04;
  font-weight: 500; letter-spacing: -.028em;
}
.h1-page {
  margin: 16px 0 0;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04;
  font-weight: 500; letter-spacing: -.03em;
  max-width: 1000px;
}
.h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08;
  font-weight: 500; letter-spacing: -.028em;
}
.h2-lg { font-size: clamp(30px, 3.6vw, 48px); }
.h2-sm { font-size: clamp(24px, 3vw, 40px); line-height: 1.1; letter-spacing: -.025em; }

.lead {
  margin: 18px 0 0;
  font-size: clamp(15px, 1.25vw, 19px); line-height: 1.62;
  font-weight: 300; color: var(--ink-soft);
}
.body { margin: 16px 0 0; font-size: clamp(14.5px, 1.1vw, 16px); line-height: 1.7; color: var(--muted); }
.body-15 { font-size: 15px; line-height: 1.7; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* Masked line reveal on H1s, and the staggered fades under them.
   Both start from a hidden state, so — like the scroll reveals — they only
   arm once `has-js` is on the root. Without JS the text is simply there. */
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: block; }
.has-js .line > span { animation: rise .9s var(--ease) both; }
.has-js .line:nth-child(1) > span { animation-delay: .1s; }
.has-js .line:nth-child(2) > span { animation-delay: .2s; }
.has-js .line:nth-child(3) > span { animation-delay: .3s; }
.has-js .line:nth-child(4) > span { animation-delay: .4s; }

@keyframes rise { from { transform: translateY(112%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.has-js .fade-1 { animation: fade .8s .2s both; }
.has-js .fade-2 { animation: fade .8s .4s both; }
.has-js .fade-3 { animation: fade .8s .5s both; }
.has-js .fade-4 { animation: fade .8s .7s both; }
.has-js .fade-5 { animation: fade .8s .9s both; }

/* Scroll reveal — JS sets the start state so no-JS pages stay visible. */
[data-reveal].is-armed { opacity: 0; transform: translateY(26px); }
[data-reveal].is-armed { transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   BUTTONS & CHIPS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(154, 75, 108, .35); }
.btn-ghost { border: 1px solid var(--border); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--blush); color: var(--ink); }
.btn-on-plum { background: #fff; color: var(--plum); font-weight: 600; }
.btn-on-plum:hover { color: var(--plum); transform: translateY(-2px); }
.btn-ghost-plum { border: 1px solid rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost-plum:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.btn-row .btn { flex: 1 1 180px; }
.btn-row.tight { margin-top: 28px; }
.btn-row.auto .btn { flex: 0 0 auto; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .06em;
  border-bottom: 1px solid var(--maroon); padding-bottom: 4px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { background: var(--blush); }
.chip[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* 44px media control circle. */
.ctl {
  width: 44px; height: 44px; flex: none; padding: 0;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(75, 43, 59, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .3s var(--ease);
}
.ctl:hover { background: rgba(154, 75, 108, .85); }
.ctl-lg { width: 50px; height: 50px; }
.ctl-dark { background: rgba(36, 26, 31, .55); }
.ctl-dark:hover { background: rgba(154, 75, 108, .9); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky; top: 0; z-index: 100; overflow-x: clip;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(75, 43, 59, .08);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; height: 64px; gap: 16px;
  padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; height: 44px; }
.nav-logo img { height: 36px; width: auto; }

.nav-links { display: none; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink); display: flex; align-items: center; gap: 6px; height: 64px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--maroon); }
.nav-links svg { transition: transform .4s var(--ease); }
.nav-links .has-mega[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-links .has-mega {
  border: 0; background: transparent; padding: 0; cursor: pointer;
  font: inherit; color: var(--ink); display: flex; align-items: center; gap: 6px; height: 64px;
}

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-icon {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); border-radius: 50%; transition: background .3s var(--ease); padding: 0;
}
.nav-icon:hover { background: var(--blush); }
.nav-cta { display: none; }
.nav-burger {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  gap: 5px; padding: 0 10px;
}
.nav-burger span { height: 1.5px; background: var(--ink); display: block; }
.nav-burger span:first-child { width: 22px; }
.nav-burger span:last-child { width: 14px; }

/* ---- mega menu ---- */
.mega {
  position: absolute; left: 0; right: 0; top: 64px;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(75, 43, 59, .1);
  box-shadow: 0 30px 60px rgba(75, 43, 59, .12);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.nav.mega-open .mega { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega-inner {
  max-width: var(--max); margin: 0 auto; gap: 32px;
  padding: 28px var(--gut) 32px;
  display: grid; grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
}
.mega-title { margin-top: 10px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; min-width: 0; }
.mega-row {
  display: flex; gap: 12px; align-items: center; padding: 10px;
  border-radius: 14px; color: var(--ink); transition: background .3s var(--ease);
}
.mega-row:hover { background: var(--blush); color: var(--ink); }
.mega-thumb {
  position: relative; width: 52px; height: 64px; flex: none;
  border-radius: 26px 26px 8px 8px; overflow: hidden; background: var(--blush-2);
}
.mega-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-row > span:last-child { min-width: 0; }
.mega-name { display: block; font-size: 14px; font-weight: 500; }
.mega-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---- mobile full-screen menu ---- */
.menu {
  position: fixed; inset: 0; z-index: 150; display: none;
  flex-direction: column; background: var(--plum); color: #fff;
  padding: 20px var(--gut);
}
.menu.is-open { display: flex; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.menu-top .label { color: rgba(255, 255, 255, .7); }
.menu-close {
  width: 44px; height: 44px; border: 0; background: transparent; color: #fff;
  font-size: 28px; line-height: 1; cursor: pointer; padding: 0;
}
.menu-nav {
  display: flex; flex-direction: column; margin-top: 32px;
  font-size: 30px; font-weight: 300; letter-spacing: -.01em;
  overflow-y: auto;
}
.menu-nav a { color: #fff; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.menu-nav a:last-child { border-bottom: 0; }
.menu-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.menu-chips a {
  color: #fff; font-size: 13px; padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
}
.menu-foot { margin-top: auto; padding-top: 20px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.menu-foot a { color: inherit; }

/* ---- search overlay ---- */
.search {
  position: fixed; inset: 0; z-index: 160; display: none;
  align-items: flex-start; justify-content: center;
  padding: clamp(70px, 12vh, 140px) 20px 20px;
  background: rgba(36, 26, 31, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.search.is-open { display: flex; }
.search-panel {
  width: 100%; max-width: 680px; background: #fff; border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .3); overflow: hidden; animation: fade .3s;
}
.search-field {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 18px 6px 22px; border-bottom: 1px solid rgba(75, 43, 59, .1);
}
.search-field svg { flex: none; color: var(--maroon); }
.search-field input {
  flex: 1; min-width: 0; height: 56px; border: 0; outline: 0;
  font-size: 17px; color: var(--ink); background: transparent;
  -webkit-appearance: none; appearance: none;
}
/* The native clear affordance duplicates our Esc button. */
.search-field input::-webkit-search-cancel-button,
.search-field input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.search-esc {
  height: 36px; padding: 0 12px; border: 1px solid rgba(75, 43, 59, .2);
  background: transparent; border-radius: 999px; font-size: 12px; color: var(--muted); cursor: pointer;
}
.search-results { max-height: min(60vh, 480px); overflow-y: auto; padding: 10px; list-style: none; }
.search-results a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px; border-radius: 14px; color: var(--ink); transition: background .25s var(--ease);
}
.search-results a:hover, .search-results a:focus-visible { background: var(--blush); color: var(--ink); }
.search-title { display: block; font-size: 15px; font-weight: 500; }
.search-sub { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.search-kind {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--maroon); white-space: nowrap;
}
.search-empty { padding: 24px 14px; font-size: 14px; color: var(--muted); }

/* ============================================================
   PAGE CURTAIN + THEATER
   ============================================================ */

.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--plum);
  pointer-events: none; transform: translateY(101%);
  transition: transform .55s cubic-bezier(.7, 0, .2, 1);
  display: flex; align-items: center; justify-content: center;
}
.curtain.is-up { transform: translateY(0); }
.curtain span {
  font-family: var(--serif); font-style: italic; color: var(--rose-light);
  font-size: clamp(28px, 4vw, 48px); opacity: 0; transition: opacity .3s;
}
.curtain.is-up span { opacity: 1; }

.theater {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(36, 26, 31, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .45s var(--ease);
}
.theater.is-mounted { display: block; }
.theater.is-visible { opacity: 1; }
.theater-box {
  position: fixed; background: var(--plum); overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
  will-change: top, left, width, height, border-radius;
}
.theater-box > video, .theater-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.theater-box > video { object-fit: cover; }
.theater-map { z-index: 0; background: #3a2030; }
.theater-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 14px 14px 22px; color: #fff; pointer-events: none;
  background: linear-gradient(to bottom, rgba(36, 26, 31, .6), rgba(36, 26, 31, 0));
}
.theater-bar .label { color: var(--rose-light); }
.theater-meta { opacity: 0; transition: opacity .4s .3s; }
.theater.is-ready .theater-meta, .theater.is-ready .theater-foot { opacity: 1; }
.theater-name { font-size: 15px; font-weight: 500; margin-top: 2px; }
.theater-bar .ctl { pointer-events: auto; }
.theater-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: center; gap: 10px; padding: 18px;
  opacity: 0; transition: opacity .4s .3s;
  background: linear-gradient(to top, rgba(36, 26, 31, .6), rgba(36, 26, 31, 0));
}
.theater-foot.map-foot {
  flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px;
  color: #fff; pointer-events: none;
  background: linear-gradient(to top, rgba(36, 26, 31, .75), rgba(36, 26, 31, 0));
}
.theater-foot.map-foot .map-legend { order: 2; }
.theater-foot.map-foot .map-zoom { order: 1; align-self: flex-end; display: flex; gap: 8px; pointer-events: auto; }

.map-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; }
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid #fff; font-style: normal; }
.map-legend .lg-res { background: rgba(154, 75, 108, .85); }
.map-legend .lg-com { background: rgba(231, 191, 208, .9); }
.map-legend .lg-park { background: rgba(111, 143, 106, .85); }
.map-legend .lg-booked { background: rgba(255, 255, 255, .25); border-style: dashed; }

body.is-locked { overflow: hidden; }

/* ============================================================
   HOME — HERO
   ============================================================ */

.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) var(--gut) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.2em; color: var(--maroon); line-height: .9;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  margin-top: clamp(28px, 3vw, 48px); padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

.carousel {
  position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 720px;
  border-radius: var(--arch) var(--arch) 24px 24px;
  overflow: hidden; background: var(--blush-2); animation: fade 1s .3s both;
}
.slide {
  position: absolute; inset: 0; display: block; opacity: 0; pointer-events: none;
  transition: opacity 1.1s var(--ease);
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide-zoom { position: absolute; inset: 0; transform: scale(1); }
.slide.is-active .slide-zoom { transform: scale(1.1); transition: transform 7s linear; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.03); }
.slide-scrim { position: absolute; inset: auto 0 0 0; height: 45%; background: var(--scrim); }
.slide-cap {
  position: absolute; left: clamp(20px, 3vw, 32px); right: clamp(20px, 3vw, 32px);
  bottom: clamp(56px, 6vw, 64px); color: #fff; overflow: hidden;
}
.slide-cap > * {
  display: block; transform: translateY(110%); opacity: 0;
  transition: transform .9s var(--ease) .3s, opacity .7s .3s;
}
.slide.is-active .slide-cap > * { transform: none; opacity: 1; }
.slide-type { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.slide-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.slide-name { display: block; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; margin-top: 6px; }
.slide-loc { font-size: 13px; opacity: .85; }

.carousel-bars {
  position: absolute; left: clamp(20px, 3vw, 32px); right: clamp(20px, 3vw, 32px);
  bottom: clamp(22px, 3vw, 28px); display: flex; gap: 8px; z-index: 2;
}
.carousel-bars button {
  flex: 1; height: 24px; border: 0; background: transparent; padding: 0;
  cursor: pointer; display: flex; align-items: center;
}
.carousel-bars i {
  display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .3);
  position: relative; overflow: hidden;
}
.carousel-bars i::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  transform-origin: left; transform: scaleX(0);
}
.carousel-bars button.is-active i::after { transform: scaleX(1); transition: transform 6s linear; }

/* ---- stats row ---- */
.stats {
  max-width: var(--max); margin: clamp(48px, 6vw, 96px) auto 0;
  padding: clamp(32px, 4vw, 56px) var(--gut);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 20px;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.stat-num {
  font-size: clamp(44px, 4.5vw, 60px); font-weight: 300;
  letter-spacing: -.04em; color: var(--maroon); line-height: 1;
}
.stat-num small { font-size: .5em; }
.stat-lbl {
  margin-top: 10px; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); line-height: 1.6;
}

/* ---- video frame ---- */
.vframe {
  position: relative; width: 100%; overflow: hidden; background: var(--plum);
}
.vframe video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vframe-home {
  aspect-ratio: 4 / 5; max-height: 640px;
  border-radius: 24px 24px var(--arch) var(--arch);
}
.vframe-home video { filter: saturate(.75) contrast(1.05); }
.vframe-blend { position: absolute; inset: 0; background: var(--maroon); mix-blend-mode: soft-light; opacity: .7; pointer-events: none; }
.vframe-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(75, 43, 59, .75), rgba(75, 43, 59, 0) 50%); }
.vframe-hit { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; z-index: 1; }
.vframe-ctl {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vw, 28px);
  display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.vframe-cap {
  position: absolute; left: 0; right: 0; bottom: clamp(84px, 12vw, 120px);
  text-align: center; color: #fff; padding: 0 24px; pointer-events: none;
}
.vframe-cap .label { color: rgba(255, 255, 255, .75); }
.vframe-cap .serif { margin-top: 8px; font-size: clamp(24px, 2.4vw, 34px); }

.sign { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.sign img { width: 56px; height: 56px; object-fit: contain; }
.sign-name { font-size: 14.5px; font-weight: 600; }
.sign-tag { color: var(--muted); margin-top: 2px; font-family: var(--serif); font-style: italic; font-size: 17px; }

/* ============================================================
   PROJECTS — pinned track (desktop) / snap scroller
   ============================================================ */

/* Mobile / short viewports: a snap scroller. */
.projects { padding-top: 64px; }
.projects-inner { position: static; }
.pin-bar { display: none; }
.projects-head {
  padding: 0 var(--gut); display: flex; justify-content: space-between;
  align-items: flex-end; gap: 16px;
}
.projects-h2 { margin: 14px 0 0; font-size: 30px; line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.projects-all {
  font-size: 12px; font-weight: 500; letter-spacing: .06em; white-space: nowrap;
  padding-bottom: 6px; border-bottom: 1px solid var(--maroon);
}
.all-long { display: none; }
.projects-track {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 28px var(--gut) 8px; scroll-padding: 0 var(--gut);
  -ms-overflow-style: none; scrollbar-width: none;
}
.projects-track::-webkit-scrollbar { display: none; }
.projects-track .pcard { flex: 0 0 min(82%, 380px); scroll-snap-align: start; }
.track-end { flex: 0 0 6px; }

.snap {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 28px var(--gut) 8px; scroll-padding: 0 var(--gut);
  -ms-overflow-style: none; scrollbar-width: none;
}
.snap::-webkit-scrollbar { display: none; }
.snap > * { scroll-snap-align: start; }

/* ---- project card ---- */
.pcard { display: block; color: var(--ink); }
.pcard:hover { color: var(--ink); }
.pcard-fig {
  display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush-2);
  border-radius: var(--arch-sm) var(--arch-sm) 18px 18px;
}
.pcard-fig img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 1.2s var(--ease);
}
.pcard:hover .pcard-fig img { transform: scale(1.1); }
.pcard-fig::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(251, 238, 243, .92), rgba(251, 238, 243, 0));
  pointer-events: none;
}
.pcard-type {
  position: absolute; z-index: 1; top: 22px; left: 0; right: 0; text-align: center;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--plum);
}
.pin-track .pcard-type { top: 26px; font-size: 11px; letter-spacing: .22em; }
.pcard-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; gap: 12px; }
.pcard-name { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.pin-track .pcard-name { font-size: 22px; }
.pcard-loc { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pcard-desc { display: block; margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.pcard-cta { display: block; margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--maroon); }

.pgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 3vw, 40px) 24px;
}
.pgrid-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; margin-top: 36px; }

/* ============================================================
   HOME — SEO band, pillars, testimonials, FAQ
   ============================================================ */

.seo-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(20px, 4vw, 96px); padding: clamp(24px, 3vw, 48px);
  background: var(--blush); border-radius: 28px;
}
.seo-copy { font-size: clamp(14.5px, 1.1vw, 16.5px); line-height: 1.7; color: var(--ink-soft); }
/* Links sitting inside a paragraph carry an underline, not colour alone. */
.seo-copy a, .lead a, .body a, .note a, .disclaimer a, .facts a, .card .d a, .row-num .d a {
  border-bottom: 1px solid rgba(154, 75, 108, .45);
}
.seo-copy a:hover, .lead a:hover, .body a:hover, .note a:hover,
.disclaimer a:hover, .facts a:hover, .card .d a:hover, .row-num .d a:hover {
  border-bottom-color: var(--plum);
}
.seo-copy p + p { margin-top: 16px; }
/* Collapsed only when the toggle can actually work. The paragraphs stay in
   the DOM either way; without JS they simply read in full. */
.seo-rest { overflow: hidden; }
.has-js .seo-rest { max-height: 0; transition: max-height .7s var(--ease); }
.has-js .seo-rest.is-open { max-height: 1200px; }
.seo-toggle { display: none; }
.has-js .seo-toggle { display: flex; }
.seo-toggle {
  margin-top: 14px; height: 44px; padding: 0; border: 0; background: transparent;
  font-size: 12.5px; font-weight: 500; letter-spacing: .06em; color: var(--maroon);
  cursor: pointer; align-items: center; gap: 8px;
}
.seo-toggle svg { transition: transform .4s var(--ease); }
.seo-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.rows > * { border-bottom: 1px solid var(--hairline); }
.row-num {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0;
}
.row-num .n { font-size: 12.5px; color: var(--maroon); font-weight: 500; padding-top: 4px; }
.row-num .t { font-size: clamp(17px, 1.3vw, 20px); font-weight: 500; }
.row-num .d { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.quotes-head {
  padding: 0 var(--gut); display: flex; justify-content: space-between;
  align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.quotes-head p { margin: 0; max-width: 380px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.quotes { padding-top: 32px; }
.quote {
  flex: 0 0 min(82vw, 380px); padding: 30px 28px; min-height: 270px;
  background: var(--plum); color: #fff; border-radius: 24px;
  display: flex; flex-direction: column;
}
.quote-mark { font-family: var(--serif); font-style: italic; font-size: 52px; line-height: .6; color: var(--rose-light); height: 22px; }
.quote p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; font-weight: 300; }
.quote-by { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--maroon);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.quote-name { display: block; font-size: 14px; font-weight: 500; }
.quote-role { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.quote-stars { margin-left: auto; font-size: 11px; letter-spacing: .1em; color: var(--rose-light); }

.faq { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; min-height: 56px; border: 0; background: transparent; text-align: left;
  font-size: clamp(15.5px, 1.2vw, 18px); font-weight: 500; color: var(--ink); cursor: pointer;
}
.faq-q i {
  width: 32px; height: 32px; flex: none; border-radius: 50%; font-style: normal;
  border: 1px solid rgba(75, 43, 59, .25);
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); background: var(--maroon); border-color: var(--maroon); color: #fff; }
/* Same rule: answers only collapse once JS can reopen them. */
.faq-a { overflow: hidden; }
.has-js .faq-a {
  max-height: 0; opacity: 0;
  transition: max-height .6s var(--ease), opacity .5s;
}
.has-js .faq-a.is-open { max-height: 400px; opacity: 1; }
.faq-a p { margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 640px; }

/* ============================================================
   PAGE HEADS
   ============================================================ */

.page-head { padding: clamp(28px, 4vw, 64px) var(--gut) 0; max-width: var(--max); margin: 0 auto; }
.page-head .kicker { margin-top: 28px; }
.crumb { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--maroon); }

/* ============================================================
   PROJECT PAGE
   ============================================================ */

/* Plum, not blush: the hero type is white, and the scrim guarantees at
   least this much plum behind it whatever the render underneath does. */
.phero { position: relative; height: clamp(520px, 80vh, 820px); overflow: hidden; background: var(--plum); }
.phero-media { position: absolute; inset: -10% 0; will-change: transform; }
.phero-media img, .phero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-scrim {
  position: absolute; inset: 0;
  /* Slightly deeper mid-stop than the prototype so the rose serif tagline
     clears 4.5:1 over light renders too. */
  background: linear-gradient(to top, rgba(75, 43, 59, .92) 0%, rgba(75, 43, 59, .5) 58%, rgba(75, 43, 59, 0) 100%);
}
.phero-body {
  position: absolute; inset: auto 0 0 0; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gut) clamp(32px, 5vw, 64px); color: #fff;
}
.phero-body .crumb, .phero-body .crumb a { color: rgba(255, 255, 255, .75); }
.phero-body .crumb a:hover { color: #fff; }
.phero-body .label { color: var(--rose-light); margin-top: 20px; display: block; }
.phero-body h1 {
  margin: 14px 0 0; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.05;
  font-weight: 500; letter-spacing: -.028em; max-width: 960px;
}
.phero-body .lead { color: rgba(255, 255, 255, .9); max-width: 680px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; }
.phero-body .lead em { font-family: var(--serif); font-size: 1.15em; color: var(--rose-light); }

/* ---- interactive site map ---- */
.sitemap { background: var(--plum); border-radius: 28px; overflow: hidden; color: #fff; }
.sitemap-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px 20px; padding: 18px clamp(18px, 2.5vw, 28px); flex-wrap: wrap;
}
.sitemap-head .label { color: var(--rose-light); }
.sitemap-name { margin-top: 4px; font-size: 16px; font-weight: 500; }
.sitemap-frame { position: relative; height: clamp(280px, 52vw, 440px); background: #3a2030; }
.sitemap-preview { position: absolute; inset: 0; z-index: 0; }
.sitemap-preview .leaflet-tile-pane { filter: saturate(.7) sepia(.15) brightness(.95); }
.sitemap-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(75, 43, 59, .55), rgba(75, 43, 59, 0) 45%);
}
.sitemap-hit { position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; cursor: pointer; }
.sitemap-pill-wrap { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; justify-content: center; pointer-events: none; }
.sitemap-pill {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px;
  border-radius: 999px; background: rgba(36, 26, 31, .6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .3); font-size: 12.5px; font-weight: 500;
}

/* ---- hairline stat grid ---- */
.cells {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline);
  border-radius: 20px; overflow: hidden;
}
.cell { background: #fff; padding: 26px 22px; }
.cell .v { font-size: clamp(24px, 2.4vw, 34px); font-weight: 300; letter-spacing: -.03em; color: var(--maroon); line-height: 1; }
.cell .v small { font-size: .5em; letter-spacing: 0; }
.cell .k { margin-top: 8px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---- distances + travel times ---- */
.dist { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; }
.dist div {
  display: flex; justify-content: space-between; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--hairline); font-size: 14px;
}
.dist b { color: var(--maroon); font-weight: 500; white-space: nowrap; }
.times { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 24px 36px; }
.times .v { font-size: 26px; font-weight: 300; letter-spacing: -.03em; color: var(--maroon); line-height: 1; }
.times .k { margin-top: 6px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---- flat image (maps, site plans) ---- */
.plate { border-radius: 24px; overflow: hidden; background: var(--blush); border: 1px solid rgba(75, 43, 59, .1); }
.plate img { width: 100%; height: auto; }
.plate-desat img { filter: saturate(.8); }

.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--sw, var(--maroon)); font-style: normal; }

.note { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.disclaimer { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* ---- lifestyle band ---- */
.band-blush { background: var(--blush); margin-top: var(--sec); padding: var(--sec) 0; }
.band-plum { background: var(--plum); color: #fff; margin-top: var(--sec); padding: var(--sec) 0; }
.band-plum a:not(.btn) { color: var(--rose-light); }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.band-head .serif { font-size: clamp(20px, 2vw, 28px); color: var(--maroon); }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 36px; }
.shots figure { margin: 0; }
.shots .fig { position: relative; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: var(--blush-2); }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shots figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); }

.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; margin-top: 32px; list-style: none; }
.amenities li {
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
  font-size: 14.5px; display: flex; gap: 12px; align-items: center;
}
.amenities li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--maroon); flex: none; }

/* ---- infrastructure arch ---- */
.arch-inv {
  position: relative; aspect-ratio: 4 / 5; max-height: 600px; overflow: hidden; background: var(--blush-2);
  border-radius: 24px 24px clamp(120px, 16vw, 220px) clamp(120px, 16vw, 220px);
}
.arch-top {
  position: relative; aspect-ratio: 4 / 5; max-height: 640px; overflow: hidden; background: var(--blush-2);
  border-radius: var(--arch-md) var(--arch-md) 24px 24px;
}
.arch-inv img, .arch-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch-top.top-crop img { object-position: top; }

.numbered { list-style: none; }
.numbered li {
  display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 14px 0;
  border-bottom: 1px solid var(--hairline); font-size: 15px; align-items: baseline;
}
.numbered li::before {
  content: counter(list-item, decimal-leading-zero);
  font-size: 12px; color: var(--maroon); font-weight: 500;
}

/* ---- why cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-top: 36px; }
.card {
  padding: 26px 24px; border: 1px solid rgba(75, 43, 59, .14); border-radius: 20px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.card:hover { background: var(--blush); transform: translateY(-3px); }
.card .n { font-size: 12px; color: var(--maroon); font-weight: 500; }
.card .t { margin-top: 14px; font-size: 18px; font-weight: 500; }
.card .d { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }

.band-plum .card { border-color: rgba(255, 255, 255, .18); }
.band-plum .card:hover { background: rgba(255, 255, 255, .06); transform: none; }
.band-plum .card .s { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; color: var(--rose-light); line-height: 1; }
.band-plum .card .e { margin-top: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.band-plum .card .d { margin-top: 16px; font-size: 15px; line-height: 1.5; color: #fff; }

/* ---- visit block ---- */
.facts { margin-top: 28px; display: grid; gap: 18px; font-size: 15px; line-height: 1.6; }
.facts .k { margin-bottom: 4px; }
.facts a { border-bottom: 1px solid var(--maroon); color: var(--ink); }
.facts a:hover { color: var(--maroon); }
.box-blush { padding: clamp(24px, 3vw, 40px); background: var(--blush); border-radius: 24px; align-self: start; }
.box-blush p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.box-title { font-size: 19px; font-weight: 500; }
.box-blush .box-title + p { font-size: 15px; line-height: 1.65; margin-top: 10px; }

/* ---- CTA boxes ---- */
.cta-box {
  border-radius: 28px; padding: clamp(32px, 5vw, 64px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.cta-maroon { background: var(--maroon); color: #fff; }
.cta-maroon h2 {
  margin: 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 400;
  letter-spacing: -.02em; font-family: var(--serif); font-style: italic;
}
.cta-maroon p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 520px; }
.cta-blush { background: var(--blush); }
.cta-blush h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.cta-blush p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 560px; }

/* ============================================================
   ABOUT
   ============================================================ */

.edge { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 40px; margin-top: 28px; }
.edge > div { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.edge .n { font-size: 12px; color: var(--maroon); font-weight: 500; padding-top: 3px; }
.edge .t { font-size: 16.5px; font-weight: 500; }
.edge .d { margin-top: 5px; font-size: 14px; line-height: 1.6; color: var(--muted); }

.chair-quote { margin-top: 22px; font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.7; color: var(--ink-soft); }
.chair-quote p + p { margin-top: 14px; }
.byline { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.byline .avatar { width: 44px; height: 44px; color: #fff; font-size: 15px; }
.byline .nm { font-size: 15px; font-weight: 600; }
.byline .rl { font-size: 13px; color: var(--muted); }

.statement { margin: 36px 0 0; max-width: 820px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; font-weight: 300; }

.medallion {
  margin-top: 24px; width: min(100%, 200px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; background: #fff; padding: 16px;
}
.medallion img { width: 100%; height: 100%; object-fit: contain; }

.vframe-about {
  aspect-ratio: 9 / 12; max-height: 620px;
  margin-left: auto; width: min(100%, 480px);
  border-radius: 220px 220px 20px 20px; background: var(--ink);
}
.vframe-about video { filter: saturate(.8); }
.vframe-about .vframe-blend { opacity: .5; }

.motion-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: 56px; align-items: center; }
.motion-block h3 { margin: 12px 0 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.motion-block p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .85); }
.band-plum .lead, .band-plum .body { color: rgba(255, 255, 255, .85); }

/* ============================================================
   CONTACT / CAREER
   ============================================================ */

.contact-list { margin-top: 32px; display: grid; gap: 22px; font-size: 16px; line-height: 1.6; }
.contact-list a { color: var(--ink); display: block; }
.contact-list a:hover { color: var(--maroon); }
.contact-list .k { margin-bottom: 4px; }

.pills { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.pills a {
  height: 40px; padding: 0 16px; display: flex; align-items: center;
  border: 1px solid rgba(75, 43, 59, .2); border-radius: 999px; font-size: 12.5px; color: var(--ink);
}
.pills a:hover { background: var(--blush); color: var(--ink); }

.map-embed { margin-top: 32px; border-radius: 24px; overflow: hidden; background: var(--blush); }
.map-embed iframe { width: 100%; height: 300px; border: 0; filter: grayscale(1) sepia(.2) hue-rotate(-20deg) saturate(1.2); }

.form {
  background: var(--blush); border-radius: 28px; padding: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px;
}
.form label { display: grid; gap: 6px; font-size: 12px; font-weight: 500; color: var(--plum); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  height: 50px; border: 1px solid rgba(75, 43, 59, .18); border-radius: 12px;
  padding: 0 14px; background: #fff; font-size: 15px; color: var(--ink);
}
.form textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--maroon); outline-offset: 0; border-color: var(--maroon); }
.form button[type="submit"] {
  grid-column: 1 / -1; height: 54px; border: 0; border-radius: 999px;
  background: var(--maroon); color: #fff; font-size: 14px; font-weight: 600;
  letter-spacing: .03em; cursor: pointer;
  transition: background .4s var(--ease), transform .3s var(--ease);
}
.form button[type="submit"]:hover { transform: translateY(-1px); }
.form.is-sent button[type="submit"] { background: var(--plum); }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.form .err {
  grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--maroon);
  font-weight: 500; display: none;
}
.form .err.is-shown { display: block; }

/* ============================================================
   BLOGS
   ============================================================ */

.post-rows { display: grid; gap: 0; }
.post-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px 40px; padding: clamp(24px, 3vw, 40px) 0;
  border-top: 1px solid var(--hairline); color: var(--ink);
  transition: padding-left .4s var(--ease);
}
.post-row:hover { padding-left: 12px; color: var(--ink); }
.post-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.post-tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); }
.post-num { font-size: 12px; color: var(--muted); }
.post-main { grid-column: span 2; }
.post-title { font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.post-row p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.post-cta { margin-top: 16px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--maroon); }
.post-rows-end { border-top: 1px solid var(--hairline); }

/* ============================================================
   PROSE — articles & legal pages
   ============================================================ */

.prose { max-width: 760px; font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.prose > * + * { margin-top: 20px; }
.prose h2 {
  margin-top: 48px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15;
  font-weight: 500; letter-spacing: -.02em; color: var(--ink);
}
.prose h3 { margin-top: 32px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.prose h4 { margin-top: 26px; font-size: 17px; font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 10px; }
.prose li::marker { color: var(--maroon); }
.prose a { border-bottom: 1px solid rgba(154, 75, 108, .35); }
.prose a:hover { border-bottom-color: var(--plum); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose blockquote {
  padding: 22px 26px; background: var(--blush); border-radius: 20px;
  font-size: 17px; color: var(--ink-soft);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--hairline); text-align: left; }
.prose th { font-weight: 600; color: var(--ink); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.prose figure { margin: 0; }
.prose img { width: 100%; height: auto; border-radius: 20px; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.prose-wide { max-width: 860px; }

.toc { padding: 24px 26px; background: var(--blush); border-radius: 20px; }
.toc ol { padding-left: 20px; }
.toc li { margin-top: 8px; font-size: 15px; }

.article-hero { position: relative; border-radius: var(--arch-sm) var(--arch-sm) 24px 24px; overflow: hidden; background: var(--blush-2); aspect-ratio: 16 / 9; }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   FOOTER + FLOATING WHATSAPP
   ============================================================ */

.footer {
  margin-top: clamp(64px, 8vw, 120px); background: var(--plum); color: #fff;
  padding: clamp(48px, 7vw, 96px) 0 32px; border-radius: 32px 32px 0 0;
}
/* Buttons keep their own colours — only plain footer links go white. */
.footer a:not(.btn) { color: #fff; }
.footer a:not(.btn):hover { color: var(--rose-light); }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(36px, 5vw, 96px); align-items: start; }
.footer h2 {
  margin: 16px 0 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.02;
  font-weight: 400; letter-spacing: -.03em; max-width: 600px;
}
.footer-lead { margin: 18px 0 0; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 520px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.footer-cta .btn { flex: 1 1 200px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; font-size: 14px; line-height: 2; }
.footer-cols a { display: block; }
.footer-cols .h {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6); margin-bottom: 8px; line-height: 1.6;
}
.footer-bottom {
  margin-top: clamp(40px, 5vw, 72px); padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px;
  font-size: 12.5px; color: rgba(255, 255, 255, .7); line-height: 1.8;
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease);
}
.footer-social a:hover { background: rgba(255, 255, 255, .12); }
.footer-social svg { width: 16px; height: 16px; }
.footer-blurb {
  margin: 22px 0 0; max-width: 520px;
  font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, .7);
}

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; background: var(--maroon); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(75, 43, 59, .35); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ============================================================
   LEAFLET overrides (site map popups use the site sans)
   ============================================================ */

.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--sans); }
.leaflet-container { font-family: var(--sans); background: #3a2030; }

/* ============================================================
   BREAKPOINT — 860px: desktop nav + pinned projects
   ============================================================ */

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta {
    display: flex; align-items: center; height: 40px; padding: 0 20px; margin-left: 6px;
    border-radius: 999px; background: var(--maroon); color: #fff;
    font-size: 13px; font-weight: 500; letter-spacing: .03em;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(154, 75, 108, .3); }
  .nav-burger { display: none; }
  .footer-cols { font-size: 14px; }
}

@media (min-width: 860px) and (min-height: 700px) {
  .projects { height: 360vh; margin-top: var(--sec); padding-top: 0; position: relative; }
  .projects-inner {
    position: sticky; top: 64px; height: calc(100vh - 64px); overflow: hidden;
    background: var(--blush);
    display: flex; flex-direction: column; justify-content: center;
  }
  .pin-bar { display: block; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(75, 43, 59, .1); }
  .pin-bar i { display: block; height: 100%; background: var(--maroon); transform-origin: left; transform: scaleX(0); }
  .projects-head {
    max-width: var(--max); width: 100%; margin: 0 auto min(36px, 3vh);
    padding: 0 var(--gut);
  }
  .projects-h2 { margin: 12px 0 0; font-size: clamp(28px, min(3.6vw, 5vh), 48px); line-height: 1.05; letter-spacing: -.028em; }
  .projects-all {
    display: inline-flex; align-items: center; justify-content: center;
    height: 46px; padding: 0 22px; border: 1px solid var(--border); border-radius: 999px;
    color: var(--ink); font-size: 13px; letter-spacing: .04em;
    transition: background .35s var(--ease);
  }
  .projects-all:hover { background: #fff; color: var(--ink); }
  .all-long { display: inline; }
  .all-short { display: none; }
  .projects-track {
    overflow: visible; width: max-content; gap: 28px; scroll-snap-type: none;
    padding: 0 max(calc((100vw - 1320px) / 2 + 48px), 48px);
    will-change: transform;
  }
  .projects-track .pcard { flex: 0 0 380px; scroll-snap-align: none; }
  .projects-track .pcard-fig { height: min(440px, 46vh); aspect-ratio: auto; border-radius: 190px 190px 20px 20px; }
  .projects-track .pcard-type { top: 26px; font-size: 11px; letter-spacing: .22em; }
  .projects-track .pcard-name { font-size: 22px; }
  .projects-track .pcard-row { margin-top: 20px; }
  .projects-track .pcard-desc { font-size: 14px; }
  .track-end { flex: 0 0 1px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal].is-armed { opacity: 1 !important; transform: none !important; }
  .has-js .line > span, .has-js [class^="fade-"] { animation: none !important; }
  .slide.is-active .slide-zoom { transform: none; }
  .pcard:hover .pcard-fig img { transform: scale(1.02); }
}
