/* ==========================================================================
   Marsa Al Saadiyat · Aldar Properties · Nova Luxury Homes
   DNA from the Marsa factsheet + toolkit: night navy district band, deep-sea teal
   texture, turquoise line icons, white Montserrat tracked caps, and the
   cinema-poster cover ("Marsa Al Saadiyat presents THE UNFORGETTABLE · Now showing").
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url(/fonts/montserrat.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy:    #0A213D;   /* factsheet district band */
  --navy-d:  #061628;
  --navy-l:  #12305229;
  --deep:    #00414B;   /* deep sea of the cover texture */
  --teal:    #007C87;
  --turq:    #05B7B0;   /* the stat icons */
  --turq-l:  #4FD6CF;
  --turq-d:  #00737A;   /* turquoise text on light grounds (AA) */
  --salt:    #F3F1EC;
  --salt-d:  #E6E2D9;
  --white:   #FFFFFF;
  --on-dark: #E9EEF0;
  --dim:     #A9BAC4;
  --ink:     #0A213D;
  --grey:    #55636E;
  --line-d:  rgba(255, 255, 255, .14);
  --line-l:  rgba(10, 33, 61, .14);

  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gut: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --top: 76px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--top); background: var(--navy); }
body { margin: 0; font: 400 16px/1.7 var(--sans); color: var(--on-dark); background: var(--navy); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.anchor { position: absolute; top: calc(-1 * var(--top) - 12px); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; }

/* ── Type ──────────────────────────────────────────────────────────────── */
.kicker { font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--white); }
.kicker--turq { color: var(--turq); }
.h2 { font-size: clamp(1.6rem, 2.9vw, 2.6rem); font-weight: 400; line-height: 1.18; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-top: .9rem; text-wrap: balance; }
.h2--xl { font-size: clamp(2rem, 4.4vw, 3.9rem); letter-spacing: .1em; }
.fine { font-size: .74rem; color: var(--grey); margin-top: 1.4rem; }
.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 4rem; align-items: end; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head__lede { color: var(--grey); }

/* light bands */
.story, .homes, .intent { background: var(--salt); color: var(--ink); }
.story .h2, .homes .h2, .intent .h2 { color: var(--ink); }
.story .kicker--turq, .homes .kicker--turq, .intent .kicker--turq { color: var(--turq-d); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 52px; padding: 0 1.6rem; border: 1px solid var(--turq); border-radius: 2px; background: var(--turq); color: var(--navy); font: 600 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }
.btn--sm { height: 42px; padding: 0 1.1rem; font-size: .68rem; }
.btn--block { width: 100%; }
.btn--line { background: transparent; color: var(--white); border-color: var(--line-d); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn[disabled] { cursor: progress; opacity: .8; }
.btn__label { transition: filter 160ms ease, opacity 160ms ease; }
.btn__label.is-swap { filter: blur(3px); opacity: .4; }
.link { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--turq-d); }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 200ms var(--ease-out); }
.link:active svg { transform: translateX(3px); }

.play { display: inline-flex; align-items: center; gap: 1rem; padding: 0; border: 0; background: none; text-align: left; color: var(--white); -webkit-tap-highlight-color: transparent; }
.play > span:last-child { font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; line-height: 1.5; }
.play small { display: block; font-size: .72rem; font-weight: 400; letter-spacing: .06em; text-transform: none; color: var(--dim); }
.play__dot { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
.play__dot svg { width: 22px; height: 22px; color: var(--white); margin-left: 3px; }
.play:active .play__dot { transform: scale(.94); }

/* ── Top bar ───────────────────────────────────────────────────────────── */
.topbar { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top); transition: background-color 300ms ease, box-shadow 300ms ease; }
.topbar.is-stuck { background: rgba(6, 22, 40, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-d); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); }
.brand svg { fill: currentColor; display: block; }
.brand__emblem { height: 34px; width: auto; }
.brand__word { height: 32px; width: auto; }
.topbar__nav { display: flex; gap: 1.8rem; margin-left: auto; }
.topbar__nav a { font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .82); transition: color 200ms ease; }
.topbar__cta { margin-left: .4rem; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: max(100svh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--top) + 2rem) 0 1.6rem; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 22, 40, .55) 0%, rgba(6, 22, 40, 0) 22%),
    linear-gradient(90deg, rgba(6, 22, 40, .86) 0%, rgba(6, 22, 40, .55) 38%, rgba(6, 22, 40, .08) 70%),
    linear-gradient(0deg, rgba(0, 54, 64, .9) 0%, rgba(0, 54, 64, 0) 45%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 430px); gap: 3rem clamp(2rem, 5vw, 5rem); align-items: end; }
