/* =========================================================
   ORIA HOMES — global fractional vacation homes
   Palette derived from brand logo assets
   ========================================================= */

:root {
  /* Brand palette */
  --ink: #213e4d;        /* deep navy-teal — primary dark */
  --ink-2: #1b333f;      /* deeper */
  --sea: #4e7b91;        /* sea teal — secondary */
  --sea-soft: #6f93a5;   /* lighter teal */
  --terra: #da5f41;      /* terracotta — accent / CTA */
  --terra-deep: #ba3d19; /* the mark's dark orange stop, used for hover */
  --sand: #f3eee1;       /* warm cream */
  --paper: #f8f7f3;      /* off-white */
  --paper-2: #efece4;

  --text: #213e4d;
  --text-soft: #4a5a63;
  --line: rgba(33, 62, 77, 0.14);

  /* Type */
  --display: "Bricolage Grotesque", "Montserrat", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 1.25rem;
}
.eyebrow--light { color: var(--terra); }

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.section-title--light { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn--accent {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(218, 95, 65, 0.9);
}
.btn--accent:hover {
  background: var(--terra-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(218, 95, 65, 0.95);
}
.btn:focus-visible {
  outline: 3px solid var(--sea-soft);
  outline-offset: 3px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    padding 0.35s var(--ease);
  padding: 0.9rem 0;
}
.nav__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__logo { flex: 0 0 auto; line-height: 0; }
.nav__logo-img { height: 26px; width: auto; transition: height 0.35s var(--ease); }
/* Scrolled / menu-open: swap to the full stacked mark (set via JS) */
.nav--solid .nav__logo-img,
.nav--open .nav__logo-img { height: 40px; }

.nav__links {
  margin-left: auto;
  display: flex;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.5rem; padding: 0.65rem 1.2rem; font-size: 0.88rem; }
.nav__cta--mobile { display: none; }

/* Scrolled state — solid */
.nav--solid {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(33, 62, 77, 0.4);
  padding: 0.6rem 0;
}
.nav--solid .nav__logo-img { filter: none; }
.nav--solid .nav__links a { color: var(--ink); }

.nav__toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.nav__toggle span {
  position: absolute;
  left: 7px;
  width: 26px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 13px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 25px; }
.nav--solid .nav__toggle span { background: var(--ink); }
.nav--open .nav__toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--gutter) 6rem;
  overflow: hidden;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  position: absolute;
  inset: -4% -4% -4% -4%;
  background-image: url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: kenburns 26s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.16) translate(-1.5%, -2%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(27, 51, 63, 0.55) 0%,
      rgba(27, 51, 63, 0.3) 40%,
      rgba(27, 51, 63, 0.75) 100%
    ),
    linear-gradient(90deg, rgba(27, 51, 63, 0.6) 0%, rgba(27, 51, 63, 0) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 13vw, 10.5rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  margin: 0 0 1.75rem;
  text-shadow: 0 6px 44px rgba(0, 0, 0, 0.28);
}
.hero__title span {
  display: block;
  opacity: 0;
  transform: translateY(0.28em);
  animation: heroIn 0.9s var(--ease) forwards;
}
.hero__title span:nth-child(1) { animation-delay: 0.05s; }
.hero__title span:nth-child(2) { animation-delay: 0.18s; }
.hero__title-break { display: none; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}
.hero__lede {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 440px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 2rem;
  opacity: 0;
  animation: heroIn 0.9s var(--ease) 0.32s forwards;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  background: var(--terra);
  color: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 1.05rem 2.4rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(218, 95, 65, 0.9);
  opacity: 0;
  animation: heroIn 0.9s var(--ease) 0.42s forwards;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.hero__cta:hover { background: var(--terra-deep); transform: translateY(-2px); }
.hero__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hero__bar {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 1.6rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.hero__triad { margin: 0; }

/* ---------- Waitlist form ---------- */
.waitform { position: relative; }
.waitform--hero,
.waitform--cta {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  flex-wrap: wrap;
}
.waitform__input {
  flex: 1 1 240px;
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.waitform__input::placeholder { color: rgba(255, 255, 255, 0.7); }
.waitform__input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.22);
}
.waitform__btn { flex: 0 0 auto; }
.waitform__msg {
  flex-basis: 100%;
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: #fff;
}
.waitform__msg.is-error { color: #ffd9cd; font-weight: 500; }
.waitform__input[aria-invalid="true"] {
  border-color: #ffb39e;
  background: rgba(218, 95, 65, 0.18);
}
.waitform__btn:disabled { cursor: progress; opacity: 0.85; transform: none; }
.waitform__btn.is-loading::before {
  content: "";
  width: 0.95em; height: 0.95em;
  margin-right: 0.6rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.waitform.is-done .waitform__input,
.waitform.is-done .waitform__btn { display: none; }

/* =========================================================
   THE DREAM
   ========================================================= */
.dream {
  background: var(--sand);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.dream__inner { max-width: 940px; margin: 0 auto; text-align: center; }
.dream__statement {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 1.75rem;
  color: var(--ink);
}
.dream__statement em { font-style: italic; color: var(--terra); }
.dream__body {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
}
.how__head { max-width: var(--maxw); margin: 0 auto 3.5rem; }
.how__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

/* ---------- Eight-share globe, built from the mark's palette ---------- */
.how__diagram { text-align: center; }
.globe {
  width: min(340px, 78%);
  height: auto;
  margin: 0 auto;
  overflow: visible;
}
/* the whole sphere breathes, once it has assembled */
.how__diagram.is-visible .globe {
  animation: globeFloat 9s ease-in-out 2.8s infinite;
}
@keyframes globeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(-1.1deg); }
}

.globe__atmos {
  transform-box: view-box;
  transform-origin: 130px 130px;
  transform: scale(0.8);
  opacity: 0;
}
.how__diagram.is-visible .globe__atmos {
  animation: globeBloom 1.1s var(--ease) 0.25s forwards,
             globeBreathe 6s ease-in-out 2.7s infinite;
}
@keyframes globeBreathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.globe__body {
  transform-box: view-box;
  transform-origin: 130px 130px;
  transform: scale(0.25);
  opacity: 0;
}
.how__diagram.is-visible .globe__body { animation: globeBloom 0.7s var(--ease) 0.25s forwards; }

/* volume and highlight only fade — scaling them reads as a second, smaller ball */
.globe__shade,
.globe__sheen { opacity: 0; }
.how__diagram.is-visible .globe__shade { animation: globeFade 0.7s var(--ease) 0.75s forwards; }
.how__diagram.is-visible .globe__sheen { animation: globeFade 0.9s var(--ease) 0.9s forwards; }
@keyframes globeBloom { to { opacity: 1; transform: scale(1); } }

/* continents — a lightening wash, so they read over sea and share alike */
.globe__land path {
  fill: rgba(226, 238, 244, 0.2);
  stroke: rgba(226, 238, 244, 0.4);
  stroke-width: 0.8;
  stroke-linejoin: round;
  opacity: 0;
}
.how__diagram.is-visible .globe__land path {
  animation: globeFade 1s var(--ease) 0.85s forwards;
}

/* far side of the wireframe, seen through the sphere */
.globe__grid--far * {
  fill: none;
  stroke: rgba(111, 147, 165, 0.24);
  stroke-width: 0.9;
  opacity: 0;
}
.how__diagram.is-visible .globe__grid--far * {
  animation: globeFade 0.9s var(--ease) 0.8s forwards;
}
@keyframes globeFade { to { opacity: 1; } }

/* near side — each line draws itself, poles last */
.globe__grid--near * {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.globe__parallel {
  stroke: rgba(111, 147, 165, 0.5);
  stroke-width: 1;
}
.globe__parallel--equator {
  stroke: rgba(146, 180, 197, 0.72);
  stroke-width: 1.2;
}
.globe__meridian {
  stroke: rgba(111, 147, 165, 0.62);
  stroke-width: 1.1;
}
.how__diagram.is-visible .globe__grid--near * {
  animation: globeTrace 0.9s var(--ease) forwards;
}
@keyframes globeTrace { to { stroke-dashoffset: 0; } }
.how__diagram.is-visible .globe__parallel:nth-child(1) { animation-delay: 1s; }
.how__diagram.is-visible .globe__parallel:nth-child(2) { animation-delay: 1.05s; }
.how__diagram.is-visible .globe__parallel:nth-child(3) { animation-delay: 0.95s; }
.how__diagram.is-visible .globe__parallel:nth-child(4) { animation-delay: 1.05s; }
.how__diagram.is-visible .globe__parallel:nth-child(5) { animation-delay: 1.1s; }
.how__diagram.is-visible .globe__meridian:nth-child(6)  { animation-delay: 1.2s; }
.how__diagram.is-visible .globe__meridian:nth-child(7)  { animation-delay: 1.27s; }
.how__diagram.is-visible .globe__meridian:nth-child(8)  { animation-delay: 1.34s; }
.how__diagram.is-visible .globe__meridian:nth-child(9)  { animation-delay: 1.41s; }
.how__diagram.is-visible .globe__meridian:nth-child(10) { animation-delay: 1.48s; }
.how__diagram.is-visible .globe__meridian:nth-child(11) { animation-delay: 1.55s; }
.how__diagram.is-visible .globe__meridian:nth-child(12) { animation-delay: 1.62s; }
.how__diagram.is-visible .globe__meridian:nth-child(13) { animation-delay: 1.69s; }

.globe__rim {
  fill: none;
  stroke: var(--sea-soft);
  stroke-width: 1.6;
  stroke-dasharray: 629;
  stroke-dashoffset: 629;
}
.how__diagram.is-visible .globe__rim {
  animation: globeDraw 1.2s var(--ease) forwards;
}
@keyframes globeDraw { to { stroke-dashoffset: 0; } }

/* your share — the mark's wedge, swinging open from its own apex */
.globe__share-gore {
  fill: url(#globeShare);
  transform-box: view-box;
  transform-origin: 85.1px 130px;
  transform: rotate(-9deg) scale(0.94);
  opacity: 0;
}
.how__diagram.is-visible .globe__share-gore {
  animation: wedgeOpen 0.8s var(--ease) 1.85s forwards;
}
@keyframes wedgeOpen { to { opacity: 1; transform: none; } }
.globe__share {
  opacity: 0;
  filter: drop-shadow(0 0 0 rgba(203, 78, 39, 0));
}
.how__diagram.is-visible .globe__share {
  animation: globeFade 0.1s linear 1.85s forwards,
             shareGlow 5.5s ease-in-out 2.7s infinite;
}
@keyframes shareGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(203, 78, 39, 0.35)); }
  50%      { filter: drop-shadow(0 0 18px rgba(203, 78, 39, 0.7)); }
}

}

