/* ==========================================================================
   GLAZING LONDON — design system
   Palette: "Skyline Aqua" — bright daylight surfaces, deep teal-slate text,
   logo sapphire primary, glass-aqua accent, ember for emergency.
   NOTE: primitive names (--navy-*, --ink, --ice, --brass-*) are kept from the
   original dark theme so page-scoped styles keep working — their VALUES are
   now the light-theme equivalents of the same roles (bg depth, text, accent).
   Layers: 1) tokens  2) base  3) shared components  4) motion utilities
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  /* primitives — background depth scale (light) */
  --ink: #DFEEEB;          /* deepest section tint (was near-black) */
  --navy-950: #F2FAF9;     /* page background */
  --navy-900: #FFFFFF;     /* raised surface */
  --navy-850: #EBF6F4;     /* alt section tint */
  --navy-800: #E2F1EE;     /* hero gradient start */
  --navy-700: #D2E8E4;     /* strongest structural tint */

  /* blues (logo) — darker steps for text-contrast roles */
  --sapphire-700: #0F4AA8;
  --sapphire-600: #1565D8;   /* logo blue */
  --sapphire-500: #1565D8;
  --sapphire-400: #1256B8;   /* accent-strong: dark enough for text on light */
  --sapphire-300: #59A2F5;   /* decorative only */

  /* text scale (was ice/mist on dark) */
  --ice: #0E3038;          /* primary text — deep teal slate */
  --mist: #3E5C63;         /* soft text */
  --mist-dim: #5F7C85;     /* dim text */

  /* accent (was brass/gold) → glass aqua */
  --brass-300: #12A7AC;
  --brass-400: #0E8F94;
  --brass-500: #0B767A;

  --ember-500: #E8492A;      /* emergency accent */
  --ember-600: #C93A1E;
  --green-wa: #25d366;       /* WhatsApp */

  /* semantic */
  --bg: var(--navy-950);
  --bg-raised: var(--navy-900);
  --bg-deep: var(--ink);
  --text: var(--ice);
  --text-soft: var(--mist);
  --text-dim: var(--mist-dim);
  --accent: var(--sapphire-500);
  --accent-strong: var(--sapphire-400);
  --gold: var(--brass-400);
  --danger: var(--ember-500);
  --line: rgba(14, 48, 56, 0.14);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-bright: rgba(21, 101, 216, 0.06);

  /* type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --step--1: clamp(0.82rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.25vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.95rem, 1.6rem + 1.7vw, 2.8rem);
  --step-4: clamp(2.5rem, 1.9rem + 3vw, 4rem);
  --step-5: clamp(3.1rem, 2.2rem + 4.6vw, 5.4rem);

  /* geometry */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 9vw, 8rem);

  /* elevation — neutral, offset (no chromatic halos) */
  --shadow-1: 0 8px 26px rgba(14, 48, 56, 0.1);
  --shadow-2: 0 22px 60px rgba(14, 48, 56, 0.16);
  --glow-blue: 0 10px 30px rgba(21, 101, 216, 0.22);
  --glow-gold: 0 10px 30px rgba(14, 143, 148, 0.22);

  --nav-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* clip, not hidden: kills sideways scroll from decorative orbs/absolutes
   without creating a scroll container (position: sticky keeps working) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
main { overflow-x: clip; }
/* NOTE: body must NOT get overflow-x hidden. With html no longer `visible`,
   body's overflow would stop propagating to the viewport and body would become
   its own scroll container, which kills position: sticky (the scroll-stop
   panels) and freezes window.scrollY (progress bar, nav shrink). html's
   overflow-x: clip above already prevents sideways scrolling. */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--sapphire-600); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 600; }
h4 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1.1em; color: var(--text-soft); }
strong { color: var(--text); }
::selection { background: var(--sapphire-600); color: #fff; }
:focus-visible { outline: 2px solid var(--sapphire-600); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section-pad); position: relative; }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--gold); letter-spacing: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sapphire-600);
  margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: linear-gradient(90deg, var(--sapphire-600), transparent); }
.kicker--gold { color: var(--gold); }
.kicker--gold::before { background: linear-gradient(90deg, var(--gold), transparent); }
.kicker--danger { color: var(--danger); }
.kicker--danger::before { background: linear-gradient(90deg, var(--danger), transparent); }

/* texture overlays — a whisper of grain so large light surfaces don't band */
.noise::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 3; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.orb--blue { background: rgba(21, 101, 216, 0.14); }
.orb--gold { background: rgba(14, 143, 148, 0.12); }
.orb--ember { background: rgba(232, 73, 42, 0.1); }

/* 3. SHARED COMPONENTS ---------------------------------------------------- */

