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

:root {
  --navy: #0f1c2e;
  --navy-mid: #1a2d45;
  --gold: #c9a84c;
  --gold-lt: #e8c97d;
  --gold-dk: #a8873a;
  --gold-bg: rgba(201, 168, 76, .08);
  --bg-light: #faf8f4;
  --bg-alt: #f2ede4;
  --slate: #f2ede4;
  --white: #ffffff;
  --text: #1f2937;
  --mid: #6b7280;
  --light: #9ca3af;
  --border: #e5ddd0;
  --shadow-xs: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .07);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .10);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --t: .22s ease;
  --max: 1160px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  min-height: 100%;
  min-height: 100dvh;
  background-color: var(--navy);
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  /* Root is navy so overscroll / pull-to-refresh gutters stay on-brand (not cream) */
  background-color: var(--navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  min-height: 100%;
  min-height: 100dvh;
}

#main-content {
  background-color: var(--bg-light);
  overflow-x: clip;
  max-width: 100%;
}

/* Nav + modals: JS sets body fixed + scroll restore; backs up scroll chaining / rubber-band */
html.nav-open,
body.nav-open,
html.body-scroll-locked,
body.body-scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}

.skip-nav {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: .5rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--t);
}

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

.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;
}

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

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .65rem;
}

.section-label--light {
  color: var(--gold-lt);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: .9rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-intro {
  font-size: 1.02rem;
  color: var(--mid);
  max-width: 600px;
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header .section-intro {
  margin-inline: auto;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

@media (max-width: 480px) {
  .section-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

/* First band after hero: no extra air gap — cream about block sits right under the hero */
.hero+.section.about {
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

section[id] {
  scroll-margin-top: var(--header-h, 80px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.65rem;
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: all var(--t);
  line-height: 1;
  white-space: nowrap;
}

.btn--lg {
  padding: .88rem 2.1rem;
  font-size: .98rem;
}

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

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 168, 76, .32);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

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

.btn--outline-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-dk);
  border: 2px solid var(--gold);
}

.btn--ghost:hover {
  background: var(--gold-bg);
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .75);
  font-size: .81rem;
  padding: .48rem 0;
  position: relative;
  z-index: 445;
  margin-bottom: -1px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.topbar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.topbar__contact a {
  display: flex;
  align-items: center;
  gap: .38rem;
  color: rgba(255, 255, 255, .8);
  transition: color var(--t);
}

.topbar__contact a:hover {
  color: var(--gold-lt);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* .topbar__checkatrade base styles defined below */

.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: .55rem 0;
}

.gold-rule {
  height: 3px;
  background: var(--gold);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.trust-bar__checkatrade {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: .9;
  transition: opacity var(--t), transform var(--t);
}

.trust-bar__checkatrade:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.trust-bar__checkatrade img {
  height: 26px;
  width: auto;
  display: block;
}

.trust-bar__divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}

.trust-bar__text {
  font-size: .78rem;
  color: var(--text-muted);
}

.footer__checkatrade {
  display: inline-flex;
  align-items: center;
  grid-column: 1;
  align-self: end;
  opacity: .85;
  transition: opacity var(--t), transform var(--t);
}

.footer__checkatrade:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer__checkatrade img {
  height: 36px;
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .footer__checkatrade img {
    height: 28px;
    width: auto;
    max-width: 132px;
    object-fit: contain;
    object-position: left center;
  }
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.topbar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .8);
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}

.topbar__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

.topbar__vat {
  font-size: .73rem;
  opacity: .5;
}

.topbar__checkatrade {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(201, 168, 76, .35);
  border-radius: 999px;
  padding: .22rem .6rem .22rem .5rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: background var(--t), border-color var(--t), box-shadow var(--t), transform var(--t);
}

.topbar__checkatrade:hover {
  background: rgba(201, 168, 76, .1);
  border-color: rgba(201, 168, 76, .65);
  box-shadow: 0 0 14px rgba(201, 168, 76, .25), 0 1px 6px rgba(0, 0, 0, .25);
  transform: translateY(-1px);
}

.topbar__checkatrade img {
  height: 17px;
  width: auto;
  display: block;
}

.topbar__checkatrade-badge {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: .5rem;
  padding-left: .5rem;
  border-left: 1px solid rgba(201, 168, 76, .3);
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: .04em;
  white-space: nowrap;
}

.topbar__checkatrade-badge svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Wide viewports: fixed shell stays at top (sticky). Spacer reserves layout height.
   Use `top` (not `transform`) so mobile .nav position:fixed stays viewport-relative (see nav media query). */
.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  width: 100%;
  /* Solid fill so safe-area padding (mobile) isn’t a transparent strip over the canvas */
  background-color: var(--navy);
  transition: top 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-head-spacer {
  height: var(--site-head-h, 120px);
  flex-shrink: 0;
  pointer-events: none;
}

/* Mobile-only: back to top (shown via JS after #about); hidden on wider viewports */
.back-to-top {
  position: fixed;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  right: calc(1rem + env(safe-area-inset-right, 0px));
  z-index: 400;
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: background var(--t);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #d2b45e;
  background: color-mix(in srgb, var(--gold) 82%, white);
  outline: none;
}

.back-to-top svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.back-to-top[hidden] {
  display: none !important;
}

@media (min-width: 901px) {
  .back-to-top {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-head {
    transition: none;
  }
}

.header {
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow var(--t);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .85rem;
  gap: 1.5rem;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.logo__elegant {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.logo__loft {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
}

.nav__link {
  font-size: .84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
  padding: .38rem .65rem;
  border-radius: var(--r-sm);
  transition: all var(--t);
}

.nav__link:hover,
.nav__link.active,
.nav__dropdown-toggle:hover,
.nav__has-dropdown.is-open .nav__dropdown-toggle {
  color: var(--gold-dk);
  background: var(--gold-bg);
}

/* Dropdown */
.nav__has-dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1;
  letter-spacing: inherit;
  text-transform: inherit;
  color: rgba(255, 255, 255, .85);
  padding: .38rem .65rem;
  border-radius: var(--r-sm);
  transition: all var(--t);
  margin: 0;
  white-space: nowrap;
}

.nav__dropdown-toggle svg {
  transition: transform .2s ease;
  flex-shrink: 0;
}

.nav__has-dropdown.is-open .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  min-width: 200px;
  padding: 0;
  list-style: none;
  overflow: hidden;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.nav__has-dropdown.is-open .nav__dropdown {
  display: block;
}

.nav__dropdown-link {
  display: block;
  padding: .7rem 1.1rem;
  color: rgba(255, 255, 255, .8);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .15s, background .15s;
}

.nav__dropdown-link:hover {
  color: var(--gold-dk);
  background: var(--gold-bg);
}

@media (max-width: 1100px) {
  .nav__link {
    padding: .38rem .45rem;
    font-size: .8rem;
  }

  .nav__dropdown-toggle {
    padding: .38rem .45rem;
    font-size: .8rem;
  }
}

@media (max-width: 900px) {

  /* Header scrolls with the page — no overlay, so do not reserve top scroll inset for anchors */
  section[id] {
    scroll-margin-top: 0;
  }

  .topbar {
    display: none;
  }

  /* Mobile: header in normal flow (scrolls away); no fixed bar / no auto-hide.
     position + z-index so .nav (inside header) stacks above .main / .hero__inner — static alone let hero paint on top. */
  .site-head {
    position: relative;
    z-index: 1200;
    left: auto;
    right: auto;
    width: 100%;
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
    transition: none;
  }

  .site-head-spacer {
    display: none !important;
    height: 0 !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .header__inner {
    padding-block: 1.05rem;
    gap: 0.75rem;
  }

  .header__logo {
    min-width: 0;
  }

  .header__logo-text {
    display: block;
    white-space: nowrap;
    font-size: clamp(0.78rem, 1.55vw + 0.55rem, 1.2rem);
    letter-spacing: -0.02em;
    line-height: 1;
  }

  .nav__has-dropdown {
    display: flex;
    flex-direction: column;
  }

  .nav__dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  .nav__dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
  }

  .nav__dropdown-link {
    font-size: .97rem;
    padding: .7rem .95rem .7rem 1.75rem;
    border-left: 2px solid var(--gold);
    margin-left: .95rem;
    color: rgba(255, 255, 255, .65);
  }

  .nav__dropdown-link:hover {
    background: none;
    color: var(--gold-dk);
  }
}

.nav__link--cta:hover,
.nav__link--cta.active {
  color: var(--navy);
}

.nav__link--cta {
  background: transparent;
  color: var(--gold);
  padding: .42rem .95rem;
  font-weight: 600;
  border: 2px solid var(--gold);
  margin-left: .5rem;
}

.nav__link--cta:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.nav__link--cta.active,
.nav__link--cta[aria-current="page"] {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .38rem;
}

.nav-close {
  display: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, .85);
  border-radius: 2px;
  transition: all var(--t);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(10, 18, 30, .75) 0%, rgba(10, 18, 30, .50) 45%, rgba(10, 18, 30, .20) 100%),
    url('../images/full-loft-index-showcase.webp') center/cover no-repeat;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding-block: 6rem;
  width: 100%;
}

.hero__left {
  color: var(--white);
}

.hero__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.1rem;
  line-height: 1.08;
}

.hero__title em {
  color: var(--gold-lt);
  font-style: italic;
}

.hero__tagline {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--gold-lt);
  margin-bottom: .6rem;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: .01em;
}

