/* ==========================================================================
   JSS Dream Real Estate — Design System
   Dubai editorial luxury meets verified investment intelligence.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Brand — gold sampled from the JSS mark */
  --gold: #c19a3e;
  --gold-2: #e6c67d;
  --gold-deep: #80611d; /* darkened from #977224 so small gold text passes WCAG AA */
  --gold-soft: #f3e9d0;
  --gradient-gold: linear-gradient(135deg, #b98a2f 0%, #e6c67d 48%, #b98a2f 100%);

  /* Ink & neutrals */
  --ink: #0c1622;
  --navy: #112741;
  --navy-2: #1a3a5c;
  --fg: #1b2431;
  --muted: #5c6675;
  --muted-2: #5f6979; /* darkened from #808a99 for readable disclaimers */
  --line: #e7e1d4;
  --line-2: #d8d0be;

  /* Surfaces (mostly light/warm) */
  --paper: #ffffff;
  --warm-white: #fbf8f2;
  --sand: #f6f1e6;
  --stone: #efe9dc;

  /* Actions / status */
  --action: #b98a2f;
  --action-ink: #ffffff;
  --focus: #1a6fd4;
  --success: #1f7a4d;
  --warn: #87600f;
  --danger: #b23b3b;
  --whatsapp: #25d366;

  /* Typography */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --num: "Manrope", ui-sans-serif, system-ui, sans-serif;

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radii, shadow, motion */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(12,22,34,.06), 0 2px 8px rgba(12,22,34,.05);
  --shadow-2: 0 6px 24px rgba(12,22,34,.10);
  --shadow-3: 0 18px 50px rgba(12,22,34,.16);
  --ease: cubic-bezier(.2,.6,.2,1);
  --dur: .2s;

  --container: 1200px;
  --container-wide: 1360px;
  --header-h: 76px;

  color-scheme: light;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--sans);
  color: var(--fg);
  background: var(--warm-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
/* content images (not logos/icons) get a neutral loading placeholder */
.pcard__media img, .gallery img, .hero__bg img, .brochure-panel img, .adviser-card img { background: var(--stone); }
/* default inline-icon size — prevents unstyled SVGs rendering full-width */
svg:not([width]):not([class*="hero"]) { width: 20px; height: 20px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--gold-soft); }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 4rem); font-weight: 480; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
h4 { font-size: 1.12rem; font-family: var(--sans); font-weight: 700; letter-spacing: -.005em; }
p { text-wrap: pretty; }
.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: .5em; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
strong { font-weight: 700; }

