/* ============================================================
   ARK Rentals — Homepage Redesign Mockup (iteration 4)
   Hero locked to concept B (Cinematic) + rotating typewriter.
   Back half: manifesto w/ line shader / pinned morphing stay /
   image-card standard grid / real-review marquee / owners /
   FAQ / focus-card journal / wavy closer / curtain footer.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300..800&display=swap');

:root {
  /* Neutrals (cool family) */
  --white: #FFFFFF;
  --mist: #F8F9FC;
  --sky: #ECEEF8;
  --sky-deep: #C9D0E4;
  --slate-mist: #D5D9E5;
  --slate: #5A5F6D;
  --ink: #1A1D24;
  --mute: #9AA0AD;
  --line: rgba(26, 29, 36, .10);
  --line-soft: rgba(26, 29, 36, .06);

  /* Accent — ember orange (the only vivid hue) */
  --orange: #F48847;
  --orange-deep: #E4762F;
  --orange-soft: #FFAD73;
  --orange-tint: #FFE9D8;
  --orange-grad: linear-gradient(90deg, #E57A3F 0%, #F48847 77%, #FFAD73 100%);

  /* Navy (structural, rare surfaces) */
  --navy: #17263A;
  --navy-raised: #22324A;
  --navy-line: #2E415C;

  /* Status */
  --success: #3D8A5C;

  /* Type */
  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tracking-tight: -.02em;
  --tracking-caps: .14em;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --curtain-r: clamp(18px, 3vw, 32px);
  --footer-h: 560px; /* refined by JS; keeps footer reveal working without JS */

  /* Shadows (cool ink-tinted, layered) */
  --shadow-sm: 0 1px 2px rgba(26,29,36,.06), 0 3px 8px rgba(26,29,36,.06);
  --shadow-card: 0 1px 2px rgba(26,29,36,.06), 0 6px 14px rgba(26,29,36,.07), 0 18px 36px rgba(26,29,36,.08);
  --shadow-hover: 0 2px 4px rgba(26,29,36,.08), 0 12px 24px rgba(26,29,36,.10), 0 32px 56px rgba(26,29,36,.12);
  --shadow-float: 0 30px 64px rgba(26,29,36,.16);
  --shadow-focus: 0 0 0 4px rgba(244,136,71,.22);
  --shadow-glow: 0 1px 2px rgba(26,29,36,.06), 0 8px 18px rgba(244,136,71,.28);

  /* Motion — springs generated with the motion.dev MCP (CSS linear()) */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);
  --spring-med: 450ms linear(0, 0.2403, 0.6293, 0.9102, 1.0407, 1.0679, 1.0494, 1.0232, 1.005, 0.9968, 0.9954, 0.9968, 0.9986, 0.9997, 1);
  --spring-snap: 300ms linear(0, 0.3601, 0.7689, 0.9599, 1.0117, 1.0133, 1.0062, 1.0017, 1.0001, 1);
  --spring-pop: 550ms linear(0, 0.1753, 0.5154, 0.8278, 1.0297, 1.1163, 1.1211, 1.0857, 1.0422, 1.0084, 0.9897, 0.9841, 0.9864, 0.9917, 0.9968, 1.0002, 1.0018, 1);
  --dur-fast: 180ms;
  --dur-med: 240ms;
  --dur-slow: 400ms;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--white); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white); /* shows through behind the curtain + overscroll */
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(244,136,71,.22); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

h1, h2, h3, h4 { margin: 0 0 24px; line-height: 1.1; letter-spacing: var(--tracking-tight); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1.08; letter-spacing: -.022em; }
h2 { font-weight: 800; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.15; }
h3 { font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 16px; color: var(--slate); max-width: 72ch; text-wrap: pretty; }
.lead { font-size: 18px; }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--orange-soft); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p { color: var(--sky-deep); }

.grad-word {
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { max-width: var(--container-max); margin: 0 auto; padding-inline: clamp(20px, 4vw, 32px); }
.section { padding-block: clamp(64px, 9vw, 112px); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 10px; }

.sample-note { display: block; margin-top: 14px; font-size: 12px; color: var(--mute); }
.sample-note--dark { color: rgba(201,208,228,.7); }

/* ---------- Page curtain (footer reveal) ---------- */
.page-curtain {
  position: relative;
  z-index: 2;
  background: var(--mist);
  border-radius: 0 0 var(--curtain-r) var(--curtain-r);
  box-shadow: 0 30px 60px rgba(26, 29, 36, .22);
  margin-bottom: var(--footer-h);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out),
              color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-150%) skewX(-12deg);
  transition: transform 700ms ease;
}
.btn:hover::before { transform: translateX(150%) skewX(-12deg); }
.btn:hover { transform: translateY(-4px); }
.btn:active { transform: translateY(-1px); }

.btn-primary { background: var(--orange-grad); color: var(--white); box-shadow: var(--shadow-glow); }
.btn-primary:hover { box-shadow: 0 15px 30px rgba(244,136,71,.4); filter: brightness(1.02); }

.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--orange-deep); border-color: var(--orange-deep); box-shadow: var(--shadow-sm); }

