:root {
  --background: #0a0f14;
  --foreground: #e8eaed;
  --forest: #6cabdd;
  --forest-light: #8bc4ea;
  --sage: #5a7080;
  --cream: #121820;
  --gold: #c9a962;
  --gold-light: #dfc07a;
  --muted: #9aa3b0;
  --line: rgba(108, 171, 221, 0.18);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --h1-scale: clamp(2.2rem, 4.4vw, 3.75rem);
  --h2-scale: clamp(1.75rem, 3.2vw, 2.45rem);
  --body-measure: none;
  --container-max: 1180px;
  --container-gutter: 2.5rem;
  --container-width: min(var(--container-max), calc(100% - var(--container-gutter)));
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background: var(--background);
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--forest-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--forest);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100vh;
  z-index: 1000;
  background: var(--forest);
  color: var(--white);
  padding: 0.6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container-width);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold-light);
}

.eyebrow-light {
  color: var(--gold-light);
}

.eyebrow-light::before {
  background: rgba(255, 255, 255, 0.65);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section {
  padding: 5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: var(--h2-scale);
  margin: 0.75rem 0 1rem;
  color: var(--foreground);
}

.section-head-center {
  text-align: center;
  width: 100%;
}

.section-head > p:not(.eyebrow) {
  color: var(--muted);
  max-width: none;
}

.stack > * + * {
  margin-top: 1.25rem;
}

.stack p:not(.experience-card__label),
.stack li {
  color: var(--muted);
}

.stack p,
.stack li,
.section p,
.section li,
.faq-answer,
.disclaimer,
.data-disclaimer p {
  max-width: none;
}

.prose-full p {
  max-width: none;
}

.section-follow {
  margin-top: 1.5rem;
}

/* Nav */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 20, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    padding 0.35s var(--ease);
}

.nav-wrap--hero {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav-wrap--hero.is-scrolled {
  background: rgba(10, 15, 20, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.4);
}

.nav-wrap--hero .nav-logo {
  transition: opacity 0.35s var(--ease);
}

.nav-wrap--hero.is-scrolled .nav-logo {
  opacity: 1;
}

.nav-wrap--hero .nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-wrap--hero .nav-links a:not(.btn):hover {
  color: var(--gold-light);
}

.nav-wrap--hero.is-scrolled .nav-links a:not(.btn) {
  color: rgba(250, 249, 246, 0.92);
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.92rem;
  font-weight: 400;
}

.nav-wrap--hero .nav-toggle span {
  background: var(--white);
}

.nav-wrap--hero.is-scrolled .nav-toggle span {
  background: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .nav-logo {
    height: 44px;
  }
}

@media (min-width: 1024px) {
  .nav-logo {
    height: 48px;
  }
}

.nav-logo--black {
  display: none;
}

.nav-logo--white {
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a:not(.btn) {
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-links a:not(.btn):hover {
  color: var(--forest-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: #0a0f14;
}

.btn-primary:hover {
  background: var(--gold-light);
  color: #0a0f14;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--forest);
}

.btn-gold {
  background: var(--gold);
  color: var(--foreground);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--foreground);
}

.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Hero banner — full-screen video/image with overlay content */
.hero-banner {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

.hero-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-banner-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  z-index: 0;
}

.hero-banner-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: center / cover no-repeat;
  z-index: 1;
}

.hero-banner-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-height: 100svh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(108, 171, 221, 0.12) 0%, rgba(0, 0, 0, 0.55) 72%),
    linear-gradient(180deg, rgba(10, 15, 20, 0.35) 0%, rgba(10, 15, 20, 0.55) 42%, rgba(5, 8, 12, 0.92) 100%);
}

