
:root {
  --ivory: #f4efe7;
  --ivory-light: #faf7f2;
  --ivory-deep: #eee6db;
  --stone: #d7c9b7;
  --sand: #b99f7a;
  --gold: #c5a15a;
  --gold-soft: #e1c88f;
  --burgundy: #6f1d1f;
  --ink: #121415;
  --ink-2: #17191a;
  --muted: #6c685f;
  --line: rgba(18, 20, 21, 0.12);
  --line-soft: rgba(255,255,255,.14);
  --shadow: 0 25px 70px rgba(18,20,21,.10);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: min(1200px, calc(100vw - 52px));
  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
  color: white;
}
.site-header.scrolled {
  background: rgba(14, 16, 17, 0.82);
  border-bottom-color: rgba(255,255,255,.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0,0,0,.10);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: grid;
  grid-template-columns: 18px auto auto;
  grid-template-rows: auto auto;
  column-gap: 7px;
  align-items: end;
  line-height: .85;
  letter-spacing: .12em;
}
.brand-mark {
  grid-row: 1 / 2;
  grid-column: 1;
  color: var(--gold-soft);
  font-size: 10px;
  line-height: 1;
  align-self: start;
  transform: translateY(4px);
}
.brand-main,
.brand-noor {
  font-family: var(--serif);
  font-size: 16px;
}
.brand-main { grid-column: 2 / 4; }
.brand-noor {
  grid-column: 2;
  color: var(--gold-soft);
  font-weight: 700;
}
.brand-arabic {
  grid-column: 3;
  font-family: Georgia, serif;
  font-size: 11px;
  color: var(--gold-soft);
  letter-spacing: 0;
  justify-self: start;
  margin-top: 4px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.main-nav a {
  position: relative;
  opacity: .90;
  transition: opacity .25s ease, color .25s ease;
}
.main-nav a:hover { opacity: 1; }
.main-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold-soft);
  transition: right .25s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--gold-soft); }

.nav-contact {
  border: 1px solid rgba(255,255,255,.72);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-contact:hover,
.nav-contact.active {
  background: white;
  color: var(--ink);
  border-color: white;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  color: white;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  margin: 6px 0;
}

/* Hero */
.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 132px 0 84px;
  color: white;
  background: #151514;
}
.hero-photo,
.hero-overlay,
.hero-vignette {
  position: absolute;
  inset: 0;
}
.hero-photo {
  background: url("../images/marbella-hero.jpg") center 54% / cover no-repeat;
  transform: scale(1.02);
  will-change: transform;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9,10,11,.90) 0%, rgba(9,10,11,.72) 36%, rgba(9,10,11,.24) 72%, rgba(9,10,11,.16) 100%),
    linear-gradient(0deg, rgba(9,10,11,.82) 0%, rgba(9,10,11,.14) 46%, rgba(9,10,11,.32) 100%);
}
.hero-vignette {
  background:
    radial-gradient(circle at 74% 24%, rgba(255,227,171,.16), transparent 28%),
    radial-gradient(circle at 16% 78%, rgba(0,0,0,.16), transparent 24%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: end;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--burgundy);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.hero .eyebrow,
.marbella-section .eyebrow { color: var(--gold-soft); }

.hero h1,
.section-heading h2,
.vision-content h2,
.marbella-copy h2,
.contact-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
}
.hero h1 {
  max-width: 850px;
  font-size: clamp(66px, 9vw, 138px);
  line-height: .84;
  margin: 0;
  text-shadow: 0 6px 32px rgba(0,0,0,.28);
}
.hero h1 em {
  display: block;
  color: #f3d696;
  font-weight: 400;
  font-style: normal;
}
.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.48;
  color: rgba(255,255,255,.88);
  text-shadow: 0 2px 14px rgba(0,0,0,.22);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  transition: transform .24s ease, background .24s ease, color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
}
.button-primary {
  background: #f2d79e;
  border-color: #f2d79e;
  color: #171714;
}
.button-primary:hover {
  background: #fff1d0;
  border-color: #fff1d0;
}
.text-link {
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.76);
  padding-bottom: 3px;
  transition: opacity .24s ease, transform .24s ease;
}
.text-link:hover {
  opacity: .92;
  transform: translateX(2px);
}