.btn-ghost-dark { background: rgba(255,255,255,.06); color: var(--white); border-color: var(--navy-line); backdrop-filter: blur(4px); }
.btn-ghost-dark:hover { border-color: var(--orange-soft); color: var(--orange-soft); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange-deep);
}
.arrow-link--light { color: var(--white); }
.arrow-link .arr { display: inline-block; transition: transform var(--dur-med) var(--ease-out); }
.arrow-link:hover .arr, .home-card:hover .arrow-link .arr { transform: translateX(4px); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--sky);
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.chip--glass { background: rgba(255,255,255,.82); backdrop-filter: blur(8px); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Topbar / nav ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__inner {
  /* full-bleed like the live YOOtheme header: logo hugs the left edge, CTAs the right */
  padding: 12px clamp(20px, 2.5vw, 40px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav { margin-right: 8px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-pill {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
/* Underline scheme: hover = muted bar slides in; current page = full gradient bar */
.nav-pill::after {
  content: '';
  position: absolute;
  left: 16px;
  bottom: 2px;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--slate-mist);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.nav-pill:hover { color: var(--ink); }
.nav-pill:hover::after { transform: scaleX(1); }
.nav-pill.is-active { color: var(--ink); font-weight: 800; }
.nav-pill.is-active::after {
  background: linear-gradient(90deg, #E57A3F, #FFAD73);
  transform: scaleX(1);
}

/* Resources dropdown — hover/focus on desktop, click toggle for touch */
.nav-drop { position: relative; }
.nav-drop__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav-drop__btn svg { width: 11px; height: 11px; transition: transform var(--dur-fast) var(--ease-out); }
.nav-drop:hover .nav-drop__btn svg,
.nav-drop:focus-within .nav-drop__btn svg,
.nav-drop.is-open .nav-drop__btn svg { transform: rotate(180deg); }
.nav-drop__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  min-width: 176px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility .18s;
}
/* invisible bridge over the gap so hover survives the trip down */
.nav-drop__menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu,
.nav-drop.is-open .nav-drop__menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop__menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}
.nav-drop__menu a:hover { background: var(--sky); color: var(--ink); }
.topbar__cta { display: flex; gap: 10px; flex: none; }
.topbar__cta .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
  margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Frosted glass panel: springs in from the right, page pushes away behind it */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  background: rgba(248,249,252,.78);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  backdrop-filter: blur(24px) saturate(1.25);
  z-index: 70;
  box-shadow: var(--shadow-float);
  transform: translateX(105%);
  transition: transform .65s cubic-bezier(.18,1.24,.32,1);
  padding: 18px 24px calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  overflow-x: hidden;
}
.drawer.is-open { transform: translateX(0); }
.drawer .nav-pill { display: block; padding: clamp(7px, 1.3vh, 12px) 16px; font-size: 16px; }
.drawer .nav-pill::after { bottom: 3px; }
.drawer__head { display: flex; align-items: center; justify-content: flex-end; margin-bottom: clamp(4px, 1vh, 12px); min-height: 34px; }
.drawer__close { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--slate); padding: 6px 10px; margin-right: -6px; }
.drawer .btn { margin-top: clamp(4px, 1vh, 8px); padding-top: clamp(10px, 1.5vh, 13px); padding-bottom: clamp(10px, 1.5vh, 13px); }
.drawer .btn-ghost { background: rgba(255,255,255,.7); }

/* Links, buttons, and socials cascade in one after another */
.drawer .nav-pill, .drawer .btn, .drawer .socials {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.drawer.is-open .nav-pill, .drawer.is-open .btn, .drawer.is-open .socials {
  opacity: 1;
  transform: none;
  transition-delay: calc(.08s + var(--i, 0) * .045s);
}

/* Footer block: draw-on A-mark centered between the buttons and the socials */
.drawer__foot {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.drawmark {
  display: block;
  pointer-events: none;
  flex: none;
  width: clamp(72px, 12.5vh, 126px);
  height: auto;
  aspect-ratio: 1;
  margin: auto 0; /* equal slack above and below → centered between button and socials */
}
.drawmark path {
  stroke: var(--orange);
  stroke-width: .7;
  fill: url(#markgrad);
  fill-opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.drawer.is-open .drawmark path { animation: markDraw 1s var(--ease-out) forwards, markFill .6s ease forwards; }
.drawer.is-open .drawmark path:nth-of-type(1) { animation-delay: .35s, 1.15s; }
.drawer.is-open .drawmark path:nth-of-type(2) { animation-delay: .5s, 1.25s; }
.drawer.is-open .drawmark path:nth-of-type(3) { animation-delay: .65s, 1.35s; }
.drawer.is-open .drawmark path:nth-of-type(4) { animation-delay: .8s, 1.45s; }
@keyframes markDraw { to { stroke-dashoffset: 0; } }
@keyframes markFill { to { fill-opacity: 1; stroke-opacity: 0; } }

.drawer .socials { display: flex; justify-content: center; align-items: center; gap: 14px; }
.drawer .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--slate-mist);
  background: rgba(255,255,255,.7);
  color: var(--slate);
}
.drawer .socials svg { width: 18px; height: 18px; display: block; }

/* Invisible click-catcher — no dim (a dark scrim would kill the glass blur) */
.scrim {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

/* WP injects site-wide UIkit modals (e.g. the #ark-eval-form WPForms modal) via
   wp_footer. UIkit's CSS doesn't load on this template, so they'd render as raw
   blocks above the footer — and without UIkit's JS they can never open. Hide them. */
.uk-modal, .uk-modal-container, [uk-modal], [data-uk-modal] { display: none !important; }

/* ---------- Free Property Evaluation modal ---------- */
.eval-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.eval-modal[hidden] { display: none; } /* author display:flex would otherwise override the hidden attribute */
.eval-modal__scrim {
  position: absolute; inset: 0; background: rgba(26,29,36,.55);
  opacity: 0; transition: opacity var(--dur-med) var(--ease-out);
}
.eval-modal__panel {
  position: relative; width: min(640px, 94vw); height: min(760px, 90vh);
  background: var(--mist); border-radius: 20px; box-shadow: var(--shadow-float);
  overflow: hidden; opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.eval-modal.is-open .eval-modal__scrim { opacity: 1; }
.eval-modal.is-open .eval-modal__panel { opacity: 1; transform: none; }
.eval-modal__panel iframe { width: 100%; height: 100%; border: 0; display: block; }
.eval-modal__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--slate-mist);
  background: var(--white); color: var(--slate); font-size: 22px; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* The page slides away and shrinks while the drawer is open */
.page-curtain { transition: transform .65s cubic-bezier(.18,1.24,.32,1); }
body.is-pushed-spring .page-curtain { transform: translateX(-16%) scale(.96); }

@media (prefers-reduced-motion: reduce) {
  .drawer { transition-duration: .01s; }
  .drawer .nav-pill, .drawer .btn, .drawer .socials { opacity: 1; transform: none; transition: none; }
  .drawmark path { fill-opacity: 1; stroke-opacity: 0; animation: none !important; }
  body.is-pushed-spring .page-curtain { transform: none; }
}

/* ============================================================
   HERO — LOCKED (concept B, Cinematic). Do not restyle.
   ============================================================ */
.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-media video,
.hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media .hero-fallback img { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 600ms ease; }
.hero-media video.is-playing { opacity: 1; }

.video-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform var(--spring-snap), box-shadow var(--dur-med) var(--ease-out);
}
.video-toggle:hover { transform: scale(1.08); box-shadow: var(--shadow-card); }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .icon-play { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

.hero-b { position: relative; }
.hero-b .hero-media {
  height: min(88svh, 820px);
  min-height: 560px;
}
.hero-b__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(23,38,58,.62) 0%, rgba(23,38,58,.28) 44%, rgba(23,38,58,0) 72%),
    linear-gradient(180deg, rgba(23,38,58,.38) 0%, rgba(23,38,58,.10) 34%, rgba(23,38,58,.30) 62%, rgba(23,38,58,.86) 100%);
}
.hero-b__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  padding-bottom: clamp(72px, 10vh, 120px);
}
.hero-b__content h1 { color: var(--white); max-width: 24ch; margin-bottom: 16px; }
.hero-b__content .lead { color: rgba(255,255,255,.85); max-width: 52ch; }
.hero-b__content .btn-row { margin-top: 28px; }
.hero-b .booking-wrap { margin-top: -44px; }

/* Typewriter tail — rotating phrases on the same line as "worth the" */
.tw-row { white-space: nowrap; }
.tw-line { display: inline; white-space: nowrap; }
.tw-text .tw-char {
  display: inline-block;
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-repeat: no-repeat;
  animation: twIn 240ms var(--ease-reveal) both;
  white-space: pre;
  /* extend the paint box below the baseline so descenders (g, p, y)
     aren't clipped by the tight h1 line-height */
  padding-bottom: .18em;
  margin-bottom: -.18em;
}
@keyframes twIn {
  from { opacity: 0; transform: translateY(14px) rotateY(80deg); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.tw-caret {
  display: none;
  width: 4px;
  height: .82em;
  margin-left: 7px;
  border-radius: 2px;
  background: var(--orange-grad);
  vertical-align: -.06em;
  animation: caretBlink .9s steps(1) infinite;
}
.tw-caret.is-on { display: inline-block; }
@keyframes caretBlink { 50% { opacity: 0; } }
.tw-measure {
  position: absolute;
  visibility: hidden;
  white-space: pre;
  pointer-events: none;
}

/* ---------- Booking bar (part of locked hero) ---------- */
.booking-wrap { position: relative; z-index: 6; }
.booking-bar {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr .9fr auto;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float);
  padding: 8px 16px 8px 8px;   /* breathing room right of the Search button */
  max-width: 1000px;           /* slimmer than the full container */
  margin-inline: auto;
}
.booking-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 22px;
  border-right: 1px solid var(--line-soft);
  min-width: 0;
}
.booking-field:nth-of-type(4) { border-right: 0; }
.booking-field input[type="date"] { min-width: 0; }
.booking-field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }
.booking-field label { font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--mute); }
.booking-field select,
.booking-field input {
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 0;
  width: 100%;
}
.booking-field select:focus, .booking-field input:focus { outline: none; }
.booking-bar .btn { align-self: center; margin-left: 8px; }
/* no hover lift on Search homes (per Gus) — sheen sweep + glow stay */
.booking-bar .btn:hover, .booking-bar .btn:active { transform: none; }

