/* ============ AladdinMiles — cinematic scroll homepage ============ */

:root {
  /* brand tokens — vivid set the founder loves + blueprint tokens */
  --red: #FE0000;          /* primary vivid red */
  --red-deep: #BE2C1C;     /* secondary deep red */
  --blue: #0076FC;         /* tertiary vivid blue */
  --gold: #C9A227;         /* royal gold — coins, highlights */
  --navy: #0A1230;         /* deep night navy */
  --cream: #FAF7F2;        /* desert cream */
  --ink: #1A1A1A;
  --font: var(--font-tajawal), "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy);
  color: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- header ---------- */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 4vw;
  background: linear-gradient(to bottom, rgba(10, 18, 48, 0.92), rgba(10, 18, 48, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
}
#topbar .brand img { height: 46px; display: block; }
#topnav { display: flex; gap: 22px; margin-inline-start: auto; }
#topnav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}
#topnav a:hover { color: var(--gold); }
.top-actions { display: flex; gap: 12px; align-items: center; }
#lang-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}
#lang-toggle:hover { background: rgba(255, 255, 255, 0.15); }
.cta-pill {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 22px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cta-pill:hover { transform: scale(1.05); background: var(--red-deep); }

/* ---------- scrub sections ---------- */
.scrub { height: 520vh; position: relative; }
.sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--navy);
}
.sticky-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.stage-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 95% at 50% 50%, transparent 55%, rgba(4, 8, 24, 0.55) 100%),
    linear-gradient(to top, rgba(4, 8, 24, 0.65), transparent 28%);
}
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 6vw;
  pointer-events: none;
}
.overlay .cta-row { pointer-events: auto; }
.reveal-line {
  position: absolute;
  opacity: 0;
  will-change: opacity, transform;
  max-width: 900px;
}
.overlay h1, .overlay h2 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}
.overlay .eyebrow {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.overlay .sub {
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.7);
}
.overlay .sub.gold { color: var(--gold); font-weight: 700; }
.overlay .trust {
  bottom: 12vh;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 220px; }
.btn-primary {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  border-radius: 999px;
  padding: 16px 34px;
  display: inline-block;
  box-shadow: 0 12px 40px rgba(254, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-primary:hover { transform: scale(1.05); background: var(--red-deep); }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: 15px 30px;
  display: inline-block;
  transition: background 0.2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  animation: bob 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- content bands ---------- */
.band { padding: 110px 6vw; position: relative; }
.band.cream { background: var(--cream); color: var(--ink); }
.band.navy { background: var(--navy); color: #fff; }
.band.red {
  background: linear-gradient(135deg, var(--red-deep), #8f1410);
  color: #fff;
}
.band.center { text-align: center; }
.band h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
}
.band.cream h2 { color: var(--red-deep); }
.band .eyebrow {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 15px;
}
.band-sub { font-size: 18px; opacity: 0.85; max-width: 640px; margin-bottom: 36px; }
.band.center .band-sub { margin-inline: auto; }
.band-sub.wide { max-width: 820px; font-size: 20px; }
.closing {
  font-size: 20px;
  font-weight: 700;
  max-width: 720px;
  margin-top: 44px;
  color: var(--red-deep);
}
.closing.small { font-size: 16px; color: rgba(255,255,255,0.85); margin-top: 22px; }

/* coffee story */
.coffee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.coffee-step {
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 14px 40px rgba(26, 26, 26, 0.08);
  border-top: 4px solid var(--red);
}
.coffee-step .num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 52px;
  font-weight: 900;
  color: var(--red);
  line-height: 1.1;
}
.coffee-step .num small { font-size: 15px; color: var(--ink); font-weight: 700; opacity: 0.65; }
.coffee-step p { margin-top: 10px; font-size: 15.5px; color: var(--ink); opacity: 0.85; }

/* widgets */
.widget {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 38px 34px;
  max-width: 680px;
  backdrop-filter: blur(8px);
}
.band.center .widget { margin-inline: auto; }
.widget label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 16px;
  margin: 22px 0 10px;
}
.widget label output { color: var(--gold); font-size: 22px; font-weight: 900; }
.widget input[type="range"] {
  width: 100%;
  accent-color: var(--red);
  height: 6px;
  cursor: pointer;
}
.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 34px 0 26px;
}
.calc-result .big {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.calc-result small { font-size: 15px; opacity: 0.8; font-weight: 500; }
.dest-chip {
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border-radius: 999px;
  padding: 14px 26px;
  box-shadow: 0 10px 34px rgba(0, 118, 252, 0.4);
  transition: transform 0.25s ease;
}
.dest-chip.pulse { transform: scale(1.08); }

/* features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.fcard {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-inline-start: 4px solid var(--blue);
}
.fcard:nth-child(odd) { border-inline-start-color: var(--red); }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26, 26, 26, 0.13); }
.fcard h3 { color: var(--ink); font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.fcard p { color: var(--ink); opacity: 0.78; font-size: 15px; }

/* destinations strip */
.dest-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 2px 22px;
  scroll-snap-type: x mandatory;
}
.dest-card {
  scroll-snap-align: start;
  min-width: 230px;
  border-radius: 18px;
  padding: 26px 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(10, 18, 48, 0.25);
}
.dest-card .city { font-size: 26px; font-weight: 900; }
.dest-card .miles { font-size: 16px; font-weight: 700; color: var(--gold); margin-top: 4px; }
.dest-card .plane { position: absolute; top: 18px; inset-inline-end: 18px; opacity: 0.55; font-size: 20px; }