.hero__subtitle {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, .78);
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.hero__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-self: center;
}

.hero__stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  color: var(--white);
  gap: .3rem;
}

.hero__stat-value {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}

.hero__stat-value small {
  font-size: .65em;
  font-weight: 400;
}

.hero__stat-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .70);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .6);
  animation: bounce 2.2s infinite;
  cursor: pointer;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}

.hero__scroll:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

@media (max-width: 768px) {
  .hero__scroll {
    display: none;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

.trust-bar {
  background: var(--bg-light);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold-dk);
  margin-bottom: .65rem;
}

.trust-item__title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .25rem;
}

.trust-item__text {
  font-size: .82rem;
  color: var(--mid);
}

.about {
  background: var(--bg-alt);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: start;
}

.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin: 2rem 0;
}

.pillar {
  display: flex;
  gap: .85rem;
}

.pillar__number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .45;
  line-height: 1.1;
  flex-shrink: 0;
}

.pillar__title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
  font-family: 'Inter', sans-serif;
}

.pillar__body p {
  font-size: .85rem;
  color: var(--mid);
}

.about__closing {
  font-size: .93rem;
  color: var(--mid);
  line-height: 1.75;
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__stat-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-card__number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-card__number sup {
  font-size: 1.8rem;
}

.stat-card__label {
  display: block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .5rem;
  opacity: .75;
}

.about__image-placeholder {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.about__image-placeholder img:hover {
  transform: scale(1.04);
}

.finance-banner {
  background: linear-gradient(130deg, var(--gold-dk), var(--gold) 60%);
  padding: 3rem 0;
}

.finance-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.finance-banner__text {
  color: var(--navy);
}

.finance-banner__title {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  color: var(--navy);
  margin-bottom: .4rem;
}

.finance-banner__text p {
  font-size: .92rem;
  opacity: .75;
}

.finance-banner .btn--primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  flex-shrink: 0;
}

.finance-banner .btn--primary:hover {
  background: var(--navy-mid);
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  font-size: .95rem;
  padding: .48rem 1.15rem;
  border-radius: 100px;
  margin-top: .4rem;
}

.price-tag strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-dk);
}