.hero__title { margin: 1.1rem 0 0; color: var(--white); }
.hero__title svg { display: block; width: min(640px, 100%); height: auto; fill: currentColor; }
.laurels { display: flex; gap: clamp(.6rem, 2vw, 1.6rem); margin-top: 1.6rem; }
.laurels li { display: flex; align-items: center; gap: .45rem; }
.laurel { width: auto; height: 50px; fill: var(--white); flex: none; }
.laurel--r { transform: scaleX(-1); }
.laurels span { font-size: .64rem; font-weight: 600; line-height: 1.25; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.hero__lede { max-width: 560px; margin-top: 1.6rem; color: rgba(255, 255, 255, .88); }
.hero__act { margin-top: 1.8rem; }
.hero__cap { margin-top: 1.4rem; font-size: .66rem; color: rgba(255, 255, 255, .6); }

/* ── Form ──────────────────────────────────────────────────────────────── */
.form { position: relative; padding: clamp(1.4rem, 2vw, 1.75rem); background: rgba(6, 22, 40, .74); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border: 1px solid var(--line-d); border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form__title { font-size: 1.16rem; font-weight: 400; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-top: .6rem; }
.form__sub { font-size: .86rem; color: var(--dim); margin-top: .5rem; line-height: 1.55; }
.form__body { display: grid; gap: .8rem; margin-top: 1.1rem; }
.form__head, .form__body { transition: opacity 190ms ease; }
.form.is-leaving .form__body, .form.is-leaving .form__head { opacity: 0; }
.field { display: grid; gap: .3rem; }
.field label, .field legend { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.opt { font-weight: 400; letter-spacing: .04em; text-transform: none; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] { width: 100%; height: 46px; padding: 0 .95rem; font: 400 16px var(--sans); color: var(--white); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 2px; transition: border-color 200ms ease, background-color 200ms ease; }
.field input::placeholder { color: rgba(255, 255, 255, .36); }
.field input:focus { outline: 0; border-color: var(--turq); background: rgba(255, 255, 255, .09); }
.field.has-error input { border-color: #ff8f86; }
.err { font-size: .76rem; color: #ffaba4; min-height: 0; }
.err:empty { display: none; }
.pills legend { margin-bottom: .45rem; }
.pills label { text-transform: none; letter-spacing: 0; font-weight: 400; }
.pills--sm { display: flex; align-items: center; gap: .9rem; }
.pills--sm legend { float: left; margin: 0; }
.pills__set { display: flex; flex-wrap: wrap; gap: .4rem; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills label span { display: inline-flex; align-items: center; height: 34px; padding: 0 .8rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 17px; font-size: .78rem; color: var(--on-dark); transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.pills label:active span { transform: scale(.96); }
.pills input:checked + span { background: var(--turq); border-color: var(--turq); color: var(--navy); font-weight: 600; }
.pills input:focus-visible + span { outline: 2px solid var(--turq); outline-offset: 2px; }
.pills.is-picked .pills__set { animation: picked 1.2s var(--ease-out); border-radius: 20px; }
@keyframes picked { 0% { box-shadow: 0 0 0 0 rgba(5, 183, 176, .55); } 100% { box-shadow: 0 0 0 12px rgba(5, 183, 176, 0); } }
.field--check { grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.field--check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--turq); }
.field--check label { font-size: .74rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.cnt-off #consent-block { display: none; }
.status { font-size: .82rem; }
.status:empty { display: none; }
.status.is-err { color: #ffaba4; }
.form__fine { font-size: .7rem; color: rgba(255, 255, 255, .5); line-height: 1.5; }
.sent { outline: 0; }
.sent__mark { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--turq); fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.sent p { margin-top: .8rem; color: var(--on-dark); font-size: .92rem; }
.sent__act { display: grid; gap: .6rem; margin-top: 1.4rem; }
.sent:not([hidden]) { animation: rise 320ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ── Headline numbers ─────────────────────────────────────────────────── */
.stats { background: var(--navy); border-top: 1px solid var(--line-d); }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__row > div { padding: 2.2rem 1.4rem 2.2rem 0; border-right: 1px solid var(--line-d); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .4rem; }
.stats__row > div + div { padding-left: 1.6rem; }
.stats__row > div:last-child { border-right: 0; }
.stats dd { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 300; line-height: 1; color: var(--white); font-variant-numeric: lining-nums; }
.stats small { font-size: .9rem; font-weight: 400; letter-spacing: .08em; margin-left: .25rem; color: var(--turq); vertical-align: top; text-transform: uppercase; }
.stats dt { font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ── Story ────────────────────────────────────────────────────────────── */
.story { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem clamp(2.5rem, 6vw, 6rem); align-items: center; }
.story__text > p:not(.kicker) { margin-top: 1.2rem; color: #33424d; }
.story__text .h2 { margin-bottom: 1.6rem; }
.near { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-l); }
.near__t { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--turq-d); }
.near ul { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.4rem; margin-top: .8rem; }
.near li { font-size: .9rem; padding-left: 1rem; position: relative; }
.near li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--turq-d); }
.story__img { overflow: hidden; border-radius: 2px; }
.story__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
figcaption { font-size: .66rem; color: var(--grey); margin-top: .6rem; }

/* ── Full-bleed photo bands (marina, Dar Al Funoon) ───────────────────── */
.marina, .funoon { position: relative; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; padding: 6rem 0 1.4rem; isolation: isolate; overflow: hidden; }
.marina__bg, .funoon__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.funoon picture { position: absolute; inset: 0; z-index: -2; }
.marina::after, .funoon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 22, 40, .88) 0%, rgba(6, 22, 40, .3) 45%, rgba(6, 22, 40, 0) 70%), linear-gradient(90deg, rgba(6, 22, 40, .45), rgba(6, 22, 40, 0) 60%); }
.marina__in, .funoon__in { max-width: calc(820px + 2 * var(--gut)); margin-inline: 0; }
.marina__in > p:last-child, .funoon__in > p:last-child { margin-top: 1.2rem; max-width: 560px; color: rgba(255, 255, 255, .86); }
.marina__cap, .funoon__cap { margin-top: 2.4rem; font-size: .66rem; color: rgba(255, 255, 255, .55); }
.funoon__bg { object-position: 50% 40%; }

/* ── Life: pillar explorer ────────────────────────────────────────────── */
.life { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--deep) url(/assets/tex.webp) center / cover; isolation: isolate; }
.life::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 46, 56, .72), rgba(6, 22, 40, .9)); }
.life__grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 2.4rem clamp(2rem, 5vw, 5rem); align-items: start; }
.life__tabs { display: grid; border-top: 1px solid var(--line-d); }
.ptab { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.05rem .2rem 1.05rem 1rem; border: 0; border-bottom: 1px solid var(--line-d); background: none; text-align: left; color: rgba(255, 255, 255, .62); font-size: .72rem; font-weight: 500; letter-spacing: .16em; line-height: 1.45; text-transform: uppercase; transition: color 200ms ease; }
.ptab::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; background: var(--turq); transform: scaleY(0); transition: transform 260ms var(--ease-out); }
.ptab i { flex: none; width: 30px; height: 30px; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; transition: background-color 200ms ease; }
.ptab[aria-selected="true"] { color: var(--white); }
.ptab[aria-selected="true"] i { background: var(--turq); }
.ptab[aria-selected="true"]::before { transform: none; }
.life__view { position: relative; min-width: 0; }
@media (min-width: 901px) {
  .life__imgs { aspect-ratio: 16 / 10; }
  .life__imgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 22, 40, .9) 0%, rgba(6, 22, 40, .45) 32%, rgba(6, 22, 40, 0) 58%); }
  .life__panel { position: absolute; left: 0; bottom: 0; margin: 0; padding: 2rem 2.2rem; max-width: 640px; }
}
.life__imgs { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--navy-d); }
.life__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 420ms ease, transform 900ms var(--ease-out); }
.life__imgs img.is-on { opacity: 1; transform: none; }
.life__imgs.is-instant img { transition: none; }
.life__panel { margin-top: 1.6rem; max-width: 640px; }
.life__panel:not([hidden]) { animation: rise 360ms var(--ease-out) both; }
.life__imgs.is-instant ~ .life__panel { animation: none; }
.life__n { font-size: .66rem; font-weight: 600; letter-spacing: .26em; color: var(--turq); }
.life__panel h3 { margin-top: .6rem; font-size: 1.3rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.life__panel p:not(.life__n) { margin-top: .7rem; color: rgba(255, 255, 255, .82); }

/* ── Homes ────────────────────────────────────────────────────────────── */
.homes { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: t; }
.type { display: flex; flex-direction: column; padding: 1.8rem 1.5rem 1.6rem; background: var(--white); border-top: 2px solid var(--navy); min-height: 300px; }
.type__n { font-size: 3rem; font-weight: 300; line-height: 1; color: var(--turq-d); }
.type h3 { margin-top: 1.6rem; font-size: 1.02rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.type p { margin-top: .7rem; font-size: .92rem; color: var(--grey); flex: 1; }
.type .link { margin-top: 1.4rem; }

/* ── District ─────────────────────────────────────────────────────────── */
.district { padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem); background: var(--navy); }
.fig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 2rem; max-width: 1080px; margin: 0 auto; }
.fig > div { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 1.1rem; align-items: end; }
.fig__ic { grid-row: 1 / 3; width: 56px; height: 56px; fill: var(--turq); align-self: center; justify-self: center; }
.fig dt { font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.fig dd { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 300; line-height: 1.05; color: var(--white); }
.fig small { font-size: .82rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; margin-left: .2rem; vertical-align: top; color: var(--turq); }
.map { margin-top: clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; border-radius: 2px; }
.map img { width: 100%; }
.map figcaption { color: rgba(255, 255, 255, .5); }
.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem 1.6rem; margin-top: 1.6rem; counter-reset: l; }
.legend li { counter-increment: l; font-size: .78rem; letter-spacing: .06em; color: var(--dim); display: flex; gap: .7rem; }
.legend li::before { content: counter(l, decimal-leading-zero); color: var(--turq); font-weight: 600; }

