/* ==========================================================================
   Easy Realty — site stylesheet
   Tokens derived from the client-supplied UI (dark ground, gold accent,
   cream type). One system serves Page 01 (cinematic) and Page 02 (discovery)
   so the narrative carries across the journey.
   ========================================================================== */

:root {
  /* ground */
  --ink-900: #06070a;
  --ink-850: #0a0c11;
  --ink-800: #0e1016;
  --ink-700: #14171f;
  --ink-600: #1c202a;
  --line:    rgba(212, 165, 74, 0.16);
  --line-soft: rgba(244, 239, 230, 0.09);

  /* gold */
  --gold-300: #f4dca4;
  --gold-400: #e2bd6f;
  --gold-500: #d4a54a;
  --gold-600: #b4832d;
  --gold-grad: linear-gradient(100deg, #f6e3b0 0%, #d4a54a 42%, #b4832d 100%);

  /* type */
  --cream:   #f5f1e8;
  --cream-2: #ded8cc;
  --muted:   #9a958c;
  --muted-2: #6f6b64;

  /* system */
  --radius:    4px;
  --radius-lg: 10px;
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 18px 50px -22px rgba(212, 165, 74, 0.55);

  --font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:  cubic-bezier(0.65, 0, 0.35, 1);
  --shell: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 84px;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--cream-2);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: 0;
}

p { margin: 0; }

::selection { background: var(--gold-500); color: var(--ink-900); }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--gold-500);
  color: var(--ink-900);
  padding: 12px 22px;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------- helpers -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-600);
}
.eyebrow.is-centered::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-600);
}

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

.lede {
  font-size: clamp(16px, 1.25vw, 18.5px);
  color: var(--muted);
  max-width: 62ch;
}

.section {
  padding-block: clamp(78px, 11vh, 140px);
  position: relative;
}
.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4.1vw, 56px);
  margin-block: 18px 20px;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* -------------------------------------------------------------- button -- */

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .3s, color .3s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn-gold {
  background: var(--gold-grad);
  color: #21160a;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 24px 60px -20px rgba(212, 165, 74, 0.7); }

.btn-ghost {
  color: var(--cream);
  border-color: rgba(245, 241, 232, 0.22);
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-300); }

.btn-block { width: 100%; }

/* ----------------------------------------------------------------- nav -- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .45s var(--ease-out), height .45s var(--ease-out),
              border-color .45s, backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  height: 70px;
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .shell {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 90px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream-2);
  padding-block: 8px;
  position: relative;
  white-space: nowrap;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold-500);
  transition: width .35s var(--ease-out);
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--gold-400); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--gold-600);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-300);
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.nav-phone:hover { background: var(--gold-grad); color: #21160a; }
.nav-phone svg { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--cream);
  position: relative;
  transition: background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: -2;
}
/* Ken-burns lives on the CHILD, parallax transform on the PARENT .hero-stage.
   Keeping them on separate elements is deliberate — one transform property
   cannot hold both, and JS writing to .hero-stage would otherwise clobber the
   animation. The 12% overscan is the headroom the parallax drift travels into;
   shrink it and the backdrop edge slides into view.
   The still is a layered SVG until the client's photography lands
   (see DECISIONS.md — ASSET-01). */
.hero-stage > * {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  animation: kenburns 34s var(--ease-out) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(-1.4%, -1.8%, 0); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Dark enough on the left for the headline to hold AA contrast, light
     enough on the right that the dusk glow actually reads as a photograph. */
  background:
    linear-gradient(90deg, rgba(6,7,10,.95) 0%, rgba(6,7,10,.78) 34%, rgba(6,7,10,.34) 58%, rgba(6,7,10,.08) 80%, rgba(6,7,10,.38) 100%),
    linear-gradient(180deg, rgba(6,7,10,.82) 0%, rgba(6,7,10,.12) 28%, transparent 55%, rgba(6,7,10,.72) 100%);
}

.hero-inner {
  padding-top: calc(var(--nav-h) + 3vh);
  padding-bottom: 5vh;
  width: 100%;
}