.section-label__price {
  color: var(--gold-dk);
  font-style: normal;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  transition: all var(--t);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-bg);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dk);
  margin-bottom: .9rem;
}

.feature-card h3 {
  font-size: .98rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.feature-card p {
  font-size: .87rem;
  color: var(--mid);
}

.reasons {
  background: var(--slate);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
}

.reasons__title {
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  margin-bottom: 2rem;
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 2rem;
}

.reason-card {
  text-align: center;
}

.reason-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .9rem;
}

.reason-card__title {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: .45rem;
}

.reason-card p {
  font-size: .86rem;
  color: var(--mid);
}

.non-hab {
  background: var(--slate);
}

.non-hab__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.non-hab__what,
.non-hab__why {
  min-width: 0;
}

.non-hab__what h3,
.non-hab__why h3 {
  font-size: 1.15rem;
  margin-bottom: .85rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  max-width: 100%;
}

.non-hab__what p {
  font-size: .88rem;
  color: var(--mid);
  margin-bottom: .7rem;
}

.non-hab__visual {
  display: flex;
  align-items: center;
}

.non-hab__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.why-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.why-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}

.why-item svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: .2rem;
}

.why-item h4 {
  font-size: .92rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: .25rem;
}

.why-item p {
  font-size: .84rem;
  color: var(--mid);
}

.key-features {
  margin-bottom: 2.5rem;
}

.key-features h3 {
  font-size: 1.35rem;
  margin-bottom: 1.35rem;
  text-align: center;
}

.key-features__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: .85rem;
}

.key-features__list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  background: var(--white);
  padding: .95rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: .87rem;
  box-shadow: var(--shadow-xs);
}

.key-features__list li svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: .15rem;
}

.key-features__list strong {
  color: var(--navy);
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.use-case-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.65rem 1rem 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 2px solid rgba(201, 168, 76, .25);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
  cursor: pointer;
  position: relative;
}

.use-case-card::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  margin: .65rem auto 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8973a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='8 12 12 16 16 12'/%3E%3Cline x1='12' y1='8' x2='12' y2='16'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .6;
  transition: opacity var(--t), transform var(--t);
}