/* stat pair under the globe */
.how__stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.75rem, 5vw, 3.25rem);
  margin-top: 2rem;
}
.how__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  transform: translateY(12px);
}
.how__diagram.is-visible .how__stat {
  animation: statIn 0.7s var(--ease) 2.35s forwards;
}
.how__diagram.is-visible .how__stat:nth-child(2) { animation-delay: 2.5s; }
@keyframes statIn { to { opacity: 1; transform: none; } }
.how__stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--terra);
}
.how__stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 247, 243, 0.62);
}

/* ---------- Steps, on a progress rail ---------- */
.how__steps { list-style: none; margin: 0; padding: 0; }
.how__step {
  position: relative;
  padding: 1.05rem 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.3rem 1.35rem;
  align-items: start;
  opacity: 0;
  transform: translateY(14px);
}
/* connector runs badge-to-badge, so the rail ends on the last step */
.how__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 61px;
  bottom: -6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(218, 95, 65, 0.85), rgba(111, 147, 165, 0.3));
  transform: scaleY(0);
  transform-origin: top;
}
.how__steps.is-visible .how__step:not(:last-child)::after {
  animation: railGrow 0.75s var(--ease) forwards;
}
.how__steps.is-visible .how__step:nth-child(1)::after { animation-delay: 0.35s; }
.how__steps.is-visible .how__step:nth-child(2)::after { animation-delay: 0.52s; }
.how__steps.is-visible .how__step:nth-child(3)::after { animation-delay: 0.69s; }
@keyframes railGrow { to { transform: scaleY(1); } }
.how__steps.is-visible .how__step {
  animation: statIn 0.6s var(--ease) forwards;
}
.how__steps.is-visible .how__step:nth-child(1) { animation-delay: 0.15s; }
.how__steps.is-visible .how__step:nth-child(2) { animation-delay: 0.32s; }
.how__steps.is-visible .how__step:nth-child(3) { animation-delay: 0.49s; }
.how__steps.is-visible .how__step:nth-child(4) { animation-delay: 0.66s; }

