/* ============================================================================
   Machine Learning for High Energy Physics — direct-response design system.
   Deep-navy ink + electric-blue accent + amber gold. Inter only.
   Every template / JS / e2e class hook is preserved and restyled here.
   ============================================================================ */
:root {
  --ink: #0d1626;
  --ink-soft: #26374c;
  --muted: #5b6b7d;
  --paper: #f2f6fc;
  --paper-2: #e7eef8;
  --card: #ffffff;
  --line: #d6e1ee;
  --line-2: #e8eef6;
  --accent: #1f6feb;         /* electric blue */
  --accent-2: #3b82f6;       /* lighter blue for gradients */
  --accent-deep: #0a49b8;    /* deep blue */
  --accent-soft: #e7f0fd;    /* blue tint */
  --gold: #e8a838;           /* detector-energy amber */
  --gold-soft: #fbf1dc;
  --angel: #1f9d63;
  --angel-soft: #e7f6ee;
  --devil: #c0392b;
  --devil-soft: #fdecea;
  --ink-grad: linear-gradient(135deg, #0d1626 0%, #14304d 100%);
  --accent-grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  --shadow: 0 8px 24px rgba(13, 22, 38, 0.08);
  --shadow-lg: 0 22px 60px rgba(13, 22, 38, 0.18);
  --shadow-card: 0 4px 14px rgba(13, 22, 38, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 760px;
  --wide: 1120px;
  /* legacy aliases used by older templates */
  --bg: var(--card);
  --bg-tint: var(--paper-2);
  --bg-dark: var(--ink);
  --text: var(--ink);
  --text-muted: var(--muted);
  --accent-light: var(--accent-soft);
  --accent-dark: var(--accent-deep);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--paper);
  line-height: 1.65; font-size: 18px; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Inter", system-ui, sans-serif; line-height: 1.16; font-weight: 800; letter-spacing: -0.022em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.1em; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

/* ── Header / nav ──────────────────────────────────────────────────────── */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--wide); margin: 0 auto; padding: 14px 24px;
  position: sticky; top: 0; z-index: 60;
  background: rgba(242, 246, 252, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.site-nav__brand { display: flex; align-items: center; font-weight: 800; font-size: 1.1rem; color: var(--ink); flex-shrink: 0; }
.site-nav__brand img { height: 34px; width: auto; display: block; }
.site-nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.site-nav__links { display: flex; gap: 22px; list-style: none; align-items: center; }
.site-nav__links a { color: var(--muted); font-size: 0.93rem; font-weight: 600; }
.site-nav__links a:hover { color: var(--accent); text-decoration: none; }
.site-nav__links a[href="/login/"], .site-nav__links a[href="/free-module/"] { color: var(--accent-deep); }
@media (max-width: 768px) {
  .site-nav__toggle { display: block; }
  .site-nav__links { display: none; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0; background: var(--card); padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 100; }
  .site-nav__links.open { display: flex; align-items: flex-start; }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; padding: 44px 22px 60px; text-align: center; background: var(--card); font-size: 0.85rem; color: var(--muted); }
.site-footer a { color: var(--muted); font-weight: 600; }
.site-footer a:hover { color: var(--accent); }
.site-footer__disclaimer { max-width: 660px; margin: 0 auto 14px; color: var(--muted); font-size: 0.83rem; line-height: 1.55; }
.site-footer__legal { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--accent-grad); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.02rem; padding: 15px 30px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; box-shadow: 0 10px 26px rgba(31, 111, 235, 0.30);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31, 111, 235, 0.4); filter: saturate(1.08); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 1.15rem; padding: 19px 42px; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-deep); filter: none; }
.cta-note { font-size: 0.85rem; color: var(--muted); margin-top: 11px; }