.use-case-card:hover::after {
  opacity: 1;
  transform: translateY(2px);
}

.use-case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, .45);
}

.use-case-card.uc--active {
  border-color: var(--gold);
  background: var(--gold-bg);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.use-case-card__icon {
  color: var(--gold-dk);
  margin-bottom: .65rem;
  display: flex;
  justify-content: center;
}

.use-case-card h4 {
  font-size: .87rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
}

.student-income {
  background: var(--white);
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 1.25rem;
}

.student-card {
  background: var(--slate);
  border-radius: var(--r-md);
  padding: 1.85rem;
  transition: all var(--t);
  border: 1px solid var(--border);
}

.student-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.student-card svg {
  color: var(--gold);
  margin-bottom: .9rem;
}

.student-card h3 {
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: .5rem;
}

.student-card p {
  font-size: .86rem;
  color: var(--mid);
}

.diy-loft {
  background: var(--slate);
}

.diy-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}

.diy-content .section-title {
  margin-bottom: .9rem;
}

.diy-content p {
  color: var(--mid);
  margin-bottom: .9rem;
  font-size: .93rem;
}

.diy-list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin: 1.25rem 0;
}

.diy-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
}

.diy-list li svg {
  color: var(--gold);
  flex-shrink: 0;
}

.diy-visual {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  color: var(--light);
  border: 1.5px dashed var(--border);
}

.diy-visual svg {
  margin: 0 auto 1.1rem;
  color: var(--gold);
  opacity: .6;
}

.diy-visual p {
  font-size: .87rem;
  font-style: italic;
}

.gallery {
  background: var(--slate);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-bottom: 2rem;
}

.gallery__item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}

.gallery__item::before {
  content: attr(data-title);
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 10;
  background: rgba(15, 28, 46, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
  pointer-events: none;
  white-space: nowrap;
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__placeholder {
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 200px;
  height: 100%;
  transition: all var(--t);
}

.gallery__item--large .gallery__placeholder {
  min-height: 360px;
}

.gallery__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.gallery__placeholder:hover img {
  transform: scale(1.05);
}

.gallery__note {
  text-align: center;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--r-md);
}

.gallery__note p {
  margin-bottom: .9rem;
  font-size: .93rem;
  color: var(--mid);
}

.gallery__note .btn {
  display: inline-flex;
  margin: .375rem;
}

@media (max-width: 480px) {
  .gallery__note .btn {
    display: flex;
    width: 100%;
    margin: .375rem 0;
    justify-content: center;
  }
}

.more-options {
  background: var(--bg-light);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.option-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
  text-decoration: none;
  color: inherit;
}

.option-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
  transform: translateY(-2px);
}

.option-card:hover .btn--secondary {
  background: var(--navy);
  color: var(--white);
}

.option-card .section-label {
  margin-bottom: -.25rem;
}

.option-card h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}

.option-card>p {
  color: var(--mid);
  line-height: 1.75;
  margin: 0;
  font-size: .94rem;
}

.option-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}

.option-card__list li {
  display: flex;
  gap: .7rem;
  align-items: baseline;
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.5;
}

.option-card__list li::before {
  content: '✓';
  color: var(--gold-dk);
  font-weight: 700;
  flex-shrink: 0;
}

.option-card .btn {
  align-self: flex-start;
  margin-top: .25rem;
}

.finance {
  background: var(--bg-light);
}

.finance-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1.25rem;
  align-items: start;
}

.finance-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem;
  position: relative;
  transition: all var(--t);
}

.finance-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.finance-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.finance-card:hover .btn--primary {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
}

.finance-card:hover .btn--secondary {
  background: var(--navy);
  color: var(--white);
}

.finance-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .15);
}

.fl-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin: 2rem auto;
}

.fl-highlights--inline {
  max-width: 100%;
  margin: 1.5rem 0 0;
  gap: .75rem;
}

.fl-highlights--inline .fl-highlight {
  padding: 1.1rem .75rem;
}

.fl-highlights--inline .fl-highlight__stat {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.fl-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-md);
  background: #fff;
}

.fl-highlight__stat {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-dk);
  line-height: 1;
  margin-bottom: .4rem;
}

.fl-highlight__label {
  font-size: .82rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.full-loft-overview__list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--gold);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 600px) {
  .fl-highlights {
    grid-template-columns: 1fr;
  }
}

.fl-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem 2rem;
  max-width: 760px;
  margin: 2rem auto 0;
}

.fl-checklist--left {
  max-width: 100%;
  margin: 1.5rem 0 0;
  grid-template-columns: 1fr;
}