.how__num {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--terra);
  background: var(--ink);
  border: 1.5px solid rgba(111, 147, 165, 0.5);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}
.how__step:hover .how__num {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
  transform: scale(1.08);
}
.how__step h3 {
  margin: 0;
  padding-top: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.how__step p { margin: 0.3rem 0 0; color: rgba(248, 247, 243, 0.72); font-size: 0.98rem; }

@media (prefers-reduced-motion: reduce) {
  .globe, .globe__atmos, .globe__body, .globe__shade, .globe__sheen,
  .globe__land path, .globe__grid--far *, .globe__grid--near *, .globe__rim,
  .globe__share, .globe__share-gore,
  .how__stat, .how__step {
    animation: none !important;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
  .how__step:not(:last-child)::after { animation: none !important; transform: scaleY(1); }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(111, 147, 165, 0.25);
  border-bottom: 1px solid rgba(111, 147, 165, 0.25);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-left: 2.5rem;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.marquee__dot { color: var(--terra); font-size: 1.2rem !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* =========================================================
   DESTINATIONS
   ========================================================= */
.dest { background: var(--paper); padding: clamp(5rem, 12vw, 9rem) var(--gutter); }
.dest__head { max-width: var(--maxw); margin: 0 auto 3rem; }
.dest__intro {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--text-soft);
  max-width: 560px;
  margin: 1.25rem 0 0;
}
/* ---------- Homes with photos: city image up top, home shots below ---------- */
.dest__homes {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.home {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(33, 62, 77, 0.6);
}
.home__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-2);
}
.home__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.home__media:hover img { transform: scale(1.05); }
.home__media .card__tag {
  position: absolute; top: 1rem; left: 1rem;
  margin: 0;
  color: #fff;
  background: rgba(27, 51, 63, 0.45);
}
.home__thumbs button:focus-visible {
  outline: 3px solid var(--sea-soft);
  outline-offset: -3px;
}
.home__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.3rem 1.4rem 1.4rem;
}
.home__body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
}
.home__body > p { margin: 0.3rem 0 0; font-size: 0.92rem; color: var(--text-soft); }
.home__body > .home__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.1rem 0.5rem;
  margin: auto 0 0;
  padding-top: 1.1rem;
}
.home__price strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.home__price span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
}
.home__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-top: 1rem;
}
.home__thumbs button {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper-2);
}
.home__thumbs img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}
.home__thumbs button:hover img { transform: scale(1.08); }
.home__more span {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(27, 51, 63, 0.62);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s var(--ease);
}
.home__more:hover span { background: rgba(218, 95, 65, 0.8); }