/* ============================================================
   Latest homes — infinite auto-advancing rail
   ============================================================ */
.homes-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-left: max(clamp(20px, 4vw, 32px), calc((100vw - var(--container-max)) / 2 + 32px));
  padding-right: 24px;
  /* generous bottom padding so card shadows fade out instead of
     being cut into a hard line by the scroller's overflow clip */
  padding-block: 6px 56px;
  margin-bottom: -40px;
}
.homes-scroller::-webkit-scrollbar { display: none; }
.homes-scroller.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.homes-scroller.is-dragging .home-card { pointer-events: none; }

.homes-rail {
  display: flex;
  gap: 20px;
  width: max-content;
  transform: translateZ(0); /* composite the rail — scroll moves a layer instead of repainting */
}
.home-card {
  width: clamp(260px, 26vw, 330px);
  flex: none;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  /* perf: 2 shadow layers instead of 3 — 21 cards repaint much cheaper */
  box-shadow: 0 1px 2px rgba(26,29,36,.06), 0 12px 26px rgba(26,29,36,.09);
  overflow: hidden;
  user-select: none;
  -webkit-user-drag: none;
  contain: layout paint; /* isolate card layout/paint from the rest of the page */
  transition: transform var(--spring-med), box-shadow var(--dur-slow) var(--ease-out);
}
.home-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(26,29,36,.08), 0 22px 44px rgba(26,29,36,.13); }
.home-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.home-card__media { aspect-ratio: 16 / 11; overflow: hidden; }
.home-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); pointer-events: none; }
.home-card:hover .home-card__media img { transform: scale(1.04); }
.home-card__body { padding: 18px 20px 20px; }
.home-card__body .chip { margin-bottom: 10px; }
.home-card__body h3 { font-size: 19px; margin-bottom: 12px; }

