/* ============================================================
   ب. لبن — B.LABAN, Reineh
   Light canvas (white, like the b-fresh reference), with the
   logo's navy used as a deliberate dark accent band — marquee,
   location, footer, mobile nav — not the whole page.
   ============================================================ */

:root {
  /* Palette — sampled directly from the new circular logo:
     navy fill #1E4890, white lettering, sky-blue water-drop accent #9FD5F1 */
  --bg: #FFFFFF;           /* page canvas — white */
  --bg-alt: #F4E8D2;        /* alternating light band (cream) */
  --navy: #1E4890;          /* logo navy — headings/text on the light canvas, and the dark accent bands */
  --navy-2: #2A5EAD;        /* secondary navy — lighter step, for softer UI text */
  --blue: #0670C7;          /* signal blue — primary CTA, matches the marquee/CTA gradient's mid stop */
  --blue-dark: #024C96;     /* hover / pressed — matches the gradient's darkest stop */
  --blue-soft: #DEF0FA;     /* pale tint of the logo's sky-blue water-drop accent */
  --surface: #FFFFFF;       /* card surface on the light canvas */
  --cream: #FBF3E3;         /* warm cream — text/icons on the dark accent bands */
  --cream-2: #F4E8D2;       /* price pills, light chip surfaces */
  --muted: rgba(30, 72, 144, 0.68);        /* secondary text on the light canvas */
  --muted-on-dark: rgba(251, 243, 227, 0.75); /* secondary text on the dark accent bands */
  --line: rgba(30, 72, 144, 0.14);         /* borders/dividers on the light canvas */
  --line-on-dark: rgba(251, 243, 227, 0.18); /* borders/dividers on the dark accent bands */
  --caramel: #A15A22;       /* accent — from the caramel sauce in photos, darkened for AA contrast as small text on white */
  --pistachio: #7C8C4C;     /* accent — from pistachio cream, used sparingly */
  --ink: #221C13;           /* warm near-black text */
  --white: #FFFFFF;
  --shadow: 0 18px 40px -18px rgba(30, 72, 144, 0.28);
  --shadow-dark: 0 20px 45px -16px rgba(0, 0, 0, 0.5);

  --font-display: 'Lalezar', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', 'Segoe UI', sans-serif;
  --font-giant: 'Marhey', var(--font-display); /* Legenda-style chunky rounded headline, hero only */

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- focus states ---------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- headings (on the light canvas) ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 400; /* Lalezar only ships one weight */
  line-height: 1.25;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--caramel);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--caramel);
  display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  min-height: 44px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px -12px rgba(33, 88, 201, 0.5);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.btn-disabled .btn-soon {
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0.85;
}

/* ============ HEADER (navy, matches the logo) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: none;
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-dark);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1rem;
  transition: padding 0.25s ease;
}
.site-header.scrolled .bar { padding: 0.55rem 1.5rem; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
}
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: var(--navy); }

/* centered logo badge — overlaps the header's bottom edge and drops into the hero below */
.brand-badge {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -38%);
  z-index: 5;
  display: block;
  line-height: 0;
}
.brand-badge img {
  display: block;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--navy);
  border: 5px solid var(--surface);
  box-shadow: var(--shadow);
}

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--cream);
  position: relative;
  padding: 0.3rem 0.1rem;
}
.main-nav a:hover { color: #9FD5F1; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.phone-btn {
  background: var(--cream);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}