/* ---------- Coming soon ---------- */
.dest__label {
  max-width: var(--maxw);
  margin: 3.5rem auto 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.dest__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dest__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 1.1rem;
}
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 18px 40px -28px rgba(33, 62, 77, 0.6);
}
.card__media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.7s var(--ease);
}
.card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(27, 51, 63, 0) 15%, rgba(27, 51, 63, 0.55) 50%, rgba(27, 51, 63, 0.94) 100%);
}
.card:hover .card__media { transform: scale(1.06); }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; }
.card__tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  margin-bottom: 0.7rem;
}
.card__tag--soon { background: var(--terra); }
.card__body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
}
.card__body p { margin: 0.3rem 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.card__body .card__price { margin-top: 0.6rem; font-size: 0.8rem; letter-spacing: 0.04em; }
.card__price strong { font-family: var(--display); font-size: 1.15rem; color: #fff; margin-right: 0.2rem; }

/* coming-soon image assignments — the landmark each city is known for */
.card[data-img="kyoto"] .card__media { background-image: url("assets/homes/kyoto/city-01.jpg"); background-position: center 30%; }
.card[data-img="osaka"] .card__media { background-image: url("https://images.unsplash.com/photo-1584505489290-96eb4e406d08?auto=format&fit=crop&w=1200&q=80"); }
.card[data-img="florence"] .card__media { background-image: url("https://images.unsplash.com/photo-1687817997684-c9335cce7c5c?auto=format&fit=crop&w=1200&q=80"); }
.card[data-img="kunming"] .card__media { background-image: url("https://images.unsplash.com/photo-1784534924106-3c89ebfdc215?auto=format&fit=crop&w=1400&q=80"); }

/* ---------- "About this home": tap the photo to reveal the full description ---------- */
.about__toggle {
  position: absolute; inset: 0; z-index: 1;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.about__toggle:focus-visible { outline: 3px solid var(--sea-soft); outline-offset: -3px; }
.about__hint {
  position: absolute; top: 1rem; right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: 600 0.74rem var(--body);
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px -8px rgba(27, 51, 63, 0.5);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.about__hint::before {
  content: "+";
  display: grid; place-items: center;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
}
.about__toggle:hover .about__hint { background: var(--terra); color: #fff; }
.about__toggle:hover .about__hint::before { background: #fff; color: var(--terra); }

.about {
  position: absolute; inset: 0; z-index: 2;
  overflow-y: auto;
  padding: 1.4rem 3.75rem 1.5rem 1.5rem;
  background: rgba(27, 51, 63, 0.94);
  backdrop-filter: blur(6px);
  color: var(--paper);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.about.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.about p { margin: 0; font-size: 0.95rem; line-height: 1.65; color: rgba(248, 247, 243, 0.92); }
.about .about__eyebrow {
  margin-bottom: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f6c2b3;
}
.about__close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.about__close:hover { background: var(--terra); }
.about__close:focus-visible { outline: 3px solid var(--sea-soft); outline-offset: 2px; }
.about__close svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) {
  .about { transform: none; transition: opacity 0.2s linear, visibility 0s linear 0.2s; }
}

/* ---------- Photo gallery dialog ---------- */
.gallery {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: var(--ink-2);
  color: var(--paper);
}
.gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.gallery::backdrop { background: rgba(27, 51, 63, 0.9); }
.gallery__top {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1rem var(--gutter);
}
.gallery__heading { flex: 1; min-width: 0; }
.gallery__heading h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.2;
}
.gallery__heading p { margin: 0.1rem 0 0; font-size: 0.85rem; color: rgba(248, 247, 243, 0.7); }
.gallery__tabs {
  display: flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.gallery__tabs button {
  padding: 0.5rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(248, 247, 243, 0.75);
  font: 600 0.85rem var(--body);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.gallery__tabs button span { opacity: 0.6; font-weight: 500; margin-left: 0.2rem; }
.gallery__tabs button[aria-selected="true"] { background: var(--terra); color: #fff; }
.gallery__close,
.gallery__nav {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.gallery__close:hover, .gallery__nav:hover { background: var(--terra); }
.gallery svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery button:focus-visible { outline: 3px solid var(--sea-soft); outline-offset: 2px; }
.gallery__stage {
  position: relative;
  margin: 0;
  padding: 0 calc(var(--gutter) + 3.5rem);
  display: grid;
  place-items: center;
  min-height: 0;
}
.gallery__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.25s var(--ease);
}
.gallery__stage img.is-loading { opacity: 0.25; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery__nav--prev { left: var(--gutter); }
.gallery__nav--next { right: var(--gutter); }
.gallery__caption {
  position: absolute;
  left: 50%; bottom: 0.75rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(27, 51, 63, 0.75);
  font-size: 0.8rem;
  white-space: nowrap;
}
.gallery__strip {
  display: flex;
  gap: 0.5rem;
  padding: 1rem var(--gutter) 1.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery__strip button {
  flex: 0 0 auto;
  width: 5.5rem; height: 4rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.06);
  transition: opacity 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gallery__strip button:hover { opacity: 0.85; }
.gallery__strip button[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--terra); }
.gallery__strip img { width: 100%; height: 100%; object-fit: cover; }
.gallery__strip button[aria-current="true"] img { padding: 2px; border-radius: 6px; }

.dest__more {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

/* =========================================================
   WHY ORIA
   ========================================================= */
.why {
  background: var(--sea);
  color: var(--paper);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  background-image: linear-gradient(160deg, var(--sea) 0%, var(--ink) 100%);
}
.why__head { max-width: var(--maxw); margin: 0 auto 3rem; }
.why__bento {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.1rem;
}
.why__lead {
  grid-row: span 2;
  background: var(--terra);
  border-radius: var(--radius);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

/* ---------- Animated coverage globe ---------- */
.why__globe-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.why__globe {
  width: 100%;
  max-width: 300px;
  height: auto;
  fill: none;
  stroke-linecap: round;
}
.wg-outline,
.wg-lat,
.wg-meridian {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.4;
}
.wg-outline {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.8;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.why__lead.is-visible .wg-outline {
  animation: wgDraw 1.5s var(--ease) forwards;
}
@keyframes wgDraw { to { stroke-dashoffset: 0; } }

.wg-lat, .wg-meridian { opacity: 0; }
.why__lead.is-visible .wg-lat { animation: wgFade 0.9s var(--ease) 0.5s forwards; }
.why__lead.is-visible .wg-lat--2 { animation-delay: 0.62s; }
.why__lead.is-visible .wg-meridian {
  animation: wgFade 0.9s var(--ease) 0.74s forwards,
    wgSpin 9s ease-in-out 1.6s infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes wgFade { to { opacity: 1; } }
@keyframes wgSpin {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.07); }
}

/* travel routes between regions */
.wg-route {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  stroke-dashoffset: 120;
  opacity: 0;
}
.why__lead.is-visible .wg-route {
  animation: wgRouteIn 0.7s var(--ease) 1s forwards,
    wgMarch 2.4s linear 1.7s infinite;
}
.why__lead.is-visible .wg-route--2 {
  animation-delay: 1.25s, 1.95s;
}
@keyframes wgRouteIn { to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes wgMarch { to { stroke-dashoffset: -48; } }

/* region markers */
.wg-pin {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
}
.why__lead.is-visible .wg-pin { animation: wgPin 0.6s var(--ease) forwards; }
.why__lead.is-visible .wg-pin--1 { animation-delay: 1.1s; }
.why__lead.is-visible .wg-pin--2 { animation-delay: 1.35s; }
.why__lead.is-visible .wg-pin--3 { animation-delay: 1.6s; }
@keyframes wgPin { to { opacity: 1; transform: scale(1); } }

.wg-pin-halo { fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.4; }
.wg-pin-dot { fill: rgba(255, 255, 255, 0.9); stroke: none; }
.wg-pin-dot--new { fill: #fff; }
.wg-pin-pulse {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.why__lead.is-visible .wg-pin-pulse {
  animation: wgPulse 2.4s var(--ease) 2.1s infinite;
}
@keyframes wgPulse {
  0%   { opacity: 0.85; transform: scale(0.6); }
  70%  { opacity: 0; transform: scale(2.1); }
  100% { opacity: 0; transform: scale(2.1); }
}

/* legend */
.why__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}
.why__legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.why__legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}
.why__legend .is-new { color: #fff; font-weight: 600; }
.why__legend .is-new .why__legend-dot { background: #fff; }
.why__legend em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.why__lead-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.75vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.why__lead-cta {
  align-self: flex-start;
  justify-self: start;
  width: fit-content;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}
.why__lead-cta:hover { border-color: #fff; }

.why__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.why__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(218, 95, 65, 0.65);
}
.why__icon {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  color: #fff;
}
.why__icon svg { width: 100%; height: 100%; display: block; fill: none; }
.why__icon-ring {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.2;
  stroke-dasharray: 142;
  stroke-dashoffset: 142;
  transition: stroke 0.3s var(--ease);
}
.why__card.is-visible .why__icon-ring {
  animation: iconRing 1s var(--ease) forwards;
}
@keyframes iconRing { to { stroke-dashoffset: 0; } }

.why__icon-art {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.75);
}
.why__card.is-visible .why__icon-art {
  animation: iconArt 0.7s var(--ease) 0.35s forwards;
}
@keyframes iconArt { to { opacity: 1; transform: scale(1); } }

/* stagger the four cards */
.why__card:nth-child(2) .why__icon-ring { animation-delay: 0.05s; }
.why__card:nth-child(2) .why__icon-art { animation-delay: 0.4s; }
.why__card:nth-child(3) .why__icon-ring { animation-delay: 0.12s; }
.why__card:nth-child(3) .why__icon-art { animation-delay: 0.47s; }
.why__card:nth-child(4) .why__icon-ring { animation-delay: 0.19s; }
.why__card:nth-child(4) .why__icon-art { animation-delay: 0.54s; }
.why__card:nth-child(5) .why__icon-ring { animation-delay: 0.26s; }
.why__card:nth-child(5) .why__icon-art { animation-delay: 0.61s; }

.why__card:hover .why__icon { color: var(--terra); }
.why__card:hover .why__icon-ring { stroke: var(--terra); }

/* Static, fully legible fallback when motion is reduced */
@media (prefers-reduced-motion: reduce) {
  .wg-outline, .wg-lat, .wg-meridian, .wg-route, .wg-pin,
  .why__icon-ring, .why__icon-art {
    animation: none !important;
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }
  .wg-pin-pulse { display: none; }
}
.why__card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: #fff;
}
.why__card p { margin: 0; color: rgba(248, 247, 243, 0.78); font-size: 0.97rem; }

/* =========================================================
   WAITLIST CTA
   ========================================================= */
.cta {
  position: relative;
  padding: clamp(6rem, 14vw, 10rem) var(--gutter);
  color: #fff;
  overflow: hidden;
}
.cta__media {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(180deg, rgba(27, 51, 63, 0.72), rgba(27, 51, 63, 0.82)),
    url("https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
}
.cta__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; }
.cta__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}
.cta__lede {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 2.25rem;
  max-width: 560px;
}
.waitform--cta { margin: 0 auto; justify-content: center; }
.cta__fineprint { margin: 1.2rem 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }
.cta__fineprint a { color: inherit; text-underline-offset: 3px; }
.cta__fineprint a:hover { color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink-2); color: var(--paper); padding: 3.5rem var(--gutter); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer__logo { height: 40px; width: auto; }
.footer__tag { margin: 0; color: rgba(248, 247, 243, 0.7); font-size: 0.95rem; }
.footer__meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(248, 247, 243, 0.55);
}
.footer__meta a { color: var(--sea-soft); text-decoration: none; }
.footer__meta a:hover { color: var(--terra); }
.footer__address {
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(248, 247, 243, 0.55);
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 1rem; right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    background: var(--terra);
    color: #fff;
    font: 600 0.98rem var(--body);
    text-decoration: none;
    box-shadow: 0 14px 30px -12px rgba(27, 51, 63, 0.55);
    transform: translateY(calc(100% + 2rem));
    transition: transform 0.4s var(--ease);
  }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta:active { background: var(--terra-deep); }
}

/* =========================================================
   STANDALONE PAGES — privacy, terms, thanks, 404
   ========================================================= */
.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page__bar {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.6rem 0;
}
.page__bar .nav__logo-img { height: 40px; }
.page__bar .nav__cta { margin-left: auto; }
@media (max-width: 540px) { .page__bar .nav__cta { display: none; } }
.page__main { flex: 1; }
.page__main--notice { display: flex; flex-direction: column; }
.notice .eyebrow { color: #f6c2b3; }

.doc { max-width: 760px; margin: 0 auto; padding: clamp(3.5rem, 9vw, 6rem) var(--gutter); }
.doc .section-title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.doc__updated { margin: 1rem 0 2.5rem; font-size: 0.9rem; color: var(--text-soft); }
.doc h2 {
  margin: 2.5rem 0 0.6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
}
.doc p, .doc li { color: var(--text-soft); }
.doc p { margin: 0 0 1rem; }
.doc ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.doc li { margin-bottom: 0.4rem; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--terra-deep); text-underline-offset: 3px; }
.doc__address { font-style: normal; color: var(--text-soft); margin: 0 0 1rem; }

.notice {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(4rem, 12vw, 8rem) var(--gutter);
  text-align: center;
  background: linear-gradient(160deg, var(--sea) 0%, var(--ink) 100%);
  color: var(--paper);
}
.notice__inner { max-width: 620px; }
.notice__mark { width: 72px; height: 72px; margin: 0 auto 1.75rem; }
.notice__title {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.notice__lede { margin: 0 auto 2.25rem; max-width: 500px; font-size: clamp(1.02rem, 1.7vw, 1.15rem); color: rgba(248, 247, 243, 0.85); }
.notice__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: center; align-items: center; }
.notice__link { color: var(--paper); font-weight: 500; text-underline-offset: 4px; }
.notice__link:hover { color: #fff; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .why__bento { grid-template-columns: 1fr 1fr; }
  .why__lead {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem 2rem;
  }
  .why__globe-wrap { grid-row: span 3; }
  .why__globe { max-width: 220px; }
}

@media (max-width: 860px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__diagram { order: -1; }
  .dest__homes { grid-template-columns: 1fr; }
  .home { flex-direction: row; }
  .home__media { width: 48%; flex: 0 0 48%; aspect-ratio: auto; min-height: 340px; }
  .dest__grid { grid-template-columns: 1fr; grid-auto-rows: minmax(260px, auto); }
  .gallery__stage { padding: 0; }
  .gallery__nav { background: rgba(27, 51, 63, 0.6); }
  .hero__triad { display: none; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta--desktop { display: none; }
  .nav__toggle {
    display: flex;
    position: absolute;
    top: 50%;
    right: var(--gutter);
    transform: translateY(-50%);
  }
  .why__bento { grid-template-columns: 1fr; }
  .why__lead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .why__globe-wrap { align-self: center; }
  .why__globe { max-width: 240px; }

  /* Mobile menu open */
  .nav--open { background: var(--paper); box-shadow: 0 12px 30px -20px rgba(33,62,77,0.5); }
  .nav--open .nav__links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    margin: 0;
    background: var(--paper);
    box-shadow: 0 18px 30px -22px rgba(33, 62, 77, 0.5);
  }
  .nav--open .nav__links > a:not(.nav__cta) { color: var(--ink); padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav--open .nav__cta--mobile {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin: 1.1rem 0 0.25rem;
  }
  .nav--open .nav__toggle span { background: var(--ink); }
}

@media (max-width: 540px) {
  .hero__title-break { display: block; }
  .hero__title { font-size: clamp(4.4rem, 23vw, 8.5rem); line-height: 0.86; }
  .home { flex-direction: column; }
  .home__media { width: 100%; flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .gallery__top { flex-wrap: wrap; padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .gallery__tabs { order: 3; width: 100%; }
  .gallery__tabs button { flex: 1; }
  .gallery__strip button { width: 4.25rem; height: 3.25rem; }
  .waitform--hero, .waitform--cta { flex-direction: column; }
  .waitform__input { flex: 0 0 auto; width: 100%; }
  .waitform__btn { width: 100%; }
}