/* download */
.store-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 30px 0; }
.store-badge {
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  border-radius: 14px;
  padding: 16px 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease;
}
.store-badge:hover { transform: scale(1.05); }

/* footer */
footer {
  background: #060b20;
  padding: 80px 6vw 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 36px;
}
footer .flogo { height: 44px; margin-bottom: 14px; }
footer h4 { font-size: 15px; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 14px; text-transform: uppercase; }
footer a, footer p { display: block; color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 14.5px; margin-bottom: 9px; }
footer a:hover { color: #fff; }
footer .copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  margin-top: 16px;
  font-size: 12.5px;
  opacity: 0.55;
}

/* reveals */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scrub { height: 100vh; }
  .reveal, .reveal-line { opacity: 1 !important; transform: none !important; transition: none; }
  .scroll-hint { animation: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 820px) {
  #topnav { display: none; }
  .scrub { height: 420vh; }
  .cta-row { margin-top: 150px; }
  .band { padding: 80px 6vw; }
  .calc-result { justify-content: center; text-align: center; }
}

/* ==================================================================
   PHASE 1 — Lost Miles redesign ("the invoice nobody shows you")
   ================================================================== */

.lost-band {
  background:
    radial-gradient(ellipse 70% 55% at 78% 30%, rgba(254, 0, 0, 0.14), transparent 65%),
    radial-gradient(ellipse 60% 45% at 15% 85%, rgba(0, 118, 252, 0.08), transparent 60%),
    linear-gradient(150deg, #14060a 0%, #0A1230 62%, #070d24 100%);
  color: #fff;
  border-top: 1px solid rgba(254, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lost-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  max-width: 1180px;
  margin-inline: auto;
}

.lost-band .eyebrow { color: var(--red); }

.lost-controls {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px 26px 30px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.lost-controls label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.lost-controls output { color: var(--gold); font-size: 24px; font-weight: 900; }
.lost-controls input[type="range"] {
  width: 100%;
  accent-color: var(--red);
  height: 6px;
  cursor: pointer;
}
.lost-band .closing.small { color: rgba(255, 255, 255, 0.75); }

/* the counter — a meter of regret */
.lost-counter {
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(254, 0, 0, 0.35);
  border-radius: 22px;
  padding: 34px 26px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 60px rgba(254, 0, 0, 0.06);
}
.lost-num {
  display: block;
  font-size: clamp(52px, 6.5vw, 86px);
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  text-shadow: 0 0 44px rgba(254, 0, 0, 0.45);
  font-variant-numeric: tabular-nums;
}
.lost-counter small {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.lost-value {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

/* missed boarding passes */
.missed-title {
  margin: 26px 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.missed-trips { display: flex; flex-direction: column; gap: 10px; }
.missed-pass {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  color: var(--navy);
  border-radius: 12px;
  padding: 13px 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  animation: passIn 0.45s ease backwards;
}
.missed-pass:nth-child(2) { animation-delay: 0.07s; }
.missed-pass:nth-child(3) { animation-delay: 0.14s; }
.missed-pass:nth-child(4) { animation-delay: 0.21s; }
@keyframes passIn { from { opacity: 0; transform: translateY(14px); } }
/* ticket notches */
.missed-pass::before, .missed-pass::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #0d1027;
  top: 50%;
}
.missed-pass::before { inset-inline-start: -9px; transform: translateY(-50%); }
.missed-pass::after  { inset-inline-end: -9px;  transform: translateY(-50%); }
.missed-pass .mp-route {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.missed-pass .mp-city { font-size: 13.5px; font-weight: 500; opacity: 0.75; flex: 1; }
.missed-pass .mp-count {
  font-weight: 900;
  font-size: 15px;
  color: var(--blue);
  white-space: nowrap;
}
.missed-pass .mp-stamp {
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 6px;
  padding: 3px 9px;
  transform: rotate(-8deg);
  opacity: 0.85;
  white-space: nowrap;
}

/* ==================================================================
   PHASE 1 — Merchants redesign (rent vs. own)
   ================================================================== */

.merch-band {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 162, 39, 0.1), transparent 60%),
    linear-gradient(180deg, #0A1230 0%, #0d1640 55%, #0A1230 100%);
  color: #fff;
  border-top: 1px solid rgba(201, 162, 39, 0.3);
}

.merch-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 44px auto 0;
  text-align: start;
}
.mc-card {
  border-radius: 20px;
  padding: 30px 28px;
}
.mc-card .mc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}
.mc-card h3 { font-size: 24px; font-weight: 900; margin-bottom: 14px; }
.mc-card ul { list-style: none; }
.mc-card li {
  position: relative;
  padding-inline-start: 26px;
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.65;
}
.mc-bad {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}
.mc-bad .mc-tag { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); }
.mc-bad li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: var(--red); font-weight: 900; }
.mc-good {
  background: var(--cream);
  color: var(--navy);
  border: 1px solid rgba(201, 162, 39, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  transform: translateY(-6px);
}
.mc-good .mc-tag { background: var(--red); color: #fff; }
.mc-good h3 { color: var(--red-deep); }
.mc-good li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 900; }

.merch-doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 20px auto 0;
  text-align: start;
}
.md-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 22px 20px;
}
.md-card .md-num {
  font-size: 13px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.md-card h4 { font-size: 18px; font-weight: 800; margin: 6px 0 6px; }
.md-card p { font-size: 13.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.72); }

