/* ════════════════════════════════════════════════════
   ALNAHDA SUBURB — Pre-launch stylesheet

   One palette, taken from the logo: deep olive, olive and lime on a
   warm paper background. No theme switcher, no dark variant.
   ════════════════════════════════════════════════════ */

/* ── Brand fonts ───────────────────────────────────── */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyahsans-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyahsans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyahsans-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('../fonts/thmanyahsans-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../fonts/thmanyahserifdisplay-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../fonts/thmanyahserifdisplay-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../fonts/thmanyahserifdisplay-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../fonts/thmanyahserifdisplay-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('../fonts/thmanyahserifdisplay-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../fonts/thmanyahseriftext-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../fonts/thmanyahseriftext-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../fonts/thmanyahseriftext-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../fonts/thmanyahseriftext-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('../fonts/thmanyahseriftext-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ── Tokens ────────────────────────────────────────── */
:root {
  /* Logo colours */
  --color-olive-deep: #48502F;
  --color-olive:      #62722F;
  --color-lime:       #B3BB48;
  /* Page */
  --color-paper:      #F7F6F0;
  --color-ink:        #2E3321;
  --color-ink-soft:   rgba(46, 51, 33, 0.74);
  --color-ink-faint:  rgba(46, 51, 33, 0.56);
  --color-line:       rgba(72, 80, 47, 0.28);
  --color-line-strong: rgba(72, 80, 47, 0.5);
  --color-danger:     #B3402E;
  --color-ok:         #3E7C4F;

  --font-display: 'Thmanyah Serif Display', serif;
  --font-sans:    'Thmanyah Sans', sans-serif;
  --font-text:    'Thmanyah Serif Text', serif;

  --pad-x: clamp(24px, 6vw, 80px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* The hidden attribute must always win: .fform, .fform__done and
   .ccpick__drop set their own display and are toggled via el.hidden */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--color-paper);
  color: var(--color-ink);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--color-lime); color: var(--color-olive-deep); }
:focus-visible { outline: 2px solid var(--color-olive); outline-offset: 3px; }

/* Eyebrow label */
.eyebrow {
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  display: inline-block;
}
[dir="rtl"] .eyebrow { letter-spacing: 0.1em; font-size: 13.5px; font-weight: 400; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  position: relative; overflow: hidden;
  border: 1px solid var(--color-olive);
  color: var(--color-olive);
  background: transparent;
  padding: 14px 40px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease,
              transform 0.45s var(--ease), box-shadow 0.35s ease;
}
/* Light sheen sweeping across on hover */
.btn::after {
  content: ''; position: absolute; top: -25%; bottom: -25%; left: 0; width: 46%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(-280%);
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { animation: btn-sheen 0.85s ease; }
@keyframes btn-sheen { to { transform: skewX(-20deg) translateX(360%); } }
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  background-color: var(--color-olive);
  color: var(--color-paper);
}
/* Arabic is a connected script: Latin display tracking pulls the joins
   apart. Every wide-tracked element gets an RTL override for that reason. */
[dir="rtl"] .btn { letter-spacing: 0.04em; font-size: 14px; }
[dir="rtl"] .fform__label { letter-spacing: 0.05em; font-size: 12.5px; }

.btn--solid {
  background-color: var(--color-olive);
  color: var(--color-paper);
  border-color: var(--color-olive);
}
.btn--solid:hover, .btn--solid:focus-visible {
  background-color: var(--color-olive-deep);
  border-color: var(--color-olive-deep);
  color: var(--color-paper);
}

/* ════════════════════════════════════════════════════
   LEAD FORM
   ════════════════════════════════════════════════════ */
.fform { display: flex; flex-direction: column; gap: 18px; }
.fform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.fform__field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fform__label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-olive);
  transition: color 0.3s ease;
}
.fform__input {
  width: 100%;
  background-color: rgba(72, 80, 47, 0.045);
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  font-family: var(--font-sans); font-size: 15px;
  padding: 14px 16px; border-radius: 10px;
  caret-color: var(--color-olive);
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.fform__input::placeholder { color: rgba(46, 51, 33, 0.35); }
.fform__input:hover { border-color: var(--color-line-strong); }
.fform__input:focus {
  outline: none; border-color: var(--color-olive);
  background-color: rgba(72, 80, 47, 0.08);
  box-shadow: 0 0 0 3px rgba(98, 114, 47, 0.16);
}
/* Live validation states (set from initPageForms): the error state
   tints the box itself so the problem reads before the message does */
.fform__input.is-bad {
  border-color: var(--color-danger);
  background-color: rgba(179, 64, 46, 0.06);
}
.fform__input.is-bad:focus { box-shadow: 0 0 0 4px rgba(179, 64, 46, 0.16); }
.fform__input.is-good { border-color: var(--color-ok); }
.fform__field.is-bad .fform__label { color: var(--color-danger); }
/* Required-field asterisk: CSS so the bilingual label swap can't wipe it */
.fform__label--req::after { content: ' *'; color: var(--color-danger); }
/* Inline per-field error: sits directly under the failing control,
   created and aria-wired by initPageForms */
.fform__msg {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; line-height: 1.5; margin: 0;
  color: var(--color-danger);
  animation: fform-msg-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.fform__msg::before {
  content: ''; flex: 0 0 auto;
  width: 14px; height: 14px; margin-top: 2px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5v.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.5v.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes fform-msg-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
/* A short nudge on the failing field when submit is rejected */
@media (prefers-reduced-motion: no-preference) {
  .fform__field.is-shake { animation: fform-shake 0.45s ease; }
}
@keyframes fform-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-3px); }
  40%, 60% { transform: translateX(3px); }
}
/* Helper line under the phone box; recolors with validity */
.fform__hint {
  font-size: 12px; line-height: 1.5; margin: 0;
  color: rgba(46, 51, 33, 0.5);
  transition: color 0.3s ease;
}
.fform__hint--err { color: var(--color-danger); }
.fform__hint--ok { color: var(--color-ok); }
.fform__privacy {
  font-size: 12px; line-height: 1.5; margin: -4px 0 0;
  text-align: center; color: rgba(46, 51, 33, 0.5);
}
.fform__select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362722F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 13px;
  padding-right: 30px;
}
.fform__select option { background: #FFFFFF; color: var(--color-ink); }
/* Placeholder state ("Select unit type" is the value): same grey as the
   text fields' placeholders. Toggled by the property loader in main.js. */
.fform__select.is-placeholder { color: rgba(46, 51, 33, 0.35); }
/* Full-width property select: chevron sits at the reading end */
.fform__prop { padding-right: 34px; background-position: right 12px center; }
[dir="rtl"] .fform__prop { padding-right: 15px; padding-left: 34px; background-position: left 12px center; }

/* Phone: ONE unified box: flag button, hairline divider, then the
   national number. The whole box glows on :focus-within and recolors
   with validity (via :has). Numbers always read LTR, so the row stays
   LTR in Arabic too. */
.fform__phone {
  display: flex; direction: ltr;
  background-color: rgba(72, 80, 47, 0.045);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.fform__phone:hover { border-color: var(--color-line-strong); }
.fform__phone:focus-within {
  border-color: var(--color-olive);
  background-color: rgba(72, 80, 47, 0.08);
  box-shadow: 0 0 0 3px rgba(98, 114, 47, 0.16);
}
.fform__phone:has(.is-bad) { border-color: var(--color-danger); background-color: rgba(179, 64, 46, 0.06); }
.fform__phone:has(.is-bad):focus-within { box-shadow: 0 0 0 4px rgba(179, 64, 46, 0.16); }
.fform__phone:has(.is-good) { border-color: var(--color-ok); }
/* The number input lives borderless inside the box */
.fform__tel {
  flex: 1 1 auto; min-width: 0;
  border: 0; border-radius: 0; background-color: transparent;
}
.fform__tel:focus { background-color: transparent; box-shadow: none; }

/* Flag country-code picker (replaces the native select). Closed state
   is flag + chevron only; the dial code lives on the list rows. */
.ccpick {
  position: relative; flex: 0 0 auto;
  display: flex; align-items: stretch;
  border-inline-end: 1px solid rgba(72, 80, 47, 0.2);
}
.ccpick__btn {
  display: flex; align-items: center; gap: 8px;
  height: 100%; padding: 13px 14px;
  background: transparent; border: 0;
  color: var(--color-ink);
  font-family: var(--font-sans); font-size: 15px;
  cursor: pointer;
}
.ccpick__btn:focus-visible { outline: none; }
.ccpick__flag { width: 22px; height: 16px; object-fit: cover; flex: 0 0 auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.ccpick__chev { width: 12px; height: 12px; opacity: 0.65; flex: 0 0 auto; transition: transform 0.25s ease; }
.ccpick__btn[aria-expanded="true"] .ccpick__chev { transform: rotate(180deg); }
.ccpick__drop {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  width: min(300px, 82vw);
  display: flex; flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--color-line-strong);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(72, 80, 47, 0.22);
  overflow: hidden; /* clips the search field to the rounded top */
}
.ccpick__drop--up { top: auto; bottom: calc(100% + 6px); }
.ccpick__search {
  border: 0; border-bottom: 1px solid rgba(72, 80, 47, 0.2);
  border-radius: 0; background-color: transparent;
  color: var(--color-ink);
}
.ccpick__list {
  list-style: none; margin: 0; padding: 4px;
  max-height: 230px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ccpick__opt {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; cursor: pointer; border-radius: 5px;
  font-size: 14px; color: var(--color-ink);
  transition: background 0.15s ease;
}
.ccpick__opt:hover, .ccpick__opt.is-active { background: rgba(72, 80, 47, 0.07); }
.ccpick__opt .ccpick__code { margin-left: auto; color: var(--color-olive); font-size: 13px; }

/* Send failure line (CRM unreachable) */
.fform__error {
  font-size: 13px; color: var(--color-danger); margin: 0;
  padding-inline-start: 12px;
  border-inline-start: 2px solid var(--color-danger);
}

/* Submit */
.fform__submit {
  justify-content: center; gap: 10px;
  width: 100%; margin-top: 8px;
  box-shadow: 0 10px 28px rgba(72, 80, 47, 0.2);
}
.fform__submit svg { width: 19px; height: 19px; flex: 0 0 auto; }
.fform__submit:hover, .fform__submit:focus-visible {
  box-shadow: 0 14px 36px rgba(72, 80, 47, 0.28);
}
/* In flight to the CRM: the button waits for the response before the
   confirmation replaces the form */
.fform__submit:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Done panel */
.fform__done { text-align: center; padding: clamp(30px, 4vw, 56px) 0; }
.fform__done-icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border: 1px solid var(--color-lime); border-radius: 50%;
  background: rgba(179, 187, 72, 0.14);
  color: var(--color-olive);
}
.fform__done-icon svg { width: 24px; height: 24px; }
.fform__done-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; color: var(--color-olive-deep); margin-bottom: 10px;
}
.fform__done-sub { font-size: 14px; line-height: 1.65; color: var(--color-ink-soft); }

/* Countdown to the launch ceremony: hairline-divided cells, serif
   numerals, micro labels. Forced LTR so the numbers never reverse in
   Arabic; only the caption and unit labels follow the language. The
   date lives in the markup (data-countdown), see initCountdown in
   js/main.js. Visual only: nothing switches at zero, the strip hides. */
.soon__count-wrap {
  width: 100%; max-width: 480px;
  margin-top: clamp(22px, 3.4vh, 34px);
}
.soon__count-caption {
  font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-ink-faint);
  margin-bottom: 10px;
}
[dir="rtl"] .soon__count-caption { letter-spacing: 0.08em; font-size: 12px; }
.soon__count {
  display: flex; align-items: stretch; justify-content: flex-start;
  direction: ltr;
}
[dir="rtl"] .soon__count { justify-content: flex-end; }
.soon__count-cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 2px clamp(16px, 2.2vw, 28px);
}
.soon__count-cell:first-child { padding-inline-start: 0; }
.soon__count-cell + .soon__count-cell { border-inline-start: 1px solid var(--color-line); }
.soon__count-num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.2vw, 30px); line-height: 1;
  color: var(--color-olive-deep);
  font-variant-numeric: tabular-nums; /* no jitter as seconds tick */
}
.soon__count-unit {
  margin-top: 7px;
  font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--color-olive); opacity: 0.85;
}
[dir="rtl"] .soon__count-unit { letter-spacing: 0.08em; font-size: 11.5px; }


