/*
Theme Name:   Signals Custom Theme
Theme URI:    https://stg-signalsdigibc-staging.kinsta.cloud
Description:  Bespoke WordPress theme built for Signals. Hand-coded PHP templates,
              no page builder, no dependencies. NOTE: Theme URI is the staging
              host as a placeholder — swap for the live domain once confirmed.
Author:       Lara Kroeker Interactive
Author URI:   https://larakroekerinteractive.com
Version:      0.1.0
License:      GNU General Public License v2 or later
Text Domain:  signals-theme
*/

/*
This file intentionally carries only the header WordPress requires plus a
minimal reset. Real styling lives in colors_and_type.css (tokens) and this
file's own rules below, both enqueued from functions.php — never inline, so
the tokens stay the one source of truth per WORKSPACE-design-guidelines-playbook.md.
*/

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, svg { max-width: 100%; display: block; }

/*
Visually hidden until focused — lets keyboard users jump past the full nav
(5 top-level items + a submenu) straight to page content, instead of tabbing
through all of it on every single page.
*/
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 100;
  background: var(--cta);
  color: var(--surface-dark);
  padding: var(--sp-12) var(--sp-24);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

body {
  background: var(--surface-white);
  color: var(--surface-dark);
  font-family: var(--font-display);
  font-size: var(--type-body);
  font-weight: 300;
  line-height: 1.75; /* prose line-height per playbook: unitless, ~1.75 not 1.5 */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 var(--sp-16);
}

h1 { font-size: var(--type-h1); color: var(--surface-white); }
h2 { font-size: var(--type-h2); color: var(--surface-white); }
h3 { font-size: var(--type-h3); color: var(--surface-white); }
h4 { font-size: var(--type-h4); color: var(--surface-dark); letter-spacing: 1.5px; }
h5 { font-size: var(--type-h5); color: var(--surface-dark); }

/*
h1–h3 default to white per the live kit's own values (they're built for use on
dark/colour section backgrounds); h4–h5 default to ink for on-light use. This
mirrors the real site, not an invented convention — flag if this should change.
*/

/*
Every rule below that colors an `<a>` is prefixed `html body` on purpose.
Elementor Pro's still-active global kit CSS (`.elementor-kit-11 a`) has
specificity (0,1,1) — a single class beats it, but a bare `a` or a
one-class-plus-element selector (e.g. `.site-header__nav a`) ties it, and
ties go to whichever stylesheet loads later, which has been Elementor's.
Found this live: header CTA text going pink-on-pink (invisible) and nav
links silently losing brand green for Elementor's pink accent. `html body`
adds two type selectors, clearing 0,1,1 outright regardless of load order —
cheaper than fighting load order or duplicating classes. Keep using this
prefix for any new `<a>` color rule as long as any page still runs Elementor.
*/
html body a { color: var(--cta); }
html body a:hover { color: color-mix(in srgb, var(--cta) 65%, transparent); } /* matches the live kit's own #FF83ACA6 hover treatment */

html body .btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--type-button);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--surface-white);
  background: var(--cta);
  border: none;
  border-radius: var(--radius-3);
  padding: var(--sp-12) var(--sp-24);
  cursor: pointer;
}

/*
Hover state deliberately does NOT copy the live site's bug (white text on a
white hover background — see colors_and_type.css "KNOWN BUGS" section).
Using --cta-pressed as the placeholder fix; confirm with Lara before treating
this as final.
*/
.btn:hover {
  background: var(--cta-pressed);
  color: var(--surface-white);
}

/*
---- Body-copy text-size utilities (lg / reg / sm) ----
Three named sizes for body-level copy — apply directly to whichever element
needs it (usually a <p>), rather than styling by container/context.
*/
.text-lg  { font-size: var(--type-lg); }
.text-reg { font-size: var(--type-reg); }
.text-sm  { font-size: var(--type-sm); }

/* ---- Site header ---- */
.site-header {
  background: var(--surface-dark);
  padding: var(--sp-24) var(--sp-32);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-32);
}

.site-header__logo img {
  max-height: 72px;
  width: auto;
}

.site-header__nav {
  flex: 1;
}

.site-header__nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__nav li {
  position: relative;
  display: flex;
  align-items: center;
}