.rail-hint {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Home detail modal (Aceternity-style expandable card) ---------- */
.home-modal { position: fixed; inset: 0; z-index: 100; }
.home-modal[hidden] { display: none; }
.home-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(23,38,58,.46);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}
.home-modal.is-open .home-modal__scrim { opacity: 1; }
.home-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(880px, calc(100vw - 32px));
  max-height: min(86svh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  transform-origin: top left;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.home-modal.is-open .home-modal__panel { transition: transform var(--spring-pop); }
.home-modal__media { min-height: 320px; }
.home-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.home-modal__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.home-modal__body h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 0; }
.home-modal__body p { margin: 0; font-size: 15px; }
.home-modal__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 6px 10px; }
.home-modal__facts .chip { background: var(--orange-tint); color: var(--orange-deep); }
.home-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  transition: transform var(--spring-snap);
}
.home-modal__close:hover { transform: scale(1.08); }
.home-modal__body .btn-row { margin-top: 6px; }
.home-modal__body > * { opacity: 0; transform: translateY(8px); }
.home-modal.is-open .home-modal__body > * {
  opacity: 1;
  transform: none;
  transition: opacity 400ms var(--ease-reveal), transform 400ms var(--ease-reveal);
  transition-delay: calc(120ms + var(--i, 0) * 45ms);
}

/* ============================================================
   Manifesto — scroll-lit statement over a gradient-line shader
   ============================================================ */