/* ════════════════════════════════════════════════════
   HERO PAGES (/ and /interest)
   Full-bleed render, paper scrim on the reading side, editorial type
   on the left, a deep green band of features along the foot.
   ════════════════════════════════════════════════════ */
:root {
  --color-band: #1F2818;
  --color-gold: #BFAA7D;
  --hero-scrim: rgba(247, 246, 240, 0.94);
}
.soon {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--color-paper);
  color: var(--color-ink);
  overflow: hidden;
}
.soon__bgwrap { position: absolute; inset: 0; z-index: -3; }
.soon__bg {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  display: block;
  animation: soonDrift 60s ease-in-out infinite alternate;
}
@keyframes soonDrift {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.06) translateY(-1.2%); }
}
/* Scrim: solid paper on the reading side fading to the open render on the
   other; a light wash across the top keeps the bar legible over the sky.
   Mirrors for RTL. */
.soon__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to bottom, rgba(247, 246, 240, 0.55) 0%, rgba(247, 246, 240, 0) 22%),
    linear-gradient(to right, var(--hero-scrim) 0%, rgba(247, 246, 240, 0.86) 30%, rgba(247, 246, 240, 0.46) 52%, rgba(247, 246, 240, 0.06) 74%, rgba(247, 246, 240, 0) 100%);
}
[dir="rtl"] .soon__veil {
  background:
    linear-gradient(to bottom, rgba(247, 246, 240, 0.55) 0%, rgba(247, 246, 240, 0) 22%),
    linear-gradient(to left, var(--hero-scrim) 0%, rgba(247, 246, 240, 0.86) 30%, rgba(247, 246, 240, 0.46) 52%, rgba(247, 246, 240, 0.06) 74%, rgba(247, 246, 240, 0) 100%);
}
.soon__grain {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Top bar: signature | logo | language + action ── */
.soon__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 20px;
  padding: 22px var(--pad-x) 0;
}
.soon__bar-end {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
}
.soon__logo { width: clamp(76px, 7vw, 96px); height: auto; justify-self: center; }
/* Owner signature: the state emblem and the two institutional names */
.soon__owner { display: flex; align-items: center; gap: 12px; }
.soon__owner-emblem { width: 38px; height: auto; flex: 0 0 auto; }
.soon__owner-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.soon__owner-state { display: none; }
.soon__owner-ministry { font-size: 12.5px; font-weight: 500; color: var(--color-olive-deep); }
.soon__owner-body { font-size: 11.5px; color: var(--color-ink-soft); }