.phone-btn:hover { background: #9FD5F1; }
.phone-btn .phone-ico { display: none; }
.lang-switch .lang-short { display: none; }
.lang-switch {
  border: 1.5px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cream);
}
.lang-switch:hover { border-color: #9FD5F1; color: #9FD5F1; }
.menu-quick-btn { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--cream);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span { margin: 5px 0; }

/* ============ HERO (full-bleed photo, Legenda-style) ============ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5rem 1.5rem 5rem;
  overflow: hidden;
  background-color: var(--navy);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 48, 0) 0px, rgba(10, 22, 48, 0) 110px, rgba(8, 18, 40, 0.2) 55%, rgba(4, 10, 24, 0.42) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}
.hero-giant {
  margin: 0;
  font-family: var(--font-giant);
  font-weight: 700;
  line-height: 1;
  color: var(--cream);
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
}
.hero-giant-sub {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-giant);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--cream);
  opacity: 0.94;
}

/* Hero subtext — plain text over the photo, no badge fill. */
.hero-pill {
  width: 60%;
  margin: 0 auto;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.5;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* ============ MARQUEE + CATEGORIES CTA — one continuous white block, logo-white ============ */
.menu-strip {
  background: var(--surface);
}
.marquee-band {
  background: var(--surface);
  color: var(--navy);
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  direction: ltr; /* decorative strip — force LTR flow so the loop animation works on RTL pages */
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1.4rem;
  padding-right: 1.4rem; /* trailing gap so the two groups tile seamlessly at -50% */
}
.marquee-track span { opacity: 0.9; }
.marquee-track .dot { color: var(--caramel); }
.marquee-track img {
  flex-shrink: 0;
  height: 195px;
  width: auto;
  max-width: none;
  vertical-align: middle;
  filter: drop-shadow(0 12px 18px rgba(30, 72, 144, 0.22));
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .marquee-track img { height: 132px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============ SECTION shell ============ */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 62ch;
  margin-bottom: 2.6rem;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: 0.8rem; font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about-grid img { border-radius: 20px; box-shadow: var(--shadow); }
.about-list {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.9rem;
}
.about-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-weight: 700;
  color: var(--navy);
}
.about-list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--caramel);
  margin-top: 0.6em;
}

/* ============ CATEGORY GRID ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.cat-card {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px -16px rgba(18,30,82,0.22);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card .thumb { height: 180px; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 1.1rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { font-size: 1.2rem; color: var(--navy); }
.cat-card .from { margin-top: auto; padding-top: 0.8rem; font-weight: 700; color: var(--blue); font-size: 0.95rem; }

/* ============ CATEGORIES CTA (white band — merges into .menu-strip above it) ============ */
.categories-cta {
  background: transparent;
  padding: 2.2rem 0;
}
.categories-cta .container { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.btn-cream {
  background: var(--blue);
  color: var(--cream);
  box-shadow: 0 14px 28px -14px rgba(30, 72, 144, 0.4);
}
.btn-cream:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ============ TRENDING GALLERY ============ */
.trend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.trend-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 22px -14px rgba(18,30,82,0.28);
}
.trend-card img { width: 100%; height: 100%; object-fit: cover; }
.trend-card .tag {
  position: absolute;
  inset-inline-start: 0.7rem;
  bottom: 0.7rem;
  background: rgba(18, 30, 82, 0.88);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.socials-row {
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
}
.social-pill:hover { border-color: var(--blue); color: var(--blue); }

/* ============ LOCATION (deliberate dark accent band) ============ */
.location {
  background: var(--navy);
}
.location .eyebrow { color: var(--cream); }
.location .eyebrow::before { background: var(--cream); }
.location h2 { color: var(--cream); }
.location-grid {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.location-grid .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.info-list { display: grid; gap: 1.4rem; margin: 1.8rem 0 2.2rem; }
.info-list .row { display: flex; gap: 1rem; align-items: flex-start; }
.info-list-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem 2.4rem;
}
.info-list-row .row { flex: 1 1 160px; text-align: start; }
.location .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.location .btn-outline { border-color: var(--cream); color: var(--cream); }
.location .btn-outline:hover { background: var(--cream); color: var(--navy); }
.info-list .icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(251, 243, 227, 0.12);
  border: 1.5px solid rgba(251, 243, 227, 0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
}
.info-list .label { font-size: 0.85rem; color: var(--muted-on-dark); margin-bottom: 0.15rem; }
.info-list .value { font-weight: 700; font-size: 1.08rem; color: var(--cream); }
.info-list a.value:hover { color: #9FD5F1; }

.map-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 26px -16px rgba(18, 30, 82, 0.3);
  padding: 2.2rem;
  text-align: center;
}
.map-card .pin {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
}
.map-card h3 { color: var(--navy); font-size: 1.4rem; }
.map-card p { color: var(--muted); margin: 0.6rem 0 1.4rem; }

/* ============ FOOTER (deliberate dark accent band) ============ */
.site-footer {
  background: var(--surface);
  color: var(--navy);
  padding: 4rem 0 1.6rem;
  text-align: center;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-icon:hover { background: var(--blue); transform: translateY(-2px); }

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.footer-nav a { font-weight: 700; font-size: 0.92rem; color: var(--navy-2); }
.footer-nav a:hover { color: var(--blue); }

.footer-wordmark {
  font-family: var(--font-giant);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1;
  color: var(--navy);
}

.footer-bottom {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============ MENU PAGE ============ */
.menu-hero {
  padding: 2.6rem 0 1rem;
  text-align: center;
}
.menu-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.menu-hero p { color: var(--muted); margin-top: 0.7rem; }

.menu-chips {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-chips::-webkit-scrollbar { display: none; }
.menu-chips .container { display: flex; gap: 0.6rem; }
.chip {
  flex: none;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-2);
  white-space: nowrap;
}
.chip:hover, .chip.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.menu-section {
  padding: 3.2rem 0;
  scroll-margin-top: 140px;
  border-bottom: 1px dashed var(--line);
}
.menu-section:last-of-type { border-bottom: none; }
.menu-section-head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.4rem;
  align-items: center;
  margin-bottom: 2rem;
}
.menu-section-head img { border-radius: 18px; height: 230px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.menu-section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.menu-section-head p { color: var(--muted); margin-top: 0.6rem; }

.item-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 2rem;
}
.item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dotted var(--line);
}
.item-row .name { font-weight: 700; color: var(--navy); }
.item-row .price {
  flex: none;
  font-weight: 700;
  color: var(--navy);
  background: var(--cream-2);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.92rem;
}

.menu-cta-bar {
  position: sticky;
  bottom: 0;
  z-index: 45;
  background: var(--navy);
  padding: 0.9rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============ responsive ============ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trend-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .about-img { order: -1; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  /* mobile header: hamburger + call icon pinned left, small menu+lang pills pinned right, logo centered alone */
  .header-actions { flex: 1; }
  .lang-switch { order: -1; margin-inline-end: auto; font-size: 0.75rem; padding: 0.3rem 0.65rem; }
  .lang-switch .lang-full { display: none; }
  .lang-switch .lang-short { display: inline; }
  .menu-quick-btn {
    order: -1;
    display: inline-flex;
    align-items: center;
    background: var(--cream);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .menu-quick-btn:hover { background: #9FD5F1; }
  .phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
  }
  .phone-btn .phone-num { display: none; }
  .phone-btn .phone-ico { display: block; }
  .hero { padding-top: 5.2rem; min-height: 500px; }
  .hero-pill { width: 78%; }
  .location-grid { grid-template-columns: 1fr; }
  .menu-section-head { grid-template-columns: 1fr; }
  .menu-section-head img { height: 160px; }
  .about-grid img { height: 220px; width: 100%; object-fit: cover; }
  .brand-badge img { width: 92px; height: 92px; border-width: 4px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 4.3rem; min-height: 420px; }
  .hero-pill { width: 88%; }
  .brand-badge img { width: 72px; height: 72px; border-width: 3px; }
  .menu-cta-bar {
    padding: 0.55rem 0.75rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  .menu-cta-bar .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
    min-height: 38px;
    white-space: nowrap;
  }
  .menu-cta-bar .btn-soon { display: none; }
}

@media (max-width: 620px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .trend-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .cat-card .thumb { height: 110px; }
  .cat-card .body { padding: 0.75rem 0.85rem 0.95rem; }
  .cat-card h3 { font-size: 0.95rem; }
  .cat-card .from { font-size: 0.82rem; padding-top: 0.45rem; }
  .item-grid { grid-template-columns: 1fr; }
  .section { padding: 3.4rem 0; }
  .about-grid img { height: 170px; }
  .menu-section-head img { height: 130px; }
}

@media (max-width: 420px) {
  /* stay at 2 compact columns instead of collapsing to one edge-to-edge image */
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .trend-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .cat-card .thumb { height: 92px; }
}

/* ---------- scroll-reveal (below-the-fold, JS/IntersectionObserver driven) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(.22,.61,.36,1), transform 0.85s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.reveal-fade.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- hero load-in (pure CSS, no JS dependency — always fires) ---------- */
@keyframes loadInRise {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loadInFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.load-in {
  opacity: 0;
  animation: loadInRise 0.9s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero .reveal-group > .load-in:nth-child(1) { animation-delay: .05s; }
.hero .reveal-group > .load-in:nth-child(2) { animation-delay: .2s; }
.hero .reveal-group > .load-in:nth-child(3) { animation-delay: .35s; }
.hero .reveal-group > .load-in:nth-child(4) { animation-delay: .5s; }

.load-in-fade {
  opacity: 0;
  animation: loadInFade 1s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .load-in, .load-in-fade { animation: none; opacity: 1; }
}

/* ---------- mobile nav drawer (deliberate dark accent, fixed regardless of page theme) ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 60;
  padding: 2rem 1.5rem;
  color: var(--cream);
}
.mobile-nav.open { display: flex; flex-direction: column; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-nav .close { background: none; border: none; color: var(--cream); font-size: 1.8rem; width: 44px; height: 44px; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.6rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-on-dark); }
.mobile-nav .cta-row { margin-top: 2rem; display: grid; gap: 1rem; }