.site-header__nav li:not(:first-child)::before {
  content: "|";
  margin: 0 var(--sp-12);
  color: var(--grey-4);
  font-weight: 300;
}

html body .site-header__nav a {
  font-family: var(--font-ui);
  font-size: var(--type-button);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

html body .site-header__nav a:hover,
html body .site-header__nav .current-menu-item > a {
  color: var(--cta);
}

/*
Menu depth is capped to 2 in header.php (top level + one dropdown level) —
Past Expos' own sub-items (Signals 2024/2023/2022) show, but their further
children don't get a second flyout level. The caret is a real
`<button class="site-header__submenu-toggle">` injected by nav.js next to
each dropdown item's link (not a CSS ::after) — that's what makes the
dropdown reachable by tap: `:hover` never fires on touch devices, so without
a real, focusable, clickable element the whole "Past Expos" archive would be
unreachable on any phone or tablet. The button doubles as the caret glyph.
*/
html body .site-header__submenu-toggle {
  background: none;
  border: none;
  padding: 0 0 0 var(--sp-4);
  margin: 0;
  cursor: pointer;
  color: var(--primary);
  font-size: 0.7em;
  line-height: 1;
}

html body .site-header__submenu-toggle::after {
  content: "\25BE";
}

.site-header__nav .sub-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: var(--sp-8) 0;
  min-width: 240px;
  background: var(--surface-dark);
  border: 1px solid var(--grey-4);
  border-radius: var(--radius-1);
  z-index: 20;
}

.site-header__nav .menu-item-has-children:hover > .sub-menu,
.site-header__nav .menu-item-has-children:focus-within > .sub-menu,
.site-header__nav .menu-item-has-children.is-open > .sub-menu {
  display: flex;
}

.site-header__nav .sub-menu li {
  display: block;
}

.site-header__nav .sub-menu li::before {
  content: none;
}

.site-header__nav .sub-menu a {
  display: block;
  padding: var(--sp-8) var(--sp-16);
}

/* ---- Mobile hamburger toggle ---- */
.site-header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.site-header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .site-header__menu-toggle {
    display: flex;
  }

  .site-header__nav {
    display: none;
    flex-basis: 100%;
  }

  .site-header__nav.is-open {
    display: block;
  }

  .site-header__nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-16);
    padding-top: var(--sp-16);
  }

  .site-header__nav li {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .site-header__nav li:not(:first-child)::before {
    content: none;
  }

  /* The desktop flyout doesn't make sense stacked in a vertical mobile
     menu — becomes a normal in-flow accordion instead. */
  .site-header__nav .sub-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: var(--sp-8);
    border: none;
    background: none;
    padding-left: var(--sp-16);
  }

  .site-header__nav .menu-item-has-children:hover > .sub-menu {
    display: none; /* hover doesn't apply on mobile; only .is-open (tap) does */
  }

  .site-header__nav .menu-item-has-children.is-open > .sub-menu,
  .site-header__nav .menu-item-has-children:focus-within > .sub-menu {
    display: flex;
  }
}

/*
---- Hero slider (homepage only) ----
Real captured values from the homepage's own (non-rendering) Elementor
"slides" widget: 85vh desktop / 75vh mobile, bottom-left text, ~67% black
overlay (#000000AB), fade transition, ken-burns zoom-out on the image.
*/
.hero-slider {
  position: relative;
  height: 85vh; /* fallback for browsers without dvh support */
  height: 85dvh; /* accounts for mobile browser chrome show/hide, unlike vh */
  overflow: hidden;
  color: var(--surface-white);
}

.hero-slider__slides {
  position: absolute;
  inset: 0;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease;
}

.hero-slider__slide.is-active {
  opacity: 1;
}

.hero-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-ken-burns 7s ease-out forwards;
}

@keyframes hero-ken-burns {
  from {
    transform: scale(1.15);
  }
  to {
    transform: scale(1);
  }
}

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  background: #000000ab;
}

.hero-slider__content {
  position: absolute;
  left: 0;
  right: 10%;
  bottom: 6%;
  padding-left: 5%;
  max-width: 800px;
}

html body .hero-slider__heading {
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 4vw + 1rem, 7.1875rem); /* 115px desktop, real captured value */
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 var(--sp-8);
}