.hero h1 {
  font-size: clamp(40px, 6.1vw, 88px);
  line-height: 1.04;
  max-width: 15ch;
  margin-block: 22px 24px;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--cream-2);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(34px, 5vh, 58px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.6vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  max-width: 950px;
}
.hero-trust li { list-style: none; }
.hero-trust b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--gold-300);
  font-weight: 500;
  line-height: 1.1;
}
.hero-trust span {
  font-size: 11.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero-trust ul, .hero-trust { margin: 0; padding: 0; }

/* ------------------------------------------------------------- reveals -- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* word-swing headings. NOTE: the splitter never descends into .grad —
   background-clip:text only paints the glyphs of the element carrying the
   background, so splitting it into child spans renders blank. */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .95s var(--ease-out);
  transition-delay: var(--wd, 0ms);
}
.is-in .w > span, .hero.is-lit .w > span { transform: none; }

/* ------------------------------------------------------------- marquee -- */

.strip {
  border-block: 1px solid var(--line-soft);
  padding-block: 26px;
  overflow: hidden;
  background: var(--ink-850);
}
.strip-track {
  display: flex;
  gap: 68px;
  width: max-content;
  animation: slide 42s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.strip-item {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 20px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.34);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 68px;
  transition: color .3s;
}
.strip-item::after {
  content: "◆";
  font-size: 8px;
  color: var(--gold-600);
}
.strip-item:hover { color: var(--gold-300); }

/* --------------------------------------------------------------- story -- */

.story {
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(212,165,74,.07), transparent 60%),
    var(--ink-900);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.story-cell {
  background: var(--ink-850);
  padding: clamp(30px, 3.4vw, 48px);
  transition: background .4s;
}
.story-cell:hover { background: var(--ink-800); }
.story-cell .num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-600);
}
.story-cell h3 {
  font-size: clamp(21px, 1.9vw, 27px);
  margin-block: 20px 14px;
}
.story-cell p { font-size: 15.5px; color: var(--muted); }

/* --------------------------------------------------------- destinations */

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dest {
  position: relative;
  min-height: clamp(320px, 42vh, 460px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  isolation: isolate;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.dest::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--dest-art, linear-gradient(160deg, #16202e, #0a0c11));
  background-size: cover;
  background-position: center;
  transition: transform 1.1s var(--ease-out);
}
.dest::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,7,10,.15) 30%, rgba(6,7,10,.92) 100%);
}
.dest:hover { border-color: var(--gold-600); transform: translateY(-5px); }
.dest:hover::before { transform: scale(1.08); }
.dest-body { position: relative; }
.dest h3 {
  font-size: clamp(23px, 2.1vw, 30px);
  margin-bottom: 6px;
}
/* Subtitles run one or two lines depending on the city; reserving two keeps
   the four city names sitting on a common baseline. */
.dest p {
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-500);
  min-height: 2.9em;
}
.dest p.meta { min-height: 0; }
.dest .meta {
  font-size: 14px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-out), opacity .4s;
}
.dest:hover .meta { max-height: 60px; opacity: 1; }

/* ------------------------------------------------------------- metrics -- */

.metrics {
  background: var(--ink-850);
  border-block: 1px solid var(--line-soft);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 50px);
  text-align: center;
}
.metric b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 12px;
}
.metric span {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --------------------------------------------------------------- steps -- */

.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  counter-reset: step;
}
.step {
  background: var(--ink-900);
  padding: clamp(26px, 2.6vw, 38px) clamp(20px, 2.2vw, 30px);
  counter-increment: step;
  position: relative;
  transition: background .4s;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold-600);
}
.step h3 {
  font-size: 19px;
  margin-block: 16px 10px;
}
.step p { font-size: 14.5px; color: var(--muted); }
.step:hover { background: var(--ink-800); }

/* -------------------------------------------------------- testimonials -- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.quote:hover { border-color: var(--line); transform: translateY(-4px); }
.quote .stars { color: var(--gold-500); letter-spacing: 3px; font-size: 13px; }
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--cream);
}
.quote footer { margin-top: auto; font-size: 13.5px; color: var(--muted); }
.quote footer b { display: block; color: var(--cream-2); font-weight: 600; }

/* ----------------------------------------------------------- closing cta */