/* Language switch: "AR | EN", pinned LTR so the pair never reverses */
.soon__lang {
  direction: ltr;
  display: inline-flex; align-items: center;
  padding: 9px 4px;
  border-radius: 999px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--color-line);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.soon__lang-opt {
  padding-inline: 10px;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1;
  color: var(--color-ink-faint);
  transition: color 0.3s ease;
}
.soon__lang-sep { width: 1px; align-self: stretch; background: var(--color-line); }
.soon__lang[data-active="ar"] [data-lang-opt="ar"],
.soon__lang[data-active="en"] [data-lang-opt="en"] { color: var(--color-olive-deep); }
.soon__lang:hover { border-color: var(--color-olive); }
.soon__lang[data-active="ar"]:hover [data-lang-opt="en"],
.soon__lang[data-active="en"]:hover [data-lang-opt="ar"] { color: var(--color-olive); }

/* Pill buttons (bar action + hero call to action) */
.btn--pill {
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 11.5px; letter-spacing: 0.18em;
}
[dir="rtl"] .btn--pill { font-size: 13.5px; letter-spacing: 0.03em; }
.btn--pill svg { width: 15px; height: 15px; flex: 0 0 auto; }
[dir="rtl"] .btn--pill svg { transform: scaleX(-1); }
.soon__bar-cta {
  border-color: var(--color-olive-deep); color: var(--color-olive-deep);
  background: rgba(255, 255, 255, 0.4);
}
.soon__bar-cta:hover, .soon__bar-cta:focus-visible { background-color: var(--color-olive-deep); color: var(--color-paper); }
.soon__bar-back {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-ink-soft); transition: color 0.3s ease;
}
.soon__bar-back:hover { color: var(--color-olive); }
.soon__bar-back svg { width: 15px; height: 15px; }
[dir="rtl"] .soon__bar-back { letter-spacing: 0.04em; font-size: 12.5px; }
[dir="rtl"] .soon__bar-back svg { transform: scaleX(-1); }