.hero-banner-inner {
  position: relative;
  z-index: 1;
  padding: 0 0 max(4.5rem, env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  .hero-banner-inner {
    padding-bottom: max(6.5rem, env(safe-area-inset-bottom, 0px));
  }
}

.hero-banner-content {
  max-width: none;
}

.hero-banner-eyebrow {
  color: var(--gold-light);
  margin-bottom: 0;
}

.hero-banner-rule {
  margin-top: 0.85rem;
  background: var(--gold-light);
}

.hero-banner-content h1 {
  margin: 1rem 0 0;
  line-height: 1.05;
}

.hero-title-main {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.25);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.hero-title-sub {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-kicker {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-banner-content .hero-lead {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: none;
}

.hero-banner-content .hero-support {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-banner-content .hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-banner-content .copy-bilingual-en {
  color: rgba(255, 255, 255, 0.9);
}

.hero-banner-content .copy-bilingual-en + .copy-bilingual-en {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
}

.btn-outline-dark {
  background: transparent;
  color: var(--forest);
  border: 2px solid rgba(45, 74, 45, 0.35);
}

.btn-outline-dark:hover {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: none;
  margin-top: 1rem;
}

.hero-support {
  color: var(--muted);
  max-width: none;
  margin-top: 0.75rem;
}

.hero-video-section {
  background: var(--cream);
}

/* Story teaser — Marsa-style two-column (video left, copy right) */
.story-teaser {
  background: var(--background);
  padding-top: 3.5rem;
}

.story-teaser-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .story-teaser-grid {
    grid-template-columns: min(100%, 26rem) minmax(0, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .story-teaser-grid {
    grid-template-columns: min(100%, 30rem) minmax(0, 1fr);
    gap: 4rem;
  }
}

.story-teaser-media {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .story-teaser-media {
    margin-inline: 0;
    max-width: none;
  }
}

.copy-bilingual {
  margin-top: 1rem;
}

.copy-bilingual-en {
  color: var(--foreground);
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.5;
  max-width: none;
}

.copy-bilingual-en + .copy-bilingual-en {
  margin-top: 0.65rem;
}

.copy-bilingual-ar {
  color: var(--muted);
  font-size: clamp(1rem, 1.9vw, 1.12rem);
  line-height: 1.75;
  max-width: none;
  margin-top: 1rem;
  text-align: right;
}

.hero-banner-content .copy-bilingual {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.65rem;
}

.hero-banner-content .copy-bilingual-en {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.hero-banner-content .copy-bilingual-en + .copy-bilingual-en {
  font-style: normal;
}

.hero-banner-content .copy-bilingual-ar {
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.35rem;
}

.story-teaser-copy .copy-bilingual {
  margin-bottom: 0.5rem;
}

.story-teaser-copy .copy-bilingual-en {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--foreground);
}

.story-teaser-copy .copy-bilingual-ar {
  margin-top: 0.85rem;
}

.story-teaser-copy .teaser-film-ar {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.story-teaser-copy h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--foreground);
  margin-top: 0.75rem;
  font-weight: 400;
}

.label-caps {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.rule-gold {
  height: 1px;
  width: 100%;
  max-width: 4rem;
  background: var(--gold);
  opacity: 0.85;
  margin-top: 1rem;
}

.story-teaser-copy p {
  color: var(--muted);
  max-width: none;
  margin-top: 1.25rem;
  line-height: 1.7;
}

.story-teaser-cta {
  margin-top: 2rem !important;
}

.story-films-rows {
  display: grid;
  gap: 4rem;
}

@media (min-width: 768px) {
  .story-films-rows {
    gap: 5rem;
  }
}

@media (min-width: 1024px) {
  .story-films-rows {
    gap: 6rem;
  }
}

@media (min-width: 768px) {
  .story-teaser-grid--reverse {
    grid-template-columns: minmax(0, 1fr) min(100%, 26rem);
  }
}

@media (min-width: 1024px) {
  .story-teaser-grid--reverse {
    grid-template-columns: minmax(0, 1fr) min(100%, 30rem);
  }
}

.story-teaser-copy h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--foreground);
  margin-top: 0.75rem;
  font-weight: 400;
  font-family: var(--font-heading);
}

.hero-video-wrap {
  display: flex;
  justify-content: center;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-video-fallback {
  display: flex;
  align-items: flex-end;
  min-height: 360px;
}

.hero-video-placeholder {
  background: rgba(45, 74, 45, 0.85);
  color: var(--foreground);
  font-size: 0.8rem;
  padding: 1rem;
  width: 100%;
}

/* Subpage hero */
.hero-banner-page {
  position: relative;
  min-height: clamp(18rem, 42vw, 26rem);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

.hero-banner-page-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-banner-page-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(26, 46, 26, 0.08) 0%, rgba(0, 0, 0, 0.45) 72%),
    linear-gradient(180deg, rgba(26, 46, 26, 0.25) 0%, rgba(26, 46, 26, 0.55) 55%, rgba(10, 18, 10, 0.88) 100%);
}

.hero-banner-page-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3rem;
}

@media (min-width: 768px) {
  .hero-banner-page-inner {
    padding: 3rem 0 3.75rem;
  }
}

.hero-banner-page h1 {
  color: var(--white);
  font-size: var(--h1-scale);
  margin: 0.75rem 0;
  max-width: none;
  width: 100%;
}

.hero-banner-page .eyebrow {
  color: var(--gold-light);
}

.hero-banner-page a {
  color: var(--gold-light);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  max-width: none;
}

.breadcrumb {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}

/* Location visual */
.location-visual {
  width: 100%;
  max-width: 1024px;
  margin: 1.5rem auto 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.location-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1024px;
  image-rendering: auto;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.tag-row span {
  background: var(--background);
  border: 1px solid var(--line);
  color: var(--foreground);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

/* Info / landmark cards */
.info-card-grid,
.nearby-dev-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.25rem;
}

.landmark-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .landmark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .landmark-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.info-card,
.landmark-card,
.nearby-dev-card {
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.section-cream .info-card,
.section-cream .landmark-card,
.section-cream .nearby-dev-card {
  background: var(--white);
}

.info-card h3,
.landmark-card h3,
.nearby-dev-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--foreground);
}

.info-card p,
.landmark-card p,
.nearby-dev-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.landmark-meta {
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.landmark-meta span {
  color: var(--gold);
  font-weight: 600;
  margin-right: 0.35rem;
}

.landmark-status {
  font-size: 0.88rem;
  color: var(--foreground);
}

/* Experience art & history uniform box grid */
.experience-section .section-head > p:not(.eyebrow) {
  font-size: 1.05rem;
  color: var(--foreground);
}

.experience-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .experience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.experience-grid .experience-card {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.experience-card {
  position: relative;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--forest);
}

.experience-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.58) 42%,
    rgba(0, 0, 0, 0.18) 72%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.experience-section .experience-card__label,
.nearby-section .experience-card__label,
.experience-card__label {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  color: var(--white);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 2px 10px rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Shared photo-card grid (Things to do nearby) */
.photo-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .photo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.photo-card-grid .experience-card {
  aspect-ratio: 16 / 9;
}

.photo-card--link {
  display: block;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-card--link:hover,
.photo-card--link:focus-visible {
  color: var(--white);
}

.photo-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 24, 16, 0.18);
}

.photo-card--link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nearby-dev-card a {
  color: var(--forest-light);
  text-decoration: none;
}

.nearby-dev-card a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.image-caption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.image-caption-light {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.75);
  margin-top: 0.5rem;
}

.hero-no-obligation,
.story-teaser-note,
.download-card-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-no-obligation {
  color: rgba(245, 240, 232, 0.8);
  margin-top: 0.75rem;
}

.story-teaser-note {
  margin-top: 0.5rem;
}

.download-card-note {
  display: block;
  margin-top: 0.75rem;
}

.faq-fallback {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  text-align: center;
}

.faq-fallback p {
  color: var(--muted);
  margin: 0;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--forest-light);
  text-decoration: underline;
  cursor: pointer;
}