.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 50% 110%, rgba(212,165,74,.16), transparent 62%),
    var(--ink-850);
}
.cta h2 { font-size: clamp(32px, 5vw, 66px); max-width: 18ch; margin-inline: auto; }
.cta .lede { margin: 22px auto 38px; text-align: center; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------- footer -- */

.footer {
  background: var(--ink-900);
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(56px, 7vw, 84px) 32px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 46px;
}
.footer h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { color: var(--muted); transition: color .25s; }
.footer a:hover { color: var(--gold-300); }
.footer .brand { margin-bottom: 20px; }
.footer .brand-logo { height: 76px; max-width: 118px; }
.footer-note {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 12.5px;
}
.rera-line {
  font-size: 12px;
  color: var(--muted-2);
  max-width: 62ch;
  margin-top: 18px;
  line-height: 1.6;
}

/* ============================ PAGE 02 — property discovery ============== */

.discover {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 8vh, 96px));
  padding-bottom: clamp(40px, 6vh, 72px);
  overflow: hidden;
  isolation: isolate;
}
.discover-stage { position: absolute; inset: 0; z-index: -2; }
/* same parent/child split and overscan rationale as .hero-stage above */
.discover-stage > * {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
}
.discover-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,7,10,.95) 0%, rgba(6,7,10,.7) 46%, rgba(6,7,10,.45) 100%),
    linear-gradient(180deg, rgba(6,7,10,.9) 0%, transparent 40%, rgba(6,7,10,.96) 100%);
}
.discover h1 {
  font-size: clamp(36px, 5.4vw, 74px);
  max-width: 16ch;
  margin-bottom: 20px;
}
.discover .lede { margin-bottom: 34px; color: var(--cream-2); }

.assurances {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 46px);
  list-style: none;
  margin: 0 0 42px;
  padding: 0;
}
.assurance {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  color: var(--cream-2);
  line-height: 1.35;
}
.assurance i {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-600);
  border-radius: 50%;
  color: var(--gold-400);
}
.assurance i svg { width: 17px; height: 17px; }

/* search bar */
.searchbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.searchbar .field {
  background: rgba(14, 16, 22, 0.92);
  padding: 16px 20px;
  display: grid;
  gap: 7px;
}
.searchbar label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.searchbar select {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 15px;
  color: var(--cream);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a54a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
}
.searchbar select option { background: var(--ink-800); }
.searchbar .btn { border-radius: 0; padding-inline: clamp(24px, 3vw, 44px); }

/* Category cards sit in the main column beside a 380px sidebar, so four
   across leaves ~180px per card. Two-up keeps them readable at every width
   the split layout actually produces. */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(26px, 3vw, 38px) 26px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.cat::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--cat-art, linear-gradient(170deg, #1a2534, #0a0c11));
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease-out);
}
.cat::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,7,10,.55), rgba(6,7,10,.94));
}
.cat:hover { border-color: var(--gold-600); transform: translateY(-5px); }
.cat:hover::before { transform: scale(1.07); }
.cat-icon {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  color: var(--gold-400);
}
.cat-icon svg { width: 30px; height: 30px; }
.cat h3 {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.cat .desc { font-size: 14px; color: var(--muted); }
.cat .from { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; }
.cat .price {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--gold-300);
  margin-bottom: 18px;
}
.cat .btn { font-size: 11px; padding: 12px 22px; }

