/* Homs Avenue — premium editorial system */
:root {
  --basalt: #161616;
  --basalt-soft: #20201f;
  --limestone: #dcd0c7;
  --limestone-pale: #eee7e0;
  --paper: #f6f3ee;
  --pine: #1d3f32;
  --pine-bright: #315d4b;
  --burgundy: #542222;
  --burgundy-bright: #71302f;
  --mist: #e6e6e6;
  --ink-muted: #625f5a;
  --ink-support: #4a4540;
  --text-nav: 1.0625rem;
  --text-support: 0.875rem;
  --line: rgba(22, 22, 22, 0.16);
  --line-light: rgba(220, 208, 199, 0.22);
  --container: 90rem;
  --narrow: 50rem;
  --header-h: 6rem;
  --section-space: clamp(6rem, 11vw, 10rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --hero-bleed: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --text-sm: 0.9375rem;
  --text-label: 0.8125rem;
  --text-legal: 0.82rem;
  --text-body: clamp(1rem, 1.3475vw, 1.1125rem);
  --text-fund: clamp(1rem, 1.5vw, 1.25rem);
  --text-design: clamp(1.05rem, 1.7vw, 1.35rem);
  --text-sustain: clamp(1.05rem, 1.8vw, 1.45rem);
  --text-hero-lead: clamp(1.1rem, 1.7714vw, 1.4625rem);
  --text-impact: clamp(1.1rem, 2vw, 1.55rem);
  --text-unit: clamp(0.95rem, 1.75vw, 1.35rem);
  --text-lead: clamp(1.15rem, 1.7714vw, 1.4625rem);
  --text-partner: clamp(1.15rem, 2vw, 1.55rem);
  --text-usage: clamp(1.15rem, 2.2vw, 1.5rem);
  --text-faq: clamp(1.2rem, 2vw, 1.65rem);
  --text-arrow: 1.3rem;
  --text-h3: clamp(1.3rem, 2.3467vw, 1.9375rem);
  --text-drop: clamp(1.35rem, 2.3467vw, 1.9375rem);
  --text-menu: clamp(1.45rem, 3vw, 2.45rem);
  --text-principle: clamp(1.45rem, 2.4vw, 2.25rem);
  --text-ribbon: clamp(1.5rem, 3.5vw, 3.25rem);
  --text-success: 1.5rem;
  --text-feature: clamp(1.55rem, 2.8vw, 2.6rem);
  --text-opportunity: clamp(1.55rem, 2.5vw, 2.45rem);
  --text-day: clamp(1.6rem, 3vw, 2.6rem);
  --text-residence: clamp(1.6rem, 3vw, 3rem);
  --text-pin: clamp(1.7rem, 3vw, 3rem);
  --text-legacy-h3: clamp(2rem, 3.1037vw, 2.5625rem);
  --text-stat: clamp(2.1rem, 3.35vw, 3.65rem);
  --text-h2: clamp(2.35rem, 4.0878vw, 3.375rem);
  --text-menu-title: clamp(2.4rem, 4vw, 4.5rem);
  --text-statement: clamp(2.6rem, 5.4504vw, 4.5rem);
  --text-experience: clamp(2.8rem, 5.4504vw, 4.5rem);
  --text-display: clamp(3rem, 7vw, 6.5rem);
  --text-green: clamp(3rem, 7vw, 7rem);
  --text-news: clamp(3rem, 8vw, 7rem);
  --text-profile: clamp(3.5rem, 7vw, 7rem);
  --text-hero: clamp(3.8rem, 8.2vw, 5.9375rem);
  --text-watermark: clamp(4rem, 7vw, 7rem);
  --text-index: clamp(12rem, 30vw, 30rem);
  --lh-index: 0.8;
  --lh-flat: 1;
  --lh-tight: 1.1;
  --lh-statement: 1.18;
  --lh-snug: 1.2;
  --lh-h3: 1.25;
  --lh-heading: 1.3;
  --lh-usage: 1.35;
  --lh-label: 1.4;
  --lh-copy: 1.5;
  --lh-ui: 1.55;
  --lh-button: 1.6;
  --lh-body: 1.7;
  --lh-drop: 1.75;
  --lh-lead: 1.8;
  --lh-hero: 1.85;
}

/* stylelint-disable declaration-property-value-allowed-list */
@font-face {
  font-family: "F37 Wicklow Arabic";
  src: url("../fonts/F37WicklowArabicTrial-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "F37 Wicklow Arabic";
  src: url("../fonts/F37WicklowArabicTrial-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "F37 Wicklow Arabic";
  src: url("../fonts/F37WicklowArabicTrial-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "F37 Wicklow Arabic";
  src: url("../fonts/F37WicklowArabicTrial-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "F37 Wicklow Arabic";
  src: url("../fonts/F37WicklowArabicTrial-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "F37 Wicklow Arabic";
  src: url("../fonts/F37WicklowArabicTrial-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* stylelint-enable declaration-property-value-allowed-list */

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--basalt);
  background: var(--paper);
  font-family: "F37 Wicklow Arabic", Arial, sans-serif;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

main {
  min-height: 60vh;
  background: var(--paper);
}

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

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

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

p,
h1,
h2,
h3,
blockquote,
dl,
dd {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--paper);
  background: var(--burgundy);
}

:focus-visible {
  outline: 2px solid var(--burgundy-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-inline-start: 1rem;
  top: -10rem;
  padding: 0.75rem 1.25rem;
  color: var(--paper);
  background: var(--burgundy);
}

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

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

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.eyebrow,
.folio,
.hero-kicker {
  font-size: var(--text-label);
  font-weight: 700;
  line-height: var(--lh-label);
  letter-spacing: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
  color: var(--burgundy);
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-weight: 800;
  line-height: var(--lh-heading);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: var(--text-h2);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: var(--lh-h3);
}

.lead {
  max-width: 42rem;
  color: var(--ink-muted);
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: var(--lh-lead);
}

.drop-lead {
  margin-bottom: 1.5rem;
  color: var(--basalt);
  font-size: var(--text-drop);
  font-weight: 400;
  line-height: var(--lh-drop);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid transparent;
  color: var(--paper);
  background: var(--pine);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: var(--lh-button);
  transition:
    gap 0.35s var(--ease),
    color 0.35s var(--ease),
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn:hover {
  gap: 2.1rem;
  background: var(--pine-bright);
  transform: translateY(-2px);
}

.btn--stone {
  color: var(--basalt);
  background: var(--limestone);
}

.btn--stone:hover {
  color: var(--basalt);
  background: var(--paper);
}

.btn--dark {
  color: var(--limestone);
  background: var(--basalt);
}

.btn--dark:hover {
  color: var(--paper);
  background: var(--burgundy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.3rem;
  border-bottom: 1px solid currentColor;
  color: var(--pine);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: var(--lh-snug);
  transition: gap 0.3s var(--ease), color 0.3s;
}

.text-link:hover {
  gap: 1rem;
  color: var(--burgundy);
}

.text-link--light {
  color: var(--limestone);
}

.text-link--light:hover {
  color: var(--paper);
}

/* Shared header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  color: var(--limestone);
  background: var(--burgundy);
  transition:
    color 0.4s var(--ease),
    background 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.site-header::after {
  position: absolute;
  inset: auto var(--gutter) 0;
  height: 1px;
  content: "";
  background: rgba(220, 208, 199, 0.22);
  transition: background 0.4s;
}

.site-header.is-scrolled {
  color: var(--limestone);
  background: var(--burgundy);
  box-shadow: 0 1px 0 rgba(22, 22, 22, 0.18);
  backdrop-filter: none;
}

.site-header.is-scrolled::after {
  background: transparent;
}

.site-header.is-menu-open {
  color: var(--limestone);
  background: var(--burgundy);
}

.header-inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  width: 9.5rem;
}

.brand img {
  width: 100%;
  max-height: 4rem;
  filter: brightness(0) invert(0.9);
  transition: filter 0.3s;
}

.main-nav {
  justify-self: end;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  font-size: var(--text-nav);
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  inset: auto 0 -0.45rem;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.header-register {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 1.2rem;
  font-size: var(--text-sm);
  font-weight: 700;
}

.header-register.btn--stone {
  color: var(--basalt);
  background: var(--limestone);
  border-color: var(--limestone);
}

.header-register.btn--stone:hover {
  color: var(--basalt);
  background: var(--paper);
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding-inline: 0.85rem;
  border: 1px solid rgba(220, 208, 199, 0.42);
  color: inherit;
  background: rgba(22, 22, 22, 0.12);
  cursor: pointer;
}

.menu-toggle__label {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
}

.menu-toggle__icon,
.menu-toggle__icon::before {
  display: block;
  width: 1.45rem;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 0.35s var(--ease);
}

.menu-toggle__icon::before {
  transform: translateY(0.42rem);
}

.site-header.is-menu-open .menu-toggle__icon {
  transform: rotate(45deg);
}

.site-header.is-menu-open .menu-toggle__icon::before {
  transform: rotate(-90deg);
}

.menu-panel {
  position: fixed;
  z-index: 90;
  inset: var(--header-h) 0 0;
  overflow-y: auto;
  color: var(--limestone);
  background: var(--burgundy);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-1rem);
  transition:
    visibility 0.45s,
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.menu-panel__inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  min-height: calc(100% - 5rem);
  padding-block: clamp(3rem, 8vh, 7rem) 3rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 40rem);
  gap: clamp(3rem, 8vw, 8rem);
}

.menu-panel__inner > .btn {
  margin-top: 2.5rem;
  justify-self: start;
}

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

.menu-panel__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.72rem;
  border-bottom: 1px solid var(--line-light);
  font-size: var(--text-menu);
  font-weight: 700;
  line-height: var(--lh-h3);
  transition: padding-inline-start 0.3s var(--ease), color 0.3s;
}

.menu-panel__nav a span {
  color: rgba(220, 208, 199, 0.45);
  font-size: var(--text-label);
  font-weight: 400;
}

.menu-panel__nav a:hover,
.menu-panel__nav a[aria-current="page"] {
  padding-inline-start: 0.75rem;
  color: var(--paper);
}

.menu-panel__aside {
  padding-inline-start: clamp(1.5rem, 4vw, 4rem);
  border-inline-start: 1px solid var(--line-light);
}

.menu-panel__aside .eyebrow {
  color: var(--limestone);
}

.menu-panel__aside h2 {
  margin-bottom: 2rem;
  font-size: var(--text-menu-title);
}

.menu-panel__aside p {
  color: rgba(220, 208, 199, 0.78);
}

.menu-panel .btn--stone {
  color: var(--burgundy);
  background: var(--limestone);
}

.menu-panel .btn--stone:hover {
  color: var(--burgundy);
  background: var(--paper);
}

/* Hero */
.home-hero,
.inner-hero {
  --hero-grid-pad-bottom: 8rem;
  --hero-credit-bottom: 2rem;
  --hero-credit-inset: 1.35rem;
  --hero-credit-text: var(--text-support);
  --hero-visual-margin-block-end: calc(
    var(--hero-credit-bottom) + var(--hero-credit-inset) +
      var(--hero-credit-text) * var(--lh-ui) - var(--hero-grid-pad-bottom) + 0.1875rem
  );
}

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--basalt);
  background:
    radial-gradient(circle at 78% 28%, rgba(220, 208, 199, 0.9), transparent 42%),
    radial-gradient(circle at 18% 72%, rgba(230, 230, 230, 0.7), transparent 36%),
    linear-gradient(145deg, var(--paper) 0%, var(--limestone-pale) 52%, var(--limestone) 100%);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(22, 22, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 22, 22, 0.045) 1px, transparent 1px);
  background-size: 7.5rem 7.5rem;
  mask-image: linear-gradient(to bottom, black 0, transparent 80%);
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 4.5rem) var(--hero-grid-pad-bottom);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 1fr);
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 2rem;
  color: var(--ink-muted);
}

.hero-kicker span {
  display: flex;
  align-items: center;
}

.hero-kicker span:not(:last-child)::after {
  width: 0.28rem;
  height: 0.28rem;
  margin-inline: 0.85rem;
  content: "";
  background: var(--burgundy-bright);
  transform: rotate(45deg);
}

.home-hero h1 {
  max-width: 9em;
  margin-bottom: 2rem;
  font-size: var(--text-hero);
  line-height: var(--lh-snug);
  letter-spacing: 0;
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: var(--text-hero-lead);
  font-weight: 400;
  line-height: var(--lh-hero);
}

.home-hero .btn--stone {
  color: var(--paper);
  background: var(--pine);
}

.home-hero .btn--stone:hover {
  color: var(--paper);
  background: var(--pine-bright);
}

.home-hero .text-link--light,
.inner-hero .text-link--light {
  color: var(--pine);
}

.home-hero .text-link--light:hover,
.inner-hero .text-link--light:hover {
  color: var(--burgundy);
}

.home-hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
  margin-block-start: calc(-1 * (var(--header-h) + 4.5rem));
  margin-block-end: var(--hero-visual-margin-block-end);
  margin-inline-end: calc(-1 * var(--hero-bleed));
  border-inline-start: 1px solid var(--line);
}

.inner-hero__art {
  position: relative;
  align-self: stretch;
  height: auto;
  min-height: 100%;
  overflow: hidden;
  /* Bleed through vertical padding so the image column is the full hero height */
  margin-block-start: calc(-1 * var(--inner-hero-pad-top));
  margin-block-end: calc(-1 * var(--inner-hero-pad-bottom));
  margin-inline-end: calc(-1 * var(--hero-bleed));
  border-inline-start: 1px solid var(--line);
}

.home-hero__visual {
  background-image: url("../images/hero-visual.jpg");
  background-position: 72% 38%;
  background-size: cover;
  background-repeat: no-repeat;
}

.monument {
  position: relative;
  width: min(100%, 29rem);
  aspect-ratio: 0.7;
  overflow: hidden;
  border: 1px solid rgba(220, 208, 199, 0.44);
  border-radius: 50% 50% 0 0 / 35% 35% 0 0;
  background:
    linear-gradient(to top, rgba(29, 63, 50, 0.78), transparent 37%),
    linear-gradient(145deg, rgba(220, 208, 199, 0.12), rgba(220, 208, 199, 0.015));
  box-shadow:
    0 0 0 1.5rem rgba(220, 208, 199, 0.025),
    0 0 0 1px rgba(220, 208, 199, 0.1);
}

.monument::before {
  position: absolute;
  inset: 10% 11% 0;
  border: 1px solid rgba(220, 208, 199, 0.25);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  content: "";
}

.monument::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("../patterns/patterns1.svg");
  background-position: center bottom -2rem;
  background-repeat: no-repeat;
  background-size: 160%;
  opacity: 0.075;
  filter: invert(1);
}

.monument__line {
  position: absolute;
  z-index: 1;
  top: 17%;
  bottom: 0;
  width: 1px;
  background: rgba(220, 208, 199, 0.18);
}

.monument__line--one {
  right: 33%;
}

.monument__line--two {
  left: 33%;
}

.monument__sun {
  position: absolute;
  z-index: 1;
  top: 28%;
  left: 50%;
  width: 4.25rem;
  height: 4.25rem;
  border: 1px solid rgba(220, 208, 199, 0.42);
  border-radius: 50%;
  background: rgba(84, 34, 34, 0.3);
  transform: translateX(-50%);
}

.monument__horizon {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 23%;
  left: 0;
  height: 1px;
  background: rgba(220, 208, 199, 0.24);
}

.visual-note {
  display: none;
}

.visual-note span {
  display: block;
  color: var(--burgundy);
  font-size: var(--text-label);
  font-weight: 700;
}

.visual-note p {
  margin: 0.2rem 0 0;
  font-size: var(--text-label);
  font-weight: 400;
}

.hero-credit {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: var(--hero-credit-bottom, 2rem);
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: var(--hero-credit-inset, 1.35rem);
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: var(--text-label);
}

.hero-credit p {
  margin: 0;
}

.hero-credit a {
  display: flex;
  gap: 0.65rem;
  color: var(--basalt);
  font-weight: 700;
}

/* Inner hero — uniform full-viewport height (home .home-hero unchanged) */
.inner-hero {
  --inner-hero-pad-top: calc(var(--header-h) + 2rem);
  --inner-hero-pad-bottom: 2rem;
  /* header + hero = one viewport: hero fills the remaining space below the fixed header */
  --inner-hero-height: calc(100vh - var(--header-h));
  position: relative;
  box-sizing: border-box;
  height: var(--inner-hero-height);
  min-height: var(--inner-hero-height);
  max-height: var(--inner-hero-height);
  margin-top: var(--header-h);
  overflow: hidden;
  color: var(--basalt);
  background:
    radial-gradient(circle at 16% 20%, rgba(220, 208, 199, 0.85), transparent 32%),
    var(--paper);
}

@supports (height: 100svh) {
  .inner-hero {
    --inner-hero-height: calc(100svh - var(--header-h));
  }
}

@supports (height: 100dvh) {
  .inner-hero {
    --inner-hero-height: calc(100dvh - var(--header-h));
  }
}

.inner-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(22, 22, 22, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 22, 22, 0.04) 1px, transparent 1px);
  background-size: 8rem 8rem;
  mask-image: linear-gradient(90deg, transparent, black);
}