.fl-checklist li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .93rem;
  color: var(--text);
}

.fl-checklist li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 560px) {
  .fl-checklist {
    grid-template-columns: 1fr;
  }
}

.finance-partner {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--slate);
  border-radius: var(--r-md);
  border-left: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.finance-partner__text {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.7;
}

.finance-partner__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-dk);
  text-decoration: none;
  transition: color var(--t);
}

.finance-partner__cta:hover {
  color: var(--gold);
}

.finance-partner__note {
  font-size: .8rem;
  color: var(--text-light);
}

.finance-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .22rem .85rem;
  border-radius: 100px;
  white-space: nowrap;
}

.finance-card h3 {
  font-size: 1.15rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: .7rem;
  padding-top: .4rem;
}

.finance-card__price {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .9rem;
}

.finance-card__price strong {
  font-size: 1.9rem;
  color: var(--gold-dk);
}

.finance-card__price span {
  font-size: .87rem;
  color: var(--mid);
}

.finance-card p {
  font-size: .86rem;
  color: var(--mid);
  margin-bottom: 1.15rem;
}

.finance-card ul {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.finance-card ul li {
  font-size: .85rem;
  color: var(--text);
  padding-left: 1.15rem;
  position: relative;
}

.finance-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.faq {
  background: var(--slate);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq__item:has(.faq__question[aria-expanded="true"]) {
  border-color: var(--gold);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  transition: background var(--t);
}

.faq__question:hover {
  background: var(--gold-bg);
}

.faq__question svg {
  flex-shrink: 0;
  transition: transform var(--t);
  color: var(--gold);
}

.faq__question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq__answer {
  overflow: hidden;
  height: 0;
  transition: height .38s cubic-bezier(.4, 0, .2, 1);
}

.faq__answer__inner {
  padding: 1.1rem 1.75rem 1.1rem;
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.8;
}

.faq__answer strong {
  color: var(--navy);
}

.coverage {
  background: var(--bg-light);
}

.coverage-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

#coverageMap {
  height: 460px;
  width: 100%;
}

.leaflet-container {
  width: 100%;
  height: 100%;
}

.coverage-wrap .leaflet-top,
.coverage-wrap .leaflet-bottom {
  z-index: 400;
}

.map-job-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--white);
  border: 2px solid #0f1c2e;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.map-job-pin svg {
  transform: rotate(45deg);
}

.map-job-pin:hover {
  transform: rotate(-45deg) scale(1.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

.contact {
  background: var(--navy);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  min-width: 0;
}

.contact .section-title {
  color: var(--white);
}

.contact__info>p {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 2rem;
  font-size: .95rem;
}

.contact__info strong {
  color: var(--white);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  color: var(--white);
  transition: all var(--t);
}

.contact__detail:hover {
  background: rgba(255, 255, 255, .09);
  border-color: var(--gold);
}

.contact__detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201, 168, 76, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: .75rem;
  color: var(--gold-lt);
  text-transform: uppercase;
  letter-spacing: .09em;
}

.contact__detail span {
  display: block;
  font-size: .94rem;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.contact__detail>div {
  min-width: 0;
}

.contact__form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

.contact-form {
  max-width: 100%;
  min-width: 0;
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.65rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  min-width: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: .8rem;
  min-width: 0;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group label span {
  color: var(--gold-dk);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .62rem .88rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .14);
}

.form-group input.error,
.form-group select.error {
  border-color: #ef4444;
}

.form-group textarea {
  resize: vertical;
}

/* iOS Safari: sub-16px inputs zoom on focus → layout shifts + horizontal pan; keep tap targets readable */
@media (max-width: 900px) {

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }
}

.form-disclaimer {
  font-size: .76rem;
  color: var(--light);
  text-align: center;
  margin-top: .7rem;
}

.field-error {
  color: #ef4444;
  font-size: .76rem;
  margin-top: .2rem;
  display: block;
}

.form-success {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.form-success__icon {
  width: 60px;
  height: 60px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #16a34a;
}

.form-success__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: .75rem;
  color: var(--navy);
}

.form-success__body {
  color: var(--mid);
  font-size: .93rem;
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.55;
}

.form-success__call {
  margin-top: 1.35rem;
  font-size: .93rem;
}

.form-success__call-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.form-success__call-link:hover {
  text-decoration: underline;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .75);
  padding-top: 2.5rem;
  border-top: 3px solid var(--gold);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
  text-decoration: none;
  gap: .5rem;
}

.footer__brand p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  max-width: 300px;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .86rem;
  color: rgba(255, 255, 255, .7);
  transition: color var(--t);
}