/* ── Intent cards ─────────────────────────────────────────────────────── */
.intent { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card figure { overflow: hidden; border-radius: 2px; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__n { display: block; margin-top: 1.2rem; font-size: .7rem; font-weight: 600; letter-spacing: .24em; color: var(--turq-d); }
.card h3 { margin-top: .4rem; font-size: .98rem; font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.card p { margin-top: .6rem; font-size: .9rem; color: var(--grey); }

/* ── Stills: a film strip ─────────────────────────────────────────────── */
.stills { padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, var(--deep), var(--navy)); }
.stills__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.play--line .play__dot { border-color: var(--turq); }
.strip { position: relative; background: #040d18; padding: 30px 0; }
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 14px, transparent 14px 32px); }
.strip::before { top: 9px; }
.strip::after { bottom: 9px; }
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gut); scroll-padding-inline: var(--gut); outline-offset: -3px; }
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: none; width: clamp(220px, 24vw, 320px); scroll-snap-align: start; }
.rail figure { overflow: hidden; }
.rail img { width: 100%; aspect-ratio: 640 / 840; object-fit: cover; transition: transform 700ms var(--ease-out), filter 400ms ease; filter: saturate(.92); }
.rail__nav { display: flex; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.rail__nav p { margin-left: auto; font-size: .66rem; color: rgba(255, 255, 255, .5); }
.rail__btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); background: none; color: var(--white); transition: transform 160ms var(--ease-out), opacity 200ms ease, border-color 200ms ease; }
.rail__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.rail__btn[data-rail="-1"] svg { transform: scaleX(-1); }
.rail__btn:active { transform: scale(.94); }
.rail__btn:disabled { opacity: .3; cursor: default; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--navy); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: 2rem 5rem; align-items: start; }
.faq .h2 { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line-d); }
.faq details:first-child { border-top: 1px solid var(--line-d); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; font-size: .95rem; font-weight: 500; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--turq) 0 0) center / 14px 1.5px no-repeat, linear-gradient(var(--turq) 0 0) center / 1.5px 14px no-repeat; transition: transform 220ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 3rem 1.4rem 0; color: rgba(255, 255, 255, .78); }
.faq details[open] p { animation: rise 240ms var(--ease-out) both; }