.link-button:hover {
  color: var(--forest);
}

/* Download cards */
.download-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.download-card {
  display: block;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.download-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.download-card h3 {
  color: var(--foreground);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.download-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.download-card-cta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Why list */
.why-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.why-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 0.75rem;
}

.why-list strong {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
}

.why-list p {
  color: var(--muted);
}

/* Stats */
.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 1.5rem 0;
}

.stat-card {
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--foreground);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
}

.data-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(184, 149, 106, 0.1);
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  color: var(--muted);
}

/* Timeline */
.timeline {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.timeline strong {
  display: block;
  color: var(--foreground);
  margin-bottom: 0.35rem;
}

.timeline p {
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.25rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--foreground);
  padding: 0.85rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding-bottom: 1rem;
  color: var(--muted);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  text-align: left;
}

.data-table th {
  background: var(--cream);
  color: var(--foreground);
}

/* Advisor form — pre-footer lead capture */
.section-advisor-form {
  background: var(--cream);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.advisor-form-card {
  display: grid;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 46, 26, 0.08);
  border: 1px solid rgba(45, 74, 45, 0.08);
}

@media (min-width: 960px) {
  .advisor-form-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 1fr);
  }
}

.advisor-form-main {
  container-type: inline-size;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.advisor-form-main h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 0.65rem + 2cqi, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--foreground);
  margin: 0 0 1.75rem;
  width: 100%;
  max-width: none;
  text-wrap: pretty;
}