/* ── Hero body ── */
.soon__body {
  flex: 1 1 auto;
  display: grid; align-items: center;
  padding: clamp(20px, 3.5vh, 44px) var(--pad-x) clamp(28px, 4.5vh, 48px);
}
.soon__inner { max-width: 620px; }
/* Eyebrow: a short rule then the line, the reference's device */
.soon__eyebrow {
  display: inline-flex; align-items: center; gap: 18px;
  color: var(--color-olive-deep); letter-spacing: 0.34em;
  margin-bottom: clamp(18px, 2.6vh, 26px);
}
.soon__eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--color-olive-deep); }
[dir="rtl"] .soon__eyebrow { letter-spacing: 0.1em; }
/* Headline: two lines, bold then light, along a hairline rule */
.soon__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 5.6vw, 80px); line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--color-olive-deep);
  padding-inline-start: clamp(18px, 2vw, 28px);
  border-inline-start: 1px solid var(--color-olive-deep);
  margin-bottom: clamp(18px, 2.6vh, 26px);
}
.soon__title-light { display: block; font-weight: 300; }
[dir="rtl"] .soon__title { line-height: 1.2; letter-spacing: 0; font-size: clamp(42px, 5.2vw, 76px); }
.soon__sub {
  font-size: clamp(14.5px, 1.2vw, 17px); line-height: 1.7;
  color: var(--color-ink-soft);
  max-width: 52ch;
  padding-inline-start: clamp(18px, 2vw, 28px);
  margin-bottom: clamp(22px, 3vh, 32px);
  text-wrap: pretty;
}
.soon__cta {
  margin-inline-start: clamp(18px, 2vw, 28px);
  background-color: var(--color-olive-deep);
  border-color: var(--color-olive-deep);
  color: var(--color-paper);
  padding: 15px 30px;
  box-shadow: 0 14px 34px rgba(31, 40, 24, 0.22);
}
.soon__cta:hover, .soon__cta:focus-visible {
  background-color: var(--color-olive); border-color: var(--color-olive); color: var(--color-paper);
}
.soon__count-wrap { padding-inline-start: clamp(18px, 2vw, 28px); }

