/* ============================================================
   AIReadyEdu — dark futuristic design system
   ============================================================ */

:root {
  --bg: #050807;
  --bg-2: #0a0f0d;
  --bg-3: #0e1512;
  --ink: #eaf2ec;
  --ink-dim: #8fa39a;
  --accent: #4ade80;
  --accent-2: #22c55e;
  --line: rgba(234, 242, 236, 0.08);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1280px;
  --pad: clamp(20px, 4vw, 48px);
}

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

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* subtle grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #03130a; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(90px, 12vw, 170px); position: relative; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(18px, 2.5vw, 28px);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: clamp(48px, 6vw, 90px);
}
.section__title em { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  will-change: transform;
  white-space: nowrap;
}
.btn span { position: relative; z-index: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03130a;
  box-shadow: 0 0 0 rgba(74, 222, 128, 0);
}
.btn--primary:hover { box-shadow: 0 8px 40px rgba(74, 222, 128, 0.35); }

.btn--ghost {
  border-color: rgba(234, 242, 236, 0.2);
  color: var(--ink);
  background: rgba(234, 242, 236, 0.02);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.preloader__logo {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.preloader__logo em { color: var(--accent); }
.preloader__count {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: 0.2em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 8, 7, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav__logo em { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color 0.3s ease;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 11px 24px; font-size: 14px; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* mobile overlay menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 8, 7, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.menu.is-open { pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 8px; }
.menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.menu__links a span {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}
.menu__footer { margin-top: 48px; }
.menu__footer a { color: var(--ink-dim); font-size: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__webgl {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__webgl canvas { width: 100%; height: 100%; }
.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 35%, rgba(74, 222, 128, 0.07), transparent 60%),
    linear-gradient(to bottom, rgba(5, 8, 7, 0.25) 0%, rgba(5, 8, 7, 0) 40%, var(--bg) 96%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.9rem, 9vw, 7.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}
.hero__title em {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(74, 222, 128, 0.45);
}
.hero__sub {
  max-width: 560px;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scrollhint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero__scrollline {
  width: 1px;
  height: 48px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero__scrollline::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrolldrop 2s ease-in-out infinite;
}
@keyframes scrolldrop {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* line-mask reveal (set up by JS; CSS keeps lines hidden pre-anim) */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(115%); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  white-space: nowrap;
}
.marquee__group span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.marquee__group i { color: var(--accent); font-style: normal; font-size: 0.8em; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   AUDIENCES
   ============================================================ */
.audiences { background: var(--bg); }
.audiences__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.aud-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 44px);
  background: linear-gradient(160deg, rgba(234, 242, 236, 0.03), rgba(234, 242, 236, 0.005));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease, box-shadow 0.45s ease;
  overflow: hidden;
}
.aud-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.aud-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.aud-card:hover::before { opacity: 1; }
.aud-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 56px;
}
.aud-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 22px;
}
.aud-card ul { display: flex; flex-direction: column; gap: 13px; }
.aud-card li {
  color: var(--ink-dim);
  font-size: 15px;
  padding-left: 26px;
  position: relative;
}
.aud-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   PRODUCTS — pinned horizontal scroll (desktop)
   ============================================================ */
.products {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.products__track { display: flex; }
.product {
  flex: 0 0 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
.product__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: 100%;
}
.product__index {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.product__name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.product__name em { color: var(--accent); }
.product__tag {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--ink-dim);
  margin-bottom: 32px;
}
.product__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.product__features li {
  color: var(--ink);
  font-size: 16px;
  padding-left: 30px;
  position: relative;
}
.product__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 1px;
  background: var(--accent);
}

/* --- product visuals --- */
.product__visual { display: flex; justify-content: center; }
.visual {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* faculty: orbiting rings around a core */
.visual--faculty .visual__core {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(74, 222, 128, 0.9), rgba(34, 197, 94, 0.5));
  box-shadow: 0 0 80px rgba(74, 222, 128, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #03130a;
}
.visual__orbit { position: absolute; inset: 0; }
.visual__orbit i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 50%;
  animation: orbit 14s linear infinite;
}
.visual__orbit i:nth-child(2) { inset: 13%; animation-duration: 10s; animation-direction: reverse; }
.visual__orbit i:nth-child(3) { inset: 27%; animation-duration: 7s; }
.visual__orbit i::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* careers: chat bubbles */
.visual--careers {
  flex-direction: column;
  gap: 18px;
  aspect-ratio: auto;
}
.chat {
  font-size: 14.5px;
  line-height: 1.5;
  padding: 14px 20px;
  border-radius: 18px;
  max-width: 86%;
  border: 1px solid var(--line);
}
.chat--in {
  align-self: flex-start;
  background: rgba(234, 242, 236, 0.05);
  border-bottom-left-radius: 4px;
}
.chat--out {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.18), rgba(34, 197, 94, 0.1));
  border-color: rgba(74, 222, 128, 0.3);
  border-bottom-right-radius: 4px;
}

/* campus: scanner grid */
.visual--campus { aspect-ratio: auto; }
.scanner {
  position: relative;
  width: min(360px, 78vw);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background: rgba(234, 242, 236, 0.02);
  overflow: hidden;
}
.scanner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.scanner__grid i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.12);
}
.scanner__grid i:nth-child(3n) { background: rgba(74, 222, 128, 0.22); }
.scanner__grid i:nth-child(5n) { background: rgba(74, 222, 128, 0.4); }
.scanner__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.6);
  animation: scan 3.2s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 6%; }
  50% { top: 92%; }
}
.scanner__score {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent);
}
.scanner__score span { font-size: 1.2rem; color: var(--ink-dim); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--bg); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.how__col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.how__col ol { display: flex; flex-direction: column; gap: 22px; counter-reset: step; }
.how__col li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.5;
}
.how__col li span {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(110px, 15vw, 200px);
}
.cta__glow {
  position: absolute;
  left: 50%;
  bottom: -40%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.14), transparent 65%);
  pointer-events: none;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.cta__title em { color: var(--accent); text-shadow: 0 0 60px rgba(74, 222, 128, 0.4); }
