/* =========================================================
   Intelligent Maqra'ah, landing page styles
   Brand colours from the brand guidelines
   ========================================================= */
:root {
  --teal: #0F6B70;        /* Royal Teal, primary */
  --teal-light: #1A8C8C;  /* gradient highlight */
  --purple: #4A1F6E;      /* Purple, primary */
  --purple-deep: #351550; /* shadows, dark backgrounds */
  --gold: #C6A15B;        /* arch outlines, dividers, patterns */
  --off-white: #FAF8F4;   /* page background */
  --ink: #1E1A24;         /* body text */
  --muted: #5E5868;       /* secondary text */
  --line: #E7E0D2;        /* hairlines */
  --surface: #FFFFFF;     /* alternate section background */
  --heading: var(--purple); /* headings and purple text */
  --accent: var(--teal);  /* teal text, links, prices */

  --font: "DM Sans", system-ui, sans-serif;
  --arabic: "Amiri", "Times New Roman", serif;

  --header-h: 128px;      /* used so section titles don't hide under the sticky header */
  --radius: 14px;
  --max: 1120px;

  /* Star-lattice pattern (gold lines), used in the hero and gallery */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C6A15B' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Cpath d='M40 14.5V0M40 65.5V80M14.5 40H0M65.5 40H80M22 22L0 0M58 22L80 0M22 58L0 80M58 58L80 80'/%3E%3C/g%3E%3C/svg%3E");
}

/* Dark mode: same brand, night colours. Set by the sun/moon button (data-theme on <html>) */
[data-theme="dark"] {
  --off-white: #2C2634;   /* page background: muted plum */
  --surface: #352E3F;     /* alternate sections */
  --ink: #EEE9F3;
  --muted: #B3AABF;
  --line: #4D4458;
  --heading: #D9C4F2;     /* light lilac so purple headings stay readable */
  --accent: #5CC4C0;      /* brighter teal for text on dark */
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;          /* 17px: comfortable for older readers */
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); color: var(--heading); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0; }

a { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

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

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-light); }

.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; }

.btn-gold { background: var(--gold); color: var(--purple-deep); }
.btn-gold:hover { background: #d4b373; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------------- Sticky header ---------------- */
.site-header {
  position: sticky;      /* the "frozen row" */
  top: 0;
  z-index: 50;
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
}

.header-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img { height: 48px; width: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 2px;
}
.lang-toggle button {
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 44px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--purple);
  color: #fff;
}

/* Light / dark switch (sun and moon button) */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--gold); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Logo swap: purple-q logo on light, white logo on dark */
.brand .logo-on-dark { display: none; }
[data-theme="dark"] .brand .logo-on-light { display: none; }
[data-theme="dark"] .brand .logo-on-dark { display: block; }

/* Nav row: the in-page links */
.site-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.site-nav > a {
  position: relative;
  padding: 10px 16px 14px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.site-nav > a:hover::after,
.site-nav > a.is-current::after { transform: scaleX(1); }
.site-nav > a.is-current { color: var(--heading); }

.nav-mobile-actions { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--purple-deep);
}