.merch-dream {
  max-width: 760px;
  margin: 42px auto 36px;
  padding: 30px 30px 26px;
  border-radius: 20px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.4);
}
.merch-dream .md-big {
  display: block;
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.merch-dream p { font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, 0.88); }

.merch-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 860px) {
  .lost-grid { grid-template-columns: 1fr; }
  .mc-good { transform: none; }
}

/* ==================================================================
   PHASE 1.1 CORRECTION — Lost Miles presets + period, merchant tweaks
   ================================================================== */

.lost-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.preset-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 15px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  font-variant-numeric: tabular-nums;
}
.preset-chip:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-1px); }
.preset-chip.active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(254, 0, 0, 0.35);
}

.lost-period {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.lost-period .lp-label { font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.period-pills {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 4px;
}
.period-pill {
  background: transparent;
  border: none;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.period-pill:hover { color: #fff; }
.period-pill.active { background: var(--gold); color: var(--navy); }

/* merchant dream block — plane instead of the removed statistic */
.merch-dream .md-plane {
  display: block;
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 10px;
}
.merch-dream p { font-size: 19px; font-weight: 700; }

/* ==================================================================
   PHASE 1.2 MICRO-POLISH — Apple-clean Lost Miles, refined stamp
   ================================================================== */

/* lighter, calmer atmosphere — still deep navy with red/blue accents */
.lost-band {
  background:
    radial-gradient(ellipse 55% 45% at 80% 22%, rgba(254, 0, 0, 0.075), transparent 62%),
    radial-gradient(ellipse 50% 42% at 12% 88%, rgba(0, 118, 252, 0.07), transparent 60%),
    linear-gradient(160deg, #131b38 0%, #0e1632 55%, #0A1230 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* cleaner calculator card: lighter surface, roomier, softer shadow */
.lost-controls {
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 30px 30px 34px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}
.lost-controls label { margin-bottom: 14px; }
.lost-presets { margin-top: 18px; gap: 9px; }
.lost-period { margin-top: 20px; }

/* counter: premium, less alarm-red */
.lost-counter {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 38px 30px 30px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
}
.lost-num { text-shadow: 0 0 26px rgba(254, 0, 0, 0.26); }
.lost-value {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* boarding passes: airier, calmer shadow */
.missed-pass {
  padding: 14px 20px;
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  gap: 16px;
}
.missed-pass::before, .missed-pass::after { background: #101834; }
.missed-trips { gap: 12px; }

/* the stamp — an elegant travel-document mark, not a warning */
.missed-pass .mp-stamp {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--red-deep);
  border: 1.5px dashed rgba(190, 44, 28, 0.65);
  border-radius: 5px;
  padding: 2.5px 8px;
  transform: rotate(-5deg);
  opacity: 0.62;
}

/* ==================================================================
   PHASE 2 — Homepage brand-DNA polish
   ================================================================== */

/* English headlines = luxury magazine serif; Arabic stays Tajawal */
html[lang="en"] .overlay h1,
html[lang="en"] .overlay h2,
html[lang="en"] .band h2 {
  font-family: var(--font-playfair), "Times New Roman", Georgia, serif;
  letter-spacing: -0.01em;
}

/* hero hierarchy pills: rate (red) / free / royalty (gold) */
.hero-pills {
  bottom: 11vh;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hpill {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hpill-red {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(254, 0, 0, 0.35);
  font-size: 15px;
}
.hpill-gold { color: var(--gold); border-color: rgba(201, 162, 39, 0.65); }

/* four worlds — fewer, bigger, calmer */
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin-top: 44px;
  max-width: 1080px;
}
.world {
  background: #fff;
  border-radius: 22px;
  padding: 38px 34px 34px;
  box-shadow: 0 16px 44px rgba(26, 26, 26, 0.07);
  border-top: 4px solid var(--blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.world:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(26, 26, 26, 0.12); }
.world.w-red { border-top-color: var(--red); }
.world .w-num {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.world h3 { font-size: 24px; font-weight: 900; color: var(--ink); margin: 10px 0 12px; }
html[lang="en"] .world h3 { font-family: var(--font-playfair), Georgia, serif; }
.world p { font-size: 15.5px; line-height: 1.8; color: rgba(26, 26, 26, 0.75); }

/* bright editorial calculator */
.calc-band .widget {
  background: #fff;
  border: 1px solid rgba(10, 18, 48, 0.08);
  box-shadow: 0 26px 70px rgba(10, 18, 48, 0.1);
  color: var(--ink);
  backdrop-filter: none;
}
.calc-band .widget label { color: var(--ink); }
.calc-band .widget label output { color: var(--blue); }
.calc-band .calc-result .big { color: var(--red); }
.calc-band .calc-result small { color: rgba(26, 26, 26, 0.65); }
.calc-band .band-sub { color: rgba(26, 26, 26, 0.72); }

/* manual amount input — quiet, premium */
#lost-manual {
  width: 130px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  color: var(--gold);
  font-family: var(--font);
  font-weight: 900;
  font-size: 21px;
  text-align: center;
  padding: 7px 10px;
  -moz-appearance: textfield;
}
#lost-manual::-webkit-outer-spin-button,
#lost-manual::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#lost-manual:focus { outline: 2px solid rgba(254, 0, 0, 0.55); border-color: transparent; }

/* closing campaign */
.closing-band { padding-top: 130px; padding-bottom: 120px; }
.closing-band .eyebrow { color: rgba(255, 255, 255, 0.85); }
.closing-band h2 { font-size: clamp(38px, 5.6vw, 72px); }
.dl-partner {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.dl-partner a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.dl-partner a:hover { color: var(--gold); }

/* coffee panel: last step reads like a boarding pass */
.coffee-step:last-child { border-top-color: var(--blue); }
.coffee-step:last-child .num { color: var(--blue); }

/* ==================================================================
   PHASE 2.1 — Hero correction + Apple-like system typography
   ================================================================== */

/* Apple-like system font stacks (no external/paid font files) */
:root {
  --font-sys-en: var(--font-inter), -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-sys-ar: var(--font-tajawal), "SF Arabic", "IBM Plex Sans Arabic", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, sans-serif;
}
/* swap the homepage UI font per language (Arabic keeps Tajawal on Windows) */
html[lang="ar"] { --font: var(--font-sys-ar); }
html[lang="en"] { --font: var(--font-sys-en); }

/* retire Playfair from the hero + homepage headlines — modern, not classic */
html[lang="en"] .overlay h1,
html[lang="en"] .overlay h2,
html[lang="en"] .band h2,
html[lang="en"] .world h3 {
  font-family: var(--font-sys-en);
  letter-spacing: -0.02em;
}

/* ---- hero media layer (atmosphere) + future video slot ---- */
.hero-media-layer { position: absolute; inset: 0; }
.hero-future-video-slot {
  display: none;            /* inert until an approved asset is wired in */
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-future-video-slot.is-active { display: block; }

/* readability scrim: darkens the centre so the headline always reads clean
   over the busy logo, while the logo still glows around the edges */
.hero-scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 56% at 50% 50%, rgba(4, 8, 24, 0.66), rgba(4, 8, 24, 0.30) 46%, transparent 72%),
    linear-gradient(to bottom, rgba(4, 8, 24, 0.5), transparent 26%, transparent 68%, rgba(4, 8, 24, 0.55));
}

/* ---- clean campaign copy zone (stable, always readable) ---- */
#hero .overlay { z-index: 2; }
.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 6vw;
}
/* hero lines are stable in flow (no absolute overlap) with a one-time intro */
.hero-line { opacity: 0; will-change: opacity, transform; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy .hero-line { animation: heroIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-copy .eyebrow   { animation-delay: 0.15s; }
.hero-copy .hero-title{ animation-delay: 0.30s; }
.hero-copy .sub       { animation-delay: 0.48s; }
.hero-copy .cta-row   { animation-delay: 0.64s; }
.hero-copy .hero-pills{ animation-delay: 0.80s; }

/* headline: bold modern, tighter, not decorative */
.hero-title {
  font-size: clamp(36px, 6.2vw, 84px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 44px rgba(0, 0, 0, 0.55);
  margin: 0;
}
.hero-copy .eyebrow { margin: 0; }
.hero-copy .sub { margin: 0; }

/* reset the old centred-overlay spacing for the new stacked layout */
.hero-copy .cta-row { margin-top: 6px; }
.hero-copy .hero-pills {
  position: static;
  bottom: auto;
  margin-top: 6px;
}

/* ---- reduced motion: show everything, no intro ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-copy .hero-line { animation: none; opacity: 1; transform: none; }
}

/* ---- mobile hero: smaller logo (via JS contain-fit), stacked, readable ---- */
@media (max-width: 820px) {
  .hero-copy { gap: 16px; max-width: 560px; }
  .hero-title { font-size: clamp(30px, 8.4vw, 46px); line-height: 1.12; }
  .hero-copy .sub { font-size: 15.5px; max-width: 88vw; }
  .hero-copy .cta-row {
    margin-top: 4px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    gap: 10px;
  }
  .hero-copy .cta-row .btn-primary,
  .hero-copy .cta-row .btn-ghost { text-align: center; }
  .hero-copy .hero-pills { gap: 8px; }
  .hpill { font-size: 12px; padding: 8px 14px; }
  .hpill-red { font-size: 13px; }
  /* stronger scrim on small screens for guaranteed contrast */
  .hero-scrim {
    background:
      radial-gradient(ellipse 110% 50% at 50% 50%, rgba(4, 8, 24, 0.72), rgba(4, 8, 24, 0.42) 50%, rgba(4, 8, 24, 0.2) 78%),
      linear-gradient(to bottom, rgba(4, 8, 24, 0.6), transparent 22%, transparent 64%, rgba(4, 8, 24, 0.62));
  }
}

/* ==================================================================
   PHASE 2.2 — hero micro-fix: recede the logo atmosphere, calmer mobile
   ================================================================== */

/* Soften the animated wordmark/logo so it reads as premium atmosphere and
   stops competing with the headline. Dim + slight desaturate + gentle blur.
   The slight scale hides any blur edge-bleed. (#hero only — the Riyadh
   flight scrub stays crisp.) */
#hero .hero-media-layer canvas {
  filter: brightness(0.80) saturate(0.93) blur(1px);
  transform: scale(1.05);
  transform-origin: center;
}

/* a touch more centre darkening so the headline always wins on desktop */
#hero .hero-scrim {
  background:
    radial-gradient(ellipse 80% 58% at 50% 48%, rgba(4, 8, 24, 0.72), rgba(4, 8, 24, 0.36) 46%, transparent 74%),
    linear-gradient(to bottom, rgba(4, 8, 24, 0.55), transparent 26%, transparent 66%, rgba(4, 8, 24, 0.60));
}

@media (max-width: 820px) {
  /* calmer, softer background behind the mobile text zone — still cinematic */
  #hero .hero-media-layer canvas {
    filter: brightness(0.66) saturate(0.90) blur(2.5px);
    transform: scale(1.08);
  }
  #hero .hero-scrim {
    background:
      radial-gradient(ellipse 120% 52% at 50% 50%, rgba(4, 8, 24, 0.80), rgba(4, 8, 24, 0.50) 50%, rgba(4, 8, 24, 0.28) 80%),
      linear-gradient(to bottom, rgba(4, 8, 24, 0.68), transparent 20%, transparent 60%, rgba(4, 8, 24, 0.70));
  }
}

/* ==================================================================
   PHASE 3 — approved hero video background
   ================================================================== */

/* the video hero only needs a gentle pin, not the 520vh logo-scrub length */
#hero.scrub { height: 160vh; }
@media (prefers-reduced-motion: reduce) { #hero.scrub { height: 100vh; } }

/* atmospheric video behind the copy zone; scrim + overlay sit above it */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;            /* fill the stage, no letterbox */
  object-position: center;
  z-index: 0;
  opacity: 0.64;               /* premium atmosphere, not competing with text */
  background: var(--navy);      /* navy base while the poster/video loads */
}
/* when video is disabled (reduced motion / error) the poster frame remains */
.hero-video.is-poster { opacity: 0.7; }

@media (max-width: 820px) {
  #hero.scrub { height: 130vh; }
  /* calmer + softer on mobile so the headline stays effortless to read */
  .hero-video { opacity: 0.5; filter: blur(1px); }
}

/* ==================================================================
   PHASE 3.1 — Arabic typography hierarchy + anti-clipping + calc helper
   ================================================================== */

/* eyebrows were tiny footnotes (15px) — make them intentional campaign labels */
.band .eyebrow { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.7; margin-bottom: 14px; }
html[lang="ar"] .band .eyebrow { letter-spacing: 0.02em; }

/* subtitles a touch larger and airier */
.band-sub { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.9; }
.band-sub.wide { font-size: clamp(18px, 2.1vw, 22px); }

/* large headlines: real breathing room so Arabic never clips top/bottom */
.band h2 { line-height: 1.3; padding-block: 0.06em; }
html[lang="ar"] .band h2 { line-height: 1.42; }
.hero-title { line-height: 1.14; padding-bottom: 0.1em; }
html[lang="ar"] .overlay h1, html[lang="ar"] .hero-title { line-height: 1.24; padding-top: 0.04em; }

/* coffee intro "كوب واحد. 16 ريال…" — premium, not tiny */
#coffee .eyebrow { font-size: clamp(17px, 2.1vw, 23px); color: var(--red); font-weight: 700; }

/* Lost Miles eyebrow "الفاتورة التي لا يريك إياها أحد" — strong campaign line */
.lost-band .eyebrow { font-size: clamp(18px, 2.3vw, 25px); font-weight: 800; line-height: 1.6; }

/* Merchant dream line "كل تاجر ينضم…" — larger and elegant */
.merch-dream { padding-block: 36px; }
.merch-dream p { font-size: clamp(20px, 2.7vw, 31px); font-weight: 700; line-height: 1.7; }

/* Final red CTA — larger, cleaner, premium; never touches the top edge */
.closing-band { padding-top: 140px; padding-bottom: 130px; }
.closing-band h2 { font-size: clamp(40px, 6vw, 76px); line-height: 1.28; padding-block: 0.08em; }
html[lang="ar"] .closing-band h2 { line-height: 1.42; }

/* calculator: clearer values + basis helper line */
.calc-band .widget label output { font-weight: 800; }
.calc-basis { font-size: 14px; opacity: 0.72; margin: 8px 0 20px; color: var(--ink); }

/* mobile: keep Arabic headings comfortable and uncropped */
@media (max-width: 820px) {
  .band h2 { line-height: 1.36; }
  html[lang="ar"] .band h2 { line-height: 1.5; }
  html[lang="ar"] .hero-title { line-height: 1.28; }
  .lost-band .eyebrow { font-size: 18px; }
  .merch-dream p { font-size: 20px; }
  .band-sub { font-size: 16.5px; }
}

/* ==================================================================
   PHASE 3.1b — coffee calculator: cups + price + frequency controls
   ================================================================== */

.coffee-calc .cc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--ink);
}
.coffee-calc .cc-head output { color: var(--blue); font-weight: 800; font-size: 17px; }
.coffee-calc .cc-field { margin-top: 22px; }
.coffee-calc .seg {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.coffee-calc .seg-btn {
  border: 1px solid rgba(10, 18, 48, 0.18);
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  padding: 11px 18px;
  min-width: 52px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.coffee-calc .seg-btn:hover { border-color: var(--red); transform: translateY(-1px); }
.coffee-calc .seg-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(254, 0, 0, 0.28);
}

@media (max-width: 820px) {
  .coffee-calc .seg-btn { font-size: 14px; padding: 10px 14px; min-width: 46px; }
}

/* ==================================================================
   PHASE 3.1c — zero-state clarity: LTR cups slider + visible 0..5 scale
   ================================================================== */

/* Force the cups slider to LTR so the minimum (0) sits on the familiar left
   and the max (5) on the right — removes the confusing RTL zero position.
   The label above stays RTL; only the track direction changes. */
.coffee-calc #cups { direction: ltr; }

/* small 0..5 tick scale under the cups slider so the zero state is obvious */
.coffee-calc .cups-scale {
  display: flex;
  justify-content: space-between;
  direction: ltr;
  margin-top: 6px;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(10, 18, 48, 0.45);
}

/* ==================================================================
   PHASE 3.3 — Explore World section + clipped destinations fix
   ================================================================== */

/* Explore the AladdinMiles World — prominent editorial band after the hero */
.explore-band {
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0, 118, 252, 0.12), transparent 62%),
    radial-gradient(ellipse 50% 50% at 50% 110%, rgba(201, 162, 39, 0.10), transparent 60%),
    linear-gradient(180deg, #0A1230 0%, #0d1640 55%, #0A1230 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 120px;
  padding-bottom: 120px;
}
.explore-band .eyebrow { color: var(--gold); }
.explore-band h2 { font-size: clamp(34px, 5.2vw, 64px); }
.explore-words {
  margin: 18px auto 8px;
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.explore-band .band-sub { color: rgba(255, 255, 255, 0.88); margin-inline: auto; }
.explore-band .btn-primary { margin-top: 30px; }

/* ---- FIX: destinations strip no longer cuts cards in half on mobile ---- */
/* Desktop keeps the row; mobile snaps one card with only a subtle ~10% peek. */
.dest-strip { scroll-snap-type: x mandatory; scroll-padding: 0 6vw; }
.dest-card { scroll-snap-align: center; }
@media (max-width: 820px) {
  .dest-strip { gap: 14px; padding-inline: 2px; }
  .dest-card {
    min-width: 88%;        /* one card fills the view; ~12% peek hints "scroll for more" */
    flex: 0 0 88%;
  }
}

/* ==================================================================
   PHASE 4 — section background videos (Discover World + Coffee Journey)
   ================================================================== */

/* shared atmospheric background video layer */
.band-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.band-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* strong scrim for text-heavy sections (Discover World) */
  background:
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(4, 8, 24, 0.55), rgba(4, 8, 24, 0.74) 100%),
    linear-gradient(to bottom, rgba(4, 8, 24, 0.45), transparent 30%, transparent 70%, rgba(4, 8, 24, 0.5));
}
.band-video-scrim.soft {
  /* lighter scrim so the journey video can breathe (minimal text) */
  background: linear-gradient(to bottom, rgba(4, 8, 24, 0.42), rgba(4, 8, 24, 0.12) 35%, rgba(4, 8, 24, 0.12) 65%, rgba(4, 8, 24, 0.45));
}

/* Discover World: video sits behind the existing centered copy */
.explore-band.has-bg-video { position: relative; overflow: hidden; }
.explore-band.has-bg-video > *:not(.band-video):not(.band-video-scrim) { position: relative; z-index: 2; }

/* Coffee Journey cinematic band */
.video-band {
  position: relative;
  overflow: hidden;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
}
.video-band-inner { position: relative; z-index: 2; padding: 0 6vw; max-width: 900px; }
.vb-line {
  font-size: clamp(24px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
  margin: 0;
}
html[lang="ar"] .vb-line { line-height: 1.5; }

@media (max-width: 820px) {
  .video-band { min-height: 56vh; }
  .vb-line { font-size: clamp(20px, 6.5vw, 30px); }
  /* a touch more scrim on mobile for guaranteed readability */
  .band-video-scrim { background:
    radial-gradient(ellipse 120% 80% at 50% 50%, rgba(4,8,24,0.6), rgba(4,8,24,0.8) 100%),
    linear-gradient(to bottom, rgba(4,8,24,0.5), transparent 26%, transparent 64%, rgba(4,8,24,0.55)); }
}

/* ==================================================================
   PHASE 4b — Merchant section background video (approved as-is)
   ================================================================== */
.merch-band.has-bg-video { position: relative; overflow: hidden; }
.merch-band.has-bg-video > *:not(.band-video):not(.band-video-scrim) { position: relative; z-index: 2; }
/* strong scrim — the merchant section is text-dense (compare cards + CTA) */
.band-video-scrim.merch-scrim {
  background:
    radial-gradient(ellipse 100% 90% at 50% 50%, rgba(10, 18, 48, 0.74), rgba(10, 18, 48, 0.86) 100%),
    linear-gradient(to bottom, rgba(10, 18, 48, 0.8), rgba(10, 18, 48, 0.6) 30%, rgba(10, 18, 48, 0.6) 70%, rgba(10, 18, 48, 0.82));
}
@media (max-width: 820px) {
  .band-video-scrim.merch-scrim { background: rgba(10, 18, 48, 0.84); }
}

/* ==================================================================
   PHASE 5 — image storytelling (editorial split rows)
   ================================================================== */

.stories-band { padding-bottom: 90px; }
.stories-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 96px);
  max-width: 1120px;
  margin: 48px auto 0;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
/* alternate the image side for editorial rhythm */
.story-row:nth-child(even) .story-media { order: 2; }
.story-row:nth-child(even) .story-copy  { order: 1; }

.story-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(10, 18, 48, 0.16);
  border: 1px solid rgba(10, 18, 48, 0.06);
}

.story-copy { text-align: start; }
.story-copy .eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.story-copy h3 {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 12px;
}
html[lang="ar"] .story-copy h3 { line-height: 1.4; }
.story-copy .story-sub {
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 700;
  color: var(--red-deep);
  margin: 0 0 12px;
}
.story-copy .story-p {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(10, 18, 48, 0.78);
  margin: 0 0 22px;
  max-width: 46ch;
}
.story-copy .btn-primary { display: inline-block; }

@media (max-width: 820px) {
  .story-row { grid-template-columns: 1fr; gap: 20px; }
  /* on mobile the image always sits on top, copy below (override the even-row reorder) */
  .story-row .story-media { order: 0 !important; }
  .story-row .story-copy  { order: 0 !important; text-align: center; }
  .story-copy .story-p { margin-inline: auto; }
  .story-media img { border-radius: 14px; }
}

/* ===================== PHASE 5.1 — pacing: redistributed visuals ===================== */
/* coffee-to-travel as a supporting visual inside the Coffee Story */
.coffee-visual {
  margin: 40px auto 0;
  max-width: 720px;
}
.coffee-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 18, 48, 0.16);
}
/* premium-lifestyle inside the navy ROYALTY band (static, no video) */
.royalty-visual {
  margin: 36px auto 0;
  max-width: 560px;
}
.royalty-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}
@media (max-width: 820px) {
  .coffee-visual, .royalty-visual { max-width: 100%; }
  .coffee-visual img, .royalty-visual img { border-radius: 14px; }
}
