:root {
  --navy: #071126;
  --navy-2: #0a1730;
  --ink: #02050b;
  --gold: #d9b436;
  --gold-light: #f0d679;
  --ivory: #f1eee4;
  --muted: #a9a794;
  --line: rgba(217, 180, 54, 0.24);
  --panel: rgba(8, 15, 31, 0.82);
  --page-x: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--navy); }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ivory);
  color: var(--navy);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.display {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  font-synthesis: none;
}
.section-label {
  margin: 0 0 1.3rem;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  height: 190svh;
  isolation: isolate;
  background: var(--ink);
}
.hero-pin {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(16rem, 20vw, 23rem);
  align-items: center;
  column-gap: clamp(4rem, 8vw, 10rem);
  min-height: 100svh;
  padding: clamp(5rem, 10vh, 7rem) var(--page-x);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  background-image: url("assets/dubai-skyline.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-media-main {
  inset: -6%;
  z-index: -6;
  background-position: 56% center;
  opacity: calc(0.22 - var(--hero-progress, 0) * 0.2);
  transform: scale(1.09);
  will-change: transform;
}
.hero-slice {
  inset: -6%;
  z-index: -5;
  background-position: 56% center;
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: center;
  contain: paint;
}
.hero-slice-left {
  clip-path: polygon(0 0, 39% 0, 32% 100%, 0 100%);
  transform: translate3d(calc(var(--hero-progress, 0) * -34vw), calc(var(--hero-progress, 0) * 11vh), 0)
    rotate(calc(var(--hero-progress, 0) * -3deg)) scale(1.09);
}
.hero-slice-center {
  clip-path: polygon(36% 0, 73% 0, 66% 100%, 29% 100%);
  transform: translate3d(calc(var(--hero-progress, 0) * 2vw), calc(var(--hero-progress, 0) * -46vh), 0)
    rotate(calc(var(--hero-progress, 0) * 1.5deg)) scale(1.09);
}
.hero-slice-right {
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 63% 100%);
  transform: translate3d(calc(var(--hero-progress, 0) * 34vw), calc(var(--hero-progress, 0) * 15vh), 0)
    rotate(calc(var(--hero-progress, 0) * 3deg)) scale(1.09);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 5, 11, 0.96) 0%, rgba(2, 5, 11, 0.63) 43%, rgba(2, 5, 11, 0.18) 75%),
    linear-gradient(0deg, rgba(2, 5, 11, 0.92) 0%, transparent 55%),
    linear-gradient(180deg, rgba(7, 17, 38, 0.55), transparent 35%);
}
.hero-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(112deg, transparent 55%, rgba(217, 180, 54, 0.12) 55.1%, transparent 56%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}
.hero-brand {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  z-index: 3;
  width: min(100%, 20rem);
  filter: drop-shadow(0 0.85rem 1.5rem rgba(0, 0, 0, 0.38));
  opacity: calc(1 - var(--hero-progress, 0) * 1.5);
  transform: translate3d(calc(var(--hero-progress, 0) * 22vw), 0, 0);
  will-change: opacity, transform;
}
.hero-brand img { width: 100%; height: auto; }
.hero-kicker { margin: 0 0 2rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-kicker span { margin-left: 1rem; color: var(--muted); }
.hero-title { margin: 0; max-width: 62rem; font-size: clamp(5rem, 8.5vw, 10rem); }
.hero-title span { display: block; }
.hero-title-indent { margin-left: clamp(0rem, 5vw, 5.5rem); color: var(--gold-light); }
.hero-copy { max-width: 28rem; margin: clamp(2.5rem, 6vh, 4.5rem) 0 0; font-size: clamp(1rem, 1.2vw, 1.15rem); font-weight: 500; }
.hero-content {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  width: 100%;
  max-width: 68rem;
  opacity: calc(1 - var(--hero-progress, 0) * 1.65);
}
.scroll-cue {
  position: absolute;
  right: var(--page-x);
  bottom: 2.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: calc(1 - var(--hero-progress, 0) * 2.2);
  z-index: 2;
}

.scroll-stage { position: relative; height: 190vh; isolation: isolate; }
.scroll-stage::before,
.scroll-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.scroll-stage::before {
  background-image:
    radial-gradient(circle, rgba(241, 238, 228, 0.38) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(217, 180, 54, 0.52) 0 1.7px, transparent 2.3px),
    radial-gradient(circle, rgba(217, 180, 54, 0.24) 0 2.4px, transparent 3.2px);
  background-position: 0 0, 11px 17px, 34px 8px;
  background-size: 23px 23px, 47px 47px, 79px 79px;
  opacity: 0.52;
  mask-image: linear-gradient(to bottom, transparent 1%, #000 15%, #000 88%, transparent 100%);
}
.scroll-stage::after {
  background:
    radial-gradient(circle at 78% 45%, rgba(217, 180, 54, 0.25), transparent 25%),
    radial-gradient(circle at 18% 72%, rgba(241, 238, 228, 0.1), transparent 22%),
    linear-gradient(90deg, rgba(2, 5, 11, 0.88), transparent 42%, rgba(2, 5, 11, 0.28));
}
.stage-sticky {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 6rem var(--page-x);
  overflow: hidden;
}
.particle-field { position: sticky; top: 0; z-index: 0; width: 100%; height: 100svh; display: block; opacity: 1; }
.hero-pin .hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  height: 100%;
  opacity: calc(0.04 + var(--hero-progress, 0) * 0.96);
}
.stage-sticky > * { position: relative; z-index: 2; }
.thesis .stage-sticky { margin-top: -100svh; }
.section-lead { max-width: 48rem; margin: 0; text-align: center; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1.08; font-weight: 500; letter-spacing: -0.045em; }
.floating-note {
  position: absolute;
  width: min(17rem, 32vw);
  margin: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: rgba(8, 11, 17, 0.76);
  color: #c9c5b6;
  font-size: 0.93rem;
}
.note-one { top: 18%; right: 8%; }
.note-two { bottom: 17%; left: 8%; }

.operating-model { margin-top: -1px; }
.operating-model .particle-field { opacity: 0.9; }
.operating-model .model-inner { margin-top: -100svh; align-content: center; }
.model-inner { grid-template-columns: minmax(0, 1fr); }
.model-inner .section-label { position: absolute; top: 12%; left: var(--page-x); }
.model-title { max-width: 58rem; }
.cycle-word { display: block; min-height: 1.2em; color: var(--gold-light); }
.cycle-word.word-out { animation: wordOut 260ms ease forwards; }
.cycle-word.word-in { animation: wordIn 350ms ease forwards; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-0.3em); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(0.3em); } }
.model-copy { max-width: 38rem; margin: 2.1rem auto 0; color: #c5c1b3; text-align: center; font-size: 1.05rem; }
.outline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: center;
  margin-top: 2rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 180ms ease, color 180ms ease;
}
.outline-link:hover,
.outline-link:focus-visible { background: var(--gold); color: var(--navy); }