/* Scroll progress hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 120;
  background: linear-gradient(90deg, var(--sapphire-600), var(--brass-400));
}

/* ---- Navigation: floating white-glass capsule ---- */
.gl-nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1280px, calc(100% - 20px));
  z-index: 100;
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(14, 48, 56, 0.08);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.gl-nav.is-scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-1); border-color: rgba(14, 48, 56, 0.12); }
.gl-nav__brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; flex-shrink: 0; }
.gl-nav__brand img { height: 30px; width: auto; }
.gl-nav__links { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; min-width: 0; }
.gl-nav__links > li { position: relative; }
.gl-nav__links > li > a, .gl-nav__links > li > button {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 500;
  color: var(--text-soft); background: none; border: 0; cursor: pointer;
  padding: 0.5rem 0.55rem; border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.gl-nav__links > li > a:hover, .gl-nav__links > li > button:hover,
.gl-nav__links > li > a[aria-current="page"] { color: var(--sapphire-600); background: rgba(21, 101, 216, 0.08); }
.gl-nav__links .nav-emergency > a { color: var(--ember-500); font-weight: 700; }
.gl-nav__links .nav-emergency > a:hover { background: rgba(232, 73, 42, 0.1); color: var(--ember-600); }
.gl-nav__links .caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s; }
.gl-nav__links li.open .caret { transform: rotate(-135deg) translateY(-1px); }

.gl-drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; padding: 0.5rem;
  border-radius: var(--radius-m); border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0.22s;
  list-style: none; margin: 0;
}
.gl-nav__links li.open .gl-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gl-drop a { display: block; padding: 0.55rem 0.85rem; border-radius: var(--radius-s); font-size: 0.9rem; color: var(--text-soft); }
.gl-drop a:hover { background: rgba(21, 101, 216, 0.08); color: var(--sapphire-600); }
.gl-drop__label { padding: 0.6rem 0.85rem 0.25rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); }

.gl-nav__cta {
  flex-shrink: 0;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  padding: 0.55rem 0.9rem; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--sapphire-700), var(--sapphire-600));
  color: #fff; box-shadow: var(--glow-blue); white-space: nowrap;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.gl-nav__cta:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 34px rgba(21, 101, 216, 0.32); }

.gl-nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.gl-nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

@media (max-width: 1200px) {
  .gl-nav { border-radius: var(--radius-l); flex-wrap: wrap; padding: 0.5rem 0.75rem; }
  .gl-nav__brand { order: 0; }
  .gl-nav__burger { order: 1; }
  .gl-nav__links { order: 2; }
  .gl-nav__brand img { height: 26px; }
  .gl-nav__burger { display: block; }
  /* the quote CTA moves inside the opened menu as a full-width button */
  .gl-nav__cta { order: 3; display: none; }
  .gl-nav.menu-open .gl-nav__cta {
    display: block; width: 100%; text-align: center;
    margin: 0.5rem 0 0.3rem; padding: 0.85rem 1rem; font-size: 0.95rem;
  }
  .gl-nav__links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    max-height: calc(100dvh - 140px); overflow-y: auto; overflow-x: hidden; padding-top: 0.6rem;
  }
  .gl-nav__links > li > a, .gl-nav__links > li > button {
    width: 100%; justify-content: space-between; white-space: normal; text-align: left;
    font-size: 0.95rem; padding: 0.75rem 0.85rem;
  }
  .gl-drop a { white-space: normal; }
  .gl-nav.menu-open .gl-nav__links { display: flex; }
  .gl-nav.menu-open .gl-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gl-nav.menu-open .gl-nav__burger span:nth-child(2) { opacity: 0; }
  .gl-nav.menu-open .gl-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gl-drop { position: static; transform: none; opacity: 1; visibility: hidden; display: none; box-shadow: none; border: 0; background: rgba(21, 101, 216, 0.05); }
  .gl-nav__links li.open .gl-drop { display: block; visibility: visible; transform: none; }
}