/* ── Closing ──────────────────────────────────────────────────────────── */
.close { position: relative; padding: clamp(5rem, 11vw, 9rem) 0; text-align: center; isolation: isolate; overflow: hidden; background: var(--deep); }
.close__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.close::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0, 60, 70, .1), rgba(0, 40, 52, .55)); }
.close__in { display: flex; flex-direction: column; align-items: center; }
.close__logo { width: clamp(150px, 16vw, 200px); height: auto; fill: var(--white); }
.close__title { margin-top: 2.4rem; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--white); text-wrap: balance; }
.close__in > p { max-width: 520px; margin-top: 1rem; color: rgba(255, 255, 255, .86); }
.close__act { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.foot { background: var(--navy-d); padding: 3rem 0 calc(3rem + env(safe-area-inset-bottom)); }
.foot__in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem 4rem; }
.foot__brand { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.4rem; align-items: center; }
.foot__brand img { width: 130px; height: auto; }
.foot__brand p { font-size: .8rem; color: var(--dim); }
.foot__aldar { width: 48px; height: 48px; fill: rgba(255, 255, 255, .7); }
.foot__fine { font-size: .7rem; color: rgba(255, 255, 255, .45); line-height: 1.6; }

/* ── Teaser film ──────────────────────────────────────────────────────── */
.film { padding: 0; border: 0; background: #000; color: var(--white); width: auto; max-width: 92vw; height: min(86vh, 860px); aspect-ratio: 9 / 16; overflow: visible; border-radius: 4px;
  opacity: 1; transform: none; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), overlay 220ms allow-discrete, display 220ms allow-discrete; }