.inner-hero__grid {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  padding-block: var(--inner-hero-pad-top) var(--inner-hero-pad-bottom);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 1fr);
  align-items: stretch;
  gap: clamp(3rem, 8vw, 9rem);
}

.inner-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.folio {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  color: var(--ink-muted);
}

.folio span {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--basalt);
}

.inner-hero h1 {
  max-width: 11em;
  margin-bottom: 2rem;
  font-size: var(--text-display);
}

.inner-hero .lead {
  color: var(--ink-muted);
}

.inner-hero__art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inner-hero__art p {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 1.25rem;
  left: auto;
  margin: 0;
  padding-inline-end: 1rem;
  color: var(--paper);
  font-size: var(--text-label);
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(22, 22, 22, 0.45);
}

.inner-hero__index {
  position: absolute;
  z-index: 1;
  inset-inline-end: -0.06em;
  bottom: -0.3em;
  color: transparent;
  font-size: var(--text-index);
  font-weight: 800;
  line-height: var(--lh-index);
  opacity: 0.08;
  -webkit-text-stroke: 1px rgba(22, 22, 22, 0.18);
}

/* Inner-hero backgrounds unified to About cream/beige (.inner-hero) */

/* Headings and editorial layouts */
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.section-heading h2 {
  margin: 0;
}

