/* ============================================================
   AL RAYEH HOSPITALITY — Architecture Visioning
   Design system: warm travertine + stone, Akkurat LL (brand type)
   ============================================================ */

/* Brand typeface — Akkurat LL Arabic (self-hosted, single Regular weight).
   Map the whole weight range to the one face so heavier requests never
   trigger faux-bold; hierarchy comes from scale, tracking and colour. */
@font-face {
  font-family: "Akkurat LL";
  src: url("../fonts/AkkuratLLAra-Regular.woff2") format("woff2"),
       url("../fonts/AkkuratLLAra-Regular.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette — drawn from the renders */
  --sand-50:  #faf6ef;
  --sand-100: #f4eee3;
  --sand-200: #ece2d3;
  --sand-300: #ddccb4;
  --stone:    #c7b193;
  --bronze:   #9c7a4e;
  --bronze-l: #b89766;
  --bronze-d: #7c5d38;
  --sage:     #767a5e;
  --espresso: #2a241c;
  --ink:      #1a160f;
  --muted:    #6f665a;
  --line:     rgba(42, 36, 28, 0.14);
  --line-l:   rgba(255, 255, 255, 0.16);

  /* Type — Akkurat LL everywhere; grotesque system fallbacks.
     --serif kept as a legacy alias so existing rules pick up the brand font. */
  --brand: "Akkurat LL", "Helvetica Neue", Helvetica, "Segoe UI", system-ui, Arial, sans-serif;
  --sans:  "Akkurat LL", "Helvetica Neue", Helvetica, "Segoe UI", system-ui, Arial, sans-serif;
  --serif: var(--brand);

  /* Rhythm */
  --section-y: clamp(5rem, 10vw, 9.5rem);
  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-synthesis: none; /* never fake bold/italic on the single-weight brand face */
  font-size: clamp(1rem, 0.5vw + 0.92rem, 1.0625rem);
  line-height: 1.72;
  color: var(--espresso);
  background: var(--sand-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: var(--bronze); color: var(--sand-50); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.7vw, 3.9rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--espresso);
}
.display--light { color: var(--sand-50); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-d);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--bronze);
}
.eyebrow--light { color: var(--bronze-l); }
.eyebrow--light::before { background: var(--bronze-l); }

.lead { font-size: 1.18em; line-height: 1.6; color: var(--espresso); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--bronze-d), var(--bronze-l));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(1.1rem, 2vw, 1.6rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav.is-scrolled {
  background: rgba(244, 238, 227, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -28px rgba(42, 36, 28, 0.6);
}

.brandmark { display: inline-flex; align-items: center; gap: 0.66rem; line-height: 1; color: var(--sand-50); transition: color 0.5s var(--ease); }
.brandmark__mark { width: auto; height: 1.45rem; display: block; flex: none; }
.brandmark__lockup { display: inline-flex; flex-direction: column; gap: 0.28rem; }
.brandmark__name { font-family: var(--brand); font-weight: 400; font-size: 0.96rem; letter-spacing: 0.34em; text-transform: uppercase; line-height: 1; }
.brandmark__sub { font-family: var(--brand); font-weight: 400; font-size: 0.5rem; letter-spacing: 0.4em; text-transform: uppercase; line-height: 1; opacity: 0.72; }
.nav.is-scrolled .brandmark { color: var(--espresso); }
.brandmark--light { color: var(--sand-50); }

.nav__links { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.6rem); }
.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-50);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.35s var(--ease);
}
.nav.is-scrolled .nav__links a { color: var(--espresso); }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  opacity: 0.7;
}
.nav__links a:not(.nav__cta):hover::after,
.nav__links a:not(.nav__cta).is-active::after { transform: scaleX(1); }
.nav__links a:hover { color: var(--bronze-l); }
.nav.is-scrolled .nav__links a:hover { color: var(--bronze-d); }
.nav__links a.is-active { color: var(--bronze-l); }
.nav.is-scrolled .nav__links a.is-active { color: var(--bronze-d); }