.footer__contact a svg {
  color: var(--gold);
  flex-shrink: 0;
}

.footer__contact a:hover {
  color: var(--gold);
}

.footer__links h4,
.footer__cta h4 {
  font-size: .72rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer__links ul li a {
  font-size: .84rem;
  color: rgba(255, 255, 255, .6);
  transition: color var(--t), padding-left var(--t);
  display: inline-block;
}

.footer__links ul li a:hover {
  color: var(--gold);
  padding-left: .35rem;
}

.footer__cta p {
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-bottom: 1.3rem;
}

.footer__cta .btn {
  margin-top: 2.25rem;
}

.footer__badge {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.footer__badge-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
}

.footer__badge-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.footer__bottom {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer__bottom p {
  font-size: .76rem;
  color: rgba(255, 255, 255, .6);
}

.footer__bottom a.footer__credit {
  color: #fff !important;
  text-decoration: none;
  transition: color var(--t);
}

.footer__bottom a.footer__credit:hover {
  color: var(--gold) !important;
}

.footer__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: rgba(255, 255, 255, .45) !important;
}

.seo-area-links {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn--gold {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .25);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .35);
  transform: translateY(-1px);
}


@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about__visual {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about__image-placeholder {
    flex: 1;
    min-width: 170px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__checkatrade {
    grid-column: span 2;
  }

  .footer__cta {
    grid-column: span 2;
  }

  .diy-inner {
    grid-template-columns: 1fr;
  }

  .diy-visual {
    max-width: 380px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 78%;
    max-width: 300px;
    background: var(--navy);
    border-left: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow-md);
    transform: translateX(100%);
    transition: transform var(--t);
    padding: 1rem 1.75rem 2rem;
    z-index: 450;
    overflow-y: auto;
    visibility: hidden;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    margin-top: .5rem;
    list-style: none;
    padding-left: 0;
    margin-left: 0;
  }

  .nav__list>li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav__link {
    padding: .7rem .95rem;
    display: block;
    font-size: .97rem;
  }

  .nav__link--cta {
    text-align: center;
    margin-top: .75rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1150;
  }

  .nav-overlay.open {
    display: block;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    margin-left: auto;
    margin-bottom: .5rem;
    background: rgba(255, 255, 255, .1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, .85);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: background var(--t);
  }

  .nav-close:hover {
    background: rgba(255, 255, 255, .18);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: 5rem 2.5rem;
    gap: 2rem;
  }

  .hero__right {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }

  .hero__stat-card {
    padding: 1.1rem .9rem;
  }

  .hero__actions .btn {
    flex: 1 1 calc(50% - .45rem);
    text-align: center;
    justify-content: center;
  }

  .about__pillars {
    grid-template-columns: 1fr;
  }

  .about__visual {
    flex-direction: column;
  }

  .about__image-placeholder {
    min-width: 0;
    width: 100%;
  }

  .non-hab__intro {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.25rem;
  }

  .why-item {
    margin: 0;
  }

  .non-hab__why .btn {
    width: 100%;
    justify-content: center;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__checkatrade {
    grid-column: auto;
  }

  .footer__cta {
    grid-column: auto;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__item--large {
    grid-column: span 2;
    grid-row: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .reasons {
    padding: 2rem 1.5rem;
  }

  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  #coverageMap {
    height: 340px;
  }
}

@media (max-width: 480px) {
  .contact__form-wrap {
    padding: 1.5rem 1.25rem;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .25rem;
  }

  .topbar__contact {
    gap: .5rem;
  }

  .topbar__right {
    gap: .5rem;
  }

  .trust-bar__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item--large {
    grid-column: auto;
  }

  .use-cases__grid {
    grid-template-columns: 1fr 1fr;
  }

  #coverageMap {
    height: 280px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__right {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .topbar__contact a:last-child {
    display: none;
  }
}

@media print {

  body {
    padding-top: 0 !important;
    background: #fff !important;
  }

  #main-content {
    background: transparent !important;
  }

  .header,
  .topbar,
  .footer,
  .hero__scroll {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__bg {
    display: none;
  }

  .hero__content {
    color: var(--navy);
  }
}

.hero__stat-card {
  cursor: default;
  will-change: transform;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.hero__stat-card:hover {
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.about__stat-card {
  transition: transform .22s ease, box-shadow .22s ease;
}

.about__stat-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
}

.pillar {
  cursor: default;
  padding: .6rem .75rem;
  border-radius: var(--r-sm);
  border-left: 3px solid transparent;
}

.feature-card {
  cursor: default;
}

.gallery__item {
  cursor: pointer;
}

.gallery__item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-md);
}

.gallery__placeholder {
  position: relative;
}

.gallery__placeholder::after {
  content: '▸ View';
  position: absolute;
  bottom: .9rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .9rem;
  border-radius: 100px;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
  pointer-events: none;
}

.gallery__placeholder:hover::after,
.gallery__item:focus-visible .gallery__placeholder::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.use-case-card {
  cursor: pointer;
}

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

.use-case-card.active {
  background: var(--gold-bg);
  border: 1.5px solid var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.use-case-card__desc {
  font-size: .77rem;
  color: var(--mid);
  line-height: 1.55;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .32s ease, opacity .32s ease, margin-top .32s ease;
}

.use-case-card.active .use-case-card__desc {
  max-height: 100px;
  opacity: 1;
  margin-top: .5rem;
}

.key-features__list li {
  transition: background var(--t);
}

.key-features__list li:hover {
  background: var(--gold-bg);
}

.why-item {
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  margin: 0 -.7rem;
  transition: background var(--t);
}

.why-item:hover {
  background: var(--gold-bg);
}

.option-card {
  transition: transform var(--t), box-shadow var(--t), border-top-color var(--t);
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
  border-top-color: var(--gold-dk);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  transform: scale(0);
  animation: rippleAnim .55s linear forwards;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 18, 30, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gallery-modal.open {
  display: flex;
}


@keyframes modalIn {
  from {
    transform: scale(.92) translateY(20px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.gallery-modal__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .28);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}

.gallery-modal__close:hover {
  background: #f0f0f0;
  transform: rotate(90deg);
}

.gallery-modal__content {
  background: var(--white);
  border-radius: var(--r-lg);
  max-width: 900px;
  width: 100%;
  height: min(88vh, 600px);
  display: grid;
  grid-template-columns: 55% 45%;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  position: relative;
  animation: modalIn .3s cubic-bezier(.22, .68, 0, 1.2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
}

.gallery-modal__img {
  overflow: hidden;
  background: var(--slate);
}

.gallery-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-modal__body-wrap {
  padding: 2.25rem 2rem 2rem;
  text-align: left;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-modal__body-wrap .js-modal-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: .75rem;
}

.gallery-modal__title {
  font-size: 1.6rem;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

.gallery-modal__body {
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.75;
  flex: 1;
}

.gallery-modal__body a {
  color: var(--gold-dk);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   USE-CASE MODAL
═══════════════════════════════════════════════════ */

.uc-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  visibility: hidden;
}

.uc-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.uc-modal[style*="visibility: hidden"] {
  pointer-events: none;
}

.uc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 28, .78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .08s ease;
}

.uc-modal.is-open .uc-modal__backdrop {
  opacity: 1;
}

.uc-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  grid-template-rows: minmax(0, 1fr);
  max-width: 900px;
  width: 100%;
  height: min(88vh, 600px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
  transform: translateY(44px) scale(.96);
  opacity: 0;
  transition: opacity .08s ease;
}

.uc-modal:not(.is-open) .uc-modal__panel {
  transition: opacity .08s ease;
}

.uc-modal.is-open .uc-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: transform .38s cubic-bezier(.22, .68, 0, 1.18), opacity .3s ease;
  transition-delay: .07s;
}

/* ── Close button ── */
.uc-modal__wrapper {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.uc-modal__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .28);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}

.uc-modal__close:hover {
  background: #f0f0f0;
  transform: rotate(90deg);
}

/* ── Visual panel (left) ── */
.uc-modal__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  /* dot-grid texture */
  background-image: radial-gradient(circle, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.uc-modal__vis-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* gradient set via JS — unique colour per room, shows behind/when no photo */
}

.uc-modal__visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, transparent 100%);
  pointer-events: none;
}

.uc-modal__vis-icon {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, .22);
  margin-bottom: .5rem;
}

.uc-modal__vis-icon svg {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, .35));
}