.cta__sub {
  color: var(--ink-dim);
  max-width: 560px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

/* ---------- enquiry form ---------- */
.enquiry {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.enquiry__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: rgba(234, 242, 236, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(143, 163, 154, 0.5); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(74, 222, 128, 0.04);
}
.field input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 128, 128, 0.5);
}
/* honeypot — visually hidden, off-screen */
.enquiry__hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.enquiry__submit { align-self: flex-start; margin-top: 4px; }
.enquiry__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.enquiry__status {
  font-size: 14px;
  min-height: 1.2em;
  margin-top: 2px;
}
.enquiry__status.is-success { color: var(--accent); }
.enquiry__status.is-error { color: #ff8d8d; }
.enquiry__status.is-pending { color: var(--ink-dim); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 48px;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.footer__logo em { color: var(--accent); }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a {
  font-size: 13.5px;
  color: var(--ink-dim);
  transition: color 0.3s ease;
}
.footer__links a:hover { color: var(--accent); }
.footer__fine { font-size: 12.5px; color: rgba(143, 163, 154, 0.6); width: 100%; }

/* ============================================================
   CURSOR (desktop pointer devices only)
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9500;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.cursor.is-hover { width: 44px; height: 44px; }
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ============================================================
   REVEAL DEFAULTS (JS toggles)
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(40px); }
.no-js [data-reveal], .reduced-motion [data-reveal] { opacity: 1; transform: none; }
.reduced-motion .reveal-line > span { transform: none; }
.reduced-motion .marquee__track,
.reduced-motion .visual__orbit i,
.reduced-motion .scanner__line,
.reduced-motion .hero__scrollline::after { animation: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .product { min-height: auto; padding-block: clamp(70px, 10vw, 110px); flex: 1 1 auto; }
  .products__track { flex-direction: column; }
  .product__inner { grid-template-columns: 1fr; gap: 48px; }
  .product__visual { order: -1; }
}

/* tablet: two-up grids read better than a single sparse column */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

@media (min-width: 601px) and (max-width: 860px) {
  .audiences__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .hero__ctas .btn { width: 100%; }
  .hero__scrollhint { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* phones: single column + full-width CTAs to match the hero */
@media (max-width: 600px) {
  .audiences__grid { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr; }
  .enquiry__row { grid-template-columns: 1fr; }
  .enquiry__submit { align-self: stretch; width: 100%; }
  .aud-card__num { margin-bottom: 32px; }
}

/* small phones: tighten oversized type and spacing */
@media (max-width: 400px) {
  .nav__logo, .footer__logo { font-size: 1.15rem; }
  .product__features li, .aud-card li { font-size: 14.5px; }
  .menu__footer { margin-top: 32px; }
}