html body .hero-slider__tagline {
  font-family: var(--font-ui);
  font-size: 1.375rem;
  letter-spacing: 0.05em;
  color: var(--surface-white);
  margin: 0;
}

@media (max-width: 782px) {
  .hero-slider {
    height: 75vh;
    height: 75dvh;
  }

  .hero-slider__content {
    right: 8%;
    padding-left: 6%;
  }
}

/*
---- Page hero (compact) ----
Shared across the secondary pages (About, XR Lab, Beta Lounge, Contact,
Archives) whose real Elementor rendering is broken on staging (see each
page-{slug}.php for the specific finding) — a smaller version of the
homepage hero pattern for a page-title banner over a real background image.
*/
.page-hero {
  position: relative;
  min-height: 45vh;
  min-height: 45dvh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: #000000ab; /* real captured overlay strength from the source section */
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  flex-grow: 1; /* .page-hero is a flex container — width:100% alone doesn't fill a flex item's main axis without this */
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-32);
}

html body .page-hero__title {
  font-family: var(--font-hero);
  text-transform: uppercase;
  color: var(--surface-white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0;
}

.page-info-bar {
  background: var(--primary);
  color: var(--surface-dark);
  text-align: center;
  padding: var(--sp-12) var(--sp-16);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

/*
---- Secondary-page body content ----
Elementor's plain-text fallback content (real copy, real images) is used
directly on these pages rather than hand-copied — this styles the bare
semantic tags it produces (h2/p/blockquote/figure/cite) into something
readable and on-brand.
*/
/*
Generic content-width container — every secondary page's body uses this for
layout (width/centering/padding). Page-specific classes (`about-page__intro`,
`contact-page__body`, etc.) are for styling genuinely specific to that page
only (bio grids, blockquote treatment) — keeping the two separate so a class
named after one page doesn't quietly govern layout on four others.

Uses the SAME 1200px frame as the header (`.site-header__inner`) and hero
(`.page-hero__inner`) — it used to be its own unrelated 800px-centered frame,
which meant a page's title and its body copy started at two different left
edges on any wide screen (Lara caught this directly). Text elements get a
narrower reading measure nested inside that same frame — capped and
left-aligned, not re-centered — so long paragraphs stay comfortable to read
without breaking the shared left edge. Grids/images can use the full 1200px.
*/
/*
Vertical padding halved from --sp-64: two adjacent Page Builder blocks each
carry this padding, so the visible gap between any two stacked sections was
doubling to 128px — read as "too much space between sections" once XR Lab
and Beta Lounge had several blocks stacked (Lara caught this live).
*/
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-32) var(--sp-32);
}

.content-container > h1,
.content-container > h2,
.content-container > h3,
.content-container > h4,
.content-container > p,
.content-container > ul,
.content-container > ol,
.content-container > blockquote,
.content-container > form,
.content-container > .contact-form-wrap {
  max-width: 800px;
}

.about-page__intro h2 {
  color: var(--surface-dark);
  font-size: var(--type-h3);
}

/*
Page Builder text_section block, "Center this section" toggle — matches the
existing .homepage-intro treatment (mission-statement copy reads better
centered) without hardcoding centering as the only option.
*/
.text-section--centered {
  text-align: center;
}

.text-section--centered > * {
  margin-left: auto;
  margin-right: auto;
}

/*
Rendered as plain flowing paragraphs, not individually-highlighted pull
quotes — Lara's call: "one block of text," not six separate pink-bordered
callouts.
*/
.about-page__intro blockquote {
  margin: 0 0 var(--sp-16);
  padding: 0;
  border: none;
  font-style: normal;
  color: inherit;
}

.about-page__intro blockquote cite {
  font-style: normal;
  font-weight: bold;
}

/*
---- Bio cards (Curatorial Team: Loretta Todd / Debi Wong / Loc Dao) ----
Real reference layout Lara supplied: 3-column grid, square rounded-corner
photo, bold name, italic org, bio text below. Cards are grouped from the
flat fallback markup by `signals_theme_group_bio_cards()` in functions.php.
*/
.bio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-32);
  margin: var(--sp-48) 0;
  text-align: left;
}

.bio-card figure {
  margin: 0 0 var(--sp-16);
}

.bio-card figure img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-1);
  object-fit: cover;
}

.bio-card__name {
  font-family: var(--font-display);
  font-size: var(--type-h5);
  color: var(--surface-dark);
  margin: 0;
}

