/* ═══════════════════════════════════════════════════════════════
   London Property Collection — Kingdom International
   Brand: KI navy #1C2D44 · cream #FCF9F1 · steel teal #5A8190
   Type:  Cairo (Arabic display + body) · Cormorant Garamond (EN display)
   RTL-first: logical properties throughout; [dir] does the flipping.
   Gold is reserved for conversion moments only (CTAs, price signals).
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy:       #1C2D44;
  --navy-deep:  #131F30;
  --cream:      #FCF9F1;
  --cream-dim:  #F3EEE1;
  --teal:       #5A8190;   /* decorative only — fails AA as small text on cream */
  --teal-text:  #47707F;   /* ≥4.5:1 on cream — use for teal TEXT on light bg */
  --teal-btn:   #4A6E7C;   /* ≥4.5:1 with cream text — buttons/filled controls */
  --teal-light: #A3BCC6;
  --gold:       #D4A945;
  --gold-deep:  #B8902F;
  --gold-tint:  #E8C878;
  --ink:        #33415A;
  --line:       rgba(28, 45, 68, 0.14);
  --line-dark:  rgba(252, 249, 241, 0.16);
  --radius:     10px;
  --radius-lg:  18px;
  --pad-x:      clamp(1.25rem, 5vw, 4.5rem);
  --font-body:  'Cairo', 'Segoe UI', sans-serif;
  --font-display: 'Cairo', sans-serif;
}
html[lang="en"] { --font-display: 'Cormorant Garamond', serif; }

* { margin: 0; padding: 0; box-sizing: border-box; }

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { inset-block-start: 1rem; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  /* Guard: on RTL pages, anything pushed off the LEFT edge (e.g. older
     ki-form honeypots) becomes scrollable range. Clip it. */
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
html[lang="en"] h1, html[lang="en"] h2 { line-height: 1.15; }

h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 30ch; }

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 8px 24px -10px rgba(212, 169, 69, 0.55);
}
.btn-primary:hover { background: var(--gold-deep); color: var(--navy); }
.btn-lg { padding: 1.05rem 2.8rem; font-size: 1.08rem; }
.btn-outline {
  color: var(--cream);
  border-color: rgba(252, 249, 241, 0.45);
  padding: 0.5rem 1.3rem;
  font-size: 0.85rem;
}
.btn-outline:hover { border-color: var(--cream); }
.btn-block { display: block; width: 100%; }

/* ─────────────── Header ─────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  direction: ltr;   /* fixed physical layout: logo left, CTA right, in both languages */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad-x);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 1px 0 var(--line-dark);
  padding-block: 0.6rem;
}
.site-logo { height: 44px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  background: none;
  border: none;
  color: var(--teal-light);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.7rem 0.8rem;   /* keeps the hit area ≥44px */
}
.lang-toggle:hover { color: var(--cream); }

.btn:focus-visible,
.lang-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 2px;
}

/* ─────────────── Hero ─────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-london.jpg') center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(19, 31, 48, 0.92) 0%, rgba(19, 31, 48, 0.38) 45%, rgba(19, 31, 48, 0.55) 100%);
}
.hero-content {
  position: relative;
  padding: 0 var(--pad-x);
  max-width: 62rem;
  margin-block-end: 3rem;
}
.hero-title {
  color: var(--cream);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-block: 0.75rem 1rem;
}
html[lang="en"] .hero-title { font-weight: 700; }
.hero-subtitle {
  max-width: 46ch;
  font-weight: 400;
  font-size: 1.08rem;
  color: rgba(252, 249, 241, 0.88);
  margin-block-end: 1.75rem;
}
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }

.link-arrow {
  color: rgba(252, 249, 241, 0.9);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(252, 249, 241, 0.4);
}
.link-arrow::after { content: '↓'; margin-inline-start: 0.4rem; }
.link-arrow:hover { text-decoration-color: var(--cream); }

/* Collection pill above the headline */
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(212, 169, 69, 0.6);
  border-radius: 100px;
  background: rgba(212, 169, 69, 0.14);
  color: var(--gold-tint);
  font-weight: 700;
  font-size: 0.92rem;
}
.date-pill svg { width: 16px; height: 16px; }

