/* Sahil K Puri | site styles
   Type scale and spacing follow the Above The Fold standard:
   H1 max 48px, body 16px, section padding 56px, 1200px container. */

@font-face { font-family: "Zodiak"; src: url("../fonts/Zodiak-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("../fonts/Zodiak-VariableItalic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/GeneralSans-Variable.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }

:root {
  /* 7-slot colour system */
  --night: #111315;      /* 1 Night: primary text, dark sections */
  --paper: #F4F0E8;      /* 2 Paper: main background */
  --sand: #E8E0D2;       /* 3 Sand: cards, alternate sections */
  --line: #D3C9B8;       /* 4 Line: rules, borders */
  --stone: #6F6A62;      /* 5 Stone: secondary text */
  --dune: #A8824C;       /* 6 Dune: the single accent, used sparingly */
  --creek: #1C3537;      /* 7 Creek: deep secondary for dark panels */

  --ff-display: "Zodiak", "Times New Roman", serif;
  --ff-body: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-h1: clamp(34px, 4.2vw, 48px);
  --fs-h2: clamp(28px, 3.2vw, 36px);
  --fs-h3: clamp(21px, 2vw, 24px);
  --fs-h4: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-micro: 12.5px;

  --section: 56px;
  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--night);
  font-family: var(--ff-body); font-size: var(--fs-body); line-height: 1.6;
  font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--dune); color: var(--paper); }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 350; margin: 0; letter-spacing: -0.01em; line-height: 1.12; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); font-family: var(--ff-body); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