.film:not([open]) { opacity: 0; transform: scale(.96); }
@starting-style { .film[open] { opacity: 0; transform: scale(.96); } }
.film::backdrop { background: rgba(3, 10, 20, .86); transition: opacity 220ms ease, overlay 220ms allow-discrete, display 220ms allow-discrete; }
.film:not([open])::backdrop { opacity: 0; }
@starting-style { .film[open]::backdrop { opacity: 0; } }
.film video { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; background: #000; }
.film__x { position: absolute; top: -52px; right: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: none; transition: transform 160ms var(--ease-out); }
.film__x svg { width: 20px; height: 20px; transform: rotate(45deg); fill: none; stroke: currentColor; stroke-width: 1.6; }
.film__x:active { transform: scale(.94); }

/* ── WhatsApp float + mobile sticky bar ──────────────────────────────── */
.wa { position: fixed; right: max(1.1rem, env(safe-area-inset-right)); bottom: calc(1.1rem + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: .55rem; height: 54px; padding: 0 1.25rem 0 1rem; border-radius: 27px; background: #1faa59; color: var(--white); font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); transition: transform 240ms var(--ease-out), background-color 200ms ease; -webkit-tap-highlight-color: transparent; }
.wa svg { width: 26px; height: 26px; flex: none; }
.wa:active { transform: scale(.96); }
.fab { display: none; }

/* ── Motion: hero entrance + reveals ──────────────────────────────────── */
.js .hero__in { opacity: 0; transform: translateY(14px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 100ms); }
.js .hero.is-in .hero__in { opacity: 1; transform: none; }
.js .hero__media img { transform: scale(1.05); transition: transform 2400ms var(--ease-out); }
.js .hero.is-in .hero__media img { transform: none; }
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--k, 0) * 60ms); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv--img { transform: none; }
.js .rv--img > img, .js .rv--img .life__imgs { transform: scale(1.04); transition: transform 1400ms var(--ease-out); }
.js .rv--img.is-in > img, .js .rv--img.is-in .life__imgs { transform: none; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--turq-l); border-color: var(--turq-l); }
  .btn--line:hover, .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); }
  .topbar__nav a:hover { color: var(--turq); }
  .play:hover .play__dot { background: rgba(255, 255, 255, .12); border-color: var(--white); }
  .ptab:hover { color: var(--white); }
  .link:hover svg { transform: translateX(3px); }
  .rail li:hover img { transform: scale(1.03); filter: none; }
  .rail__btn:not(:disabled):hover { border-color: var(--turq); }
  .wa:hover { background: #17924b; }
  .faq summary:hover { color: var(--turq-l); }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .topbar__nav { display: none; }
  .topbar__cta { margin-left: auto; }
  .types, .cards { grid-template-columns: repeat(2, 1fr); }
  .legend { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --top: 64px; }
  .brand__emblem { height: 28px; }
  .brand__word { height: 26px; }

  .hero { min-height: 0; padding: 0 0 2.4rem; display: block; background: var(--navy); }
  .hero__media { bottom: auto; height: min(150vw, 92svh); }
  .hero__media img { object-position: 50% 30%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(6, 22, 40, .5) 0%, rgba(6, 22, 40, 0) 18%, rgba(6, 22, 40, 0) 50%, rgba(10, 33, 61, .85) 80%, var(--navy) 100%); }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; padding-top: calc(min(150vw, 92svh) - 250px); }
  .hero__title svg { width: 100%; }
  .laurel { height: 40px; }
  .laurels { justify-content: space-between; gap: .2rem; }
  .laurels li { gap: .2rem; }
  .laurels span { font-size: .56rem; letter-spacing: .08em; }
  .hero__lede { font-size: .95rem; }
  .hero__cap { margin-top: 1rem; }

  .stats__row { grid-template-columns: 1fr 1fr; }
  .stats__row > div { padding: 1.6rem 1rem 1.6rem 0; }
  .stats__row > div:nth-child(2) { border-right: 0; }
  .stats__row > div:nth-child(3) { padding-left: 0; }
  .stats__row > div:nth-child(n+3) { border-top: 1px solid var(--line-d); }

  .story__grid, .sec-head--split, .faq__grid, .foot__in { grid-template-columns: 1fr; }
  .story__img { order: -1; }
  .marina, .funoon { min-height: 88svh; }

  .life__grid { grid-template-columns: 1fr; }
  .life__tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: .5rem; border: 0; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scroll-snap-type: x proximity; }
  .life__tabs::-webkit-scrollbar { display: none; }
  .ptab { flex: none; padding: .55rem .9rem .55rem .7rem; gap: .5rem; border: 1px solid var(--line-d); border-radius: 22px; font-size: .62rem; letter-spacing: .12em; white-space: nowrap; scroll-snap-align: start; }
  .ptab::before { display: none; }
  .ptab i { width: 22px; height: 22px; }
  .ptab[aria-selected="true"] { border-color: var(--turq); }

  .fig { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .fig > div { grid-template-columns: 44px 1fr; column-gap: .7rem; }
  .fig__ic { width: 40px; height: 40px; }
  .legend { grid-template-columns: 1fr 1fr; }

  .fab { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem var(--gut) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(6, 22, 40, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line-d); transform: translateY(105%); transition: transform 320ms var(--ease-out); }
  .fab.is-on { transform: none; }
  .fab p { display: flex; flex-direction: column; line-height: 1.3; }
  .fab b { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
  .fab span { font-size: .72rem; color: var(--dim); }
  .fab .btn { flex: none; }
  .wa { height: 52px; width: 52px; padding: 0; justify-content: center; border-radius: 50%; opacity: 0; transform: translateY(10px) scale(.9); pointer-events: none; transition: transform 320ms var(--ease-out), opacity 200ms ease, background-color 200ms ease; }
  .wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .wa.is-shown { opacity: 1; transform: none; pointer-events: auto; }
  .wa.is-up { transform: translateY(calc(-1 * var(--fab-h, 66px) - .2rem)); }
  .film { height: auto; width: min(92vw, calc(82svh * 9 / 16)); }
  .film__x { top: auto; bottom: -56px; right: 50%; margin-right: -21px; }
}

@media (max-width: 560px) {
  .types, .cards { grid-template-columns: 1fr; }
  .type { min-height: 0; }
  .near ul { grid-template-columns: 1fr; }
  .h2 { letter-spacing: .09em; }
  .topbar__cta { padding-inline: .9rem; letter-spacing: .14em; }
  .brand__emblem { display: none; }
  .stills__head .play { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__in, .js .rv { transform: none; transition: opacity 400ms ease; }
  .js .hero__media img, .js .rv--img > img, .js .rv--img .life__imgs { transform: none; transition: none; }
  .life__imgs img { transform: none; transition: opacity 200ms ease; }
  .fab, .wa, .film, .film::backdrop { transition-duration: 0s; }
  .life__panel:not([hidden]), .sent:not([hidden]), .faq details[open] p { animation: none; }
}