.form-advisor {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.advisor-form-fields {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.form-advisor .field-inline.field-full {
  grid-column: auto;
}

.form-advisor .field span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(26, 46, 26, 0.62);
}

.form-advisor .field input {
  border: 0;
  border-bottom: 1px solid rgba(26, 46, 26, 0.18);
  border-radius: 0;
  padding: 0.55rem 0 0.65rem;
  background: transparent;
}

.form-advisor .field input:focus {
  outline: none;
  border-bottom-color: var(--forest);
}

.form-advisor .field input::placeholder {
  color: rgba(26, 46, 26, 0.38);
}

.form-advisor .phone-field .phone-row {
  align-items: end;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.75rem;
}

.form-advisor .country-picker {
  width: 5.25rem;
  max-width: 5.25rem;
}

.form-advisor .country-picker-trigger {
  border: 0;
  border-bottom: 1px solid rgba(26, 46, 26, 0.18);
  border-radius: 0;
  background: transparent;
  padding: 0.55rem 0.15rem 0.65rem 0;
  min-width: 0;
  width: 100%;
  justify-content: flex-start;
  gap: 0.2rem;
}

.form-advisor .country-picker-flag {
  font-size: 0.95rem;
}

.form-advisor .country-picker-dial {
  font-size: 0.84rem;
}

.form-advisor .country-picker-panel {
  background: var(--white);
}

.advisor-form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.35rem;
  margin-top: 0.35rem;
}

.form-disclaimer {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(26, 46, 26, 0.62);
  text-align: center;
  margin: 0;
  max-width: 28rem;
}

.form-disclaimer a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.btn-advisor {
  background: var(--foreground);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.95rem 1.65rem;
  border-radius: 0.15rem;
  min-width: 10.5rem;
}

.btn-advisor:hover {
  background: var(--forest);
  color: var(--white);
}

.form-advisor .btn[aria-busy="true"]::before {
  border-top-color: var(--white);
}

.advisor-form-profile {
  background: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-left: 1px solid rgba(45, 74, 45, 0.08);
}

.advisor-form-photo {
  width: 100%;
  max-width: 420px;
  line-height: 0;
  padding-top: 0.75rem;
}

.advisor-form-profile img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 0.5rem;
}

.advisor-form-name {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foreground);
  margin: 0.35rem 0 0;
}

.advisor-form-role {
  font-size: 0.92rem;
  color: rgba(26, 46, 26, 0.62);
  margin: 0;
}

.form-advisor .form-alert {
  grid-column: 1 / -1;
}

/* Form */
.section-form {
  background: var(--forest);
  color: var(--white);
}

.section-form h2 {
  color: var(--white);
  font-size: var(--h2-scale);
  margin: 0.75rem 0 1rem;
}

.section-form .eyebrow {
  color: var(--gold-light);
}

.section-form p {
  color: rgba(245, 240, 232, 0.85);
}

.form-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .form-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.form {
  background: var(--background);
  padding: 1.75rem;
  border-radius: 0.75rem;
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
}