.bio-card__org {
  font-style: italic;
  color: var(--grey-2);
  margin: 0 0 var(--sp-16);
}

.bio-card__bio {
  font-size: 0.9375rem;
}

@media (max-width: 782px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Homepage "Signals Projects" heading + year filter tabs, centered as one unit ---- */
.projects-header {
  text-align: center;
}

.projects-header__title {
  font-size: var(--type-h1);
  color: var(--surface-dark);
}

.project-filter {
  display: flex;
  justify-content: center;
  gap: var(--sp-32);
  margin-bottom: var(--sp-24);
}

html body .project-filter__tab {
  font-family: var(--font-ui);
  font-size: var(--type-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--primary-blue);
}

html body .project-filter__tab.is-active {
  color: var(--cta);
}

/* ---- Dynamic project grid (XR Lab, and reusable elsewhere) ---- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-32);
  margin: var(--sp-32) 0 var(--sp-96);
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-neutral);
  border: 1px solid var(--grey-5);
  border-radius: var(--radius-1);
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card__title {
  font-size: var(--type-h5);
  color: var(--surface-dark);
  margin: var(--sp-16) var(--sp-16) var(--sp-8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__excerpt {
  font-size: var(--type-sm);
  color: var(--grey-2);
  margin: 0 var(--sp-16) var(--sp-16);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

html body .project-card__link {
  font-family: var(--font-ui);
  font-size: var(--type-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cta);
  text-decoration: none;
  margin: 0 var(--sp-16) var(--sp-16);
}

html body .project-card__link:hover {
  text-decoration: underline;
}

/* ---- Contact page ---- */
.contact-page__body h3,
.contact-page__body h5 {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--surface-dark);
  font-size: 1.125rem;
  margin: var(--sp-32) 0 var(--sp-8);
}

.contact-page__body iframe {
  width: 100%;
  height: 350px;
  border: none;
  margin: var(--sp-16) 0;
}

.contact-page__body ul {
  padding-left: var(--sp-24);
}

.contact-form-wrap {
  background: var(--surface-neutral);
  border-radius: var(--radius-1);
  padding: var(--sp-32);
  margin-bottom: var(--sp-64);
}

.contact-form__row {
  display: flex;
  gap: var(--sp-16);
  margin-bottom: var(--sp-16);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: var(--type-body);
  padding: var(--sp-12);
  border: 1px solid var(--grey-4);
  border-radius: var(--radius-1);
  background: var(--surface-white);
  color: var(--surface-dark);
}

.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: var(--sp-16);
  resize: vertical;
}

.contact-form__status {
  padding: var(--sp-12);
  border-radius: var(--radius-1);
  font-size: 0.9rem;
}

.contact-form__status--success {
  background: color-mix(in srgb, var(--primary) 20%, white);
  color: var(--surface-dark);
}

.contact-form__status--error {
  background: color-mix(in srgb, var(--cta) 20%, white);
  color: var(--surface-dark);
}

@media (max-width: 600px) {
  .contact-form__row {
    flex-direction: column;
  }
}

/* ---- Archives page ---- */
.archives-page__body h2 {
  color: var(--surface-dark);
  font-size: var(--type-h3);
}

.archives-page__body p:has(img) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-32);
}

.archives-page__body p:has(img) img {
  width: auto;
  max-height: 90px;
  max-width: 200px;
  object-fit: contain;
}

.archives-page__body p:has(img) br {
  display: none;
}

/*
---- Elementor page-content spacing ----
The real homepage body still renders through Elementor (see front-page.php)
as a flat stack of top-level sections with no gap between them. Adding
breathing room between them at the theme level rather than editing each
section's own Elementor settings.
*/
.page-content__body .elementor-top-section + .elementor-top-section,
.page-content__body > .elementor > .e-con + .e-con {
  margin-top: var(--sp-64);
}

/*
---- Homepage icon row (Lottie) ----
Real Elementor "lottie" widgets render an empty container (see
`signals_theme_fix_broken_lottie_widgets` in functions.php) — this sizes the
real animation once `lottie-init.js` fills it in.
*/
.lottie-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto;
}