.manifesto {
  position: relative;
  z-index: 2; /* the shader canvas bleeds over the top of the stay section */
  padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 104px);
  /* flat mist — matches the sections above and below, so the beam's
     dissolves blend into a continuous background */
  background: var(--mist);
}
.manifesto__shader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* extends past the section so the beam trails subtly into the
     blueprint section below before it fully dissolves */
  height: calc(100% + 240px);
  pointer-events: none;
}
.manifesto .container { position: relative; }
.manifesto__text {
  font-size: clamp(26px, 3.7vw, 46px);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.28;
  color: var(--ink);
  max-width: 26ch;
  margin: 0;
  text-wrap: pretty;
}
.manifesto__text em { font-style: normal; }
.manifesto__text .mw { opacity: .14; transition: opacity 320ms linear; }
.manifesto__text .mw.is-lit { opacity: 1; }
.manifesto__text .mw--em {
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   The Stay — pinned morphing journey (one step visible at a time)
   ============================================================ */
.stay { height: 330vh; position: relative; }
.stay-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
/* inside the flex pin, auto margins would shrink-to-fit the container */
.stay-pin > .container { width: 100%; }

/* --- backgrounds: LOCKED to Blueprint (stay--bg-b) per Gus 2026-07-11.
       bg-a (Dusk wash) and bg-c (Navy) kept below as reference options. --- */
.stay-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stay--bg-a .stay-pin {
  /* starts on mist so the manifesto beam fades into a seamless background */
  background: linear-gradient(180deg, var(--mist) 0%, var(--sky) 58%, var(--mist) 100%);
}
.stay--bg-a .stay-pin::before {
  background:
    radial-gradient(640px 420px at 86% 8%, rgba(244,136,71,.12), transparent 70%),
    radial-gradient(1.4px 1.4px at center, rgba(26,29,36,.14) 99%, transparent) 0 0 / 30px 30px;
}
.stay--bg-b .stay-pin { background: var(--mist); }
.stay--bg-b .stay-pin::before {
  background:
    radial-gradient(560px 380px at 8% 100%, rgba(244,136,71,.09), transparent 70%),
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px) 0 0 / 44px 44px;
  /* grid draws in gradually from the top — softens the seam under the beam */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
.stay--bg-c .stay-pin { background: var(--navy); }
.stay--bg-c .stay-pin::before {
  background: radial-gradient(700px 460px at 84% 0%, rgba(244,136,71,.16), transparent 70%);
}
.stay--bg-c .stay-head h2, .stay--bg-c .stay-panel h3 { color: var(--white); }
.stay--bg-c .stay-head .eyebrow { color: var(--orange-soft); }
.stay--bg-c .stay-panel p { color: var(--sky-deep); }
.stay--bg-c .stay-panel__chips .chip { background: var(--navy-raised); color: var(--orange-soft); }
.stay--bg-c .stay-progress span { background: var(--navy-line); }
.stay--bg-c .stay-progress span.is-active { background: var(--orange); }

.stay-head { margin-bottom: clamp(8px, 1.2vh, 14px); position: relative; }

/* giant faint step numeral behind the stage — pairs with the scroll steps */
.stay-numbg {
  position: absolute;
  left: clamp(-30px, -2vw, -10px);
  bottom: 2vh;
  pointer-events: none;
  z-index: 0;
}
.stay-numbg span {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: clamp(200px, 34vmin, 380px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  color: rgba(26, 29, 36, .025);
  -webkit-text-stroke: 2px rgba(26, 29, 36, .07);
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 550ms var(--ease-reveal), transform 650ms var(--ease-reveal);
  white-space: nowrap;
}
.stay-numbg span.is-active { opacity: 1; transform: none; }
.stay--bg-c .stay-numbg span { color: rgba(255,255,255,.02); -webkit-text-stroke: 2px rgba(255,255,255,.09); }

/* cursor highlight on the pattern backgrounds (Aceternity dot/grid hover) */
.stay-pin::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 350ms var(--ease-out);
  -webkit-mask-image: radial-gradient(200px circle at var(--hx, -400px) var(--hy, -400px), #000 0%, transparent 72%);
  mask-image: radial-gradient(200px circle at var(--hx, -400px) var(--hy, -400px), #000 0%, transparent 72%);
}
.stay-pin.is-hovered::after { opacity: 1; }
.stay--bg-a .stay-pin::after {
  background: radial-gradient(1.8px 1.8px at center, rgba(244,136,71,.6) 99%, transparent) 0 0 / 30px 30px;
}
.stay--bg-b .stay-pin::after {
  background:
    linear-gradient(to right, rgba(244,136,71,.4) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(to bottom, rgba(244,136,71,.4) 1px, transparent 1px) 0 0 / 44px 44px;
}
.stay-head h2 { margin-bottom: 0; }
.stay-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  position: relative; /* above the background layer */
}
.stay-progress { display: flex; gap: 8px; margin-bottom: 26px; }
.stay-progress span {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--slate-mist);
  transition: background-color var(--dur-med) var(--ease-out);
}
.stay-progress span.is-active { background: var(--orange); }

.stay-panels { position: relative; min-height: 330px; }
.stay-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.stay-panel.is-active { opacity: 1; pointer-events: auto; }
.stay-panel__img { display: none; }
.stay-panel__num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.stay-panel h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin-bottom: 14px; }
.stay-panel p { font-size: 16.5px; margin: 0 0 18px; max-width: 46ch; }
.stay-panel__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.stay-panel__chips .chip { background: var(--orange-tint); color: var(--orange-deep); }

/* word-by-word text transform on step change */
.stay-panel h3 .sw {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
}
.stay-panel.is-active h3 .sw {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity 450ms var(--ease-reveal), transform 450ms var(--ease-reveal), filter 450ms var(--ease-reveal);
  transition-delay: calc(60ms + var(--wi, 0) * 40ms);
}
.stay-panel__num, .stay-panel p, .stay-panel__chips { opacity: 0; transform: translateY(10px); }
.stay-panel.is-active .stay-panel__num,
.stay-panel.is-active p,
.stay-panel.is-active .stay-panel__chips {
  opacity: 1;
  transform: none;
  transition: opacity 420ms var(--ease-reveal), transform 420ms var(--ease-reveal);
}
.stay-panel.is-active p { transition-delay: 200ms; }
.stay-panel.is-active .stay-panel__chips { transition-delay: 300ms; }

.stay-visual__frame {
  position: relative;
  height: min(81vh, 780px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  background: var(--sky);
}
.stay-visual__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 600ms var(--ease-reveal), transform 900ms var(--ease-reveal);
}
.stay-visual__frame img.is-active { opacity: 1; transform: scale(1); }
/* hover reveal — additional per-step detail fades up over a scrim (v1) */
.stay-visual__more {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 72px 28px 26px;
  background: linear-gradient(180deg, rgba(23,38,58,0) 0%, rgba(23,38,58,.82) 68%);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 520ms var(--ease-out);
  pointer-events: none;
}
.stay-visual__frame:hover .stay-visual__more { opacity: 1; transform: none; }
.stay-visual__more-tag {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 8px;
}
.stay-more-item { display: none; }
.stay-more-item.is-active { display: block; }
.stay-more-item p {
  margin: 0;
  color: rgba(255,255,255,.94);
  font-size: 15px;
  line-height: 1.55;
  max-width: 52ch;
}
/* the proof: a real verified guest quote per step, fading in a beat later */
.stay-more-quote {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  max-width: 52ch;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms var(--ease-out) 140ms, transform 460ms var(--ease-out) 140ms;
}
.stay-visual__frame:hover .stay-more-quote { opacity: 1; transform: none; }
.stay-more-attr {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #93E3B4;
}
.stay-more-attr svg { width: 11px; height: 11px; flex: none; }

/* ============================================================
   The ARK Standard — image cards (bg still → motion on hover)
   ============================================================ */
/* mist like the stay section above — the blueprint grid carries over the
   seam and dissolves, so the two sections read as one continuous surface */
.bento-sec { background: var(--mist); position: relative; padding-top: clamp(72px, 9vw, 110px); }
.bento-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 46%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 46%);
}
.bento-sec .container { position: relative; }
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 225px;
  gap: 20px;
}
.std-card {
  position: relative;
  grid-column: span 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  transition: transform var(--spring-med), box-shadow var(--dur-slow) var(--ease-out);
}
.std-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.std-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.std-card:nth-child(2), .std-card:nth-child(3) { grid-column: span 5; }
.std-card--hero { grid-column: span 7; grid-row: span 2; }
.std-card__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}
.std-card.is-playing .std-card__vid { opacity: 1; }
.std-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,38,58,.10) 30%, rgba(23,38,58,.84) 100%);
  transition: opacity 500ms ease;
}
.std-card::after { /* extra darkening on hover, like the Aceternity card */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(23,38,58,.38);
  opacity: 0;
  transition: opacity 500ms ease;
}
.std-card:hover::after { opacity: 1; }
.std-card__copy { position: relative; z-index: 2; }
.std-card__copy h3 { color: var(--white); font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.std-card__copy p { color: rgba(236,238,248,.88); font-size: 14px; margin: 0; max-width: 46ch; }
.std-card--hero .std-card__copy h3 { font-size: clamp(22px, 2.2vw, 28px); }
.std-card--hero .std-card__copy p { font-size: 15px; }

/* ============================================================
   Guest notes — real reviews, dual infinite marquee
   ============================================================ */
.reviews-sec {
  /* inset navy panel floating on the mist — crisp intentional card edges
     instead of a section transition (same language as the FAQ panel) */
  background: var(--navy);
  position: relative;
  overflow: hidden;
  border-radius: clamp(28px, 4vw, 52px);
  margin-inline: clamp(12px, 2.5vw, 36px);
  padding-block: clamp(64px, 9vw, 112px);
}
.reviews-sec::before {
  content: '';
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,136,71,.20), transparent 70%);
  pointer-events: none;
}
.reviews-sec h2 { margin-bottom: 0; }
.reviews-sub { color: var(--sky-deep); margin: 12px 0 0; }
.mq { display: flex; flex-direction: column; gap: 18px; margin-top: clamp(36px, 5vw, 56px); position: relative; }
.mq-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: mqScroll 55s linear infinite;
}
.mq-row--reverse .mq-track { animation-direction: reverse; animation-duration: 63s; }
.mq-row:hover .mq-track { animation-play-state: paused; }
@keyframes mqScroll { to { transform: translateX(calc(-50% - 9px)); } }
.mq-card {
  width: min(440px, 80vw);
  flex: none;
  margin: 0;
  background: var(--navy-raised);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 20px 24px 22px;
}
.mq-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mq-stars { color: var(--orange-soft); font-size: 14px; letter-spacing: 5px; }
.mq-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #93E3B4;
  background: rgba(61, 138, 92, .18);
  border: 1px solid rgba(147, 227, 180, .32);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}