.uc-modal__vis-label {
  position: relative;
  z-index: 2;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .02em;
  margin-top: .25rem;
}

/* ── Content panel (right) ── */
.uc-modal__content {
  padding: 2.25rem 2rem 2rem;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.uc-modal__tagline {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  font-weight: 700;
  margin: 0;
}

.uc-modal__title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.uc-modal__desc {
  font-size: .93rem;
  color: var(--mid);
  line-height: 1.68;
  margin: 0;
}

.uc-modal__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 0;
  margin: 0;
}

.uc-modal__benefits li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.45;
}

.uc-modal__benefits li::before {
  content: '';
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  background: var(--gold);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.uc-modal__stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  padding-top: .75rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.uc-modal__stat {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  flex-shrink: 1;
}

.uc-modal__stat-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1;
}

.uc-modal__stat-lbl {
  font-size: .76rem;
  color: var(--mid);
}

/* ── Mobile ── */
@media (max-width: 600px) {

  /* Extra vertical inset: 94vh + outer padding was taller than the viewport → top/bottom clipped */
  .gallery-modal {
    padding-top: max(1.5rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    padding-left: clamp(1.1rem, 5vw, 1.85rem);
    padding-right: clamp(1.1rem, 5vw, 1.85rem);
    align-items: center;
    box-sizing: border-box;
  }

  .uc-modal {
    padding-top: max(1.5rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    padding-left: clamp(1.1rem, 5vw, 1.85rem);
    padding-right: clamp(1.1rem, 5vw, 1.85rem);
    align-items: center;
    box-sizing: border-box;
  }

  .gallery-modal__content {
    /* fr rows need a definite height; fit inside padded viewport (avoids clipping on Chrome/Safari) */
    height: calc(100vh - 5rem);
    height: min(92dvh, calc(100svh - max(1.5rem, env(safe-area-inset-top, 0px)) - max(1.5rem, env(safe-area-inset-bottom, 0px))));
    grid-template-columns: 1fr;
    grid-template-rows: 52fr 48fr;
    border-radius: var(--r-lg);
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .gallery-modal__body-wrap {
    padding: 1.35rem clamp(1.35rem, 5.5vw, 2rem) 2rem;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
  }

  .gallery-modal__body-wrap .js-modal-cta {
    align-self: stretch;
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: auto;
  }

  .uc-modal__wrapper {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: calc(100vh - 5rem);
    height: min(92dvh, calc(100svh - max(1.5rem, env(safe-area-inset-top, 0px)) - max(1.5rem, env(safe-area-inset-bottom, 0px))));
    display: flex;
    flex-direction: column;
  }

  .uc-modal__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
  }

  .uc-modal__visual {
    min-height: 210px;
    flex-shrink: 0;
  }

  .uc-modal__vis-icon svg {
    width: 72px;
    height: 72px;
  }

  .uc-modal__content {
    padding: 1.5rem clamp(1.35rem, 5.5vw, 2rem);
    gap: .7rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
  }

  .uc-modal__title {
    font-size: 1.35rem;
  }

  .uc-modal__stat-row {
    flex-direction: column;
    align-items: stretch;
  }

  .uc-modal__stat-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ── Text logo (header & footer) ───────────────── */
.header__logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
}

.header__logo-text em {
  color: var(--gold);
  font-style: italic;
}

.footer__logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1;
  display: block;
  margin-bottom: .75rem;
}

.footer__logo-text em {
  color: var(--gold);
  font-style: italic;
}

/* ── img-stat-overlay (index.html) ─────────────────────── */
@media (max-width: 640px) {
  .img-stat-overlay { display: none !important; }
}

/* ── 404 error page ─────────────────────────────────────── */
.error-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 5rem 1.5rem;
  text-align: center;
}