/* ---- Layout primitives ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section-sm { padding-block: clamp(32px, 4vw, 56px); }
.stack > * + * { margin-top: var(--s-4); }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.center { text-align: center; }
.muted { color: var(--muted); }
.section-head { max-width: 66ch; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head.center { margin-inline: auto; }
.flow > * + * { margin-top: 1em; }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-weight: 650; font-size: .95rem; padding: .8em 1.35em; border-radius: var(--r-pill); border: 1.5px solid transparent; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur); min-height: 44px; text-align: center; line-height: 1.1; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy); box-shadow: var(--shadow-2); }
.btn-gold { background: var(--gradient-gold); color: #23180a; border-color: rgba(0,0,0,.05); }
.btn-gold:hover { box-shadow: 0 8px 24px rgba(185,138,47,.35); }
.btn-outline { border-color: var(--line-2); background: var(--paper); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); padding-inline: .6em; }
.btn-ghost:hover { color: var(--gold-deep); }
.btn-wa { background: var(--whatsapp); color: #06331b; }
.btn-wa:hover { box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-lg { font-size: 1.02rem; padding: 1em 1.6em; }
.btn-sm { font-size: .85rem; padding: .5em .9em; min-height: 38px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---- Chips / badges / pills ---- */
.badge { display: inline-flex; align-items: center; gap: .4em; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .3em .7em; border-radius: var(--r-pill); text-transform: uppercase; }
.badge-verified { background: var(--gold-soft); color: var(--gold-deep); }
.badge-status { background: var(--navy); color: #fff; text-transform: none; letter-spacing: 0; }
.badge-ready { background: #e2f2e8; color: var(--success); }
.badge-offplan { background: #e9eef6; color: var(--navy-2); }
.badge-soldout { background: #f5e3e3; color: var(--danger); }
.badge-line { background: transparent; border: 1px solid var(--line-2); color: var(--muted); text-transform: none; letter-spacing: 0; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: .45em .8em; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); font-size: .85rem; font-weight: 600; }
.chip button, .chip .x { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: var(--stone); font-size: .8rem; line-height: 1; }
.chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---- Cards ---- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: hidden; }
.pcard { display: flex; flex-direction: column; position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
@media (hover: hover) { .pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); } }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
@media (hover: hover) { .pcard:hover .pcard__media img { transform: scale(1.05); } }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 60px); }
.pcard__save { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--shadow-1); z-index: 2; transition: background var(--dur); }
.pcard__save:hover { background: #fff; }
.pcard__save svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.pcard__save[aria-pressed="true"] svg { fill: var(--gold); stroke: var(--gold-deep); }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__dev { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-deep); }
.pcard__title { font-family: var(--serif); font-size: 1.28rem; line-height: 1.15; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__loc { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: .4em; }
.pcard__loc svg { width: 15px; height: 15px; flex: none; stroke: var(--gold-deep); }
.pcard__price { margin-top: 4px; font-weight: 750; font-size: 1.1rem; color: var(--ink); }
.pcard__price small { font-weight: 600; color: var(--muted); font-size: .78rem; }
.pcard__meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: .82rem; color: var(--muted); }
.pcard__meta b { color: var(--fg); font-weight: 650; }
.pcard__actions { display: flex; gap: 8px; margin-top: 12px; position: relative; z-index: 2; }
.pcard__compare { display: inline-flex; align-items: center; gap: .4em; font-size: .82rem; font-weight: 650; color: var(--muted); }
.pcard__compare input { width: 17px; height: 17px; accent-color: var(--gold-deep); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--warm-white); border-bottom: 1px solid var(--line); transition: background var(--dur), box-shadow var(--dur); }
.site-header.is-transparent { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; color: #fff; }
.site-header.is-transparent .header__inner { color: #fff; }
.site-header.is-transparent .nav-link, .site-header.is-transparent .header__util a { color: #fff; }
.site-header.scrolled { background: var(--warm-white); color: var(--fg); box-shadow: var(--shadow-1); border-color: var(--line); }
.site-header.scrolled .nav-link, .site-header.scrolled .header__util a { color: var(--fg); }
.header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 56px; width: auto; }
@media (max-width: 900px) { .brand img { height: 50px; } }
.brand__txt { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1; letter-spacing: .01em; }
.brand__txt small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-top: 3px; }
.site-header.is-transparent .brand__txt small { color: var(--gold-2); }
.primary-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .3em; padding: 10px 12px; font-weight: 600; font-size: .92rem; border-radius: var(--r-sm); transition: color var(--dur), background var(--dur); }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--gold-deep); }
.nav-link[aria-current="page"] { color: var(--gold-deep); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-link .caret { width: 14px; height: 14px; transition: transform var(--dur); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.header__util { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background var(--dur); position: relative; }
.icon-btn:hover { background: rgba(0,0,0,.06); }
.site-header.is-transparent .icon-btn:hover { background: rgba(255,255,255,.15); }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.icon-btn .count { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--gold); color: #23180a; font-size: .66rem; font-weight: 800; display: none; place-items: center; }
.icon-btn .count.show { display: grid; }

/* Mega menu */
.mega { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px); width: max-content; max-width: 92vw; background: var(--paper); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 22px; opacity: 0; visibility: hidden; transition: opacity var(--dur), transform var(--dur), visibility var(--dur); z-index: 120; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__grid { display: grid; grid-template-columns: repeat(var(--mc, 3), minmax(180px, 1fr)); gap: 22px 34px; }
.mega__col h5 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; font-family: var(--sans); font-weight: 700; }
.mega__col a { display: block; padding: 7px 0; font-size: .93rem; font-weight: 550; color: var(--fg); border-radius: 6px; transition: color var(--dur); }
.mega__col a:hover { color: var(--gold-deep); }
.mega__col a span { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }

.btn-menu { display: none; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cdd6e0; padding-block: 0 28px; margin-top: 0; }
.site-footer a { color: #cdd6e0; transition: color var(--dur); }
.site-footer a:hover { color: var(--gold-2); }
.footer__news-band { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; justify-content: space-between; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid #223247; }
.footer__news-band > div { flex: 1 1 300px; }
.footer__news { flex: 1 1 380px; max-width: 460px; }
.footer__news-row { display: flex; gap: 10px; }
.footer__news-row input { flex: 1; padding: 13px 16px; border-radius: var(--r-pill); border: 1px solid #2b3d52; background: #0a1420; color: #fff; min-height: 48px; }
.footer__news-row input:focus { border-color: var(--gold); outline: 2px solid rgba(230,198,125,.25); }
.footer__news-row .btn { flex: none; }
.footer__news-consent { display: flex; gap: 9px; align-items: flex-start; font-size: .78rem; color: #8b97a5; margin-top: 12px; line-height: 1.5; }
.footer__news-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--gold); flex: none; }
.footer__news-consent a { color: var(--gold-2); text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1.15fr 1.15fr 1.5fr; gap: clamp(24px, 3vw, 44px); padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } .footer__news-row { flex-direction: column; } .footer__news-row .btn { width: 100%; } }
.footer__brand img { height: 55px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: #97a3b1; font-size: .92rem; max-width: 34ch; line-height: 1.6; }
.footer__col h5 { color: #fff; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col li { margin-bottom: 11px; font-size: .9rem; }
.footer__contact ul { display: grid; gap: 2px; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .9rem; color: #b6c0cc; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; stroke: var(--gold-2); fill: none; stroke-width: 1.6; flex: none; margin-top: 2px; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #223247; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .82rem; color: #8b97a5; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.orn-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #2b3d52; border-radius: var(--r-pill); font-weight: 600; color: #cdd6e0; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; padding-top: var(--header-h); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--ink); overflow: hidden; }
.hero__img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
/* Black overlay for legibility + premium mood */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(4,8,13,.68) 0%, rgba(4,8,13,.5) 42%, rgba(4,8,13,.62) 72%, rgba(4,8,13,.88) 100%),
  linear-gradient(90deg, rgba(4,8,13,.5) 0%, rgba(4,8,13,.12) 55%, rgba(4,8,13,0) 100%); }
@media (prefers-reduced-motion: no-preference) {
  .hero__img, .hero__video { animation: heroZoom 32s ease-in-out infinite alternate; transform-origin: 55% 45%; will-change: transform; backface-visibility: hidden; transform: translateZ(0); }
}
@keyframes heroZoom { from { transform: scale(1.015) translateZ(0); } to { transform: scale(1.11) translateZ(0); } }
.hero__inner { padding-bottom: clamp(28px, 4vw, 56px); width: 100%; }
@media (max-width: 768px) { .hero__inner { padding-bottom: calc(clamp(24px, 5vw, 40px) + 64px + env(safe-area-inset-bottom, 0px)); } }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: rgba(255,255,255,.9); margin-top: 16px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Search widget */
.search-widget { background: rgba(255,255,255,.97); color: var(--fg); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 10px; margin-top: 30px; max-width: 940px; }
.search-tabs { display: flex; gap: 4px; padding: 4px; }
.search-tabs button { padding: .6em 1.1em; border-radius: var(--r-pill); font-weight: 650; font-size: .9rem; color: var(--muted); }
.search-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.search-fields { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; padding: 8px; align-items: end; }
.search-fields > * { min-width: 0; }
.search-fields .field input, .search-fields .field select, .search-fields .field .btn { width: 100%; }
@media (max-width: 780px) {
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields > .field:first-child { grid-column: 1 / -1; }   /* search input full width */
  .search-fields > .field:last-child { grid-column: 1 / -1; }    /* Search button full width */
}
@media (max-width: 430px) { .search-fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-left: 4px; }
.field input, .field select { padding: 11px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; min-height: 46px; }
.field input:focus, .field select:focus { border-color: var(--gold-deep); outline: 2px solid var(--gold-soft); }

/* ---- Trust strip ---- */
.trust-strip { background: var(--ink); color: #e9edf2; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; padding-block: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.trust-item svg { width: 22px; height: 22px; stroke: var(--gold-2); fill: none; stroke-width: 1.6; }
.trust-item b { color: #fff; }
.trust-item .stat { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-2); line-height: 1; }

/* ---- Stat / feature blocks ---- */
.statline { display: flex; flex-wrap: wrap; gap: 28px 56px; }
.statline .stat-n { font-family: var(--serif); font-size: clamp(2rem,1.4rem+2vw,3rem); color: var(--ink); line-height: 1; }
.statline .stat-l { font-size: .85rem; color: var(--muted); margin-top: 4px; }

.feature { display: flex; gap: 14px; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; flex: none; }
.feature__icon svg { width: 24px; height: 24px; stroke: var(--gold-deep); fill: none; stroke-width: 1.7; }
.feature h4 { margin-bottom: 4px; }
.feature p { font-size: .92rem; color: var(--muted); }

/* Goal tiles */
.goal-tile { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); font-weight: 600; transition: border-color var(--dur), transform var(--dur); }
.goal-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.goal-tile svg { width: 26px; height: 26px; stroke: var(--gold-deep); fill: none; stroke-width: 1.6; flex: none; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: flex; gap: 18px; }
.step__n { counter-increment: step; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-deep); font-family: var(--serif); font-size: 1.2rem; display: grid; place-items: center; }
.step__n::before { content: counter(step); }

/* ---- Immersion (dark) section ---- */
.immersion { background: var(--navy); color: #e7edf4; }
.immersion h2, .immersion h3 { color: #fff; }
.immersion .muted { color: #9fb0c2; }
.immersion .eyebrow { color: var(--gold-2); }
.immersion .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #e7edf4; }
.immersion .feature__icon { background: rgba(230,198,125,.14); }
.immersion .feature__icon svg { stroke: var(--gold-2); }

/* ---- Page hero band (dark) — used by service/content pages ---- */
.section-hero { background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 70%, var(--navy-2) 130%); color: #dfe7f0; position: relative; overflow: hidden; }
.section-hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 460px; height: 460px; background: radial-gradient(circle, rgba(230,198,125,.18), transparent 62%); pointer-events: none; }
.section-hero > .container, .section-hero > .container-wide { position: relative; z-index: 1; }
.section-hero h1, .section-hero h2, .section-hero h3 { color: #fff; }
.section-hero .lede, .section-hero > .container p, .section-hero > .container-wide p { color: #c3d0e0; }
.section-hero .eyebrow { color: var(--gold-2); }
/* dark inner-page heroes (about, guides, investors, contact…) — headings were inheriting --ink and disappearing */
.hero-inner h1, .hero-inner h2, .hero-inner h3 { color: #fff; }
.hero-inner .eyebrow { color: var(--gold-2); }
.section-hero .section-head { max-width: 40ch; }
.section-hero .btn-outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.section-hero .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.16); }

/* ---- Breadcrumbs ---- */
.breadcrumbs { padding-block: 14px; font-size: .82rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li::after { content: "/"; color: var(--line-2); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a:hover { color: var(--gold-deep); }
.breadcrumbs [aria-current] { color: var(--fg); font-weight: 600; }

/* ---- Forms ---- */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-weight: 650; font-size: .88rem; }
.form-field .opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
.form-field input, .form-field select, .form-field textarea { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; min-height: 46px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold-deep); outline: 2px solid var(--gold-soft); }
.form-field .hint { font-size: .8rem; color: var(--muted); }
.form-field .err { font-size: .82rem; color: var(--danger); font-weight: 600; display: none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: var(--danger); }
.form-field.invalid .err { display: block; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.form-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold-deep); flex: none; }
.form-summary { display: none; padding: 14px 16px; border-radius: var(--r-sm); background: #fbe9e9; border: 1px solid #e6bcbc; color: #8a2a2a; margin-bottom: 16px; }
.form-summary.show { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.form-success { display: none; padding: 20px; border-radius: var(--r-md); background: #e8f5ee; border: 1px solid #bfe0cd; }
.form-success.show { display: block; }

/* ---- Tables ---- */
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { font-weight: 700; color: var(--ink); background: var(--sand); }
.data-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }

/* ---- Accordion ---- */
.accordion { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; font-weight: 650; font-size: 1rem; }
.acc-trigger:hover { color: var(--gold-deep); }
.acc-trigger .plus { width: 22px; height: 22px; flex: none; position: relative; }
.acc-trigger .plus::before, .acc-trigger .plus::after { content: ""; position: absolute; background: var(--gold-deep); transition: transform var(--dur); }
.acc-trigger .plus::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.acc-trigger .plus::after { left: 10px; top: 3px; bottom: 3px; width: 2px; }
.acc-trigger[aria-expanded="true"] .plus::after { transform: scaleY(0); }
.acc-panel { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease), padding var(--dur); }
.acc-panel[hidden] { display: block; }
.acc-panel.open { padding: 0 20px 20px; }
.acc-panel p { color: var(--muted); }

/* ---- Notices ---- */
.notice { padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--sand); font-size: .9rem; display: flex; gap: 12px; }
.notice svg { width: 22px; height: 22px; flex: none; stroke: var(--gold-deep); fill: none; stroke-width: 1.7; }
.notice-verify { background: #fff8ea; border-color: #ecd9a8; }
.disclaimer { font-size: .8rem; color: var(--muted-2); line-height: 1.5; }

/* ---- Utility ---- */
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); transition: top var(--dur); }
.skip-link:focus { top: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.back-to-top { position: fixed; right: 20px; bottom: 92px; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility var(--dur); z-index: 60; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }
@media (max-width: 768px) { .back-to-top { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }

/* ---- Mobile drawer + bottom nav (in mobile.css) ---- */