/* listing rail */
.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  color: var(--gold-400);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s;
}
.rail-btn:hover:not(:disabled) { background: var(--gold-grad); color: #21160a; border-color: transparent; }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail-btn svg { width: 17px; height: 17px; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.rail::-webkit-scrollbar { display: none; }

.card {
  scroll-snap-align: start;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-850);
  display: flex;
  flex-direction: column;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.card:hover { border-color: var(--gold-600); transform: translateY(-5px); }
.card-art {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--card-art, linear-gradient(165deg, #1b2635, #0b0e14));
  background-size: cover;
  background-position: center;
}
.card-art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,7,10,.35) 0%, transparent 42%, rgba(6,7,10,.6) 100%);
}
.tag, .price-tag {
  position: absolute;
  top: 14px;
  z-index: 1;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 2px;
}
.tag { left: 14px; background: rgba(6,7,10,.78); color: var(--cream-2); border: 1px solid var(--line); }
.price-tag { right: 14px; background: var(--gold-grad); color: #21160a; }
.card-body { padding: 20px 22px 24px; display: grid; gap: 7px; }
.card-body h3 { font-size: 20px; }
.card-body .loc {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.card-body .loc svg { width: 13px; height: 13px; color: var(--gold-600); flex: none; }
.card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .06em;
}
/* wrap between specs, never inside one — "Ready to move" must not break */
.card-specs span { white-space: nowrap; }

/* locations mosaic */
.locs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.loc-tile {
  position: relative;
  min-height: 168px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  transition: border-color .4s;
}
.loc-tile::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--loc-art, linear-gradient(160deg, #1a2433, #0a0c11));
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease-out);
}
.loc-tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(6,7,10,.9) 100%);
}
.loc-tile:hover { border-color: var(--gold-600); }
.loc-tile:hover::before { transform: scale(1.07); }
.loc-tile b {
  position: relative;
  font-size: 12.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 8px;
}
.loc-tile b svg { width: 13px; height: 13px; color: var(--gold-400); }

.loc-banner {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
  background: linear-gradient(90deg, rgba(212,165,74,.12), rgba(212,165,74,.03));
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--gold-300);
  justify-content: center;
}

/* why-choose panel */
.why {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--ink-850);
  padding: clamp(26px, 3vw, 38px);
}
.why h3 {
  font-size: clamp(21px, 2vw, 26px);
  margin-bottom: 28px;
}
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.why-item { text-align: center; }
.why-item i {
  width: 50px; height: 50px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-400);
}
.why-item i svg { width: 21px; height: 21px; }
.why-item b { display: block; font-size: 13.5px; font-weight: 500; color: var(--cream-2); line-height: 1.4; }

.assist {
  margin-top: 14px;
  border: 1px solid var(--gold-600);
  border-radius: var(--radius);
  background: var(--gold-grad);
  color: #21160a;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.assist a {
  background: #14100a;
  color: var(--gold-300);
  border-radius: 40px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .02em;
  text-transform: none;
  font-size: 14px;
}
.assist svg { width: 14px; height: 14px; }