.nav__cta {
  border: 1px solid currentColor;
  padding: 0.6rem 1.3rem !important;
  border-radius: 999px;
  opacity: 0.9;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav__cta:hover { background: var(--bronze); border-color: var(--bronze); color: var(--sand-50) !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 110; }
.nav__toggle span { width: 26px; height: 1.5px; background: var(--sand-50); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease); }
.nav.is-scrolled .nav__toggle span { background: var(--espresso); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--sand-50);
  padding: 7rem var(--gutter) 5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(130% 100% at 50% 42%, rgba(26,22,15,0.10) 0%, rgba(26,22,15,0.40) 58%, rgba(26,22,15,0.66) 100%),
    linear-gradient(to bottom, rgba(26,22,15,0.34) 0%, rgba(26,22,15,0.06) 38%, rgba(26,22,15,0.40) 72%, rgba(26,22,15,0.72) 100%);
}

.hero__content { max-width: 64rem; display: flex; flex-direction: column; align-items: center; }
.hero__mark {
  width: auto;
  height: clamp(3rem, 6vw, 4.6rem);
  color: var(--sand-50);
  margin-bottom: 1.8rem;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.35));
}
.hero__title {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 6.1rem);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-indent: 0.14em; /* optical centring for tracked caps */
  text-shadow: 0 2px 40px rgba(0,0,0,0.28);
  margin-bottom: 0.7rem;
}
.hero__title .amp { display: block; }
.hero__sub {
  font-family: var(--brand);
  font-size: clamp(0.72rem, 1.4vw, 0.92rem);
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.96);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
  margin-bottom: 2rem;
}
.hero__rule { width: 1px; height: 2.6rem; background: rgba(250,246,239,0.4); margin-bottom: 1.7rem; }
.hero__tagline {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.1vw, 1.4rem);
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: var(--sand-50);
  max-width: 30rem;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero__lede {
  max-width: 40rem;
  margin-inline: auto;
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(250, 246, 239, 0.8);
  font-weight: 400;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.4);
}
.hero .eyebrow { justify-content: center; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }

.hero__scroll {
  position: absolute;
  bottom: 2.4rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(250, 246, 239, 0.8);
}
.hero__scroll-line { width: 1px; height: 46px; background: rgba(250,246,239,0.5); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -46px; left: 0; width: 100%; height: 46px;
  background: var(--sand-50);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { transform: translateY(0); } 60%,100% { transform: translateY(92px); } }

/* ============================================================
   VISION
   ============================================================ */
.vision { background: var(--sand-100); }
.vision__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.vision__body p + p { margin-top: 1.2rem; }
.vision__text .display { margin-bottom: 2rem; }
.vision__media { position: relative; }
.vision__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 40px 80px -50px rgba(42,36,28,0.7);
}
.vision__media figcaption,
.masterplan figcaption {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1rem;
}

.pullquote {
  margin-top: clamp(4rem, 8vw, 7rem);
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.8vw, 2.8rem);
  line-height: 1.28;
  letter-spacing: -0.018em;
  text-align: center;
  color: var(--bronze-d);
  max-width: 22ch;
  margin-inline: auto;
  position: relative;
}
.pullquote__mark {
  display: block;
  font-size: 2.6em;
  line-height: 0.2;
  color: var(--stone);
  margin-bottom: 0.15em;
}

/* ============================================================
   DESIGN PILLARS
   ============================================================ */
.pillars { background: var(--sand-50); }
.pillars__head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.pillars__head .display { margin-bottom: 1.5rem; }
.pillars__intro { color: var(--muted); font-size: 1.1rem; }

.pillar-list { display: flex; flex-direction: column; gap: clamp(3rem, 7vw, 6.5rem); }
.pillar {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.pillar--reverse .pillar__media { order: 2; }
.pillar__media { overflow: hidden; border-radius: 2px; }
.pillar__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.pillar:hover .pillar__media img { transform: scale(1.045); }

.pillar__num {
  font-family: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--bronze);
  display: block;
  margin-bottom: 1.1rem;
  position: relative;
  padding-left: 3.2rem;
}
.pillar__num::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 2.4rem; height: 1px; background: var(--stone);
}
.pillar__title {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 1rem;
}
.pillar__quote {
  font-family: var(--brand);
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--bronze-d);
  margin-bottom: 1.3rem;
}
.pillar__copy { color: var(--muted); }

/* ============================================================
   MASTERPLAN
   ============================================================ */