.hero-trust {
  margin-block-start: 1.2rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(252, 249, 241, 0.72);
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.eyebrow.teal { color: var(--teal-text); }
.eyebrow.teal-light { color: var(--teal-light); }

/* Letterspacing is a Latin device — on connected Arabic script it opens gaps
   between joined glyphs, so zero it whenever the page is in Arabic. */
html[lang="ar"] .eyebrow,
html[lang="ar"] .card-loc,
html[lang="ar"] .strip-label { letter-spacing: 0; }

/* Hero strip — the collection at a glance */
.invite-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-block-start: 1px solid var(--line-dark);
}
.invite-item {
  background: rgba(12, 20, 32, 0.88);
  backdrop-filter: blur(10px);
  padding: 1.4rem clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.invite-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(163, 188, 198, 0.12);
  border: 1px solid rgba(163, 188, 198, 0.3);
  color: var(--teal-light);
}
.invite-icon svg { width: 22px; height: 22px; }
.invite-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: start;
}
.strip-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.strip-value { font-weight: 800; font-size: 1.18rem; color: #FFFFFF; }

/* ─────────────── Sections ─────────────── */
.section { padding: clamp(4rem, 9vw, 7rem) var(--pad-x); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy-deep); color: rgba(252, 249, 241, 0.85); }
.section-navy .on-dark { color: var(--cream); }

.section > .eyebrow { margin-block-end: 0.8rem; }
.section h2 { margin-block-end: 1.4rem; }
.section-intro { max-width: 60ch; margin-block-end: 2.5rem; }

/* The curation promise — editorial pull-quote block */
.promise {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}
.promise h2 { margin-inline: auto; }
.promise .section-intro { margin-inline: auto; }
.promise-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 700;
  color: var(--navy);
  max-width: 34ch;
  margin: 0 auto;
  padding-block-start: 1.6rem;
  border-block-start: 2px solid var(--gold);
}

/* ─────────────── Collection grid ─────────────── */
.collection-head { max-width: 56rem; }
.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-block-start: 3rem;
}
.dev-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dev-card figure { position: relative; }
.dev-card figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.dev-card.featured { grid-column: span 2; }
.dev-card.featured figure img { aspect-ratio: 21 / 9; }
.card-body {
  padding: 1.6rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-loc {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-block-end: 0.35rem;
}
.dev-card h3 { font-size: 1.45rem; margin-block-end: 0.45rem; }
.card-desc { font-size: 0.95rem; max-width: 62ch; margin-block-end: 1.1rem; }

/* Facts row: price is the gold conversion signal */
.facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.6rem;
  align-items: baseline;
  margin-block-start: auto;   /* pin to card bottom for equal-height rows */
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--line);
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.fact-label { font-size: 0.75rem; font-weight: 700; color: var(--teal-text); }
.fact-value { font-size: 0.98rem; font-weight: 800; color: var(--navy); white-space: nowrap; }
.fact-value.price { color: var(--gold-deep); font-size: 1.12rem; }

.card-cta {
  margin-block-start: 1.1rem;
  align-self: flex-start;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(28, 45, 68, 0.35);
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0;
}
.card-cta:hover { text-decoration-color: var(--navy); }
.card-cta::after { content: '←'; margin-inline-start: 0.4rem; }
html[dir="ltr"] .card-cta::after { content: '→'; }

/* ─────────────── Guildford — the investment pick ─────────────── */
.invest-band { background: var(--navy-deep); }
.invest-band .split-text p { color: rgba(252, 249, 241, 0.85); }
.invest-badge {
  display: inline-block;
  background: rgba(212, 169, 69, 0.16);
  border: 1px solid rgba(212, 169, 69, 0.5);
  color: var(--gold-tint);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.38rem 0.95rem;
  border-radius: 100px;
  margin-block-end: 1rem;
}
.invest-band h2 { color: var(--cream); }
.invest-band .facts-row { border-block-start-color: var(--line-dark); }
.invest-band .fact-label { color: var(--teal-light); }
.invest-band .fact-value { color: var(--cream); }
.invest-band .fact-value.price { color: var(--gold-tint); }
.invest-band .card-cta { color: var(--cream); text-decoration-color: rgba(252, 249, 241, 0.4); }
.invest-band .card-cta:hover { text-decoration-color: var(--cream); }