em, .italic { font-style: italic; }
.display-italic { font-family: var(--ff-display); font-style: italic; font-weight: 300; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-lg { padding: calc(var(--section) * 1.6) 0; }
.muted { color: var(--stone); }
.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); letter-spacing: .02em; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark { background: var(--night); color: var(--paper); }
.dark .muted { color: #A9A397; }
.creek { background: var(--creek); color: var(--paper); }
.sand { background: var(--sand); }

/* ---------- Buttons: tinted glass ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: .01em;
  background: rgba(17, 19, 21, .06); border: 1px solid rgba(17, 19, 21, .14);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), color .4s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn:hover { background: rgba(17, 19, 21, .12); }
.btn-solid { background: var(--night); color: var(--paper); border-color: var(--night); }
.btn-solid:hover { background: #24272a; }
.btn-light { background: rgba(244, 240, 232, .14); border-color: rgba(244, 240, 232, .32); color: var(--paper); }
.btn-light:hover { background: rgba(244, 240, 232, .24); }
.btn-accent { background: rgba(168, 130, 76, .9); border-color: rgba(168, 130, 76, 1); color: #fff; }
.btn-accent:hover { background: var(--dune); }
.btn svg { width: 16px; height: 16px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; display: flex; align-items: center;
  transition: background .5s var(--ease), color .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease);
  color: var(--paper);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(244, 240, 232, .86); color: var(--night); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); height: 64px; box-shadow: 0 1px 0 var(--line); }
.site-header.on-light { color: var(--night); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-word { font-family: var(--ff-body); font-weight: 600; font-size: 15px; letter-spacing: .26em; text-transform: uppercase; }
.brand-flags { display: inline-flex; gap: 4px; align-items: center; }
.brand-flags svg { width: 18px; height: 12px; border-radius: 2px; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { font-size: 14.5px; font-weight: 500; position: relative; opacity: .9; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.site-header .btn { height: 42px; padding: 0 18px; font-size: 14px; }
.site-header:not(.is-solid):not(.on-light) .btn { background: rgba(244, 240, 232, .14); border-color: rgba(244, 240, 232, .32); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .4s var(--ease); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--night); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--gutter) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); pointer-events: none;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
body.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; }
.mobile-menu nav a { display: block; font-family: var(--ff-display); font-size: 34px; font-weight: 300; padding: 8px 0; border-bottom: 1px solid rgba(244,240,232,.12); }
.mobile-menu .mm-foot { display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; color: var(--paper); overflow: hidden; background: var(--night); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,12,.55) 0%, rgba(10,11,12,.12) 32%, rgba(10,11,12,.5) 58%, rgba(10,11,12,.92) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,11,12,.15) 30%, rgba(10,11,12,.5) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; }
.hero-title { font-size: var(--fs-h1); max-width: 14ch; font-weight: 300; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-loaded .hero-title .line > span { transform: translateY(0); }
.is-loaded .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.hero-copy { text-shadow: 0 1px 14px rgba(0,0,0,.55); max-width: 470px; font-size: 16.5px; color: rgba(244,240,232,.96); opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease) .4s, transform 1.2s var(--ease) .4s; }
.is-loaded .hero-copy { opacity: 1; transform: none; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(244,240,232,.22); font-size: 13.5px; color: rgba(244,240,232,.75); }
.hero-meta .places { display: flex; gap: 22px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { display: block; width: 1px; height: 28px; background: rgba(244,240,232,.4); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* page hero (inner pages) */
.page-hero { position: relative; padding: 150px 0 56px; }
.page-hero.has-image { color: var(--paper); padding: 0; height: 72svh; min-height: 520px; overflow: hidden; background: var(--night); }
.page-hero.has-image .bg { position: absolute; inset: 0; }
.page-hero.has-image .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,12,.5), rgba(10,11,12,.2) 40%, rgba(10,11,12,.82)); }
.page-hero.has-image .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; }
.page-hero h1 { max-width: 18ch; font-weight: 300; }
.page-hero .lede { max-width: 560px; margin-top: 18px; font-size: 17px; }
.crumbs { font-size: 13px; margin-bottom: 18px; opacity: .8; }
.crumbs a { border-bottom: 1px solid currentColor; }

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: baseline; gap: 12px; padding: 18px 36px; border-right: 1px solid var(--line); white-space: nowrap; }
.ticker-item b { font-family: var(--ff-display); font-weight: 400; font-size: 22px; }
.ticker-item span { font-size: 13.5px; color: var(--stone); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.statement-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; background: var(--sand); }
.statement-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.statement-media.in img { transform: scale(1); }
.statement-media figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 12.5px; color: var(--paper); background: rgba(17,19,21,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 6px 12px; border-radius: 999px; }
.statement blockquote { margin: 0; font-family: var(--ff-display); font-weight: 300; font-size: var(--fs-h2); line-height: 1.2; }
.statement blockquote .word { opacity: .18; transition: opacity .5s ease; }
.statement blockquote .word.on { opacity: 1; }
.statement .sig { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: var(--stone); font-size: 14px; }
.statement .sig::before { content: ""; width: 36px; height: 1px; background: var(--dune); }
.statement-body { margin-top: 28px; max-width: 560px; color: var(--stone); }