.section-intro {
  max-width: 33rem;
  margin-bottom: 0.4rem;
  color: var(--ink-muted);
}

.section-heading--light {
  color: var(--basalt);
}

.section-heading--light .eyebrow {
  color: var(--burgundy);
}

.section-heading--light .section-intro {
  color: var(--ink-muted);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  align-items: start;
  gap: clamp(3rem, 9vw, 9rem);
}

.editorial-grid__title,
.design-code__title {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  align-self: start;
}

/* plan-copy__title sits ABOVE the zone list in the same column — never sticky */
.plan-copy__title {
  position: static;
  align-self: auto;
}

.editorial-grid__title h2 {
  max-width: 10em;
}

.editorial-grid__body {
  padding-top: 4rem;
}

.editorial-grid__body > p:not(.drop-lead) {
  max-width: 40rem;
  color: var(--ink-muted);
}

.intro-stage {
  background: var(--paper);
}

.vision-ribbon {
  margin-top: clamp(5rem, 10vw, 9rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.75rem;
  border-block: 1px solid var(--line);
}

.vision-ribbon__item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.vision-ribbon__word {
  display: block;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: var(--lh-snug);
}

.vision-ribbon__caption {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-support);
  font-size: var(--text-support);
  font-weight: 400;
  line-height: var(--lh-copy);
}

.vision-ribbon i {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  background: var(--burgundy);
  transform: rotate(45deg);
}

/* Pine editorial bands — destination (2-col sticky) + life-statement (1-col stack).
   Overflow must stay visible for destination sticky. */
.destination-section,
.life-statement {
  position: relative;
  overflow: visible;
  color: var(--limestone);
  background: var(--pine);
}

.destination-section::before,
.life-statement::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: url("../patterns/icon2.svg") center right / contain no-repeat;
  opacity: 0.15;
}

html[lang="en"] .destination-section::before,
html[lang="en"] .life-statement::before {
  background-position: center left;
  transform: scaleX(-1);
  transform-origin: center center;
}

.destination-section > .container,
.life-statement > .container {
  position: relative;
  z-index: 1;
}

.destination-section .eyebrow,
.life-statement .eyebrow {
  color: var(--limestone);
}

.destination-section .editorial-grid__title h2 {
  color: var(--limestone);
}

.destination-section .drop-lead {
  color: rgba(220, 208, 199, 0.95);
}

.destination-section .editorial-grid__body > p:not(.drop-lead) {
  color: rgba(220, 208, 199, 0.82);
}

.destination-section .text-link,
.life-statement .text-link {
  color: var(--limestone);
  margin-top: 1.5rem;
}

/* Lifestyle statement — single column stack (eyebrow → title → link) */
.life-statement__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 42rem;
}

.life-statement h2 {
  max-width: 18em;
  color: var(--limestone);
}

/* Components */
.components-section {
  color: var(--basalt);
  background: var(--paper);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.feature-card {
  position: relative;
  min-height: 20rem;
  grid-column: span 4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--basalt);
  background: var(--limestone);
  transition: color 0.4s, background 0.4s;
}

.feature-card:hover {
  color: var(--limestone);
  background: var(--pine);
}

.feature-card--large {
  grid-column: span 8;
}

.feature-card--photo {
  /* Default stays limestone; photo only appears on hover */
  color: var(--basalt);
  background: var(--limestone);
}

.feature-card--photo:hover,
.feature-card--photo.is-active {
  color: var(--limestone);
  background: var(--limestone);
}

.feature-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.7s var(--ease, ease);
}

.feature-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(22, 22, 22, 0.28) 0%,
      rgba(22, 22, 22, 0.42) 40%,
      rgba(22, 22, 22, 0.82) 100%
    );
}

.feature-card--photo:hover .feature-card__media,
.feature-card--photo.is-active .feature-card__media {
  opacity: 1;
}

.feature-card--photo:hover .feature-card__media img,
.feature-card--photo.is-active .feature-card__media img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .feature-card__media,
  .feature-card__media img {
    transition: none;
  }

  .feature-card--photo:hover .feature-card__media img,
  .feature-card--photo.is-active .feature-card__media img {
    transform: none;
  }
}

.feature-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  color: var(--burgundy);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card:hover .feature-card__icon,
.feature-card--photo:hover .feature-card__icon,
.feature-card--photo.is-active .feature-card__icon {
  color: var(--limestone);
}

.feature-card > div {
  position: relative;
  z-index: 1;
  max-width: 27rem;
}

.feature-card h3 {
  font-size: var(--text-feature);
}

.feature-card p {
  margin: 0;
  color: #55514c;
  font-size: var(--text-sm);
}

.feature-card:hover p,
.feature-card--photo:hover p,
.feature-card--photo.is-active p {
  color: rgba(220, 208, 199, 0.9);
}