.masterplan { background: var(--ink); color: var(--sand-100); }
.masterplan .display { color: var(--sand-50); }
.masterplan__head { max-width: 50rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.masterplan__head .display { margin-bottom: 1.5rem; }
.masterplan__intro { color: rgba(244, 238, 227, 0.7); font-size: 1.1rem; }

.masterplan__media {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: stretch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.masterplan__main img, .masterplan__sub img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line-l);
}
.masterplan__main { display: flex; flex-direction: column; }
.masterplan__sub { display: flex; flex-direction: column; }
.masterplan__main img { aspect-ratio: 16 / 10; }
.masterplan__sub img { aspect-ratio: 16 / 11; flex: 1; }
.masterplan figcaption { color: rgba(244,238,227,0.55); }

.programme-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.programme-tags li {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(244, 238, 227, 0.82);
  border: 1px solid var(--line-l);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.programme-tags li:hover { background: var(--bronze); border-color: var(--bronze); color: var(--sand-50); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--sand-100); }
.gallery__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.gallery__head .display { margin-bottom: 1.3rem; }
.gallery__intro { color: var(--muted); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.gtile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  grid-column: span 2;
  aspect-ratio: 4 / 3;
  background: var(--sand-300);
}
.gtile--wide { grid-column: span 3; }
.gtile--tall { grid-column: span 2; aspect-ratio: 3 / 4; }
.gtile--feature { grid-column: span 4; aspect-ratio: 16 / 9; }

.gtile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.gtile:hover img { transform: scale(1.06); filter: brightness(0.92); }
.gtile__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(to top, rgba(26,22,15,0.62) 0%, rgba(26,22,15,0) 55%);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.gtile:hover .gtile__overlay { opacity: 1; transform: translateY(0); }
.gtile__caption {
  color: var(--sand-50);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.gtile__caption span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-l);
  margin-bottom: 0.25rem;
}

/* ============================================================
   AREAS
   ============================================================ */
.areas { background: var(--sand-50); }
.areas__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.areas__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: left; }
.stat__num {
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--bronze-d);
  display: block;
}
.stat__unit { font-size: 0.42em; color: var(--stone); letter-spacing: 0.02em; }
.stat__label {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.areas__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.areas__table thead th {
  text-align: left;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-d);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--espresso);
}
.areas__area-col { text-align: right; }
.areas__table tbody th {
  font-family: var(--brand);
  font-weight: 400;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  color: var(--espresso);
  text-align: left;
  white-space: nowrap;
  padding-right: 1.5rem;
  vertical-align: baseline;
}
.areas__table tbody td { color: var(--muted); vertical-align: baseline; padding-block: 1.4rem; }
.areas__table tbody tr { border-bottom: 1px solid var(--line); transition: background 0.3s var(--ease); }
.areas__table tbody tr:hover { background: var(--sand-100); }
.areas__area {
  text-align: right;
  font-family: var(--brand);
  font-size: 1.42rem;
  letter-spacing: -0.02em;
  color: var(--bronze-d);
  white-space: nowrap;
}
.areas__area span { font-size: 0.62em; color: var(--stone); }
.areas__note { margin-top: 1.6rem; font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   CREDITS — architecture & design attribution (NEO Architecture)
   ============================================================ */
.credits {
  background: var(--sand-200);
  border-top: 1px solid var(--line);
}
.credits__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.credits .eyebrow { justify-content: center; }
.credits__inner .display { margin-bottom: 1.4rem; }
.credits__byline {
  color: var(--muted);
  max-width: 42rem;
  margin-inline: auto;
  font-size: 1.05rem;
}
.credits__logo {
  display: inline-block;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  color: inherit;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.credits__logo img {
  display: block;
  width: clamp(13rem, 26vw, 17rem);
  height: auto;
}
.credits__logo:hover { opacity: 0.74; transform: translateY(-2px); }
.credits__people {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.01em;
  color: var(--espresso);
}
.credits__role {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-d);
}
.credits__org {
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */
.contact {
  position: relative;
  background: var(--ink);
  color: var(--sand-100);
  overflow: hidden;
}
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; filter: grayscale(0.2); }
.contact::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(26,22,15,0.7), rgba(26,22,15,0.92));
}
.contact .container { position: relative; z-index: 2; }

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact .eyebrow { justify-content: center; }
.contact__inner .display { margin-bottom: 1.5rem; }
.contact__byline {
  color: rgba(244, 238, 227, 0.72);
  max-width: 40rem;
  margin-inline: auto;
  font-size: 1.08rem;
}