/* ---------- Section heads ---------- */
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.head h2 { max-width: 20ch; }
.head p { max-width: 420px; margin: 0; color: var(--stone); }
.dark .head p, .creek .head p { color: #B6B0A4; }
.kicker { display: inline-block; font-size: 13px; color: var(--dune); margin-bottom: 14px; font-weight: 500; }

/* ---------- Lenses (interactive) ---------- */
.lenses { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: stretch; }
.lens-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(244,240,232,.16); }
.lens { border-bottom: 1px solid rgba(244,240,232,.16); }
.lens button { width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px; padding: 20px 0; text-align: left; }
.lens .n { font-size: 13px; color: #8F897E; font-variant-numeric: tabular-nums; }
.lens .t { font-family: var(--ff-display); font-size: var(--fs-h3); font-weight: 300; transition: color .4s; color: #8F897E; }
.lens .ic { width: 22px; height: 22px; position: relative; }
.lens .ic::before, .lens .ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.lens .ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.lens.active .ic::after { transform: translate(-50%, -50%) rotate(0); }
.lens.active .t, .lens button:hover .t { color: var(--paper); }
.lens .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.lens .body > div { overflow: hidden; }
.lens .body p { padding: 0 0 22px 56px; margin: 0; color: #C9C2B5; max-width: 460px; }
.lens.active .body { grid-template-rows: 1fr; }
.lens-stage { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: #1b1e21; }
.lens-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.lens-stage img.on { opacity: 1; transform: scale(1); }
.lens-stage .cap { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; gap: 16px; z-index: 2; }
.lens-stage .cap q { font-family: var(--ff-display); font-style: italic; font-weight: 300; font-size: 20px; max-width: 26ch; quotes: none; text-shadow: 0 1px 18px rgba(0,0,0,.4); }
.lens-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,11,12,.75)); }

/* ---------- Approach steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 26px 22px 8px 0; position: relative; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step .num { font-family: var(--ff-display); font-size: 40px; font-weight: 300; color: var(--dune); line-height: 1; margin-bottom: 18px; }
.step h4 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--stone); margin: 0; }
.step.final { background: var(--night); color: var(--paper); border-radius: var(--radius); padding: 26px 22px; margin: -1px 0 0 12px; border-left: 0; }
.step.final p { color: #C9C2B5; }

/* ---------- Films ---------- */
.films { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.film { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #000; text-align: left; width: 100%; }
.film .thumb { aspect-ratio: 16 / 9; width: 100%; max-height: 560px; object-fit: cover; opacity: .9; transition: transform 1.2s var(--ease), opacity .6s; }
.film:hover .thumb { transform: scale(1.04); opacity: 1; }
.film .play { position: absolute; left: 20px; top: 20px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,240,232,.16); border: 1px solid rgba(244,240,232,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--paper); transition: transform .5s var(--ease), background .4s; }
.film:hover .play { transform: scale(1.08); background: rgba(244,240,232,.28); }
.film .play svg { width: 18px; height: 18px; margin-left: 3px; }
.film { background: #1a1d20; }
.film .meta { display: block; padding: 18px 20px 20px; color: var(--paper); }
.film .meta h3 { font-size: 22px; max-width: 26ch; }
.film .meta span { font-size: 13px; color: #C9C2B5; display: block; margin-top: 6px; }
.film-stack { display: grid; gap: 24px; }
.film-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: 12px; transition: background .4s; text-align: left; width: 100%; }
.film-row:hover { background: rgba(244,240,232,.06); }
.film-row img { aspect-ratio: 16/9; width: 100%; object-fit: cover; border-radius: 8px; }
.film-row h4 { font-family: var(--ff-display); font-weight: 400; font-size: 18px; line-height: 1.25; }
.film-row span { font-size: 13px; color: #A9A397; display: block; margin-top: 4px; }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(8,9,10,.88); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); padding: 24px; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal .frame { width: min(1100px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; transform: scale(.96); transition: transform .6s var(--ease); }
.modal.open .frame { transform: none; }
.modal iframe { width: 100%; height: 100%; border: 0; }
.modal .close { position: absolute; top: 20px; right: 20px; color: var(--paper); }

/* ---------- Emirates ---------- */
.emirates { display: flex; gap: 12px; height: 540px; }
.emirate { position: relative; flex: 1; border-radius: var(--radius); overflow: hidden; color: var(--paper); transition: flex 1s var(--ease); min-width: 0; background: #1b1e21; }
.emirate.active { flex: 2.6; }
.emirate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.emirate.active img { transform: scale(1.03); }
.emirate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,12,.25), rgba(10,11,12,.05) 40%, rgba(10,11,12,.85)); }
.emirate .in { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 24px; }
.emirate h3 { font-size: 28px; }
.emirate .detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.emirate .detail > div { overflow: hidden; }
.emirate.active .detail { grid-template-rows: 1fr; }
.emirate .detail p { margin: 12px 0 14px; color: #DDD6C9; max-width: 440px; font-size: 15px; }
.emirate .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.emirate .tags span { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(244,240,232,.3); background: rgba(244,240,232,.08); }
.emirate .count { position: absolute; top: 22px; right: 22px; z-index: 2; font-size: 13px; color: #DDD6C9; }
.emirate .vlabel { position: absolute; top: 22px; left: 24px; z-index: 2; font-size: 13px; color: #DDD6C9; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #FBF8F2; }
.calc-in { padding: 36px; display: grid; gap: 26px; }
.field label { display: flex; justify-content: space-between; font-size: 14px; color: var(--stone); margin-bottom: 10px; }
.field label output { color: var(--night); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: linear-gradient(var(--night), var(--night)) 0/var(--p, 50%) 100% no-repeat, var(--line); border-radius: 2px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--night); box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--night); cursor: grab; }
.calc-out { background: var(--night); color: var(--paper); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.ring { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .bg { stroke: rgba(244,240,232,.12); }
.ring .fg { stroke: var(--dune); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.ring .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .val b { font-family: var(--ff-display); font-weight: 300; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.ring .val span { font-size: 13px; color: #A9A397; margin-top: 6px; }
.calc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-stats div { border-top: 1px solid rgba(244,240,232,.16); padding-top: 12px; }
.calc-stats b { display: block; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc-stats span { font-size: 13px; color: #A9A397; }
.calc-note { font-size: 12.5px; color: #A9A397; margin: 0; }

/* ---------- Listings ---------- */
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: block; position: relative; }
.card .media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-height: 420px; background: var(--sand); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .media img { transform: scale(1.05); }
.card .badge { position: absolute; top: 14px; left: 14px; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: rgba(244,240,232,.84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card .body { padding: 18px 2px 0; }
.card .loc { font-size: 13px; color: var(--stone); }
.card h3 { font-size: 22px; margin: 6px 0 12px; }
.card .specs { display: flex; gap: 18px; font-size: 14px; color: var(--stone); padding-top: 12px; border-top: 1px solid var(--line); }
.card .specs b { color: var(--night); font-weight: 500; }
.card .price { position: absolute; top: 14px; right: 14px; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: rgba(17,19,21,.55); color: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--night); }
.chip.on { background: var(--night); color: var(--paper); border-color: var(--night); }
.card.hide { display: none; }

/* listing detail */
.detail-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; max-height: 640px; background: var(--sand); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; }
.spec-table td { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table td:last-child { text-align: right; font-weight: 500; }
.enquire-box { position: sticky; top: 96px; background: #FBF8F2; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* ---------- Developers ---------- */
.devs { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.devs-track { display: flex; gap: 72px; align-items: center; width: max-content; animation: tick 40s linear infinite; padding: 10px 0; }
.devs img { height: 44px; width: auto; max-width: 150px; object-fit: contain; opacity: .7; transition: opacity .4s; }
.devs img:hover { opacity: 1; }

/* ---------- Journal ---------- */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; max-height: 360px; background: var(--sand); }
.post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .media img { transform: scale(1.05); }
.post .date { font-size: 13px; color: var(--stone); margin: 16px 0 8px; }
.post h3 { font-size: 22px; }
.post p { color: var(--stone); font-size: 15px; margin: 10px 0 0; }

/* article */
.article { max-width: 720px; margin: 0 auto; }
.article p, .article li { font-size: 17px; line-height: 1.75; }
.article h2 { font-size: 28px; margin: 40px 0 14px; }
.article .lead { font-size: 20px; line-height: 1.6; font-family: var(--ff-display); font-weight: 300; }
.article figure { margin: 32px 0; }
.article figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; max-height: 480px; object-fit: cover; }
.article .sources { font-size: 14px; color: var(--stone); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }
.article .sources a { border-bottom: 1px solid currentColor; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--stone); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--paper); background: var(--night); }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,12,.9), rgba(10,11,12,.4)); }
.cta-band .container { position: relative; z-index: 2; padding-top: calc(var(--section) * 1.8); padding-bottom: calc(var(--section) * 1.8); }
.cta-band h2 { font-size: var(--fs-h1); max-width: 16ch; font-weight: 300; }
.cta-band p { max-width: 480px; color: #D9D2C5; margin: 18px 0 28px; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13.5px; color: var(--stone); margin-bottom: 8px; font-weight: 500; }
.form input, .form select, .form textarea { width: 100%; height: 50px; border-radius: 10px; border: 1px solid var(--line); background: #FBF8F2; padding: 0 14px; font-size: 15.5px; transition: border-color .3s, box-shadow .3s; }
.form textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px rgba(168,130,76,.18); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.seg label { margin: 0; height: 42px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--night); cursor: pointer; transition: all .3s; font-size: 14.5px; }
.seg input:checked + label { background: var(--night); color: var(--paper); border-color: var(--night); }
.seg input:focus-visible + label { box-shadow: 0 0 0 3px rgba(168,130,76,.35); }
.form .consent { font-size: 13px; color: var(--stone); display: flex; gap: 10px; align-items: flex-start; }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--night); }
.form-note { font-size: 13px; color: var(--stone); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.contact-card { display: grid; gap: 22px; }
.contact-card a.row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-card a.row span { color: var(--stone); font-size: 13.5px; }
.contact-card a.row b { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--paper); padding: 72px 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(244,240,232,.14); }
.foot-top h4 { font-size: 13px; color: #A9A397; font-weight: 500; margin-bottom: 14px; }
.foot-top a { display: block; padding: 4px 0; color: #E4DED2; font-size: 15px; }
.foot-top a:hover { color: #fff; }
.foot-brand .line { font-family: var(--ff-display); font-style: italic; font-weight: 300; font-size: 24px; margin: 16px 0 18px; max-width: 18ch; color: var(--paper); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: #A9A397; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(244,240,232,.2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: rgba(244,240,232,.1); border-color: rgba(244,240,232,.4); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Floating WhatsApp / mobile bar ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(17,19,21,.86); color: var(--paper); box-shadow: 0 10px 30px rgba(0,0,0,.25); backdrop-filter: blur(10px); transform: translateY(120px); transition: transform .6s var(--ease); }
.fab.show { transform: none; }
.fab svg { width: 24px; height: 24px; }
.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.parallax { will-change: transform; }

/* custom cursor (pointer devices only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 8px; height: 8px; border-radius: 50%; background: var(--dune); pointer-events: none; transform: translate(-50%, -50%); transition: width .35s var(--ease), height .35s var(--ease), background .35s, opacity .3s; opacity: 0; mix-blend-mode: normal; }
.cursor.big { width: 64px; height: 64px; background: rgba(168,130,76,.18); border: 1px solid rgba(168,130,76,.6); }
.cursor.show { opacity: 1; }

/* two-up grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.page-hero.is-dark { padding-top: 150px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav, .header-cta .btn-hide-md { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .statement, .lenses, .films, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step + .step { border-left: 0; padding-left: 0; }
  .step { border-bottom: 1px solid var(--line); padding: 22px 0; }
  .step.final { grid-column: 1 / -1; margin: 16px 0 0; }
  .listings, .journal { grid-template-columns: 1fr 1fr; }
  .emirates { flex-direction: column; height: auto; }
  .emirate { min-height: 180px; flex: none !important; }
  .emirate.active { min-height: 440px; }
  .calc { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .enquire-box { position: static; }
  .lens-stage { min-height: 360px; }
}
@media (max-width: 680px) {
  :root { --section: 48px; --gutter: 20px; }
  .hero { min-height: 600px; }
  .hero-inner { padding-bottom: 96px; }
  .hero-meta .places { gap: 14px; }
  .hero-meta .scroll-cue { display: none; }
  .head { flex-direction: column; align-items: start; gap: 14px; margin-bottom: 28px; }
  .listings, .journal, .steps, .calc-stats, .grid-2 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .film-row { grid-template-columns: 120px 1fr; }
  .ticker-item { padding: 14px 24px; }
  .ticker-item b { font-size: 19px; }
  .calc-in, .calc-out { padding: 24px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .brand-word { font-size: 13px; letter-spacing: .2em; }
  .fab { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(100px); transition: transform .6s var(--ease); }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { height: 50px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; font-size: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
  .mobile-bar .wa { background: var(--night); color: var(--paper); }
  .mobile-bar .call { background: rgba(244,240,232,.92); color: var(--night); border: 1px solid var(--line); backdrop-filter: blur(10px); }
  .mobile-bar svg { width: 18px; height: 18px; }
  .site-footer { padding-bottom: 96px; }
  .statement-media { aspect-ratio: 4/4.4; }
  .page-hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .hero-copy { opacity: 1; transform: none; }
}