.mq-badge svg { width: 10px; height: 10px; }
.mq-card blockquote {
  margin: 12px 0 14px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -.01em;
}
.mq-card figcaption {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--sky-deep);
}
.reviews-sec .sample-note { margin-top: 26px; }

/* ============================================================
   Owners
   ============================================================ */
.owners-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.owner-list { list-style: none; margin: 24px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.owner-list li { display: flex; gap: 16px; align-items: flex-start; }
.owner-list__icon {
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-deep);
}
.owner-list__icon svg { width: 14px; height: 14px; }
.owner-list b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.owner-list p { font-size: 14.5px; margin: 3px 0 0; }
.owners-grid .btn-row { margin-top: 26px; }

.owner-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}
.owner-card::after {
  content: '';
  position: absolute;
  left: -130px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,136,71,.20), transparent 70%);
  pointer-events: none;
}
.owner-card__title {
  color: #fff;
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.22;
  margin: 6px 0 20px;
}
/* Owner-portal statement preview — the "performance" proof is the product view, not a vanity number */
.ostat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px 18px 14px;
  position: relative;
}
.ostat__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ostat__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-deep); }
.ostat__live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #93E3B4; }
.ostat__live i { width: 7px; height: 7px; border-radius: 50%; background: #93E3B4; animation: ostatPulse 2.4s ease-out infinite; }
@keyframes ostatPulse {
  0% { box-shadow: 0 0 0 0 rgba(147,227,180,.45); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(147,227,180,0); }
}
.ostat__chart { display: flex; align-items: flex-end; gap: 5px; height: 72px; }
.ostat__chart span {
  flex: 1;
  height: calc(var(--h) * 1%);
  min-height: 4px;
  border-radius: 3px 3px 1px 1px;
  background: rgba(255,255,255,.16);
  transform-origin: bottom;
  transition: transform .8s var(--ease-out) calc(var(--i) * 45ms);
}
.ostat__chart span.is-hot { background: linear-gradient(180deg, #FFAD73, #F48847); }
.owner-card.m-init:not(.m-in) .ostat__chart span { transform: scaleY(0); }
.ostat__months { display: flex; gap: 5px; margin-top: 6px; }
.ostat__months span { flex: 1; text-align: center; font-size: 9px; font-weight: 600; letter-spacing: .04em; color: var(--sky-deep); opacity: .55; }
.ostat__months span.is-hot { color: #FFAD73; opacity: 1; }
.ostat__rows { list-style: none; margin: 14px 0 0; padding: 0; }
.ostat__rows li { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: 13.5px; color: var(--sky-deep); }
.ostat__rows b { color: #fff; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.ostat__payout { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.09); font-size: 12.5px; font-weight: 600; color: #93E3B4; }
.ostat__payout svg { width: 13px; height: 13px; flex: none; }
.owner-card__cap2 { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--sky-deep); opacity: .85; }

/* ============================================================
   FAQ
   ============================================================ */
/* rounded inset panel + soft background orbs (simple-faqs-with-background treatment) */
.faq-sec {
  background: var(--sky);
  position: relative;
  overflow: clip;
  border-radius: clamp(28px, 4vw, 52px);
  margin-inline: clamp(10px, 1.6vw, 24px);
}
.faq-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 400px at 92% 4%, rgba(244,136,71,.13), transparent 70%),
    radial-gradient(520px 420px at 4% 100%, rgba(201,208,228,.5), transparent 70%);
}
.faq-sec > .container { position: relative; }
/* answer text reveal — words blur in one after another when an item opens */
.faq-a p .fw {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(5px);
}
.faq-item.is-open .faq-a p .fw {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity 380ms var(--ease-reveal), transform 380ms var(--ease-reveal), filter 380ms var(--ease-reveal);
  transition-delay: calc(120ms + var(--wi, 0) * 16ms);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.faq-intro { position: sticky; top: 96px; }
.faq-intro .btn { margin-top: 22px; }
.faq-switch {
  display: inline-flex;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-top: 10px;
}
.faq-switch button {
  border: 0;
  background: transparent;
  color: var(--slate);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.faq-switch button:hover { color: var(--ink); }
.faq-switch button.is-active { background: var(--orange-grad); color: var(--white); box-shadow: var(--shadow-glow); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 4px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq-q:hover { color: var(--orange-deep); }
.faq-x {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform var(--spring-snap), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.faq-x::before, .faq-x::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--slate);
  translate: -50% -50%;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.faq-x::after { rotate: 90deg; }
.faq-item.is-open .faq-x { transform: rotate(135deg); background: var(--orange-grad); border-color: transparent; }
.faq-item.is-open .faq-x::before, .faq-item.is-open .faq-x::after { background: var(--white); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease-reveal);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; min-height: 0; }
.faq-a p { font-size: 15px; margin: 0; padding: 0 4px 20px; max-width: 58ch; }

/* ============================================================
   Journal — focus cards (hover one, the rest defocus)
   ============================================================ */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fcard {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: filter 350ms var(--ease-out), transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out);
}
.fcard__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fcard::before { /* base legibility scrim */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,38,58,.08) 35%, rgba(23,38,58,.86) 100%);
  transition: opacity 300ms ease;
}
.fcard::after { /* deepens on hover */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(23,38,58,.42);
  opacity: 0;
  transition: opacity 300ms ease;
}
.fcard:hover::after { opacity: 1; }
/* the focus effect: hovering one card blurs + shrinks the others */
.focus-grid:has(.fcard:hover) .fcard:not(:hover) {
  filter: blur(5px) saturate(.8);
  transform: scale(.975);
}
.fcard__meta { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fcard__meta time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 8px rgba(23,38,58,.6);
}
.fcard__body { position: relative; z-index: 2; }
.fcard__body h3 {
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 0;
  text-wrap: balance;
}
.fcard__excerpt {
  color: rgba(236,238,248,.9);
  font-size: 14px;
  margin: 10px 0 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: max-height 400ms var(--ease-reveal), opacity 300ms ease, transform 400ms var(--ease-reveal);
}
.fcard .arrow-link {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease 60ms, transform 400ms var(--ease-reveal) 60ms;
}
.fcard:hover .fcard__excerpt { max-height: 120px; opacity: 1; transform: none; }
.fcard:hover .arrow-link { opacity: 1; transform: none; }

/* ============================================================
   Closer — wavy background + cursor-gradient headline
   ============================================================ */
.closer {
  text-align: center;
  padding-block: clamp(96px, 13vw, 160px);
  position: relative;
  overflow: clip;
  border-radius: 0 0 var(--curtain-r) var(--curtain-r);
}
.closer__waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.closer__content { position: relative; z-index: 1; }
.closer h2, .closer p { margin-inline: auto; }
.closer .btn-row { justify-content: center; margin-top: 30px; }
.closer__title {
  position: relative;
  font-size: clamp(34px, 5vw, 62px);
  max-width: 17ch;
  cursor: default;
}
.closer__grad {
  position: absolute;
  inset: 0;
  background: var(--orange-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms var(--ease-out);
  -webkit-mask-image: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), #000 25%, transparent 72%);
  mask-image: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), #000 25%, transparent 72%);
}
.closer__title.is-lit .closer__grad { opacity: 1; }
@media (hover: none) { .closer__grad { display: none; } }