.hero-slides,
.hero-shade { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  background: var(--img) center / cover no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.is-active { opacity: 1; }

.slide-pattern {
  background-color: var(--teal);
  background-image: var(--lattice);
  background-size: 80px 80px;
}

.hero-shade {
  background: linear-gradient(100deg, rgba(53, 21, 80, 0.95) 0%, rgba(53, 21, 80, 0.86) 50%, rgba(53, 21, 80, 0.7) 100%);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

/* The big Arabic word: the one memorable element */
.hero-arabic {
  justify-self: end;
  font-family: var(--arabic);
  font-weight: 700;
  font-size: clamp(6rem, 13vw, 12rem);
  line-height: 1.1;
  color: var(--gold);
  pointer-events: none;
  text-shadow: 0 2px 30px rgba(53, 21, 80, 0.5);
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
@media (min-width: 861px) {
  .hero-tagline span { white-space: nowrap; }
}
.hero-tagline span:nth-child(2) { color: #d9eeec; }
.hero-tagline span:nth-child(3) { color: var(--gold); }

.hero-sub {
  margin-top: 24px;
  max-width: 44ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.hero-dots button::before {
  content: "";
  position: absolute;
  inset: 10px 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}
.hero-dots button.is-active::before { background: var(--gold); }

/* ---------------- Soft launch strip ---------------- */
.launch {
  background: var(--gold);
  color: var(--purple-deep);
  text-align: center;
  padding: 14px 24px;
  font-size: 1rem;
}
.launch strong { margin-right: 6px; }

/* ---------------- Sections ---------------- */
.section {
  padding: 88px 0;
  scroll-margin-top: var(--header-h); /* stops headings hiding under the frozen header */
}
.section-intro { margin-top: 10px; color: var(--muted); max-width: 60ch; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about .lead {
  margin-top: 20px;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 34ch;
}
.about-grid > div > p:not(.lead) {
  margin-top: 16px;
  color: var(--muted);
  max-width: 52ch;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--gold);
}
.features li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.features h3 { color: var(--accent); }
.features p { margin-top: 4px; color: var(--muted); }

/* Purpose */
.purpose { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.mv {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.mv h3 { color: var(--accent); }
.mv p { margin-top: 8px; font-size: 1.15rem; max-width: 40ch; }

.values-title { margin-top: 64px; color: var(--accent); }

.values {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Arch outline, from the brand guidelines */
.arch {
  border: 2px solid var(--gold);
  border-radius: 999px 999px 18px 18px;
  padding: 56px 28px 32px;
  text-align: center;
  background: var(--off-white);
}
.arch-arabic {
  display: block;
  font-family: var(--arabic);
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--gold);
}
.arch h4 { margin-top: 10px; font-size: 1.3rem; color: var(--heading); }
.arch p { margin-top: 8px; color: var(--muted); }

/* Services: tab buttons, one panel per service */
.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.svc-tabs button {
  font: inherit;
  font-weight: 600;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.svc-tabs button:hover { border-color: var(--gold); }
.svc-tabs button[aria-selected="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.svc-panel {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 2px solid var(--gold);
}
.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}
.svc-head h3 { font-size: 1.6rem; color: var(--heading); }
.svc-arabic { font-family: var(--arabic); font-weight: 400; color: var(--accent); margin-left: 6px; white-space: nowrap; }
.svc-status {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--line);
  color: var(--muted);
}
.svc-status.is-open { background: var(--accent); color: var(--off-white); }
.svc-desc { margin-top: 10px; max-width: 62ch; color: var(--muted); }
.svc-note {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: var(--ink);
}

/* The 4 Quran Check-In packages, divided by thin lines */
.packages {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.package { padding: 22px 22px 24px; }
.package + .package { border-left: 1px solid var(--line); }
.package h4 { font-size: 1.3rem; color: var(--heading); }
.package-arabic { font-family: var(--arabic); font-weight: 400; color: var(--accent); margin-left: 4px; }
.package-sessions { margin-top: 6px; font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.package-per { color: var(--muted); font-size: 0.95rem; }
.package-price { margin-top: 14px; font-size: 1.35rem; font-weight: 700; color: var(--ink); }

/* Gallery: carousel with side previews (style C, rounded corners) */
.gallery { background: var(--surface); border-top: 1px solid var(--line); }

.g-carousel {
  position: relative;
  margin-top: 32px;
  outline-offset: 6px;
}
.g-track {
  position: relative;
  aspect-ratio: 16 / 6;          /* height of the stage */
  overflow: hidden;
  touch-action: pan-y;           /* lets us read sideways swipes */
}
.g-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--off-white);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.6);
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.g-slide.is-current { opacity: 1; pointer-events: auto; transform: translateX(-50%); z-index: 2; }
.g-slide.is-prev,
.g-slide.is-next { opacity: 0.45; pointer-events: auto; cursor: pointer; z-index: 1; }
.g-slide.is-prev { transform: translateX(-50%) translateX(-86%) scale(0.6); }
.g-slide.is-next { transform: translateX(-50%) translateX(86%) scale(0.6); }
.g-slide.is-prev:hover,
.g-slide.is-next:hover { opacity: 0.7; }

/* Small gold bar: the brand touch */
.g-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 56px;
  height: 4px;
  background: var(--gold);
  z-index: 1;
}

.g-slide img,
.g-empty { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-empty {
  background-color: var(--off-white);
  background-image: var(--lattice);
  background-size: 60px 60px;
  opacity: 0.7;
}

/* Title + caption sit on a dark fade at the bottom of the photo */
.g-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 24px 18px;
  background: linear-gradient(transparent, rgba(53, 21, 80, 0.92));
  color: #fff;
}
.g-slide figcaption strong { display: block; font-size: 1.15rem; }
.g-slide figcaption span { font-size: 0.92rem; opacity: 0.88; }
.g-placeholder figcaption { background: none; color: var(--muted); text-align: center; padding-bottom: 24px; }

/* Arrows and enlarge button */
.g-arrow,
.g-zoom,
.lightbox-close {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--off-white);
  color: var(--heading);
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(30, 26, 36, 0.12);
}
.g-arrow svg,
.g-zoom svg,
.lightbox-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.g-arrow { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); }
.g-prev { left: calc(20% - 24px); }    /* sits on the left edge of the main photo */
.g-next { right: calc(20% - 24px); }
.g-arrow:hover,
.g-zoom:hover,
.lightbox-close:hover { border-color: var(--gold); }
.g-zoom { top: 14px; right: calc(20% + 14px); width: 40px; height: 40px; }
.g-zoom svg { width: 18px; height: 18px; }
.g-carousel.is-placeholder .g-zoom { display: none; }

.g-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.g-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.g-dots button[aria-current="true"] { width: 26px; background: var(--gold); }

/* Lightbox: one photo, big, on a dark overlay */
.lightbox {
  width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(22, 17, 29, 0.88); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; }
.lightbox-caption { margin-top: 12px; color: #fff; text-align: center; }
.lightbox-close { top: -18px; right: -18px; width: 44px; height: 44px; }

/* Support: FAQ on the left, feedback card on the right */
.support { border-top: 1px solid var(--line); }
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.faq { margin-top: 28px; border-top: 2px solid var(--gold); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  padding: 18px 44px 18px 0;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {             /* the + that turns into a minus */
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 44px 20px 0; color: var(--muted); }

.support-card {
  background: var(--teal);
  color: #fff;
  border-radius: 18px;
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.support-card h3 { font-size: 1.35rem; }
.support-card p { margin: 10px 0 22px; color: rgba(255, 255, 255, 0.9); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 40px;
}
.footer-logo { height: 52px; width: auto; }
.footer-tag { margin-top: 16px; max-width: 30ch; }
.footer-heading { font-size: 1rem; color: var(--gold); }
.contact,
.legal { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration-color: rgba(198, 161, 91, 0.6); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--gold); }
.contact-kind { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; margin-left: 4px; }
.copyright {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   Phones and small tablets
   ========================================================= */
@media (max-width: 860px) {
  :root { --header-h: 80px; }

  .hide-mobile { display: none; }
  .menu-toggle { display: flex; }
  .brand img { height: 40px; }

  /* The green link row folds into a dropdown on phones */
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .site-nav > a::after { display: none; }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 16px; }
  .nav-mobile-actions .btn { min-height: 52px; font-size: 1.05rem; }

  .hero { min-height: 560px; }
  .hero-inner { padding: 56px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-arabic { order: -1; justify-self: start; font-size: 4.5rem; margin-bottom: 8px; }

  .section { padding: 64px 0; }
  .about-grid,
  .mv { grid-template-columns: 1fr; gap: 32px; }
  .values { grid-template-columns: 1fr; }
  .arch { padding: 48px 24px 28px; }

  /* Service buttons scroll sideways on phones instead of wrapping into a pile */
  .svc-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -24px; padding: 2px 24px 6px; scrollbar-width: none; }
  .svc-tabs button { flex: 0 0 auto; }
  .svc-arabic { display: block; margin: 4px 0 0; text-align: left; }
  .packages { grid-template-columns: 1fr 1fr; }
  .package:nth-child(3) { border-left: 0; }
  .package:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .package { padding: 18px 14px 20px; }

  /* Gallery on phones: one big photo, no side previews */
  .g-track { aspect-ratio: 4 / 3; }
  .g-slide { width: 100%; aspect-ratio: 4 / 3; }
  .g-slide.is-prev,
  .g-slide.is-next { opacity: 0; pointer-events: none; }
  .g-prev { left: 8px; }
  .g-next { right: 8px; }
  .g-arrow { width: 42px; height: 42px; }
  .g-zoom { right: 12px; top: 12px; }
  .g-slide figcaption { padding: 40px 16px 14px; }
  .lightbox-close { top: -54px; right: 0; }

  .support-grid { grid-template-columns: 1fr; gap: 36px; }
  .support-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Respect people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; }
}