/* ── Photo hero ────────────────────────────────────────────────────────── */
.photo-hero { position: relative; overflow: hidden; isolation: isolate; }
.photo-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-image: var(--hero-img); }
.photo-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(6, 13, 26, 0.94) 0%, rgba(8, 20, 40, 0.82) 42%, rgba(10, 30, 60, 0.5) 100%); }
.photo-hero .wrap-wide { padding-top: 78px; padding-bottom: 86px; }
.photo-hero .hero-inner { max-width: 660px; color: #fff; }
.photo-hero h1, .photo-hero h2 { color: #fff; }
.photo-hero .eyebrow { color: #8ec5ff; }
.photo-hero .lede { color: rgba(255, 255, 255, 0.92); font-size: 1.24rem; max-width: 580px; }
.photo-hero .sub { color: rgba(255, 255, 255, 0.78); max-width: 560px; }
.photo-hero .trust-row { color: rgba(255, 255, 255, 0.86); justify-content: flex-start; }
.photo-hero .cta-note { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 720px) {
  .photo-hero::after { background: linear-gradient(180deg, rgba(6, 13, 26, 0.86) 0%, rgba(8, 20, 40, 0.94) 100%); }
  .photo-hero .hero-inner { text-align: center; margin: 0 auto; }
  .photo-hero .trust-row { justify-content: center; }
}

/* ── Plain hero (legacy hero__ hooks kept) ─────────────────────────────── */
.hero { text-align: center; padding: 48px 0 12px; }
.hero__eyebrow, .eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.78rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 14px; display: block; }
.hero__headline { font-size: clamp(2.2rem, 5.4vw, 3.5rem); font-weight: 800; line-height: 1.14; margin-bottom: 0.5em; color: var(--ink); }
.hero__subhead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.hero__cta { display: inline-block; }
.hero p.lede, .lede { font-size: 1.22rem; color: var(--muted); max-width: 640px; margin: 0 auto 24px; }
.hero p.sub, .hero .sub { font-size: 1.02rem; color: var(--muted); max-width: 600px; margin: 0 auto 24px; }
.trust-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 28px 0 0; color: var(--muted); font-size: 0.86rem; font-weight: 600; align-items: center; }
.trust-row span, .trust-row__item { display: inline-flex; align-items: center; }
.trust-row span::before, .trust-row__item::before { content: "\2713"; color: var(--angel); font-weight: 800; margin-right: 7px; }

/* ── Bands & split-photo blocks ────────────────────────────────────────── */
.band { padding: 64px 0; }
.band--tint { background: var(--paper-2); }
.band--soft { background: var(--accent-soft); }
.band--dark { background: var(--ink-grad); color: #fff; }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark p, .band--dark .section-sub { color: rgba(255, 255, 255, 0.82); }
.band--dark a { color: #8ec5ff; }
.band > .wrap-wide > h2:first-child, .band > .wrap > h2:first-child { margin-top: 0; }
.band-head { text-align: center; max-width: 660px; margin: 0 auto 38px; }
.band-head h2 { margin-top: 0; }
.band-head .section-sub { margin: 10px auto 0; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 22px; font-size: 1.05rem; }

.photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.photo-split.reverse .ps-media { order: 2; }
.ps-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.ps-copy h2 { margin-top: 0; }
.ps-copy .eyebrow { margin-bottom: 10px; }
@media (max-width: 820px) {
  .photo-split { grid-template-columns: 1fr; gap: 26px; }
  .photo-split.reverse .ps-media { order: 0; }
  .ps-media img { max-height: 320px; }
}

/* ── Segment cards ─────────────────────────────────────────────────────── */
.seg-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.seg-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.seg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); text-decoration: none; }
.seg-card img, .seg-photo { width: 100%; height: 180px; object-fit: cover; display: block; }
.seg-body { padding: 22px 24px 26px; }
.seg-body h3 { margin: 0 0 8px; }
.seg-body p { color: var(--muted); font-size: 0.98rem; margin: 0 0 14px; }
.seg-cta { color: var(--accent-deep); font-weight: 700; font-size: 0.95rem; }
.seg-alt-box { text-align: center; margin-top: 34px; }
.seg-alt-text { color: var(--muted); margin-bottom: 12px; }

/* ── How-it-works ──────────────────────────────────────────────────────── */
.how-steps, .how-grid { display: grid; gap: 18px; }
.how-step { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; }
.how-step__number, .how-num { grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(31,111,235,.28); }
.how-step__title, .how-step h3 { font-weight: 700; margin: 0; align-self: center; }
.how-step p { margin: 0; color: var(--muted); font-size: 0.98rem; grid-column: 2; }

/* ── Science cards ─────────────────────────────────────────────────────── */
.sci-cards, .sci-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.sci-card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-card); }
.band--dark .sci-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); border-left-color: var(--gold); }
.sci-card blockquote, .sci-claim { font-size: 1.02rem; line-height: 1.6; margin: 0 0 12px; font-style: normal; }
.sci-card cite, .sci-src { font-size: 0.85rem; color: var(--muted); font-style: normal; display: block; }
.band--dark .sci-src { color: rgba(255,255,255,0.7); }