.contact__founders {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.4rem, 4vw, 3rem);
  border-top: 1px solid var(--line-l);
  width: 100%;
  max-width: 54rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__k {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze-l);
  margin-bottom: 1.6rem;
}
.founders {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem 1.7rem;
}
.founders li {
  position: relative;
  color: rgba(244, 238, 227, 0.92);
  font-size: 1.02rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.founders li::after {
  content: "";
  position: absolute;
  right: -0.9rem; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--bronze-l);
  transform: translateY(-50%);
}
.founders li:last-child::after { display: none; }

.contact__foot {
  position: relative;
  z-index: 2;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.contact__meta, .contact__copy {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 238, 227, 0.5);
}

/* ============================================================
   STONE BRAND BAND  (the logo, cast in stone)
   ============================================================ */
.stoneband { padding: 0; background: #d8d3cb; overflow: hidden; }
.stoneband__media { position: relative; display: block; }
.stoneband__media img {
  width: 100%;
  height: clamp(340px, 60vh, 700px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.stoneband__cap {
  text-align: center;
  padding: clamp(2.4rem, 5vw, 3.6rem) var(--gutter) clamp(2.6rem, 5.5vw, 4rem);
  background: var(--sand-50);
}
.stoneband__ar {
  font-family: var(--brand);
  direction: rtl;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1;
  color: var(--espresso);
  margin-bottom: 1rem;
}
.stoneband__line {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.stoneband__line span { color: var(--bronze-d); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 16, 11, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  padding: clamp(1rem, 5vw, 4rem);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,0.8);
  transform: scale(0.96);
  transition: transform 0.5s var(--ease);
}
.lightbox.is-open .lightbox__figure img { transform: scale(1); }
.lightbox__figure figcaption {
  color: var(--sand-100);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lightbox__figure figcaption b { color: var(--bronze-l); font-weight: 500; }

.lightbox__close, .lightbox__nav {
  position: absolute;
  background: none; border: 0; color: var(--sand-100);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2.4rem); font-size: 2.4rem; width: 48px; height: 48px; line-height: 1; }
.lightbox__nav {
  top: 50%; transform: translateY(-50%);
  font-size: 3rem; width: 64px; height: 64px;
  border-radius: 50%;
}
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 2rem); }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--bronze-l); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .vision__grid { grid-template-columns: 1fr; }
  .vision__media { max-width: 30rem; }
  .vision__media img { aspect-ratio: 5 / 4; }
  .pillar, .pillar--reverse { grid-template-columns: 1fr; gap: 1.8rem; }
  .pillar--reverse .pillar__media { order: 0; }
  .pillar__media img { aspect-ratio: 16 / 10; }
  .masterplan__media { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(26, 22, 15, 0.97);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.55s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--sand-50) !important; font-size: 0.95rem; }
  .nav__cta { border-color: var(--bronze-l); }
  .nav__toggle { display: flex; }
  .nav__links.is-open ~ .nav__toggle span,
  .nav.is-menu-open .nav__toggle span { background: var(--sand-50); }
  .nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gtile, .gtile--wide, .gtile--tall, .gtile--feature { grid-column: span 1; aspect-ratio: 4 / 3; }
  .gtile--feature { grid-column: span 2; }

  .areas__stats { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .stat { text-align: center; }
  .areas__table thead { display: none; }
  .areas__table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding-block: 1.4rem; }
  .areas__table tbody th { font-size: 1.25rem; padding: 0; }
  .areas__table tbody td:first-of-type { grid-column: 1 / -1; padding: 0.4rem 0 0; font-size: 0.9rem; }
  .areas__area { grid-row: 1; grid-column: 2; padding: 0; }
  .founders { flex-direction: column; gap: 0.65rem; }
  .founders li::after { display: none; }
  .contact__foot { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .hero__title { font-size: clamp(2.3rem, 12vw, 3rem); letter-spacing: 0.1em; text-indent: 0.1em; }
  .hero__sub { letter-spacing: 0.4em; text-indent: 0.4em; }
  .brandmark__sub { display: none; }
}