/* ---- Floating emergency dock (always on screen) ---- */
.fab-dock {
  position: fixed; right: 16px; bottom: 16px; z-index: 110;
  display: flex; flex-direction: column; gap: 10px;
}
.fab {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.78rem 1.2rem; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  color: #fff; box-shadow: var(--shadow-2);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.fab:hover { transform: translateY(-3px) scale(1.03); color: #fff; }
.fab svg { width: 20px; height: 20px; flex-shrink: 0; }
.fab--call { background: linear-gradient(135deg, var(--ember-600), var(--ember-500)); }
.fab--call { animation: fabPulse 2.6s infinite; }
.fab--wa { background: linear-gradient(135deg, #128c4b, var(--green-wa)); }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(201, 58, 30, 0.35), 0 0 0 0 rgba(232, 73, 42, 0.4); }
  55% { box-shadow: 0 8px 26px rgba(201, 58, 30, 0.35), 0 0 0 16px rgba(232, 73, 42, 0); }
}
@media (max-width: 640px) {
  .fab-dock {
    right: 0; left: 0; bottom: 0; flex-direction: row; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  /* 3D pressable buttons: bevel highlight on top, solid ledge below, press sinks them */
  .fab {
    flex: 1; justify-content: center; border-radius: 16px; padding: 0.9rem 0.5rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }
  .fab--call {
    animation: none;
    box-shadow: 0 4px 0 #9c2a12, 0 10px 16px rgba(201, 58, 30, 0.28);
  }
  .fab--wa {
    box-shadow: 0 4px 0 #0d6b39, 0 10px 16px rgba(18, 140, 75, 0.28);
  }
  .fab:hover { transform: none; }
  .fab:active { transform: translateY(3px); }
  .fab--call:active { box-shadow: 0 1px 0 #9c2a12, 0 4px 8px rgba(201, 58, 30, 0.25); }
  .fab--wa:active { box-shadow: 0 1px 0 #0d6b39, 0 4px 8px rgba(18, 140, 75, 0.25); }
  body { padding-bottom: 76px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  padding: 0.95rem 1.9rem; border-radius: var(--radius-pill); border: 0; cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, background 0.25s;
}
.btn--primary { background: linear-gradient(135deg, var(--sapphire-700), var(--sapphire-600)); color: #fff; box-shadow: var(--glow-blue); }
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 38px rgba(21, 101, 216, 0.3); }
.btn--gold { background: linear-gradient(135deg, var(--brass-500), var(--brass-400)); color: #fff; box-shadow: var(--glow-gold); }
.btn--gold:hover { transform: translateY(-2px); color: #fff; }
.btn--danger { background: linear-gradient(135deg, var(--ember-600), var(--ember-500)); color: #fff; box-shadow: 0 10px 28px rgba(232, 73, 42, 0.28); }
.btn--danger:hover { transform: translateY(-2px); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, 0.7); color: var(--text); border: 1px solid rgba(14, 48, 56, 0.22); }
.btn--ghost:hover { border-color: var(--sapphire-600); color: var(--sapphire-600); transform: translateY(-2px); }

/* ---- Cards & panels ---- */
.glass-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
}
.card {
  background: var(--bg-raised);
  border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 4px 18px rgba(14, 48, 56, 0.06);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(21, 101, 216, 0.4); box-shadow: var(--shadow-2); }
.card h3 a, .card h4 a { color: var(--text); }
.card--tilt { transform-style: preserve-3d; will-change: transform; }
.card--tilt > * { transform: translateZ(24px); }

/* trust strip logos */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.trust-strip img { height: 46px; width: auto; opacity: 0.9; transition: opacity 0.25s, transform 0.25s; }
.trust-strip img:hover { opacity: 1; transform: scale(1.06); }
.trust-strip .badge-chip {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text-soft); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.5rem 1rem;
}

/* review card */
.review-card { display: flex; flex-direction: column; gap: 0.9rem; }
.review-card .stars { color: #E9A13B; letter-spacing: 0.18em; font-size: 1rem; }
.review-card blockquote { margin: 0; font-size: var(--step-0); color: var(--text-soft); font-style: normal; }
.review-card cite { font-style: normal; font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 0.9rem; }
.review-card .src { color: var(--text-dim); font-size: 0.78rem; }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--bg-raised); margin-bottom: 0.8rem; overflow: hidden;
  box-shadow: 0 3px 14px rgba(14, 48, 56, 0.05);
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.3rem; font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: var(--step-0);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--sapphire-600); transition: transform 0.3s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--text-soft); }

/* marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stat numbers */
.stat { font-family: var(--font-display); }
.stat__num { font-size: var(--step-4); font-weight: 700; color: var(--sapphire-600); line-height: 1; }
.stat__label { color: var(--text-dim); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.4rem; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; font-size: 0.82rem; color: var(--text-dim); list-style: none; padding: 0; margin: 0 0 1.2rem; }
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--sapphire-600); }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; opacity: 0.5; }

/* hero photo primitives (used by page-scoped hero layouts) */
.hero-media { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(21, 101, 216, 0.08), transparent 50%); pointer-events: none; }
.img-frame { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Footer: layered light mega-footer ---- */
.gl-footer { position: relative; background: var(--bg-deep); border-top: 1px solid var(--line); margin-top: var(--section-pad); overflow: hidden; }
.gl-footer__cta {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0; border-bottom: 1px solid var(--line);
}
.gl-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(2.5rem, 5vw, 4rem) 0; }
@media (max-width: 900px) { .gl-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gl-footer__grid { grid-template-columns: 1fr; } }
.gl-footer h4 { font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.1rem; }
.gl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.gl-footer ul a { color: var(--text-soft); font-size: 0.92rem; }
.gl-footer ul a:hover { color: var(--sapphire-600); }
.gl-footer__accred { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; padding: 1.6rem 0; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.gl-footer__accred img { height: 52px; width: auto; }
.gl-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.4rem 0 2rem; color: var(--text-dim); font-size: 0.8rem; position: relative; z-index: 1; }

/* 4. MOTION -------------------------------------------------------------- */
/* reveal styles only apply once JS confirms it's running (html.js) —
   without JS everything stays visible */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="left"].is-in, .js [data-reveal="right"].is-in { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.92); }
.js [data-reveal="scale"].is-in { transform: scale(1); }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }

.float-slow { animation: floatSlow 7s ease-in-out infinite; }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* skip link */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--sapphire-600); color: #fff; padding: 0.7rem 1.2rem; border-radius: var(--radius-s); }
.skip-link:focus { left: 8px; }