.businesses { padding: clamp(6rem, 12vw, 11rem) var(--page-x); background: #05080f; }
.section-heading { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 3rem; margin-bottom: 4rem; }
.section-heading h2,
.ventures-content > h2,
.presence h2,
.footer-intro h2 { margin: 0; font-size: clamp(2.1rem, 4.5vw, 4.8rem); line-height: 1.02; letter-spacing: -0.05em; font-weight: 500; }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.business-card { min-height: 22rem; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(150deg, rgba(217, 180, 54, 0.035), transparent 56%); }
.business-card > span { color: var(--gold); font-family: "Oswald"; font-size: 0.85rem; letter-spacing: 0.12em; }
.business-card h3 { margin: 7rem 0 1.2rem; font-size: 1.35rem; font-weight: 500; }
.business-card p { max-width: 22rem; margin: 0; color: #aaa89d; }
.business-card-accent { background: var(--gold); color: var(--navy); }
.business-card-accent > span,
.business-card-accent p { color: var(--navy); }

.manifesto {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding: 7rem var(--page-x);
  overflow: hidden;
  isolation: isolate;
}
.manifesto-image {
  position: absolute;
  inset: -8% 0;
  z-index: -3;
  background: url("assets/modern-architecture.jpg") center / cover;
  transform: translate3d(0, calc(var(--section-progress, 0) * 10vh), 0) scale(1.1);
  will-change: transform;
}
.manifesto-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2, 5, 11, 0.94), rgba(7, 17, 38, 0.3)), linear-gradient(0deg, rgba(2, 5, 11, 0.9), transparent); }
.manifesto h2 { width: min(100%, 72rem); margin: 0; font-size: clamp(4rem, 9.4vw, 10rem); }
.manifesto h2 span { display: block; margin-left: clamp(0rem, 10vw, 10rem); color: var(--gold-light); }