.error-inner {
  max-width: 520px;
}

.error-code {
  font-family: 'Playfair Display', serif;
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  margin-bottom: .5rem;
}

.error-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.error-desc {
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}

.error-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem auto 1.75rem;
  border-radius: 2px;
}

/* ── finance.html ───────────────────────────────────────── */
.finance-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.finance-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  position: relative;
}

.finance-step__num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: .75rem;
  display: block;
}

.finance-step h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .5rem;
}

.finance-step p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0;
}

.finance-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}

.finance-highlight {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 1.5rem 1rem;
}

.finance-highlight__val {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .35rem;
}

.finance-highlight__lbl {
  font-size: .8rem;
  color: var(--mid);
  line-height: 1.4;
}

/* ── gallery.html ───────────────────────────────────────── */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.gallery-filter__btn {
  padding: .48rem 1.15rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--mid);
  font-size: .84rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  line-height: 1;
  white-space: nowrap;
}

.gallery-filter__btn:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.gallery-filter__btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.gallery-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .09);
  border-radius: 100px;
  padding: 1px 6px;
  font-size: .72rem;
  min-width: 20px;
  height: 17px;
  font-weight: 500;
}

.gallery-filter__btn.active .gallery-filter__count {
  background: rgba(255, 255, 255, .18);
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin: 2rem 0 1.5rem;
}

.gallery-pagination__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--mid);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-pagination__btn:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.gallery-pagination__btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.gallery-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--mid);
  font-size: .95rem;
  display: none;
}