/* ─────────────────────────────────────────────────────────────────
   CLG DESIGN SYSTEM v1.0
   Source of truth for contactlabs.co.uk
   Extends v3 homepage brand for twelve-lab architecture.
   ─────────────────────────────────────────────────────────────── */

/* ── Base typography ──────────────────────────────────────────── */
body {
  font-family: 'Nunito', sans-serif;
  color: #0F1A4D;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .display {
  font-family: 'Poppins', sans-serif;
}
::selection { background: #E81C8E; color: white; }

/* ── Colour tokens ────────────────────────────────────────────── */
:root {
  --navy: #0F1A4D;
  --navy-deep: #0A1238;
  --magenta: #E81C8E;
  --jade: #1FCF8E;
  --jade-deep: #0F8F60;
  --purple: #7E2A9A;
  --paper: #FFFFFF;
  --paper-warm: #FAFAFD;
  --paper-cool: #F4F4F8;
  --ink-soft: #5C6080;
  --ink-faded: #9598B0;
}

/* ── Accent line (eyebrow prefix) ─────────────────────────────── */
.accent-line::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--magenta);
  margin-right: 16px;
  vertical-align: middle;
}

/* ── Hero gradient (used on lab parents + core pages) ─────────── */
.hero-gradient {
  background:
    radial-gradient(ellipse at top right, rgba(232, 28, 142, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(31, 207, 142, 0.08) 0%, transparent 50%);
}

/* ── Focus tag (small eyebrow variant) ────────────────────────── */
.focus-tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── Logo dot matrix ──────────────────────────────────────────── */
.logo-mark {
  display: grid;
  grid-template-columns: repeat(11, 6px);
  grid-template-rows: repeat(6, 6px);
  gap: 4px;
}
.logo-mark span { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.logo-mark span.m { background: var(--magenta); }
.logo-mark span.j { background: var(--jade); }
.logo-mark span.p { background: var(--purple); }
.logo-mark span.o { background: transparent; border: 1.5px solid var(--magenta); }

/* ── Twelve-lab accent tokens ─────────────────────────────────── */
/* Each lab carries its own accent for card top-borders and hover states. */
.l-search    { --c: #E81C8E; }  /* Marketing Science */
.l-data      { --c: #0F8F60; }
.l-pr        { --c: #0A1238; }
.l-insight   { --c: #7E2A9A; }
.l-sales     { --c: #E81C8E; }  /* Contact Craft */
.l-service   { --c: #1FCF8E; }
.l-lifecycle { --c: #0F8F60; }
.l-content   { --c: #7E2A9A; }
.l-decision  { --c: #0F1A4D; }  /* Strategic Foundations */
.l-standards { --c: #0F8F60; }
.l-ai        { --c: #E81C8E; }
.l-creative  { --c: #7E2A9A; }

/* ── Three-theme headers ──────────────────────────────────────── */
.grp-marketing   { color: var(--magenta);    background: rgba(232, 28, 142, 0.08); }
.grp-craft       { color: var(--jade-deep);  background: rgba(15, 143, 96, 0.08); }
.grp-foundations { color: var(--purple);     background: rgba(126, 42, 154, 0.08); }

/* ── Lab card ─────────────────────────────────────────────────── */
.lab-card {
  position: relative;
  transition: transform 0.18s ease-out;
  border-top: 3px solid var(--c);
  background: var(--paper);
}
/* The hover shadow is drawn once and faded in, so only opacity animates. */
.lab-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 16px 32px rgba(15, 26, 77, 0.10);
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
}
a.lab-card:hover, a.lab-card:focus-visible { transform: translateY(-4px); }
a.lab-card:hover::after, a.lab-card:focus-visible::after { opacity: 1; }

/* ── Sub-service card (used on lab parents to link to subs) ───── */
.sub-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(15, 26, 77, 0.08);
  background: var(--paper);
  display: block;
  height: 100%;
}
.sub-card:hover {
  transform: translateY(-2px);
  border-color: var(--c, var(--magenta));
  box-shadow: 0 12px 24px rgba(15, 26, 77, 0.06);
}
.sub-card .sub-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--c, var(--magenta));
}

/* ── Three-section divider (universal → B2B → B2C) ────────────── */
.section-divider {
  border: 0;
  border-top: 1px solid rgba(15, 26, 77, 0.10);
  margin: 0;
}
.section-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--magenta);
}
.section-eyebrow.b2b { color: var(--jade-deep); }
.section-eyebrow.b2c { color: var(--purple); }

/* ── Sector card ──────────────────────────────────────────────── */
.sector-card { transition: all 0.3s ease; }
.sector-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 26, 77, 0.08);
}

/* ── CTA button variants ──────────────────────────────────────── */
.cta-primary {
  background: var(--magenta);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  display: inline-block;
  transition: background-color 0.18s ease, transform 0.18s ease-out;
}
.cta-primary:hover { background: var(--purple); transform: translateY(-2px); }

.cta-secondary {
  background: transparent;
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 14px 28px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  display: inline-block;
  transition: all 0.2s ease;
}
.cta-secondary:hover {
  background: var(--navy);
  color: white;
}

/* ── Evidence link (embedded hyperlink in prose) ──────────────── */
.evidence {
  color: var(--navy);
  border-bottom: 1px dotted rgba(15, 26, 77, 0.35);
  transition: all 0.2s ease;
}
.evidence:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

/* ── Standards badge (used on Standards pages) ────────────────── */
.std-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(15, 143, 96, 0.10);
  color: var(--jade-deep);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ── Trigger callout box ──────────────────────────────────────── */
.trigger-box {
  border-left: 3px solid var(--magenta);
  background: var(--paper-warm);
  padding: 24px 28px;
  border-radius: 4px;
}

/* ── New hub badge ────────────────────────────────────────────── */
.new-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(126, 42, 154, 0.15);
  color: var(--purple);
  vertical-align: middle;
  margin-left: 4px;
}

/* ── Mobile sector carousel ───────────────────────────────────── */
.sector-carousel { display: none; }
@media (max-width: 768px) {
  .sector-grid-desktop { display: none; }
  .sector-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 24px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sector-carousel::-webkit-scrollbar { display: none; }
  .sector-carousel > a { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ── Focus visible (a11y) ─────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

/* ── Reduced motion respect ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) * { transition: none !important; animation: none !important; }
}

/* ── Small-text contrast ──────────────────────────────────────
   WCAG AA needs 4.5:1 for small text. Magenta (#E81C8E) and jade-deep
   (#0F8F60) fall short on light backgrounds, and magenta, purple and
   jade-deep fall short on navy. Rule, using locked tokens only:
     - magenta buttons keep white text at 19px bold (large text, 3:1);
     - small labels on light backgrounds use purple or navy;
     - small labels on dark (navy) backgrounds use jade.
   Magenta and jade-deep stay for large headings, borders and dots. */
a.cta-primary,
button.cta-primary {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 13px 26px;
}

/* Light backgrounds: small magenta becomes purple, small jade-deep becomes navy. */
.focus-tag.text-magenta,
.text-xs.text-magenta,
.text-sm.text-magenta,
.accent-line.text-magenta { color: var(--purple); }
.focus-tag.text-jade-deep,
.text-xs.text-jade-deep,
.text-sm.text-jade-deep { color: var(--navy); }
.section-eyebrow { color: var(--purple); }
.section-eyebrow.b2b { color: var(--navy); }
.grp-marketing { color: var(--purple); }
.grp-craft { color: var(--navy); }
.sub-card .sub-num { color: var(--navy); }
.std-badge { color: var(--navy); }

/* Dark backgrounds: every small coloured label becomes jade. */
:is(.bg-navy, .bg-navy-deep) :is(.focus-tag, .text-xs, .text-sm):is(.text-magenta, .text-purple, .text-jade-deep),
:is(.bg-navy, .bg-navy-deep) .accent-line:is(.text-magenta, .text-purple) { color: var(--jade); }

/* Brand dot patterns (brand set, Library/Brand/Patterns). Decorative only:
   laid behind the content at low opacity so text contrast stays at AA.
   Use .pattern-band plus one colour class on a dark band. */
.pattern-band { position: relative; isolation: isolate; overflow: hidden; }
.pattern-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 675px auto;
  opacity: 0.07;
}
.pattern-navy::before    { background-image: url('/assets/brand/patterns/CL-navy-pattern.png'); opacity: 0.05; }
.pattern-magenta::before { background-image: url('/assets/brand/patterns/CL-magenta-pattern.png'); }
.pattern-mint::before    { background-image: url('/assets/brand/patterns/CL-mint-pattern.png'); }
.pattern-purple::before  { background-image: url('/assets/brand/patterns/CL-purple-pattern.png'); }
@media (max-width: 767px) { .pattern-band::before { background-size: 420px auto; } }

/* ── Movement ─────────────────────────────────────────────────────
   Subtle and fast. Only transform and opacity animate. Everything here
   is switched off under prefers-reduced-motion (block at the end).
   Hover: cards lift, their illustration nudges, links draw an underline. */
.card-lift { transition: transform 0.18s ease-out; }
.card-lift:hover, .card-lift:focus-visible { transform: translateY(-3px); }
.art-nudge { transition: transform 0.18s ease-out; }
.card-lift:hover .art-nudge, .card-lift:focus-visible .art-nudge { transform: translateY(-3px) rotate(-3deg); }
.cta-secondary { transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease-out; }
.cta-secondary:hover { transform: translateY(-2px); }
.link-draw { position: relative; display: inline-block; }
.link-draw::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease-out;
}
.link-draw:hover::after, .link-draw:focus-visible::after,
a:hover > .link-draw::after, a:focus-visible > .link-draw::after { transform: scaleX(1); }

/* Scroll reveal: rises and fades in once. Hidden only when the script is
   running (html.js), and a fallback reveals everything after 2.5 s in case
   the script never arrives. --d staggers cards across a row. */
html.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-fallback 0s 2.5s forwards;
}
html.js [data-reveal] { transition: opacity 0.5s ease-out var(--d, 0ms), transform 0.5s ease-out var(--d, 0ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* Diagrams draw their connectors in when they first scroll into view. */
html.js figure[data-reveal] .draw-h { transform: scaleX(0); transform-box: fill-box; transform-origin: left center; }
html.js figure[data-reveal] .draw-v { transform: scaleY(0); transform-box: fill-box; transform-origin: center top; }
html.js figure[data-reveal] .draw-arc { opacity: 0; transform: rotate(-24deg); transform-box: view-box; transform-origin: 250px 250px; }
html.js figure[data-reveal] .draw-node { opacity: 0; transform: translateY(8px); }
html.js figure[data-reveal] :is(.draw-h, .draw-v, .draw-arc, .draw-node) {
  transition: transform 0.55s ease-out var(--d, 0ms), opacity 0.45s ease-out var(--d, 0ms);
}
html.js figure[data-reveal].is-in :is(.draw-h, .draw-v, .draw-arc, .draw-node) { opacity: 1; transform: none; }

/* Card rows the reader scrolls: swipe, or the arrow buttons. */
.scroll-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(17rem, 85%);
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding: 6px 2px 18px;
  scrollbar-width: thin;
  list-style: none;
  margin: 0;
}
@media (min-width: 640px) { .scroll-track { grid-auto-columns: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1024px) { .scroll-track { grid-auto-columns: calc((100% - 3rem) / 3); } }
.scroll-item { scroll-snap-align: start; display: flex; }
.scroll-item > * { width: 100%; }
.scroll-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: var(--paper);
  transition: transform 0.18s ease-out, opacity 0.18s ease;
}
.scroll-btn:hover:not(:disabled) { transform: translateY(-2px); }
.scroll-btn:disabled { opacity: 0.35; cursor: default; }
.scroll-btn:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }

/* ── Time of day ──────────────────────────────────────────────────
   Four moods, worked out in the browser in UK time (SiteMotion.astro), or
   set with ?mood=. The page renders neutral first; the mood layer then fades
   in over about a second. Morning: warm dawn from the top right. Daytime:
   bright and clean, the highest contrast. Evening: amber to dusk. Night: deep
   navy with a faint field of dots like stars, and the hero text turns light.
   Every mood is checked for WCAG AA text contrast. */
.mood-surface { isolation: isolate; }
.mood-surface > .relative { z-index: 1; }
.mood-surface::after, .bg-navy.pattern-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
html[data-mood] .mood-surface::after, html[data-mood] .bg-navy.pattern-band::after { opacity: 1; }
html.mood-ready .mood-surface :is(.text-navy, .text-inkSoft, .accent-line, .cta-secondary) { transition: color 1s ease, border-color 1s ease, background-color 0.18s ease, transform 0.18s ease-out; }

/* Hero (light surface) */
html[data-mood="morning"] .mood-surface::after {
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(255, 166, 102, 0.55) 0%, rgba(255, 204, 150, 0.32) 38%, transparent 70%),
    linear-gradient(180deg, rgba(255, 236, 214, 0.55) 0%, rgba(255, 246, 236, 0.2) 100%);
}
html[data-mood="daytime"] .mood-surface::after {
  background:
    radial-gradient(ellipse 60% 70% at 95% 0%, rgba(160, 220, 255, 0.30) 0%, transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85));
}
html[data-mood="evening"] .mood-surface::after {
  background: linear-gradient(115deg,
    rgba(255, 222, 176, 0.45) 0%, rgba(255, 186, 110, 0.42) 42%,
    rgba(240, 96, 120, 0.34) 68%, rgba(126, 42, 154, 0.48) 100%);
}
html[data-mood="night"] .mood-surface::after {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.6px) 0 0 / 38px 38px,
    radial-gradient(circle, rgba(127, 227, 190, 0.40) 0 1px, transparent 1.6px) 19px 23px / 61px 61px,
    radial-gradient(ellipse 60% 70% at 90% 0%, rgba(126, 42, 154, 0.45) 0%, transparent 70%),
    linear-gradient(180deg, #0A1238 0%, #0F1A4D 100%);
}
/* Night: the hero text turns light so it stays above AA on navy. */
html[data-mood="night"] .mood-surface .text-navy { color: #FFFFFF; }
html[data-mood="night"] .mood-surface .text-inkSoft { color: rgba(255, 255, 255, 0.84); }
html[data-mood="night"] .mood-surface .accent-line { color: var(--jade); }
html[data-mood="night"] .mood-surface .accent-line::before { background: var(--jade); }
html[data-mood="night"] .mood-surface .bg-jade-deep { background: var(--jade); }
html[data-mood="night"] .mood-surface .cta-secondary { color: #FFFFFF; border-color: #FFFFFF; }
html[data-mood="night"] .mood-surface .cta-secondary:hover { background: #FFFFFF; color: var(--navy); }

/* Dark bands */
html[data-mood="morning"] .bg-navy.pattern-band::after { background: radial-gradient(ellipse 70% 100% at 100% 0%, rgba(255, 150, 80, 0.38) 0%, rgba(255, 190, 130, 0.12) 45%, transparent 75%); }
html[data-mood="daytime"] .bg-navy.pattern-band::after { background: linear-gradient(180deg, rgba(46, 95, 180, 0.30), rgba(46, 95, 180, 0.12)); }
html[data-mood="evening"] .bg-navy.pattern-band::after { background: linear-gradient(115deg, rgba(255, 150, 70, 0.26) 0%, rgba(232, 28, 142, 0.22) 50%, rgba(126, 42, 154, 0.42) 100%); }
html[data-mood="night"] .bg-navy.pattern-band::after {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.6px) 0 0 / 38px 38px,
    radial-gradient(circle, rgba(127, 227, 190, 0.30) 0 1px, transparent 1.6px) 19px 23px / 61px 61px,
    linear-gradient(180deg, rgba(3, 6, 25, 0.55), rgba(3, 6, 25, 0.35));
}

/* Accent glow on the main buttons. */
html[data-mood="morning"] .cta-primary { box-shadow: 0 8px 26px rgba(255, 140, 70, 0.40); }
html[data-mood="daytime"] .cta-primary { box-shadow: 0 8px 22px rgba(232, 28, 142, 0.22); }
html[data-mood="evening"] .cta-primary { box-shadow: 0 8px 28px rgba(255, 120, 60, 0.45); }
html[data-mood="night"] .cta-primary { box-shadow: 0 0 26px rgba(31, 207, 142, 0.45); }

/* ── Seasons ──────────────────────────────────────────────────────
   src/lib/seasons.ts. Winter: a clear cool tint, a snowdrift along the
   bottom of the hero, snowfall on a canvas behind the text (a still scene
   under reduced motion), a "Stop snow" control and the seasonal banner. */
.season-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1s ease; }
html[data-season] .season-layer { opacity: 1; }
html[data-season="winter"] .season-layer {
  background: linear-gradient(180deg, rgba(178, 204, 240, 0.55) 0%, rgba(200, 220, 246, 0.32) 55%, rgba(220, 232, 250, 0.18) 100%);
}
html[data-season="winter"][data-mood="night"] .season-layer { background: linear-gradient(180deg, rgba(120, 160, 220, 0.16), rgba(120, 160, 220, 0.05)); }
.season-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.season-drift { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 46px; display: none; }
html[data-season="winter"] .season-drift { display: block; }
.season-pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px; padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: #FFFFFF; color: var(--navy);
  border: 1px solid rgba(15, 26, 77, 0.18);
  box-shadow: 0 6px 18px rgba(15, 26, 77, 0.10);
  font-size: 0.9375rem; line-height: 1.35;
}
@media (min-width: 768px) { .season-pill { flex-wrap: nowrap; white-space: nowrap; font-size: 0.875rem; } }
.season-pill a { color: var(--purple); font-family: 'Poppins', sans-serif; font-weight: 600; }
.season-pill svg { flex-shrink: 0; color: #2E5F8A; }
.snow-stop {
  font-family: 'Poppins', sans-serif; font-size: 0.8125rem; font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 26, 77, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
}
.snow-stop:hover { border-color: var(--navy); }
.snow-stop:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }

/* Reduced motion: everything still. ?motion=on (html.motion-on) overrides
   this for preview checks only. */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) :is(.lab-card, .lab-card::after, .card-lift, .art-nudge, .link-draw::after, .cta-primary, .cta-secondary, .scroll-btn, .help-chip,
    .mood-surface::after, .bg-navy.pattern-band::after, .season-layer) { transition: none !important; }
  html:not(.motion-on) :is(a.lab-card:hover, a.lab-card:focus-visible, .card-lift:hover, .card-lift:focus-visible,
    .card-lift:hover .art-nudge, .cta-primary:hover, .cta-secondary:hover, .scroll-btn:hover:not(:disabled), .help-chip:hover:not(:disabled)) { transform: none; }
  html.js:not(.motion-on) [data-reveal], html.js:not(.motion-on) [data-reveal]:not(.is-in),
  html.js:not(.motion-on) figure[data-reveal] :is(.draw-h, .draw-v, .draw-arc, .draw-node) { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  html:not(.motion-on) .scroll-track { scroll-behavior: auto; }
}


/* Help filter chips on /services (done for you, with you, by you). */
.help-chip {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9375rem;
  padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--navy); color: var(--navy); background: var(--paper);
  transition: transform 0.18s ease-out, background-color 0.18s ease, color 0.18s ease;
}
.help-chip:hover:not(:disabled) { transform: translateY(-2px); }
.help-chip[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.help-chip:disabled { opacity: 0.4; cursor: default; }
.help-chip:focus-visible { outline: 2px solid var(--magenta); outline-offset: 2px; }