/* discovery layout */
.discovery-body { padding-block: clamp(60px, 8vh, 100px); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
/* min-width:0 has to run the whole depth of the grid chain. A grid item
   defaults to min-width:auto, so without this the .rail (overflow-x:auto)
   sizes its section to the full 6-card track and the page scrolls sideways
   instead of the rail scrolling. */
.split > *,
.stack > *,
.stack > * > * { min-width: 0; }
.stack { display: grid; gap: clamp(46px, 6vh, 80px); min-width: 0; }
.rail { min-width: 0; }
.side { display: grid; gap: 12px; position: sticky; top: 96px; }

/* enquiry form */
.enquiry {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fdfbf6, #f3ede1);
  color: #1c1a15;
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-lg);
}
.enquiry h3 {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #1c1a15;
  text-align: center;
  font-weight: 700;
}
.enquiry .sub { text-align: center; font-size: 13px; color: #6d675c; margin-block: 6px 20px; }
.enquiry .row { position: relative; margin-bottom: 10px; }
.enquiry .row > svg {
  position: absolute;
  left: 13px; top: 14px;
  width: 16px; height: 16px;
  color: #b4832d;
  pointer-events: none;
}
.enquiry input,
.enquiry select,
.enquiry textarea {
  width: 100%;
  padding: 13px 14px 13px 38px;
  border: 1px solid #ddd3c0;
  border-radius: 3px;
  background: #fff;
  color: #1c1a15;
  font-size: 14.5px;
  transition: border-color .25s, box-shadow .25s;
}
.enquiry textarea { padding-left: 14px; min-height: 92px; resize: vertical; }
.enquiry select { appearance: none; cursor: pointer; }
.enquiry input:focus,
.enquiry select:focus,
.enquiry textarea:focus {
  outline: 0;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212,165,74,.2);
}
.enquiry .chev { position: absolute; right: 13px; top: 15px; width: 14px; height: 14px; color: #b4832d; pointer-events: none; }
.enquiry button {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 0;
  border-radius: 3px;
  background: var(--gold-grad);
  color: #21160a;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .25s, transform .3s var(--ease-out);
}
.enquiry button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.enquiry .consent { font-size: 11px; color: #7b7469; margin-top: 12px; text-align: center; line-height: 1.5; }
.form-status {
  margin-top: 12px;
  font-size: 13px;
  padding: 11px 13px;
  border-radius: 3px;
  display: none;
}
.form-status.is-ok  { display: block; background: #e8f2e6; color: #24551f; border: 1px solid #bcd9b6; }
.form-status.is-err { display: block; background: #f8e9e6; color: #7a2418; border: 1px solid #e3c0b8; }

/* ======================= SCROLL TRANSITION SYSTEM ======================= */
/*
   Three layers move at three different speeds as a stage crosses the
   viewport. The differential is the whole effect — depth is not any single
   layer, it is the gap between them.

     LAYER 1  backdrop   drifts DOWN with the scroll  → lags → reads as far
     LAYER 2  atmosphere drifts down at half that     → mid distance
     LAYER 3  content    drifts UP, faster than scroll→ passes the camera

   motion.js publishes a normalised progress `--p` (0 → 1, entering bottom →
   left top) on every [data-stage], and writes the transforms for elements
   carrying [data-parallax]. CSS owns everything that reads from `--p`; JS
   owns nothing but the number and the transform string. Both halves bail out
   entirely under prefers-reduced-motion.
*/

[data-parallax] { will-change: auto; }
.stage-live [data-parallax] { will-change: transform; }

/* --- layer 2: the atmosphere veil ------------------------------------- */
/* A dusk wash that deepens as a stage leaves. Sits above the backdrop and
   below the content, which is exactly where haze belongs. */
.hero-veil,
.stage-veil {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(80% 55% at 72% 78%, rgba(212, 165, 74, 0.16), transparent 70%),
    linear-gradient(190deg, rgba(6, 7, 10, 0) 30%, rgba(6, 7, 10, 0.55) 100%);
  opacity: calc(0.25 + (var(--p, 0.5) * 0.75));
}
/* Inside an isolated hero the veil can sit on a negative layer, under the
   in-flow content. A plain .section paints its own background over anything
   negative, so there the veil sits at 0 and the content is lifted to 1. */
.hero-veil, .interlude .stage-veil, .discover .stage-veil { z-index: -1; }
.section > .stage-veil { z-index: 0; }
.section > .shell { position: relative; z-index: 1; }

/* The gold horizon sweep — one hairline that crosses each stage boundary.
   It is the seam between two sections made visible instead of hidden. */
.stage-seam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.stage-seam::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  transform: scaleX(clamp(0, calc((var(--p, 0) - 0.12) * 2.6), 1));
  transform-origin: 0 50%;
  opacity: clamp(0, calc((var(--p, 0) - 0.1) * 4), 1);
}

/* --- layer 3: content fade on exit ------------------------------------ */
[data-fade] { opacity: clamp(0, calc((1 - var(--p, 0.5)) * 2.6), 1); }

/* --- the interlude: all three layers in one screen --------------------- */
/* Placed between browsing sections so the depth is unmissable — backdrop
   lagging, veil half-speed, quote running against both. */
.interlude {
  position: relative;
  min-height: clamp(400px, 60vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid var(--line-soft);
  background: var(--ink-900);
}
.interlude-stage { position: absolute; inset: 0; z-index: -2; }
.interlude-stage > * {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  object-fit: cover;
  opacity: 0.55;
}
.interlude-inner { position: relative; text-align: center; }
.interlude blockquote {
  margin: 22px auto 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.interlude cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --- scroll progress rail --------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: rgba(245, 241, 232, 0.05);
}
.scroll-progress i {
  display: block;
  height: 100%;
  transform: scaleX(var(--sp, 0));
  transform-origin: 0 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 16px rgba(212, 165, 74, 0.5);
}

/* --- nav retreat ------------------------------------------------------- */
.nav { transform: translateY(0); transition: background .45s var(--ease-out),
       height .45s var(--ease-out), border-color .45s, transform .5s var(--ease-io); }
.nav.is-gone { transform: translateY(-102%); }

/* --- cross-page curtain ------------------------------------------------ */
/* One mechanism for every browser rather than native cross-document view
   transitions plus a fallback — two paths would double-animate wherever both
   are supported, and one path is one thing to get right. */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  display: grid;
  place-items: center;
}
.curtain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-900);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .46s var(--ease-io);
}
.curtain i {
  position: relative;
  display: block;
  height: 1px;
  width: 0;
  background: var(--gold-grad);
  box-shadow: 0 0 26px rgba(212, 165, 74, 0.75);
  opacity: 0;
  transition: width .44s var(--ease-out), opacity .3s;
}
.curtain.is-leaving { visibility: visible; }
.curtain.is-leaving::before { transform: scaleY(1); }
.curtain.is-leaving i { width: 64vw; opacity: 1; }

/* Arrival: the curtain starts closed and retracts upward, so the two pages
   read as one continuous move. Armed by a tiny inline script in <head> —
   it has to land before first paint or the page flashes through. */
.er-arrive .curtain { visibility: visible; }
.er-arrive .curtain::before {
  transform: scaleY(1);
  transform-origin: 50% 0;
  animation: curtain-lift .66s var(--ease-io) .05s forwards;
}
.er-arrive .curtain i { width: 64vw; opacity: 1; animation: seam-out .4s ease .05s forwards; }
@keyframes curtain-lift { to { transform: scaleY(0); } }
@keyframes seam-out { to { opacity: 0; } }

/* --- pointer craft ------------------------------------------------------ */
/* Magnetic CTA. The -2px hover lift has to be folded into the same transform;
   two rules writing `transform` means the last one wins and the other is lost. */
.btn[data-magnet] { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); }
.btn[data-magnet]:hover { transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 2px), 0); }