/* ============================================================
   Footer — navy, revealed behind the curtain
   ============================================================ */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: var(--white);
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0 32px;
}
.footer--static { position: static; }
.footer__inner { position: relative; will-change: transform; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-bottom: 48px; }
.footer__logo-row { display: flex; align-items: center; margin-bottom: 16px; }
/* ARK Sheen Sweep — wordmark only; the highlight layer is masked by the logo SVG so the shine exists only inside the glyphs (5.6s loop, from the Lottie timing) */
.wordmark-sheen { position: relative; display: inline-block; }
.wordmark-sheen img { height: 30px; display: block; }
.wordmark-sheen::after {
  content: "";
  position: absolute; inset: 0;
  -webkit-mask-image: url(../assets/img/logo.svg);
  mask-image: url(../assets/img/logo.svg);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(105deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.9) 50%, rgba(255,255,255,0) 58%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  animation: wmSheenPass 5.6s linear infinite;
  pointer-events: none;
}
@keyframes wmSheenPass {
  0%, 22% { background-position: 115% 0; }
  50%, 100% { background-position: -15% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wordmark-sheen::after { animation: none; opacity: 0; }
}
.footer__brand p { font-size: 14px; max-width: 34ch; color: var(--slate); }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14.5px; font-weight: 600; color: var(--slate); transition: color var(--dur-fast) var(--ease-out); }
.footer ul a:hover { color: var(--orange-deep); }
.footer__base { border-top: 1px solid var(--line-soft); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__base small { color: var(--mute); font-size: 13px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--slate);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--spring-snap);
}
.socials a:hover { color: var(--orange-deep); border-color: var(--orange-deep); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ============================================================
   Reveal system (data-m) — initial states applied by JS only
   ============================================================ */
.m-init { opacity: 0; transform: translateY(16px); }
.m-in {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease-reveal), transform 600ms var(--ease-reveal);
  transition-delay: var(--m-delay, 0ms);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .home-modal__panel { grid-template-columns: 1fr; max-height: 88svh; }
  .home-modal__media { min-height: 220px; max-height: 300px; overflow: hidden; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* stay: no pin — stacked steps with inline images */
  .stay { height: auto; }
  .stay-pin { position: static; height: auto; overflow: visible; padding-block: clamp(56px, 8vw, 80px) 24px; }
  .stay-pin::before, .stay-pin::after { display: none; }
  .stay-numbg { display: none; }
  .stay-visual__more { display: none; }
  .stay--bg-a .stay-pin, .stay--bg-b .stay-pin { background: var(--mist); }
  .stay--bg-c .stay-pin { background: var(--navy); }
  .stay-stage { display: block; }
  .stay-visual, .stay-progress { display: none; }
  .stay-panels { min-height: 0; }
  .stay-panel { position: static; opacity: 1; pointer-events: auto; margin-bottom: 44px; }
  .stay-panel h3 .sw,
  .stay-panel .stay-panel__num, .stay-panel p, .stay-panel .stay-panel__chips {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .stay-panel__img {
    display: block;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 18px;
    box-shadow: var(--shadow-card);
  }

  .bento { grid-auto-rows: 210px; }
  .std-card, .std-card:nth-child(2), .std-card:nth-child(3) { grid-column: span 6; }
  .std-card--hero { grid-column: span 12; grid-row: span 2; }

  .owners-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .focus-grid { grid-template-columns: 1fr; }
  .fcard { height: 340px; }
}

@media (max-width: 720px) {
  .topbar__inner { gap: 8px; padding-block: 10px; }
  .brand img { width: min(132px, 34vw); height: auto; }
  .topbar__cta { display: none; } /* portal buttons live in the drawer only on phones */
  .nav-toggle { padding: 8px 6px; }
  .video-toggle { bottom: 64px; } /* clear the booking bar's 44px overlap into the hero */
  .booking-bar { grid-template-columns: 1fr; border-radius: var(--radius-xl); padding: 12px; }
  .booking-field { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 12px 14px; }
  .booking-field:nth-of-type(4) { border-bottom: 0; }
  .booking-bar .btn { margin: 8px 6px 2px; width: calc(100% - 12px); }
  .hero-b .hero-media { min-height: 480px; height: 76svh; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* typewriter: let the phrase drop to its own line; reserve the height */
  .tw-row { white-space: normal; }
  .hero-b__content h1 { min-height: 3.3em; }

  .std-card, .std-card:nth-child(2), .std-card:nth-child(3), .std-card--hero { grid-column: span 12; }
  .bento { grid-auto-rows: 200px; }
  .mq-card { width: 84vw; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .m-init { opacity: 1; transform: none; }
  .hero-media video { opacity: 1; }
  .home-modal__body > * { opacity: 1; transform: none; }
  .tw-caret { display: none !important; }
  .manifesto__text .mw { opacity: 1; }
  .manifesto__shader, .closer__waves { display: none; }
  /* stay: show everything statically */
  .stay { height: auto; }
  .stay-pin { position: static; height: auto; padding-block: 56px 24px; }
  .stay-stage { display: block; }
  .stay-visual, .stay-progress { display: none; }
  .stay-panels { min-height: 0; }
  .stay-panel { position: static; opacity: 1; pointer-events: auto; margin-bottom: 44px; }
  .stay-panel h3 .sw,
  .stay-panel .stay-panel__num, .stay-panel p, .stay-panel .stay-panel__chips { opacity: 1; transform: none; filter: none; }
  .stay-panel__img { display: block; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 18px; }
  .std-card__vid { display: none; }
  .mq-row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .fcard__excerpt, .fcard .arrow-link { max-height: none; opacity: 1; transform: none; }
  .closer__grad { display: none; }
  .faq-a p .fw { opacity: 1; transform: none; filter: none; }
  .stay-numbg { display: none; }
  .stay-pin::after { display: none; }
}