.hero-panel {
  min-height: 405px;
  border-left: 1px solid rgba(255,255,255,.24);
  padding: 10px 0 10px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-monogram {
  width: 104px;
  height: 104px;
  border: 1px solid rgba(242,215,158,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  color: #f2d79e;
  font-size: 30px;
  margin-bottom: auto;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.015);
}
.panel-kicker {
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.panel-quote {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.3;
  margin: 12px 0 30px;
  color: rgba(255,255,255,.95);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255,255,255,.70);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.scroll-text {
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .16em;
}
.scroll-line {
  width: 46px;
  height: 1px;
  background: white;
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  transform: translateX(-100%);
  animation: glide 2s infinite;
}
@keyframes glide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* Sections */
.section { padding: clamp(100px, 12vw, 172px) 0; }
.ecosystem { background: linear-gradient(180deg, var(--ivory-light) 0%, #f7f3ed 100%); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 72px;
  margin-bottom: 76px;
}
.section-heading .eyebrow { grid-column: 1; }
.section-heading h2 {
  grid-column: 2;
  font-size: clamp(44px, 6vw, 84px);
  line-height: .98;
  margin: -4px 0 26px;
  max-width: 780px;
}
.section-heading > p:last-child {
  grid-column: 2;
  max-width: 660px;
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.business-card {
  min-height: 370px;
  padding: 26px 28px 26px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(18,20,21,.08);
  box-shadow: 0 18px 42px rgba(18,20,21,.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.business-card:hover {
  background: white;
  transform: translateY(-5px);
  border-color: rgba(197,161,90,.24);
  box-shadow: 0 30px 68px rgba(18,20,21,.08);
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.card-icon {
  width: 44px;
  height: 44px;
}
.card-index {
  color: rgba(18,20,21,.32);
  font-family: var(--serif);
  font-size: 13px;
}
.card-kicker {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.business-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 31px;
  line-height: 1.05;
  margin: 20px 0 15px;
}
.business-card p:not(.card-kicker) {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.business-card > a {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  border-bottom: 1px solid rgba(18,20,21,.18);
  padding-bottom: 4px;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.business-card > a:hover {
  color: var(--burgundy);
  border-color: rgba(111,29,31,.30);
  transform: translateX(2px);
}

/* Vision */
.vision {
  background: radial-gradient(circle at 18% 18%, rgba(255,255,255,.04), transparent 20%), var(--ink);
  color: #f8f4ee;
}
.vision-grid {
  display: grid;
  grid-template-columns: .52fr 1.48fr;
  gap: 84px;
}
.vision-number {
  font-family: var(--serif);
  font-size: clamp(120px, 20vw, 300px);
  line-height: .72;
  color: rgba(255,255,255,.05);
  align-self: start;
}
.vision-content .eyebrow { color: #d0b077; }
.vision-content h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: .95;
}
.vision-lead {
  margin: 38px 0 70px;
  max-width: 740px;
  color: rgba(255,255,255,.70);
  font-size: 18px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 28px;
}
.principles span {
  color: #d0b077;
  font-size: 10px;
  letter-spacing: .12em;
}
.principles h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  margin: 16px 0 10px;
}
.principles p {
  color: rgba(255,255,255,.56);
  font-size: 13px;
  margin: 0;
}

/* Marbella */
.marbella-section {
  min-height: 76vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  background: #1d1d1b;
}
.marbella-photo,
.marbella-shade {
  position: absolute;
  inset: 0;
}
.marbella-photo {
  background: url("../images/marbella-marina.jpg") center 50% / cover no-repeat;
  transform: scale(1.02);
}
.marbella-shade {
  background:
    linear-gradient(90deg, rgba(17,17,15,.90) 0%, rgba(17,17,15,.65) 46%, rgba(17,17,15,.20) 78%, rgba(17,17,15,.14) 100%),
    linear-gradient(0deg, rgba(17,17,15,.68) 0%, rgba(17,17,15,.04) 60%);
}
.marbella-inner {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 80px;
  align-items: center;
  padding-block: 118px;
  position: relative;
  z-index: 2;
}
.marbella-copy h2 {
  font-size: clamp(50px, 6.7vw, 94px);
  line-height: .92;
  margin: 0 0 32px;
}
.marbella-copy > p:last-child {
  max-width: 620px;
  font-family: var(--serif);
  font-size: 21px;
  color: rgba(255,255,255,.86);
}
.marbella-signature {
  min-height: 330px;
  border: 1px solid rgba(255,255,255,.22);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: space-between;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(17,17,15,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.marbella-signature span:nth-child(2) { text-align: right; }
.marbella-signature strong {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -.04em;
  color: #f2d79e;
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, #671c1f 0%, #5b171a 100%);
  color: #fffaf3;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 92px;
}
.contact-section .eyebrow { color: #e4c78c; }
.contact-heading h2 {
  font-size: clamp(52px, 7vw, 98px);
  line-height: .95;
  margin: 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
}
.contact-details > a:not(.button) {
  font-family: var(--serif);
  font-size: 22px;
  border-bottom: 1px solid rgba(255,255,255,.42);
  transition: opacity .25s ease, transform .25s ease;
}
.contact-details > a:not(.button):hover {
  opacity: .92;
  transform: translateX(2px);
}
.contact-details p {
  color: rgba(255,255,255,.72);
  margin: 20px 0;
}
.button-dark {
  background: #fffaf3;
  border-color: #fffaf3;
  color: var(--burgundy);
}
.button-dark:hover {
  background: #fff;
  border-color: #fff;
}

/* Footer */
.site-footer {
  background: #11110f;
  color: rgba(255,255,255,.72);
  padding: 58px 0 28px;
}
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}
.brand-footer .brand-main { color: #fff; }
.footer-top { padding-bottom: 46px; }
.footer-top > p {
  font-family: var(--serif);
  font-size: 19px;
  margin: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.footer-bottom p { margin: 0; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.reveal-delay { transition-delay: .10s; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 840px); }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --shell: min(100% - 34px, 760px); }
  .header-inner { min-height: 76px; }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    background: #141616;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 30px;
    gap: 28px;
    font-family: var(--serif);
    font-size: 34px;
    text-transform: none;
    transform: translateY(-105%);
    transition: transform .45s var(--ease);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a:not(.nav-contact)::after { bottom: -10px; }
  .nav-contact { border: 0; padding: 0; border-radius: 0; }
  body.menu-open { overflow: hidden; }

  .hero { padding-top: 120px; }
  .hero-photo { background-position: 63% 52%; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9,10,11,.88), rgba(9,10,11,.48)),
      linear-gradient(0deg, rgba(9,10,11,.84), rgba(9,10,11,.10) 58%);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero h1 { font-size: clamp(58px, 15vw, 110px); }
  .hero-panel {
    min-height: 250px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.22);
    padding: 28px 0 0;
  }
  .hero-monogram {
    width: 70px;
    height: 70px;
    font-size: 21px;
  }
  .scroll-cue { display: none; }

  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading > p:last-child { grid-column: 1; }
  .section-heading h2 { margin-top: 0; }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .vision-number { font-size: 130px; }

  .marbella-inner,
  .contact-grid { grid-template-columns: 1fr; }

  .marbella-photo { background-position: 60% center; }
  .marbella-signature { min-height: 240px; }
  .contact-details { margin-top: 30px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }

  .brand-main, .brand-noor { font-size: 14px; }
  .hero {
    min-height: 790px;
    padding: 118px 0 76px;
  }
  .hero-photo { background-position: 68% center; }
  .hero h1 { font-size: clamp(54px, 18vw, 84px); }
  .hero-lead { font-size: 19px; }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-panel { display: none; }

  .section { padding: 92px 0; }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2,
  .vision-content h2,
  .marbella-copy h2,
  .contact-heading h2 { font-size: 46px; }

  .business-grid { grid-template-columns: 1fr; }
  .business-card { min-height: 320px; }
  .principles {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .marbella-inner { padding-block: 90px; }
  .marbella-signature strong { font-size: 52px; }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-top > p { font-size: 16px; }
}