/* Sheen swept through the gradient itself rather than a pseudo-element —
   a ::after overlay paints above the label and greys it mid-sweep. */
.btn-gold {
  background-image: linear-gradient(100deg,
    #f6e3b0 0%, #d4a54a 26%, #fdf1cf 42%, #d4a54a 58%, #b4832d 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  transition: background-position .85s var(--ease-out), transform .35s var(--ease-out),
              box-shadow .35s, border-color .3s, color .3s;
}
.btn-gold:hover { background-position: 0 0; }

/* Card tilt. perspective() is inline in the transform so no ancestor needs a
   perspective property — one less thing for a scroll container to fight. */
.card, .dest { transform: translateY(0) perspective(1000px) rotateX(0deg) rotateY(0deg); }
.card:hover, .dest:hover {
  transform: translateY(-5px) perspective(1000px)
             rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

/* --- anchors ------------------------------------------------------------ */
/* Without this every in-page link lands with its heading under the fixed nav. */
[id] { scroll-margin-top: calc(var(--nav-h) + 26px); }

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav.is-open .nav-links {
    display: grid;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(8, 9, 13, 0.97);
    backdrop-filter: blur(14px);
    padding: 26px var(--gutter) 34px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
  }
  .nav.is-open .nav-links a { padding-block: 13px; font-size: 13px; }
  .split { grid-template-columns: 1fr; }
  .side { position: static; }
  .dest-grid, .cats { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .brand-logo { height: 46px; max-width: 72px; }
  .story-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .journey { grid-template-columns: 1fr; }
  .searchbar { grid-template-columns: 1fr; }
  .searchbar .btn { padding-block: 17px; }
  .nav-phone span { display: none; }
  .nav-phone { padding: 10px 13px; }
  .hero h1 { max-width: 100%; }
  .rail { grid-auto-columns: minmax(248px, 78%); }
}

@media (max-width: 560px) {
  .dest-grid, .cats, .locs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px 30px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .w > span { transform: none; }

  /* The scroll system is opt-out, not merely slowed: a parallax that snaps
     between positions on a .01ms transition is worse than none at all. JS
     also refuses to start, so nothing is left holding a stale transform. */
  [data-parallax] { transform: none !important; will-change: auto !important; }
  [data-fade] { opacity: 1 !important; }
  .hero-veil, .stage-veil { opacity: .7 !important; }
  .stage-seam::before { transform: scaleX(1); opacity: .5; }
  .curtain { display: none !important; }
  .nav.is-gone { transform: none; }
  .card:hover, .dest:hover { transform: translateY(-5px); }
  .btn[data-magnet], .btn[data-magnet]:hover { transform: none; }
}