/* /interest: text on the reading side, the form card on the other */
.soon__body--split {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: clamp(28px, 5vw, 72px);
}
.soon__body--split .soon__inner { max-width: 520px; }
.soon__card {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  box-shadow: 0 34px 80px rgba(31, 40, 24, 0.22);
  padding: clamp(22px, 2.6vw, 32px);
  text-align: start;
}
.soon__card-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 21px; color: var(--color-olive-deep);
  margin-bottom: 18px;
}
.soon__card .fform__input,
.soon__card .fform__phone { background-color: rgba(72, 80, 47, 0.045); }

/* ── Feature band ── */
.soon__band {
  position: relative; z-index: 1;
  background: var(--color-band);
  color: var(--color-paper);
  padding: clamp(22px, 3vh, 30px) var(--pad-x);
}
.soon__band-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.soon__band-item {
  display: flex; align-items: center; gap: 16px;
  padding-inline: clamp(16px, 2.4vw, 36px);
  border-inline-start: 1px solid rgba(247, 246, 240, 0.16);
}
.soon__band-item:first-child { padding-inline-start: 0; border-inline-start: 0; }
.soon__band-icon { width: 34px; height: 34px; flex: 0 0 auto; color: var(--color-gold); }
.soon__band-icon svg { width: 100%; height: 100%; display: block; }
.soon__band-title {
  display: block;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-paper); margin-bottom: 4px;
}
[dir="rtl"] .soon__band-title { letter-spacing: 0.05em; font-size: 13px; }
.soon__band-text { display: block; font-size: 12.5px; line-height: 1.5; color: rgba(247, 246, 240, 0.72); }
/* On phones the signature moves from the bar to the foot of the band */
.soon__band-owner { display: none; }