.feature-card--photo:hover h3,
.feature-card--photo.is-active h3 {
  color: var(--limestone);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.feature-card__arrow {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: var(--text-arrow);
}

/* Numbers */
.numbers-section {
  overflow: hidden;
  background: var(--limestone-pale);
}

.numbers-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.numbers-head h2 {
  margin: 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.number-item {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  min-height: 16rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--basalt);
  background: #fff;
  transition: color 0.4s, background 0.4s;
}

.number-item:hover {
  color: var(--limestone);
  background: var(--burgundy);
}

.number-item:hover .number-item__unit,
.number-item:hover .number-item__icon {
  color: var(--limestone);
}

.number-item:hover small {
  color: var(--limestone);
}

.page-home .number-item:hover small {
  color: var(--limestone);
}

.number-item__icon {
  display: block;
  width: 1.85rem;
  height: 1.85rem;
  margin-bottom: 1.35rem;
  color: var(--burgundy);
}

.number-item__icon svg {
  width: 100%;
  height: 100%;
}

.number-item__figure {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.15em 0.35em;
  align-self: start;
  margin: 0;
  white-space: nowrap;
}

.number-item__figure strong {
  font-size: var(--text-stat);
  font-weight: 400;
  line-height: var(--lh-flat);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.number-item__unit {
  color: var(--burgundy);
  font-size: var(--text-unit);
  font-weight: 700;
  line-height: var(--lh-flat);
}

.number-item > p:not(.number-item__figure) {
  margin: clamp(1rem, 2vw, 1.35rem) 0 0;
  font-weight: 700;
  line-height: var(--lh-copy);
}

.number-item small {
  color: var(--ink-muted);
  font-size: var(--text-label);
  font-weight: 400;
}

.page-home .hero-kicker {
  color: var(--ink-support);
  font-size: var(--text-support);
}

.page-home .hero-lead {
  color: var(--ink-support);
}

.page-home .hero-credit {
  color: var(--ink-support);
  font-size: var(--text-support);
}

.page-home .number-item small {
  color: var(--ink-support);
  font-size: var(--text-support);
}

.page-home .numbers-usages__title {
  color: var(--basalt);
  font-size: var(--text-body);
  font-weight: 700;
  line-height: var(--lh-copy);
}

.page-home .closing-cta__grid > div p {
  color: var(--ink-support);
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

.numbers-usages {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.numbers-usages__title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--basalt);
  font-size: var(--text-body);
  font-weight: 700;
  line-height: var(--lh-copy);
  letter-spacing: 0;
}

.numbers-usages__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-support);
  font-size: var(--text-support);
  font-weight: 400;
  line-height: var(--lh-copy);
}

.numbers-usages__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-home .numbers-usages__list li {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.55rem;
}

.numbers-usages__icon {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--burgundy);
}

.page-home .numbers-usages__icon {
  width: 2.4rem;
  height: 2.4rem;
}

.numbers-usages__icon svg {
  width: 100%;
  height: 100%;
}

/* Legacy */
.legacy-section {
  padding: 0;
  background: var(--paper);
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
}

/* Home community-impact: full-bleed 50/50 — grid is NOT .container.
   Image half reaches section outer edge (AR left / EN right) and band top/bottom. */
.page-home .legacy-section {
  padding: 0;
  overflow: hidden;
  background: var(--paper);
}

.page-home .legacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: min(70vh, 42rem);
}

.page-home .legacy-main {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: min(70vh, 42rem);
  margin: 0;
  color: var(--basalt);
  background: var(--paper);
  /* outer page edge aligns with site gutters; inner edge near image */
  padding-block: clamp(3rem, 7vw, 6rem);
  padding-inline-start: var(--hero-bleed);
  padding-inline-end: clamp(1.5rem, 4vw, 3.5rem);
}

.page-home .legacy-visual {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: min(70vh, 42rem);
  overflow: hidden;
  background: var(--limestone-pale);
  border: 0;
}

.page-home .legacy-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.legacy-grid--solo {
  grid-template-columns: 1fr;
}

.legacy-grid--solo .legacy-main {
  max-width: 52rem;
  margin-inline: auto;
  min-height: 0;
  width: 100%;
}

.partnership-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  color: var(--limestone);
  background: var(--pine);
}

.partnership-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.partnership-copy .eyebrow {
  color: var(--limestone);
}

.partnership-copy h3 {
  max-width: 14em;
  color: var(--limestone);
  font-size: var(--text-legacy-h3);
}

.partnership-copy p:not(.eyebrow) {
  max-width: 36rem;
  color: rgba(220, 208, 199, 0.86);
}

.partnership-copy .text-link {
  margin-top: 1.5rem;
  color: var(--limestone);
}

.partnership-logos {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  width: 100%;
}

.partnership-logos img {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  max-width: 14rem;
  max-height: none;
  object-fit: contain;
}

/* Hakmi mark is navy (#1a344c); lift it for the pine band */
.partnership-logos img:first-child {
  filter: brightness(0) invert(0.92);
  opacity: 0.95;
}

.partnership-logos img:last-child {
  /* same width as Hakmi; height follows SVG aspect */
}

.legacy-main,
.legacy-side {
  min-height: 38rem;
  padding: clamp(3rem, 7vw, 7rem);
}

.legacy-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--basalt);
  background: var(--limestone-pale);
}

.legacy-main h2 {
  max-width: 10em;
}

.legacy-main > p:not(.eyebrow) {
  max-width: 38rem;
  color: var(--ink-muted);
}

.legacy-main .text-link {
  margin-top: 1.5rem;
}

.legacy-side {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--limestone);
}

.legacy-side .eyebrow {
  color: var(--limestone);
}

.legacy-side h3 {
  font-size: var(--text-legacy-h3);
}

.legacy-side p:not(.eyebrow) {
  color: var(--paper);
  font-size: var(--text-sm);
}

.page-home .legacy-main {
  justify-content: center;
  align-items: flex-start;
}

.page-home .legacy-side {
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: clamp(3rem, 7vw, 7rem);
  padding-inline: clamp(2.5rem, 5vw, 4.5rem);
}

.page-home .legacy-side h3 {
  max-width: 14em;
}

.page-home .legacy-side p:not(.eyebrow) {
  max-width: 28rem;
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

/* Closing CTA */
.closing-cta {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--basalt);
  background: var(--limestone-pale);
  background-image: url(../logo/icon3.svg);
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  justify-content: flex-end;
}

.closing-cta::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(42vw, 28rem);
  content: "";
  background: url("../logo/icon2.svg") right center / auto 100% no-repeat;
  opacity: 0.09;
  transform: scaleX(-1);
  transform-origin: right center;
  pointer-events: none;
}

.closing-cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.5fr 0.4fr;
  align-items: end;
  gap: clamp(3rem, 9vw, 9rem);
}

.closing-cta .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.closing-cta h2 {
  max-width: 8em;
  margin: 0;
}

.closing-cta__grid > div p {
  color: var(--ink-muted);
}

.closing-cta .btn--stone {
  color: var(--paper);
  background: var(--pine);
}

.closing-cta .btn--stone:hover {
  color: var(--paper);
  background: var(--pine-bright);
}

.closing-cta .text-link--light {
  color: var(--pine);
}

.closing-cta .text-link--light:hover {
  color: var(--burgundy);
}

/* Generic principles */
.principles-section {
  background: var(--limestone-pale);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.principles-grid article {
  min-height: 20rem;
  grid-column: span 2;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--basalt);
  background: var(--limestone);
  transition: color 0.4s, background 0.4s;
}

.principles-grid article:nth-child(4),
.principles-grid article:nth-child(5) {
  grid-column: span 3;
}

.principles-grid article:hover {
  color: var(--limestone);
  background: var(--pine);
}

.principles-grid article:hover span {
  color: var(--limestone);
}

.principles-grid article:hover p {
  color: rgba(220, 208, 199, 0.78);
}

.principles-grid span,
.zone-list > li > span,
.design-list span,
.day-grid article > span,
.sustain-grid span,
.fund-grid span {
  color: var(--burgundy);
  font-size: var(--text-label);
  font-weight: 700;
}

.principles-grid h3 {
  margin-top: 4rem;
  font-size: var(--text-principle);
}

.principles-grid p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.project-partners {
  /* Same sticky containing block as intro-stage / destination */
  overflow: visible;
  color: var(--basalt);
  background: var(--paper);
}

/* Layout via .editorial-grid (sticky title + 4rem body pad) — not a custom grid */
.partners-list {
  margin: 0;
}