.field input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(45, 74, 45, 0.18);
  border-radius: 0.35rem;
  background: var(--white);
  color: var(--foreground);
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(7.25rem, auto) 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: 0.35rem;
  font-size: 0.9rem;
}

.form-alert-success {
  background: #e8f5e9;
  color: #1b5e20;
}

.form-alert-error {
  background: #ffebee;
  color: #b71c1c;
}

.form.is-submitting {
  position: relative;
}

.form.is-submitting::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
  z-index: 1;
}

.form.is-submitting label,
.form.is-submitting .phone-field,
.form.is-submitting .form-alert {
  opacity: 0.72;
}

.form .btn[aria-busy="true"] {
  cursor: wait;
  gap: 0.55rem;
  position: relative;
  z-index: 2;
}

.form .btn[aria-busy="true"]::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}

.register-modal-dialog .form.is-submitting::after {
  background: rgba(249, 246, 240, 0.55);
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Footer */
.site-footer {
  background: #050810;
  color: rgba(232, 234, 237, 0.75);
  padding: 3rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 2rem 3rem;
  }

  .footer-links {
    display: contents;
  }

  .footer-links-col:last-child {
    justify-self: end;
    text-align: right;
  }
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .footer-logo {
    height: 64px;
  }
}

.footer-tag {
  font-size: clamp(0.62rem, 1.8vw, 0.9rem);
  line-height: 1.4;
  max-width: none;
  white-space: nowrap;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 2.5rem;
  align-content: start;
}

@media (max-width: 767px) {
  .footer-links {
    gap: 0.35rem 1.25rem;
  }
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.footer-links a {
  color: rgba(245, 240, 232, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.35;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  margin-bottom: 1.25rem;
}

.disclaimer {
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.75;
  margin: 0;
}

.footer-copy-row {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.55;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* Mobile nav */
@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(45, 74, 45, 0.12);
    display: none;
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }
}

/* Country picker */
.country-picker {
  position: relative;
}

.country-picker-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(45, 74, 45, 0.18);
  border-radius: 0.35rem;
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--foreground);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.country-picker-trigger:hover,
.country-picker-trigger:focus {
  outline: none;
  border-color: rgba(45, 74, 45, 0.45);
  box-shadow: 0 0 0 1px rgba(45, 74, 45, 0.15);
}

.country-picker-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.country-picker-dial {
  font-variant-numeric: tabular-nums;
}

.country-picker-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  width: min(18rem, 78vw);
  background: var(--white);
  border: 1px solid rgba(45, 74, 45, 0.14);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.country-picker-search {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-bottom: 1px solid rgba(45, 74, 45, 0.1);
  font-size: 0.88rem;
}

.country-picker-search:focus {
  outline: none;
  background: var(--cream);
}

.country-picker-list {
  list-style: none;
  max-height: 14rem;
  overflow: auto;
  margin: 0;
  padding: 0.25rem 0;
}

.country-picker-option {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  font-size: 0.86rem;
}

.country-picker-option:hover,
.country-picker-option.is-active {
  background: var(--cream);
}

.country-picker-option-flag {
  font-size: 1rem;
  text-align: center;
}

.country-picker-option-name {
  color: var(--foreground);
}

.country-picker-option-dial {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.country-picker-empty {
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Register modal */
html.modal-open {
  overflow: hidden;
}

.register-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.register-modal[hidden] {
  display: none;
}

.register-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 35, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.register-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: var(--background);
  border: 1px solid rgba(45, 74, 45, 0.12);
  border-radius: 1rem;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  animation: register-modal-in 0.28s var(--ease);
}

@keyframes register-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.register-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(45, 74, 45, 0.08);
  color: var(--forest);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.register-modal-close:hover {
  background: rgba(45, 74, 45, 0.16);
}

.register-modal-head {
  padding-right: 2rem;
  margin-bottom: 1.25rem;
}

.register-modal-title {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--foreground);
  margin: 0.5rem 0;
  line-height: 1.2;
}