/* Split (two-column media + text) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-text .eyebrow { margin-block-end: 0.8rem; }
.split-text p { max-width: 58ch; margin-block-end: 1.1rem; }
.split-media img { border-radius: var(--radius); }
.split-media figcaption {
  font-size: 0.85rem;
  color: var(--teal-text);
  margin-block-start: 0.7rem;
}
.section-navy .split-media figcaption { color: var(--teal-light); }

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-block-start: clamp(3rem, 6vw, 5rem);
  padding-block-start: clamp(2rem, 4vw, 3rem);
  border-block-start: 1px solid var(--line);
}
.section-navy .stats-band { border-block-start-color: var(--line-dark); }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--navy);
  line-height: 1;
}
.section-navy .stat-number { color: var(--cream); }
.stat-number small {
  font-size: 0.42em;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--teal-text);
  margin-inline-start: 0.25rem;
}
.section-navy .stat-number small { color: var(--teal-light); }
.stat-label {
  display: block;
  font-size: 0.9rem;
  margin-block-start: 0.6rem;
  max-width: 26ch;
}
.stat-note {
  margin-block-start: 1.8rem;
  font-size: 0.78rem;
  color: rgba(252, 249, 241, 0.55);
  max-width: 70ch;
}

/* ─────────────── Journey cards (how it works) ─────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem;
}
.card-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-text);
  display: inline-block;
  margin-block-end: 0.6rem;
}
.card h3 { font-size: 1.25rem; margin-block-end: 0.5rem; }
.card p { font-size: 0.95rem; }

/* ─────────────── Form — light, elevated card ─────────────── */
.form-section {
  display: flex;
  justify-content: center;
  background: var(--cream-dim);
  color: var(--ink);
}
.form-section .eyebrow.teal-light { color: var(--teal-text); }
.form-section .on-dark { color: var(--navy); }
.form-wrap {
  width: 100%;
  max-width: 680px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 70px -35px rgba(28, 45, 68, 0.35);
}
.form-wrap .eyebrow { margin-block-end: 0.8rem; }
.form-wrap h2 { margin-inline: auto; }
.form-intro {
  font-weight: 400;
  max-width: 48ch;
  margin: 0 auto 2.4rem;
}

.lead-form { text-align: start; }
.form-group { margin-block-end: 1.15rem; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 0.45rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid #D9D3C6;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(90, 129, 144, 0.35);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235A8190' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-inline-start: 1rem;
  padding-inline-end: 2.4rem;
}
html[dir="ltr"] select.form-control { background-position: right 1rem center; }

/* Radio pills */
.radio-group { display: flex; gap: 0.7rem; }
.radio-pill { flex: 1; cursor: pointer; position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: block;
  text-align: center;
  padding: 0.8rem 1rem;   /* ≥44px touch target */
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  border: 1px solid #D9D3C6;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.radio-pill input:checked + span {
  background: var(--teal-btn);
  border-color: var(--teal-btn);
  color: var(--cream);
}
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(90, 129, 144, 0.5); }

/* Developments of interest — checkbox chips (values aggregate into a
   hidden "developments" field; see the page script) */
.check-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.check-chip { cursor: pointer; position: relative; }
.check-chip input { position: absolute; opacity: 0; }
.check-chip span {
  display: block;
  padding: 0.55rem 1.05rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  border: 1px solid #D9D3C6;
  border-radius: 100px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.check-chip input:checked + span {
  background: var(--teal-btn);
  border-color: var(--teal-btn);
  color: var(--cream);
}
.check-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(90, 129, 144, 0.5); }

/* intl-tel-input: phone numbers are LTR and the dial code sits on the LEFT
   in both languages (the library's [dir=rtl] rules would flip it — pin it).
   --dial-pad is synced to the chip's real width by the page script. */
.iti { width: 100%; direction: ltr !important; }
.iti__flag-container { left: 0 !important; right: auto !important; }
.iti--separate-dial-code input.form-control {
  text-align: left;
  padding-left: var(--dial-pad, 112px) !important;
  padding-right: 1rem !important;
}