/* ── Callout / stats / references ──────────────────────────────────────── */
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 24px 28px; margin: 1.8em 0; box-shadow: var(--shadow); }
.callout h3 { margin-top: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 1.8em 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-card); }
.stat .num { font-size: 2.1rem; color: var(--accent-deep); font-weight: 800; }
.stat .lbl { font-size: 0.86rem; color: var(--muted); }
.refs, .refs-list { font-size: 0.85rem; color: var(--muted); list-style: decimal; padding-left: 1.5em; }
.refs li { margin-bottom: 0.7em; }
.refs-fold summary { cursor: pointer; font-weight: 700; color: var(--accent-deep); margin: 1em 0; }

/* ── Prose ─────────────────────────────────────────────────────────────── */
.prose { padding-top: 12px; line-height: 1.75; }
.prose h2 { margin: 1.6em 0 0.5em; }
.prose h3 { margin: 1.4em 0 0.4em; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.1em 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { border-left: 4px solid var(--accent); padding: 4px 18px; color: var(--ink-soft); margin: 1.2em 0; background: var(--paper-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ── Guarantee band ────────────────────────────────────────────────────── */
.guarantee-band { background: var(--gold-soft); text-align: center; }
.guarantee-band .wrap { padding: 0 22px; }

/* ── Lead-magnet opt-in ────────────────────────────────────────────────── */
.mag-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.mag-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 40%; background-image: var(--hero-img, none); }
.mag-hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(6,13,26,0.8) 0%, rgba(8,20,40,0.6) 45%, rgba(10,30,60,0.3) 100%); }
.mag-hero:not(.has-photo) { background: var(--ink-grad); }
.mag-hero-inner { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; padding: 60px 0 68px; }
.mag-hero-copy { color: #fff; }
.mag-hero-copy .hero__headline, .mag-h1 { color: #fff; text-align: left; }
.mag-hero-copy .hero__subhead, .mag-lede { color: rgba(255,255,255,0.9); margin: 0 0 18px; text-align: left; }
.mag-eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 700; color: #8ec5ff; margin-bottom: 12px; display: block; }
.mag-trust-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mag-trust-pills span { display: inline-block; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.92); font-size: 0.8rem; font-weight: 600; padding: 5px 14px; border-radius: 99px; backdrop-filter: blur(4px); }
.mag-gate { background: var(--card); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: 0 24px 64px rgba(0,0,0,0.22); text-align: center; color: var(--ink); }
.mag-gate-head { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.mag-gate-sub { font-size: 0.92rem; color: var(--muted); margin: 0 0 16px; }
.mag-gate input[type="email"], .mag-gate input[type="text"], .mag-gate input:not([type]) { width: 100%; padding: 14px 16px; font-size: 1.02rem; border: 2px solid var(--line); border-radius: 12px; margin: 6px 0; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .12s; }
.mag-gate input:focus { outline: none; border-color: var(--accent); }
.mag-gate-mid { max-width: 480px; margin: 0 auto; }
.mag-btn { font-size: 1.06rem; padding: 15px 28px; margin-top: 8px; }
.mag-micro { font-size: 0.78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.mag-done { text-align: center; }
.lock { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.gate-h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.4em; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--muted); line-height: 1.45; margin: 12px 0; cursor: pointer; text-align: left; }
.consent input { margin-top: 0.2rem; flex-shrink: 0; }
.form-msg { font-size: 0.88rem; min-height: 1.2em; margin-top: 8px; color: var(--accent-deep); }
.form-msg.err { color: var(--devil); }
.form-msg.ok { color: var(--angel); }
@media (max-width: 820px) {
  .mag-hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .mag-hero-copy .hero__headline, .mag-h1, .mag-hero-copy .hero__subhead, .mag-lede { text-align: center; }
  .mag-trust-pills { justify-content: center; }
}

/* ── Quiz funnel ───────────────────────────────────────────────────────── */
.quiz { max-width: 640px; margin: 30px auto; padding: 0 18px; }
.quiz-progress, .progress { height: 9px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.quiz-progress span, .progress > span { display: block; height: 100%; width: 0; background: var(--accent-grad); border-radius: 99px; transition: width .35s ease; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.q-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-lg); }
.quiz-option, .opt {
  display: block; width: 100%; padding: 15px 18px; margin-bottom: 10px; border: 2px solid var(--line);
  border-radius: 12px; background: #fff; cursor: pointer; text-align: left; font: inherit; font-size: 1rem;
  color: var(--ink); transition: border-color .12s, background .12s, transform .08s;
}
.quiz-option:hover, .opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz-option.selected, .opt.selected { border-color: var(--accent); background: var(--accent-soft); }

/* ── Program / sales page ──────────────────────────────────────────────── */
.program-hero { text-align: center; padding: 3rem 1rem; background: var(--paper-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.testimonial { border-left: 4px solid var(--accent); padding: 1rem 1.25rem; margin: 1.4rem 0; font-style: italic; color: var(--ink-soft); background: var(--paper-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.benefit-card { padding: 1.4rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); margin-bottom: 1rem; }
.module-card { display: flex; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; align-items: center; background: var(--card); box-shadow: var(--shadow-card); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.comparison-table th, .comparison-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; }
.comparison-table thead th { background: var(--accent-grad); color: #fff; }
.price-tag { font-size: 2.6rem; font-weight: 800; color: var(--accent-deep); }

/* ── Checkout ──────────────────────────────────────────────────────────── */
.checkout-summary { background: var(--paper-2); padding: 1.6rem; border-radius: var(--radius); margin-bottom: 1.5rem; border: 1px solid var(--line); }
.checkout-form label { display: block; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.9rem; }
.checkout-form input[type="text"], .checkout-form input[type="email"], .checkout-form input:not([type]), .checkout-form select { width: 100%; padding: 0.7rem 0.85rem; border: 2px solid var(--line); border-radius: var(--radius-sm); font-size: 0.98rem; margin-bottom: 0.9rem; font-family: inherit; }
.checkout-form input:focus, .checkout-form select:focus { outline: none; border-color: var(--accent); }
#paypal-buttons { margin-top: 1rem; }

/* ── Members ───────────────────────────────────────────────────────────── */
.members-sidebar { background: var(--paper-2); padding: 1.1rem; border-radius: var(--radius); border: 1px solid var(--line); }
.members-sidebar a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm); color: var(--ink); font-size: 0.92rem; }
.members-sidebar a:hover, .members-sidebar a.active { background: var(--accent-soft); color: var(--accent-deep); text-decoration: none; }
.members-content { padding: 1.5rem 0; }
.audio-player { background: var(--paper-2); padding: 1.1rem; border-radius: var(--radius); margin: 1rem 0; border: 1px solid var(--line); }
.audio-player audio { width: 100%; }

/* ── Blog ──────────────────────────────────────────────────────────────── */
.blog-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.blog-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); background: var(--card); color: var(--ink); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card > div { padding: 20px 22px; }
.blog-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.35rem; }
.blog-content { line-height: 1.75; font-size: 1.05rem; }
.blog-content h2 { margin: 1.9rem 0 0.75rem; }
.blog-content h3 { margin: 1.5rem 0 0.5rem; }
.blog-content p { margin-bottom: 1.1rem; }
.blog-content ul, .blog-content ol { margin: 0 0 1.1rem 1.3rem; }
.blog-content blockquote { border-left: 4px solid var(--accent); padding: 6px 18px; color: var(--ink-soft); margin: 1.2rem 0; background: var(--paper-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.blog-content img { border-radius: var(--radius); margin: 1.2rem 0; box-shadow: var(--shadow-card); }

/* ── GDPR consent banner ───────────────────────────────────────────────── */
.consent-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink-grad); color: #eef4fb; padding: 1.25rem 2rem; z-index: 9999; font-size: 0.9rem; box-shadow: 0 -8px 30px rgba(0,0,0,0.25); }
.consent-banner.visible { display: block; }
.consent-banner__inner { max-width: 900px; margin: 0 auto; }
.consent-toggles { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 0.75rem 0; align-items: center; }
.consent-toggles label { cursor: pointer; }
.consent-btn { background: var(--accent-grad); color: #fff; border: none; padding: 0.6rem 1.4rem; border-radius: var(--radius-sm); cursor: pointer; font-weight: 700; }
.consent-warn { display: none; color: #ffb4a8; font-size: 0.8rem; margin: 0.25rem 0 0 1.6rem; }
.consent-warn.show { display: block; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { scroll-behavior: auto; } }

/* ── Responsive grids ──────────────────────────────────────────────────── */
@media (min-width: 620px) {
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .sci-cards, .sci-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .seg-grid { grid-template-columns: repeat(3, 1fr); }
  .sci-cards, .sci-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .band { padding: 44px 0; }
  .photo-hero .wrap-wide { padding-top: 54px; padding-bottom: 58px; }
}