.partners-list > div {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.partners-list > div:first-child {
  padding-top: 0;
}

.partners-list dt {
  margin-bottom: 0.35rem;
  color: var(--ink-muted);
  font-size: var(--text-label);
  font-weight: 700;
}

.partners-list dd {
  margin: 0;
  font-size: var(--text-partner);
}

/* Masterplan */
.plan-section {
  background: var(--limestone-pale);
}

.plan-layout {
  display: grid;
  grid-template-columns: minmax(24rem, 0.9fr) minmax(25rem, 1.1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.plan-visual {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  min-height: 47rem;
  overflow: hidden;
  color: var(--limestone);
  background:
    linear-gradient(rgba(220, 208, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 208, 199, 0.04) 1px, transparent 1px),
    var(--pine);
  background-size: 4rem 4rem;
}

.plan-visual--photo {
  min-height: 0;
  background: var(--limestone-pale);
  border: 1px solid var(--line);
}

.plan-visual--photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.plan-visual::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(220, 208, 199, 0.18);
  content: "";
  transform: rotate(7deg);
}

.plan-visual__lake {
  position: absolute;
  z-index: 3;
  top: 45%;
  left: 50%;
  width: 9rem;
  height: 6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--limestone);
  border-radius: 50%;
  color: var(--limestone);
  background: rgba(220, 208, 199, 0.1);
  font-size: var(--text-label);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.plot {
  position: absolute;
  z-index: 2;
  width: 9rem;
  min-height: 5rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid rgba(220, 208, 199, 0.36);
  font-size: var(--text-label);
  text-align: center;
}

.plot--1 { top: 12%; right: 13%; transform: rotate(7deg); }
.plot--2 { top: 17%; left: 10%; transform: rotate(-9deg); }
.plot--3 { right: 9%; bottom: 16%; transform: rotate(-4deg); }
.plot--4 { left: 12%; bottom: 19%; transform: rotate(8deg); }
.plot--5 { top: 47%; right: 5%; transform: rotate(4deg); }

.plan-route {
  position: absolute;
  z-index: 1;
  inset: 19% 22%;
  border: 1px dashed rgba(220, 208, 199, 0.38);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.plan-visual small {
  position: absolute;
  z-index: 3;
  right: 1.5rem;
  bottom: 1.5rem;
  color: rgba(220, 208, 199, 0.55);
  font-size: var(--text-label);
}

.plan-layout .section-heading {
  display: block;
}

/* Eyebrow+title only (no section-intro): negative margin from .section-heading
   .eyebrow overlaps the h2 when this block is display:block. */
.plan-layout .section-heading .eyebrow {
  margin-bottom: 0.85rem;
}

.zone-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.zone-list h3 {
  margin-bottom: 0.35rem;
}

.zone-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.movement-section {
  background: var(--paper);
}

/* Residences */
.residence-types {
  background: var(--paper);
}

.residence-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.residence-grid > .residence-card {
  grid-column: span 2;
}

/* Exactly 5 cards: last row (4+5) share the full width */
.residence-grid > .residence-card:nth-child(4):nth-last-child(2),
.residence-grid > .residence-card:nth-child(5):last-child {
  grid-column: span 3;
}

.residence-card {
  position: relative;
  /* Content-sized: arch removal left large empty band under text at 24rem */
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--basalt);
  background: var(--limestone);
  transition: color 0.4s, background 0.4s;
}

.residence-card--hero {
  /* equal cell with siblings */
}

.residence-card--dark {
  color: var(--basalt);
  background: var(--limestone);
}

.residence-card--pine {
  color: var(--basalt);
  background: var(--limestone);
}

.residence-card:hover {
  color: var(--limestone);
  background: var(--pine);
}

.residence-card > span {
  position: relative;
  z-index: 2;
  color: var(--burgundy);
  font-size: var(--text-label);
  font-weight: 700;
}

.residence-card--dark > span,
.residence-card--pine > span {
  color: var(--burgundy);
}

.residence-card:hover > span,
.residence-card--dark:hover > span,
.residence-card--pine:hover > span {
  color: var(--limestone);
}

.residence-card > div {
  position: relative;
  z-index: 2;
  max-width: 31rem;
}

.residence-card h3 {
  font-size: var(--text-residence);
}

.residence-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.residence-card--dark p,
.residence-card--pine p {
  color: var(--ink-muted);
}

.residence-card:hover p,
.residence-card--dark:hover p,
.residence-card--pine:hover p {
  color: rgba(220, 208, 199, 0.78);
}

.residence-card i,
.opportunity-grid i {
  display: none;
}

.design-code {
  color: var(--basalt);
  background: var(--paper);
}

.design-code__grid {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(25rem, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.design-list {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: none;
}

.design-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-design);
}

.design-list span {
  color: var(--burgundy);
}

/* Lifestyle — same photo-hover / mobile is-active cards as home six-grid */
.day-section {
  background: var(--limestone-pale);
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.day-grid .feature-card {
  grid-column: auto;
  min-height: 23rem;
}

.day-grid .feature-card h3 {
  margin-top: auto;
  font-size: var(--text-day);
}

.day-grid .feature-card__arrow {
  display: none;
}


/* Business */
.opportunity-section {
  background: var(--paper);
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.opportunity-grid article {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--basalt);
  background: #fff;
  transition: color 0.4s, background 0.4s;
}

.opportunity-grid article:nth-child(2),
.opportunity-grid article:nth-child(3) {
  color: var(--basalt);
  background: #fff;
}

.opportunity-grid article:hover {
  color: var(--limestone);
  background: var(--burgundy);
}

.opportunity-grid article > span {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  color: var(--burgundy);
  font-size: var(--text-label);
  font-weight: 700;
}

.opportunity-grid article:nth-child(2) > span,
.opportunity-grid article:nth-child(3) > span {
  color: var(--burgundy);
}

.opportunity-grid article:hover > span,
.opportunity-grid article:nth-child(2):hover > span,
.opportunity-grid article:nth-child(3):hover > span {
  color: var(--limestone);
}

.opportunity-grid h3 {
  position: relative;
  z-index: 2;
  font-size: var(--text-opportunity);
}

.opportunity-grid p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.opportunity-grid article:nth-child(2) p,
.opportunity-grid article:nth-child(3) p {
  color: var(--ink-muted);
}

.opportunity-grid article:hover p,
.opportunity-grid article:nth-child(2):hover p,
.opportunity-grid article:nth-child(3):hover p {
  color: rgba(220, 208, 199, 0.72);
}

/* opportunity/residence card arc decorations removed */


.business-pulse {
  background: var(--limestone);
}

/* Architecture */
.material-story {
  background: var(--limestone);
}

.material-story__grid {
  display: grid;
  grid-template-columns: minmax(20rem, 0.85fr) minmax(22rem, 1.15fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.material-arch {
  background: url(../images/inner/asset-architecture.webp) center / cover no-repeat;
}

.identity-elements {
  background: var(--paper);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.identity-grid article {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.identity-grid article > span {
  color: var(--burgundy);
  font-size: var(--text-label);
  font-weight: 700;
}

.identity-swatch {
  height: 14rem;
  margin-block: 2rem;
  background: var(--basalt);
}

.identity-swatch--arch {
  position: relative;
  background: var(--pine);
  background-image: url(../logo/icon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.identity-swatch--abelq {
  background: repeating-linear-gradient(to bottom, var(--basalt) 0 1.5rem, var(--limestone) 1.5rem 3rem);
}

.identity-swatch--shade {
  background: linear-gradient(115deg, var(--limestone) 0 48%, #92877e 48% 50%, var(--basalt) 50%);
}

.identity-grid p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.palette {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.palette > div {
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--paper);
  background: var(--swatch);
}

.palette > div:nth-child(2),
.palette > div:nth-child(5) {
  color: var(--basalt);
}

.palette span {
  font-weight: 700;
}

.palette small {
  margin-top: 0.25rem;
  font-size: var(--text-label);
  letter-spacing: 0;
}

/* Sustainability */
.sustainability-list {
  background: var(--paper);
}

.sustain-grid {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
  list-style: none;
}

.sustain-grid li {
  min-height: 9rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: clamp(1.1rem, 2.2vw, 1.75rem);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--basalt);
  background: #fff;
  transition: color 0.4s, background 0.4s;
}

.page-about .sustain-grid li:last-child, .page-about-brief .sustain-grid li:last-child {
  grid-column: 1 / -1;
}

.sustain-grid li:hover {
  color: var(--limestone);
  background: var(--burgundy);
}

.sustain-grid li:hover span {
  color: var(--limestone);
}

.sustain-grid li:hover p {
  color: rgba(220, 208, 199, 0.78);
}

.sustain-grid p {
  max-width: 27rem;
  margin: 0;
  font-size: var(--text-sustain);
  font-weight: 400;
  line-height: var(--lh-ui);
}

.green-statement {
  min-height: 36rem;
  display: flex;
  align-items: center;
  color: var(--limestone);
  background:
    linear-gradient(90deg, rgba(29, 63, 50, 0.92), rgba(29, 63, 50, 0.8)),
    url("../patterns/patterns2.svg") center / auto 100% repeat-x,
    var(--pine);
}

.green-statement p {
  max-width: 13em;
  margin: 0;
  font-size: var(--text-green);
  font-weight: 700;
  line-height: var(--lh-tight);
}

/* Community */
.fund-intro {
  background: var(--limestone);
}

.legal-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-legal);
}

.fund-fields {
  background: var(--paper);
}

.fund-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.fund-grid article {
  min-height: 16rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--basalt);
  background: #fff;
  transition: color 0.4s, background 0.4s;
}

.fund-grid article:hover {
  color: var(--limestone);
  background: var(--burgundy);
}

.fund-grid article:hover span {
  color: var(--limestone);
}

.fund-grid article:hover p {
  color: rgba(220, 208, 199, 0.72);
}

.fund-grid p {
  margin: 0;
  font-size: var(--text-fund);
  font-weight: 800;
  line-height: var(--lh-ui);
}

.economic-impact {
  color: var(--basalt);
  background: var(--paper);
}

.impact-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.impact-list li {
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-impact);
}

.impact-list li::before {
  position: absolute;
  top: 2.25rem;
  right: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  background: var(--burgundy-bright);
  transform: rotate(45deg);
}

/* Expertise */
.expertise-section {
  background: var(--paper);
}

.profile {
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid var(--line);
}

.profile--featured {
  min-height: 35rem;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: stretch;
  padding: 0;
  color: var(--basalt);
  background: var(--paper);
}

.profile__meta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
  border-inline-end: 1px solid var(--line);
  background: var(--limestone);
}

.profile__meta::before {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 70%;
  height: 78%;
  border: 1px solid rgba(220, 208, 199, 0.2);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  content: "";
}

.profile__meta span {
  position: relative;
  z-index: 2;
  font-size: var(--text-profile);
  font-weight: 400;
  line-height: var(--lh-flat);
}

.profile__meta p {
  position: relative;
  z-index: 2;
  margin: 0.5rem 0 0;
  color: var(--ink-muted);
  font-size: var(--text-label);
}

.profile__content {
  padding: clamp(3rem, 6vw, 6rem);
}

.profile__content p:not(.eyebrow) {
  color: var(--ink-muted);
}

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

.profiles-grid .profile {
  min-height: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.profile--stone {
  background: var(--limestone);
}

.profile p:not(.eyebrow) {
  color: var(--ink-muted);
}

.experience-statement {
  background: var(--limestone);
}

.experience-statement p {
  max-width: 15em;
  margin: 0;
  font-size: var(--text-experience);
  font-weight: 700;
  line-height: var(--lh-snug);
}

/* Location */
.location-map-section {
  background: var(--limestone-pale);
}

.location-map {
  position: relative;
  min-height: min(50rem, 78vw);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--basalt);
  background: var(--limestone-pale);
}

.location-map__roads {
  position: absolute;
  inset: -15%;
  background:
    linear-gradient(24deg, transparent 47%, rgba(220, 208, 199, 0.2) 47% 47.3%, transparent 47.3%),
    linear-gradient(112deg, transparent 43%, rgba(220, 208, 199, 0.14) 43% 43.4%, transparent 43.4%),
    linear-gradient(74deg, transparent 64%, rgba(220, 208, 199, 0.12) 64% 64.35%, transparent 64.35%),
    linear-gradient(rgba(220, 208, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 208, 199, 0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 5rem 5rem, 5rem 5rem;
  transform: rotate(-6deg);
}

.location-pin {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-pin i {
  position: relative;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--limestone);
  border-radius: 50% 50% 50% 0;
  background: var(--burgundy);
  transform: rotate(-45deg);
}

.location-pin i::after {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  content: "";
  background: var(--limestone);
}

.location-pin strong {
  font-size: var(--text-pin);
}

.location-pin span {
  color: var(--ink-muted);
  font-size: var(--text-label);
}

.location-map > p {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2rem;
  max-width: 25rem;
  margin: 0;
  padding: 1rem 1.25rem;
  color: var(--basalt);
  background: var(--limestone);
  font-size: var(--text-label);
}

.location-note {
  background: var(--paper);
}

/* News */
.news-empty-section {
  background: var(--paper);
}

.news-empty {
  min-height: 34rem;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  border: 1px solid var(--line);
}

.news-empty__date {
  display: grid;
  place-items: center;
  color: var(--limestone);
  background:
    linear-gradient(rgba(84, 34, 34, 0.92), rgba(84, 34, 34, 0.92)),
    url("../patterns/patterns1.svg") center / 150% auto no-repeat;
  font-size: var(--text-news);
  font-weight: 700;
}

.news-empty > div {
  align-self: center;
  padding: clamp(3rem, 8vw, 7rem);
}

.news-empty h2 {
  max-width: 8em;
}

.news-empty > div > p:not(.eyebrow) {
  max-width: 32rem;
  color: var(--ink-muted);
}

/* FAQ */
.faq-section {
  background: var(--limestone-pale);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  gap: clamp(3rem, 9vw, 9rem);
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-aside p:not(.eyebrow) {
  color: var(--ink-muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h2 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
  border: 0;
  color: var(--basalt);
  background: transparent;
  font-size: var(--text-faq);
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.faq-item button i {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 1px;
  content: "";
  background: var(--basalt);
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq-panel > div {
  overflow: hidden;
}

.faq-panel p {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: var(--ink-muted);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

/* Forms */
.form-section,
.contact-section {
  background: var(--limestone-pale);
}

.form-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: 1px;
  background: var(--line);
}

.form-aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  min-height: 40rem;
  padding: clamp(2rem, 5vw, 5rem);
  color: var(--basalt);
  background: var(--limestone);
}

.form-aside > p:not(.eyebrow) {
  color: var(--ink-muted);
}

.form-aside dl {
  margin-top: 4rem;
}

.form-aside dl > div {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.form-aside dt {
  color: var(--ink-muted);
  font-size: var(--text-label);
  font-weight: 700;
}

.form-aside dd {
  margin: 0.25rem 0 0;
}

.form-panel {
  padding: clamp(2rem, 6vw, 6rem);
  background: var(--paper);
}

.premium-form {
  display: grid;
  gap: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.field {
  position: relative;
}

.field label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: var(--text-sm);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.6rem;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgba(22, 22, 22, 0.34);
  border-radius: 0;
  outline: 0;
  color: var(--basalt);
  background: transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--pine);
  box-shadow: 0 1px 0 var(--pine);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--burgundy);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field--checkbox label {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  align-items: start;
  gap: 0.8rem;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  font-weight: 400;
}

.field--checkbox input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.35rem;
  accent-color: var(--pine);
}

.field-error {
  display: block;
  margin-top: 0.4rem;
  color: var(--burgundy);
  font-size: var(--text-label);
  font-weight: 700;
}

.form-success {
  display: none;
  padding: 2rem;
  border: 1px solid var(--pine);
  color: var(--pine);
  background: rgba(29, 63, 50, 0.08);
}

.form-success.is-visible {
  display: block;
}

.form-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-error {
  margin-top: 1rem;
  color: #b42318;
  font-size: var(--text-support);
}


.form-success strong {
  font-size: var(--text-success);
}

.form-success p {
  margin: 0.5rem 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  background: var(--line);
  gap: 1px;
}

.contact-details {
  padding: clamp(2rem, 5vw, 5rem);
  color: var(--basalt);
  background: var(--limestone);
}

.contact-details dl {
  margin-top: 3rem;
}

.contact-details dl > div {
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
}

.contact-details dt {
  color: var(--ink-muted);
  font-size: var(--text-label);
  font-weight: 700;
}

.contact-details dd {
  margin: 0.25rem 0 0;
}

.legal-section {
  padding-block: 4rem;
  color: var(--basalt);
  background: var(--limestone-pale);
}

.legal-section p:last-child {
  max-width: 67rem;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

/* Footer
   Mobile/tablet: single-column stack (brand → menu) — no desktop flip.
   Desktop >=1101px: Task-5 flip — menu col1 / brand col2
   (AR RTL → logo left + menu right; EN LTR → mirrored). */
.site-footer {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  color: var(--limestone-pale);
  background: #101010;
}

.footer-top {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 8vw, 9rem) clamp(2.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

.footer-brand,
.footer-column {
  grid-column: auto;
  min-width: 0;
}

.footer-brand img {
  display: block;
  width: min(21rem, 100%);
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(0.9);
}

.footer-brand p {
  max-width: 27rem;
  margin: 0;
  color: var(--limestone-pale);
}

.footer-column h2 {
  margin-bottom: 1.5rem;
  color: var(--limestone-pale);
  font-size: var(--text-body);
  font-weight: 700;
  letter-spacing: 0;
}

.footer-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.65rem;
}

.footer-column a {
  color: var(--limestone-pale);
  font-size: 1rem;
  transition: color 0.25s;
}

.footer-column a:hover {
  color: var(--paper);
}

.footer-column p {
  color: var(--limestone-pale);
  font-size: 1rem;
  line-height: var(--lh-body);
}

@media (min-width: 1101px) {
  .footer-top {
    grid-template-columns: minmax(12rem, 0.85fr) minmax(18rem, 1.2fr);
    gap: clamp(3rem, 7vw, 7rem);
    padding-block: clamp(5rem, 10vw, 9rem) 5rem;
  }

  /* Flip vs DOM (brand then column): menu | brand — same row */
  .footer-column {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-brand {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-brand img {
    width: 21rem;
    max-width: 100%;
    margin: 0 0 2rem 0;
  }

  /*
    RTL + max-width on the blurb was parking the <p> on inline-start (RIGHT),
    so logo/tagline looked centered in the wide brand column.
    Flex + align-items:flex-end → physical LEFT in RTL, physical RIGHT in LTR.
  */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .footer-brand p {
    width: max-content;
    max-width: min(27rem, 100%);
    margin: 0;
  }

  html[lang="ar"] .footer-brand {
    text-align: left;
  }

  html[lang="en"] .footer-brand {
    text-align: right;
  }
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-block: 1.5rem 2rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 3rem;
  border-top: 1px solid var(--line-light);
  color: var(--limestone-pale);
  font-size: var(--text-sm);
  line-height: var(--lh-body);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
  white-space: nowrap;
}

.footer-legal a:hover {
  color: var(--paper);
}

.footer-bottom p:first-child {
  max-width: 56rem;
}

.footer-bottom p {
  margin: 0;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Intro loader */
body.is-loader {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  pointer-events: none;
}

.site-loader__mask {
  position: absolute;
  inset: 0;
  background: var(--basalt-soft);
  -webkit-mask-image: url("../patterns/loader-mask.svg");
  mask-image: url("../patterns/loader-mask.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
  transform-origin: 50% 50%;
  transition: transform 2s ease-in;
  will-change: transform;
}

.site-loader__box {
  position: absolute;
  z-index: 2;
  right: 50%;
  top: calc(50% + min(28vh, 16rem));
  width: min(calc(100% - 2.5rem), 28rem);
  transform: translate(50%, 0);
  text-align: center;
  color: var(--limestone);
  transition: opacity 0.9s ease, transform 1.6s ease-in;
}

.site-loader__line {
  overflow: hidden;
}

.site-loader__line-inner {
  display: block;
  padding-block: 0.15rem;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--lh-ui);
  transition: transform 0.55s cubic-bezier(0.12, 0, 0.39, 0);
}

.site-loader__line + .site-loader__line {
  margin-top: 0.15rem;
}

.site-loader__mark-wrap {
  overflow: hidden;
  width: 4.25rem;
  height: 4.25rem;
  margin: 2rem auto 0;
}

.site-loader__mark {
  width: 100%;
  height: 100%;
  background: var(--limestone);
  mask: url("../logo/icon.svg") center / contain no-repeat;
  -webkit-mask: url("../logo/icon.svg") center / contain no-repeat;
  transition: transform 0.55s cubic-bezier(0.12, 0, 0.39, 0);
}

.site-loader.is-animating .site-loader__mask {
  transform: scale(22);
}

.site-loader.is-animating .site-loader__line-inner,
.site-loader.is-animating .site-loader__mark {
  transform: translateY(110%);
}

.site-loader.is-animating .site-loader__box {
  opacity: 0;
}

.site-loader.is-done {
  visibility: hidden;
  pointer-events: none;
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --header-h: 5.25rem;
    --text-hero: clamp(3.8rem, 9vw, 7rem);
  }

  .main-nav {
    display: none;
  }

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

  .header-actions {
    grid-column: 3;
  }

  .home-hero__grid,
  .inner-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.65fr);
    gap: 3rem;
  }

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

  .feature-card,
  .feature-card--large {
    grid-column: span 6;
  }

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

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

  .palette {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer stack handled by mobile-first rules; desktop flip at min 1101 */
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --section-space: 5.25rem;
    --gutter: 1.25rem;
    --text-hero: clamp(2.7rem, 11vw, 3.6rem);
    --text-hero-lead: 1rem;
    --text-menu: 1.45rem;
    --text-display: clamp(3rem, 13vw, 4.8rem);
    --text-ribbon: clamp(1.05rem, 3.65vw, 1.32rem);
    --text-usage: 1.2rem;
    --lh-body: 1.75;
  }

  .header-register {
    display: none;
  }

  .brand {
    width: 7.5rem;
  }

  .menu-panel__inner {
    display: block;
    padding-block: 2rem;
  }

  .menu-panel__nav {
    display: block;
  }

  .menu-panel__nav a {
    padding-block: 1.15rem;
  }

  .menu-panel__inner > .btn {
    margin-top: 2.75rem;
  }

  .menu-panel__aside {
    display: none;
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero__grid {
    min-height: 0;
    padding-block: calc(var(--header-h) + 2.25rem) 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
  }

  .home-hero__copy {
    position: relative;
    z-index: 3;
  }

  .hero-kicker {
    row-gap: 0.35rem;
  }

  .home-hero__visual {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 24rem;
    margin-block: 0;
    margin-inline-start: 0;
    margin-inline-end: calc(-1 * var(--hero-bleed));
    opacity: 1;
  }

  .inner-hero__art {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 18rem;
    max-height: none;
    margin-block: 0;
    margin-inline-start: 0;
    margin-inline-end: calc(-1 * var(--hero-bleed));
    opacity: 1;
  }

  .hero-credit {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }

  .inner-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    margin-top: 0;
  }

  .inner-hero,
  .inner-hero__grid {
    min-height: 0;
  }

  .inner-hero__grid {
    height: auto;
    max-height: none;
    padding-block: calc(var(--header-h) + 2.25rem) 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
  }

  .inner-hero__copy {
    position: relative;
    z-index: 3;
    justify-content: flex-start;
  }

  .inner-hero__art p {
    display: none;
  }

  .section-heading,
  .editorial-grid,
  .editorial-grid--wide,
  .closing-cta__grid,
  .plan-layout,
  .material-story__grid,
  .design-code__grid,
  .faq-layout,
  .form-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1rem;
  }

  .section-heading .eyebrow,
  .closing-cta .eyebrow {
    margin-bottom: 0;
  }

  .editorial-grid__title,
  .design-code__title,
  .faq-aside,
  .form-aside,
  .plan-visual {
    position: relative;
    top: auto;
  }

  .editorial-grid__body {
    padding-top: 0;
  }

  .vision-ribbon {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.5rem 0.65rem;
    padding-block: 1.35rem;
  }

  .vision-ribbon__word {
    font-size: clamp(0.95rem, 3.1vw, 1.15rem);
  }

  .vision-ribbon__caption {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .vision-ribbon i {
    align-self: center;
  }


  .feature-card,
  .feature-card--large {
    min-height: 17rem;
    grid-column: 1 / -1;
  }

  .numbers-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .number-item {
    min-height: 15rem;
  }

  .numbers-usages__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.25rem;
  }

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

  .page-home .legacy-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  /* DOM order: article then figure → text first, image below (AR+EN) */
  .page-home .legacy-visual {
    order: 0;
    min-height: min(48vh, 22rem);
  }

  .page-home .legacy-main {
    min-height: 0;
    padding-block: clamp(3rem, 8vw, 4.5rem);
    padding-inline: var(--gutter);
  }

  /* Partnership: logos stacked on top (same width), copy under */
  .partnership-panel {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 3rem);
  }

  .partnership-logos {
    order: -1;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 2.25rem);
  }

  .partnership-logos img {
    width: min(100%, 12rem);
    max-width: 12rem;
  }

  .legacy-main,
  .legacy-side {
    min-height: 31rem;
    padding: 3rem 1.25rem;
  }

  .closing-cta {
    min-height: 40rem;
    justify-content: flex-start;
    background-image: none;
  }

  .closing-cta::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: url(../logo/icon3.svg) center left / contain no-repeat;
    opacity: 0.42;
    pointer-events: none;
  }

  .closing-cta__grid {
    position: relative;
    z-index: 2;
    gap: 1.5rem;
    width: min(100%, 21.5rem);
    margin-inline-end: auto;
    margin-inline-start: 0;
    padding-inline-end: clamp(1rem, 4vw, 1.5rem);
  }

  .principles-grid,
  .day-grid,
  .identity-grid,
  .sustain-grid,
  .fund-grid,
  .opportunity-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid article,
  .principles-grid article:nth-child(4),
  .principles-grid article:nth-child(5) {
    min-height: 16rem;
    grid-column: 1;
  }

  .principles-grid h3 {
    margin-top: 2.5rem;
  }

  .plan-visual {
    min-height: 35rem;
  }

  .plan-layout {
    display: flex;
    flex-direction: column-reverse;
  }

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

  .residence-grid > .residence-card,
  .residence-grid > .residence-card:nth-child(4):nth-last-child(2),
  .residence-grid > .residence-card:nth-child(5):last-child {
    grid-column: auto;
  }

  .residence-card,
  .residence-card--hero,
  .residence-card--pine {
    min-height: 0;
  }

  .day-grid article {
    min-height: 18rem;
  }


  .opportunity-grid article {
    min-height: 22rem;
  }

  .material-arch {
    min-height: 28rem;
  }

  .identity-swatch {
    height: 11rem;
  }

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

  .palette > div {
    min-height: 7rem;
  }

  .sustain-grid li {
    min-height: 7rem;
  }

  .fund-grid article {
    min-height: 10rem;
  }

  .profile--featured,
  .profiles-grid,
  .news-empty {
    grid-template-columns: 1fr;
  }

  .profile__meta {
    min-height: 20rem;
  }

  .profiles-grid .profile {
    min-height: 22rem;
  }

  .location-map {
    min-height: 34rem;
  }

  .location-map > p {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .news-empty__date {
    min-height: 14rem;
  }

  .news-empty > div {
    padding: 3rem 1.5rem;
  }

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

  .form-aside {
    min-height: auto;
  }

  .footer-top {
    gap: 2rem;
    padding-block: 3.25rem 2.25rem;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-column {
    text-align: start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    padding-block: 1.25rem 1.75rem;
  }
}

#community,
#architecture,
#sustainability,
#location,
#faq,
#expertise,
#contact-form {
  scroll-margin-top: var(--header-h);
}

@media (min-width: 1101px) {
  .menu-toggle {
    display: none;
  }
}

@media (min-width: 1101px) and (max-width: 1320px) {
  .header-inner {
    gap: 1rem;
  }

  .main-nav ul {
    gap: 0.7rem;
  }
}

/* English (LTR) */
html[dir="ltr"] body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[dir="ltr"] .inner-hero__index {
  right: auto;
  left: var(--gutter);
}

/* Slightly smaller EN hero / page titles so Latin lines match Arabic space */
html[lang="en"] {
  --text-hero: clamp(2.55rem, 5.5vw, 4.2rem);
  --text-display: clamp(2.3rem, 4.8vw, 4.4rem);
}

@media (max-width: 1100px) {
  html[lang="en"] {
    --text-hero: clamp(2.2rem, 8.2vw, 3.35rem);
    --text-display: clamp(2.05rem, 7.2vw, 3.1rem);
  }
}

html[lang="en"] .home-hero h1 {
  max-width: 11em;
}

html[lang="en"] .inner-hero h1 {
  max-width: 12em;
}

/* Mirror decorative background graphics on EN (not text) */

html[lang="en"] .material-arch span {
  transform: scaleX(-1);
}

/* Closing CTA: Arabic = black icon3 on LEFT + faint icon2 ::before on RIGHT.
   EN: drop the faint graphic entirely; show only black icon3 on the RIGHT,
   flipped. Clear the element background so we do not get two graphics. */
html[lang="en"] .closing-cta {
  background-image: none;
  justify-content: flex-end;
}

html[lang="en"] .closing-cta::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  /* place as Arabic left, then flip → appears on right with mirrored rays */
  background: url("../logo/icon3.svg") center left / contain no-repeat;
  opacity: 1;
  transform: scaleX(-1);
  transform-origin: center center;
  pointer-events: none;
}

html[lang="en"] .feature-card__arrow {
  left: auto;
  right: 2rem;
}

@media (max-width: 1100px) {
  /* Mobile Arabic uses ::after for icon3; keep one flipped graphic only */
  html[lang="en"] .closing-cta::before {
    content: none;
  }

  html[lang="en"] .closing-cta::after {
    background: url("../logo/icon3.svg") center left / contain no-repeat;
    transform: scaleX(-1);
    transform-origin: center center;
  }

  html[lang="en"] .closing-cta__grid {
    margin-inline-end: 0;
    margin-inline-start: auto;
  }

}

/* Language switcher — readable on dark burgundy header */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(246, 243, 238, 0.4);
  border-radius: 999px;
  color: var(--limestone);
  font-size: var(--text-nav);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--lh-ui);
  text-decoration: none;
  text-transform: none;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.lang-switch:lang(ar) {
  font-family: "F37 Wicklow Arabic", "Segoe UI", Tahoma, sans-serif;
}

.lang-switch:lang(en) {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.site-header .lang-switch,
.site-header:not(.is-scrolled) .lang-switch,
.site-header.is-scrolled .lang-switch {
  border-color: rgba(246, 243, 238, 0.4);
  color: var(--limestone);
}

.lang-switch:hover,
.lang-switch:focus-visible,
.site-header .lang-switch:hover,
.site-header .lang-switch:focus-visible,
.site-header.is-scrolled .lang-switch:hover,
.site-header.is-scrolled .lang-switch:focus-visible {
  color: var(--paper);
  background: rgba(246, 243, 238, 0.12);
  border-color: rgba(246, 243, 238, 0.7);
  outline: none;
}


/* Mobile: language switcher lives in the drawer, not the header bar */
.lang-switch--menu {
  display: none;
}

.menu-panel .lang-switch--menu {
  margin-top: 2rem;
  justify-self: start;
  border-color: rgba(246, 243, 238, 0.45);
  color: var(--limestone);
  font-size: var(--text-nav);
}

.menu-panel .lang-switch--menu:hover,
.menu-panel .lang-switch--menu:focus-visible {
  color: var(--paper);
  background: rgba(246, 243, 238, 0.12);
  border-color: rgba(246, 243, 238, 0.75);
  outline: none;
}

@media (max-width: 1100px) {
  .lang-switch--header {
    display: none;
  }

  .lang-switch--menu {
    display: inline-flex;
  }

  .menu-panel__inner > .lang-switch--menu {
    margin-top: 2rem;
    margin-bottom: 0.25rem;
  }
}