.submit-btn { margin-block-start: 0.6rem; font-size: 1.05rem; padding-block: 1rem; }
.form-privacy {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(51, 65, 90, 0.75);
  margin-block-start: 1rem;
  text-align: center;
}

.form-success {
  background: rgba(90, 129, 144, 0.1);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
}
.form-success h3 { color: var(--navy); margin-block-end: 0.5rem; }

.form-control.error { border-color: #C4574E; }
.field-error { color: #A33F37; font-size: 0.8rem; margin-block-start: 0.3rem; }

/* ─────────────── FAQ ─────────────── */
.faq-section { text-align: center; }
.faq-section h2 { margin-block-end: 2rem; margin-inline: auto; }
.faq { max-width: 720px; margin-inline: auto; text-align: start; }
.faq details {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.4rem;
  margin-block-end: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--gold-deep);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-block-start: 0.65rem; font-size: 0.95rem; max-width: 60ch; }
.faq summary:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 4px; border-radius: 4px; }

/* ─────────────── WhatsApp contact ─────────────── */
.wa-form-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-block-start: 1.1rem;
  color: #0E7466;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}
.wa-form-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.wa-form-link svg { width: 19px; height: 19px; flex: 0 0 auto; }

.wa-float {
  position: fixed;
  inset-block-end: 1.4rem;
  inset-inline-end: 1.4rem;
  z-index: 55;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 10px 28px -8px rgba(18, 140, 126, 0.6);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Page-wide switch: <body class="no-whatsapp"> until the number is wired */
.no-whatsapp .wa-float,
.no-whatsapp .wa-mini,
.no-whatsapp .wa-form-link { display: none !important; }

.sticky-actions { display: flex; align-items: center; gap: 0.7rem; }
.wa-mini {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
}
.wa-mini svg { width: 25px; height: 25px; }

/* ─────────────── Mobile sticky CTA ─────────────── */
.sticky-cta {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(19, 31, 48, 0.96);
  backdrop-filter: blur(10px);
  border-block-start: 1px solid var(--line-dark);
}
.sticky-cta .btn { padding: 0.72rem 1.5rem; font-size: 0.95rem; white-space: nowrap; }
.sticky-cta .sticky-note { color: var(--cream); font-weight: 700; font-size: 0.92rem; }
.sticky-cta.is-hidden { display: none !important; }

/* ─────────────── Footer ─────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(252, 249, 241, 0.7);
  text-align: center;
  padding: 3rem var(--pad-x) 2.5rem;
  border-block-start: 1px solid var(--line-dark);
}
.footer-logo { height: 40px; width: auto; margin: 0 auto 1.2rem; }
.footer-line { font-size: 0.85rem; font-weight: 400; max-width: 68ch; margin: 0 auto 0.8rem; }
.footer-copy { font-size: 0.78rem; font-weight: 400; opacity: 0.9; }

/* ─────────────── Motion ─────────────── */
.reveal-1, .reveal-2, .reveal-3, .reveal-4, .reveal-5 {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal-2 { animation-delay: 0.12s; }
.reveal-3 { animation-delay: 0.24s; }
.reveal-4 { animation-delay: 0.36s; }
.reveal-5 { animation-delay: 0.55s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.will-reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-1, .reveal-2, .reveal-3, .reveal-4, .reveal-5 { animation: none; }
  .will-reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────── Responsive ─────────────── */
@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  .wa-float { display: none; }   /* the sticky bar carries WhatsApp on mobile */
  .site-footer { padding-block-end: 7rem; }   /* clear the sticky bar */
  .hero-content { padding-block-start: 7rem; }
  .split { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: 1fr; }
  .dev-card.featured { grid-column: span 1; }
  .dev-card.featured figure img { aspect-ratio: 16 / 10; }
  .cards { grid-template-columns: 1fr; }
  .invite-strip { grid-template-columns: 1fr; }
  .invite-item { padding-block: 0.9rem; justify-content: flex-start; }
  .header-cta { display: none; }
}

@media (max-width: 560px) {
  .stats-band { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .site-logo { height: 36px; }
  .hero-content { margin-block-end: 2rem; }
  .hero-subtitle, .hero-trust { display: none; }
  .date-pill { font-size: 0.8rem; padding: 0.42rem 0.9rem; }
  .hero-title { margin-block: 1rem 1.4rem; }
}