@media (prefers-reduced-motion: reduce) {
  .soon__bg { animation: none; }
}

/* ── Short laptop viewports ── */
@media (min-width: 981px) and (max-height: 860px) {
  .soon__bar { padding-top: 16px; }
  .soon__logo { width: 72px; }
  .soon__title { font-size: clamp(40px, 5.6vw, 72px); margin-bottom: 16px; }
  .soon__sub { margin-bottom: 20px; }
  .soon__count-wrap { margin-top: 22px; }
  .soon__card { padding: 20px 22px; }
  .soon__card .fform { gap: 12px; }
  .soon__band { padding-block: 16px; }
}

/* ── Tablet ── */
@media (max-width: 980px) {
  .soon__body--split { grid-template-columns: 1fr; gap: 28px; }
  .soon__body--split .soon__inner { max-width: 600px; }
  .soon__card { max-width: 600px; }
  .soon__band-list { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .soon__band-item:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
}

/* ── Phone ── */
@media (max-width: 640px) {
  :root { --hero-scrim: rgba(247, 246, 240, 0.9); }
  .soon__veil, [dir="rtl"] .soon__veil {
    background:
      linear-gradient(to bottom, rgba(247, 246, 240, 0.88) 0%, rgba(247, 246, 240, 0.8) 42%, rgba(247, 246, 240, 0.42) 74%, rgba(247, 246, 240, 0.1) 100%);
  }
  .soon__bar { grid-template-columns: auto 1fr; padding-top: 14px; gap: 12px; }
  .soon__bar .soon__owner { display: none; }
  .soon__logo { width: 62px; justify-self: start; order: -1; }
  .soon__bar-cta { display: none; }
  .soon__lang { padding: 8px 3px; }
  .soon__lang-opt { padding-inline: 9px; font-size: 10px; }
  .soon__body { padding-top: 26px; padding-bottom: 34px; }
  .soon__title { font-size: clamp(40px, 12vw, 52px); }
  [dir="rtl"] .soon__title { font-size: clamp(38px, 11vw, 48px); }
  .soon__cta { width: calc(100% - clamp(18px, 2vw, 28px)); justify-content: center; }
  .soon__count-wrap { max-width: none; }
  .soon__count { justify-content: space-between; }
  [dir="rtl"] .soon__count { justify-content: space-between; }
  .soon__count-cell { padding-inline: 0; }
  .soon__count-num { font-size: 26px; }
  .soon__count-unit { letter-spacing: 0.16em; font-size: 9px; }
  .fform__row { grid-template-columns: 1fr; }
  .soon__band { padding-block: 22px; }
  .soon__band-list { grid-template-columns: 1fr; row-gap: 16px; }
  .soon__band-item { padding-inline: 0; border-inline-start: 0; }
  .soon__band-icon { width: 28px; height: 28px; }
  .soon__band-owner {
    display: flex; align-items: center; gap: 12px;
    margin-top: 20px; padding-top: 18px;
    border-top: 1px solid rgba(247, 246, 240, 0.16);
  }
  .soon__band-owner .soon__owner-emblem { width: 34px; }
  .soon__band-owner .soon__owner-ministry { color: var(--color-paper); }
  .soon__band-owner .soon__owner-body { color: rgba(247, 246, 240, 0.72); }
}