/*
---- Homepage intro ----
Centered per Lara's request — a mission-statement-style intro reads better
centered than left-aligned prose, unlike the longer-form body copy on other
pages (bios, FAQs) which stays left-aligned for readability.
*/
.homepage-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/*
---- Homepage icon row ----
No margin of its own — it already sits inside two stacked
`.content-container` wrappers (its own, plus the next block's), each with
padding of their own, so an additional margin here doubled up into a
much larger gap than intended (Lara caught this live).
*/
.icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-32);
}

.icon-row__item {
  text-align: center;
  flex: 1 1 0;
}

html body .icon-row__label {
  font-family: var(--font-ui);
  font-size: var(--type-button);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--surface-dark);
  margin: var(--sp-16) 0 0;
}

/* ---- Homepage "Exhibition Experience" section ---- */
.exhibition-experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-48);
  align-items: center;
  margin: var(--sp-96) 0;
}

/*
No fixed aspect-ratio — this is a Page Builder block now, so the image
varies per use (Lara's already swapped in a vertical/portrait photo on the
homepage). Natural aspect ratio, scaled to the column width.
*/
.exhibition-experience__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-1);
}

.exhibition-experience__body h2 {
  color: var(--primary);
  font-size: var(--type-h3);
}

.exhibition-experience__body .btn {
  display: inline-block;
  margin-top: var(--sp-16);
}

/* Page Builder image_text_split block, "Image Side: Right" option. */
.exhibition-experience--reverse .exhibition-experience__image {
  order: 2;
}

@media (max-width: 782px) {
  .exhibition-experience {
    grid-template-columns: 1fr;
  }
}

/*
---- Project single template (digibc_projects CPT) ----
Real per-project data (title, featured image, "Artist: X" byline field,
excerpt, body content) — not hand-copied, so this same template renders all
92 real projects. Hero reuses the .page-hero structure but with its own
green veneer-two title (matching Lara's reference) instead of the white
.page-hero__title used on the plain secondary pages.
*/
.project-hero__title {
  font-family: var(--font-hero);
  text-transform: uppercase;
  color: var(--primary);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0;
}

.project-hero__byline {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--surface-white);
  font-size: var(--type-button);
  margin: var(--sp-8) 0 0;
}

/*
Body sits on a dark section deliberately — h1-h6 already default to white
for exactly this (see the note near the top of this file), so no heading
color overrides are needed here, unlike the white-background secondary pages.
*/
.project-page__body {
  background: var(--surface-dark);
  color: var(--surface-white);
}

.project-page__lead {
  font-size: var(--type-h4);
  font-weight: 300;
  margin-bottom: var(--sp-32);
}

/*
Every project's real content embeds its YouTube link as a bare URL, which
WordPress's classic auto-embed turns into a FIXED-size iframe (its
`add_theme_support('responsive-embeds')` only affects the block-editor embed
block, not this legacy auto-embed path) — so the iframe itself is forced
responsive here directly, real captured ratio (500x281 ≈ 16:9).
*/
.project-page__body iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: var(--sp-32) 0;
  border-radius: var(--radius-1);
}

/* ---- Site footer ---- */
.site-footer {
  background: var(--surface-dark);
  color: var(--surface-white);
  padding: var(--sp-96) var(--sp-24) var(--sp-64);
  text-align: center;
}

/*
Real captured value, not a guess: "Proudly supported by" uses the live kit's
own "White Element" global colour (#FFFFFF), confirmed by reading
_elementor_page_settings on kit 11 — not the same as --primary.
*/
.site-footer__heading {
  color: var(--surface-white);
  margin-bottom: var(--sp-48);
}

.site-footer__sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: var(--sp-96);
  row-gap: var(--sp-64);
  margin: 0 0 var(--sp-96);
}

.site-footer__sponsor-logo {
  height: 40px;
  width: auto;
}

.site-footer__wordmark {
  max-width: 320px;
  height: auto;
  margin: 0 auto var(--sp-24);
}

html body .site-footer__copyright {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surface-white);
}

/*
---- Reduced motion ----
Blanket kill-switch for visitors who've told their OS they get motion
sickness from exactly this kind of effect (hero crossfade, ken-burns zoom,
Lottie icon loops). CSS alone doesn't stop the JS-driven parts (the hero's
setInterval rotation, Lottie's own autoplay) — those check the same media
query directly in hero.js and lottie-init.js.
*/
@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;
  }
}