.register-modal-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.form.form-modal {
  background: transparent;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.form.form-modal button[type="submit"] {
  margin-top: 0.75rem;
}

.form.form-modal .field span {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.form.form-modal .form-disclaimer {
  font-size: 0.78rem;
}

/* Floating register */
.float-register {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 90;
  padding: 1rem;
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}

.float-register.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.float-register .btn {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

/* Manchester City Yas Residences — project components */
.property-type-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .property-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.property-type-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.property-type-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-type-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.property-type-body h3 {
  font-size: var(--h3-scale, 1.35rem);
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.property-type-price {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.property-type-body ul {
  list-style: none;
  padding: 0;
}

.property-type-body li {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.2rem 0;
}

.pricing-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.amenity-rows {
  display: grid;
  gap: 4rem;
}

@media (min-width: 768px) {
  .amenity-rows {
    gap: 5rem;
  }
}

@media (min-width: 1024px) {
  .amenity-rows {
    gap: 6rem;
  }
}

.amenity-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 0;
}

.amenity-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.amenity-intro {
  color: var(--muted);
  max-width: none;
  margin-top: 1rem;
  line-height: 1.7;
}

.amenity-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.amenity-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.6;
}

.amenity-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.9;
}

.amenity-list li strong {
  display: block;
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.amenity-list li span {
  display: block;
  font-size: 0.95rem;
}

.partnership-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .partnership-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.partnership-grid img {
  width: 100%;
  border-radius: 0.25rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.video-embed-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .video-embed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.video-embed-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0.25rem;
  overflow: hidden;
}

.video-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.map-link a {
  color: var(--forest-light);
}

.payment-plan-table caption {
  text-align: left;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.advisor-form-card--solo {
  grid-template-columns: 1fr;
  max-width: 26rem;
  margin-inline: auto;
}

.advisor-form-card--solo .advisor-form-main {
  padding: 1.35rem 1.4rem 1.45rem;
}

.advisor-form-card--solo .advisor-form-main h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin-bottom: 0.5rem;
}

.advisor-form-card--solo .form-lead {
  font-size: 0.8125rem;
  margin-top: 0;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.advisor-form-card--solo .form {
  padding: 0;
  gap: 0.7rem;
  background: transparent;
}

.advisor-form-card--solo .field {
  gap: 0.25rem;
}

.advisor-form-card--solo .field span {
  font-size: 0.75rem;
}

.advisor-form-card--solo .field input {
  padding: 0.5rem 0.65rem;
  font-size: 0.9375rem;
}

.advisor-form-card--solo .phone-row {
  grid-template-columns: minmax(5.5rem, auto) 1fr;
  gap: 0.4rem;
}

.advisor-form-card--solo .btn-block {
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

.advisor-form-card--solo .form-disclaimer {
  font-size: 0.72rem;
  max-width: none;
  margin-top: 0.15rem;
}

.form-no-obligation,
.form-lead {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.75rem;
}

.section-head h2 {
  color: var(--foreground);
}

.hero-banner-page-overlay {
  background: linear-gradient(180deg, rgba(10, 15, 20, 0.2) 0%, rgba(5, 8, 12, 0.88) 100%);
}

.hero-banner-page h1,
.hero-banner-page .eyebrow {
  color: var(--white);
}

.breadcrumb,
.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.data-table {
  background: rgba(255, 255, 255, 0.02);
}

.data-table th {
  background: rgba(108, 171, 221, 0.12);
  color: var(--foreground);
}

.data-table td {
  color: var(--muted);
  border-color: var(--line);
}

.download-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.download-card h3 {
  color: var(--foreground);
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
}

.faq-item summary {
  color: var(--foreground);
}

.register-modal-dialog {
  background: #121820;
  color: var(--foreground);
}

.form {
  background: rgba(255, 255, 255, 0.03);
}

.form input {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--foreground);
}

.form .country-picker-trigger {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--foreground);
  min-height: 2.625rem;
  height: 2.625rem;
  padding: 0 0.85rem;
  border-radius: 0.35rem;
  box-sizing: border-box;
}

.form .phone-row input[type="tel"] {
  height: 2.625rem;
  min-height: 2.625rem;
  box-sizing: border-box;
}

.form .phone-row .country-picker {
  display: flex;
  align-self: stretch;
}

.form .country-picker-trigger:hover,
.form .country-picker-trigger:focus {
  border-color: rgba(108, 171, 221, 0.45);
  box-shadow: none;
}

.advisor-form-card--solo .form .country-picker-trigger,
.advisor-form-card--solo .form .field input {
  padding: 0.5rem 0.65rem;
  font-size: 0.9375rem;
}

/* White advisor card — dark text (site shell uses light --foreground) */
.advisor-form-card {
  --form-ink: #1a2e1a;
  --form-muted: rgba(26, 46, 26, 0.62);
  --form-line: rgba(26, 46, 26, 0.18);
}

.advisor-form-card .advisor-form-main h2 {
  color: var(--form-ink);
}

.advisor-form-card .form-lead,
.advisor-form-card .field span,
.advisor-form-card .form-disclaimer {
  color: var(--form-muted);
}

.advisor-form-card .form {
  background: transparent;
}

.advisor-form-card .form input,
.advisor-form-card .form .country-picker-trigger {
  background: var(--white);
  border-color: var(--form-line);
  color: var(--form-ink);
}

.advisor-form-card .country-picker-dial {
  color: var(--form-ink);
}

.advisor-form-card .form .country-picker-trigger:hover,
.advisor-form-card .form .country-picker-trigger:focus {
  border-color: rgba(26, 46, 26, 0.35);
  box-shadow: none;
}

.advisor-form-card .phone-row {
  align-items: stretch;
}

.advisor-form-card .phone-row .country-picker {
  display: flex;
  align-self: stretch;
}

.advisor-form-card .phone-row .country-picker-trigger,
.advisor-form-card .phone-row input[type="tel"] {
  height: 2.625rem;
  min-height: 2.625rem;
  box-sizing: border-box;
  line-height: 1.2;
}

.advisor-form-card .phone-row .country-picker-trigger {
  display: flex;
  align-items: center;
  min-height: 2.625rem;
  padding-block: 0;
}

.sitemap-note {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 52rem;
}

.sitemap-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sitemap-group h2 {
  font-size: 1.15rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.sitemap-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.sitemap-list a {
  color: var(--forest-light);
  font-weight: 500;
  text-decoration: none;
}

.sitemap-list a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.sitemap-desc {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.footer-logo--white {
  display: block;
}

/* Gallery — bento grid with lightbox */
.gallery-section {
  background: linear-gradient(180deg, var(--background) 0%, #0d1218 100%);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gallery-filter {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.gallery-filter:hover,
.gallery-filter.is-active {
  color: var(--foreground);
  border-color: rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.1);
}

.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.gallery-item {
  margin: 0;
  min-height: 0;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item-button {
  appearance: none;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: zoom-in;
  background: #050810;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}

.gallery-item-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.gallery-item-button:hover img,
.gallery-item-button:focus-visible img {
  transform: scale(1.04);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(5, 8, 16, 0) 35%, rgba(5, 8, 16, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.gallery-item-button:hover .gallery-item-overlay,
.gallery-item-button:focus-visible .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  color: var(--foreground);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
}

.gallery-item-zoom {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 16, 0.92);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 3.5rem auto 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.gallery-lightbox-stage {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-slide {
  margin: 0;
  width: 100%;
  display: none;
}

.gallery-lightbox-slide.is-active {
  display: block;
}

.gallery-lightbox-slide img {
  display: block;
  width: 100%;
  max-height: min(70vh, 640px);
  object-fit: contain;
  margin-inline: auto;
  border-radius: 0.5rem;
}

.gallery-lightbox-slide figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.gallery-lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-nav {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
}

.gallery-lightbox-nav:hover {
  border-color: rgba(201, 169, 98, 0.45);
  color: var(--gold);
}

.gallery-lightbox-counter {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .gallery-lightbox-dialog {
    width: calc(100% - 1.25rem);
    margin-top: 3rem;
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .gallery-lightbox-prev {
    left: 0.25rem;
  }

  .gallery-lightbox-next {
    right: 0.25rem;
  }
}