.ventures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; background: var(--navy); }
.ventures-photo { position: relative; min-height: 100%; overflow: hidden; }
.ventures-photo img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.05);
  transform: translate3d(0, calc(var(--section-progress, 0) * -8%), 0) scale(1.04);
  will-change: transform;
}
.ventures-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 17, 38, 0.88), transparent 55%); }
.ventures-photo p { position: absolute; z-index: 2; right: 2rem; bottom: 2rem; left: 2rem; max-width: 33rem; margin: 0; font-size: clamp(1.2rem, 2vw, 2rem); line-height: 1.18; }
.ventures-content { align-self: center; padding: clamp(5rem, 8vw, 9rem) var(--page-x); }
.ventures-content > h2 { margin-bottom: 3.5rem; }
.venture-card { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.venture-card:last-child { border-bottom: 1px solid var(--line); }
.venture-card span { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.venture-card h3 { margin: 0.5rem 0 0; font-family: "Oswald"; font-size: 2.4rem; font-weight: 400; text-transform: uppercase; }
.venture-card p { margin: 0; color: #b9b8b0; }

.presence { position: relative; min-height: 92svh; display: flex; align-items: end; padding: 5rem var(--page-x); overflow: hidden; isolation: isolate; }
.presence-image {
  position: absolute;
  inset: -8% 0;
  z-index: -3;
  background: url("assets/dubai-skyline.jpg") 68% center / cover;
  transform: translate3d(0, calc(var(--section-progress, 0) * 10vh), 0) scale(1.08);
  will-change: transform;
}
.presence::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(2, 5, 11, 0.98) 8%, rgba(2, 5, 11, 0.36) 75%), linear-gradient(90deg, rgba(2, 5, 11, 0.88), transparent 70%); }
.presence-copy { width: min(100%, 72rem); }
.presence h2 { max-width: 54rem; }
.market-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 3.2rem; border: 1px solid var(--line); background: var(--line); }
.market-row div { padding: 1.4rem; background: rgba(3, 7, 14, 0.82); backdrop-filter: blur(12px); }
.market-row span { display: block; margin-bottom: 0.45rem; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.market-row strong { font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 500; }

.site-footer { padding: 1rem; background: var(--ink); }
.footer-frame { display: grid; grid-template-columns: 1.15fr 0.85fr; border: 1px solid var(--line); border-radius: 0.5rem; overflow: hidden; }
.footer-intro { padding: clamp(3rem, 7vw, 7rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-pending { margin: 2.3rem 0 0; color: var(--gold-light); }
.footer-logo { display: grid; place-items: center; padding: 2rem; border-bottom: 1px solid var(--line); }
.footer-logo img { width: min(28rem, 88%); }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); padding: 2rem; border-right: 1px solid var(--line); }
.footer-nav a { padding: 1rem; border-bottom: 1px solid rgba(217, 180, 54, 0.11); }
.footer-meta { display: grid; align-content: end; padding: 2rem; color: #92928b; font-size: 0.78rem; }
.footer-meta p { margin: 0.25rem 0; }
.photo-credit a { text-decoration: underline; text-underline-offset: 0.18em; }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1); }
.reveal.in-view { opacity: 1; transform: none; }
.business-card:nth-child(2), .venture-card:nth-of-type(1) { transition-delay: 80ms; }
.business-card:nth-child(3), .venture-card:nth-of-type(2) { transition-delay: 140ms; }
.business-card:nth-child(4) { transition-delay: 200ms; }
.business-card:nth-child(5) { transition-delay: 260ms; }
.business-card:nth-child(6) { transition-delay: 320ms; }

@media (max-width: 900px) {
  .hero-pin { display: block; padding-top: 8rem; }
  .hero-content { width: 100%; }
  .hero-brand {
    position: absolute;
    top: 50%;
    right: var(--page-x);
    width: clamp(9rem, 22vw, 12rem);
    transform: translate3d(calc(var(--hero-progress, 0) * 30vw), -50%, 0);
  }
  .hero-title { font-size: clamp(4.2rem, 17vw, 8rem); }
  .hero-title-indent { margin-left: 0; }
  .hero-slice-left { transform: translate3d(calc(var(--hero-progress, 0) * -48vw), calc(var(--hero-progress, 0) * 8vh), 0) scale(1.09); }
  .hero-slice-center { transform: translate3d(0, calc(var(--hero-progress, 0) * -42vh), 0) scale(1.09); }
  .hero-slice-right { transform: translate3d(calc(var(--hero-progress, 0) * 48vw), calc(var(--hero-progress, 0) * 12vh), 0) scale(1.09); }
  .section-heading { grid-template-columns: 1fr; gap: 0.5rem; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .ventures { grid-template-columns: 1fr; }
  .ventures-photo { min-height: 75svh; }
  .footer-frame { grid-template-columns: 1fr; }
  .footer-intro, .footer-nav { border-right: 0; }
  .footer-logo, .footer-nav { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .hero-brand { width: 8.5rem; opacity: calc(0.72 - var(--hero-progress, 0) * 1.2); }
  .hero-pin { padding-top: 8.5rem; }
  .hero-title { font-size: clamp(4rem, 20vw, 6.4rem); line-height: 0.9; }
  .hero-copy { max-width: 19rem; }
  .hero-media-main { background-position: 64% center; }
  .scroll-cue { right: auto; left: var(--page-x); }
  .scroll-stage { height: 160vh; }
  .floating-note { width: 43vw; padding: 0.9rem; font-size: 0.78rem; }
  .note-one { top: 16%; right: 1rem; }
  .note-two { bottom: 13%; left: 1rem; }
  .section-lead { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .business-grid { grid-template-columns: 1fr; }
  .business-card { min-height: 17rem; }
  .business-card h3 { margin-top: 4.8rem; }
  .manifesto h2 { font-size: clamp(3.5rem, 17vw, 6rem); }
  .manifesto h2 span { margin-left: 0; }
  .venture-card { grid-template-columns: 1fr; gap: 1rem; }
  .market-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
}

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