/*
 * GLEC Group — site stylesheet.
 *
 * Same visual world as the ISLC 2026 conference pages: the brochure's plate
 * purple and gold, Jost for display, Archivo for reading. The GLEC Elementor
 * kit already used #49317d and #be961c, so the brand carries straight over.
 *
 * Content arrives from the WordPress migration as plain structural markup
 * (band / wrap / cols / col / card / prose), so everything visual lives here.
 */

:root {
  --purple: #49317d;
  --purple-lift: #5b3f96;
  --deep: #2b1c4f;
  --gold: #be961c;
  --gold-warm: #e8c455;

  --paper: #ffffff;
  --mist: #f4f1f8;
  --ink: #1e1533;
  --ink-soft: #574c6e;
  --line: #e2dcec;

  --on-dark: #ffffff;
  --on-dark-soft: #d5c9e8;

  --display: "Jost", "Century Gothic", "Futura", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: "Archivo", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max: 1180px;
  --measure: 70ch;
  --gutter: clamp(1rem, 5vw, 3rem);
  --band-y: clamp(2.75rem, 6vw, 5.5rem);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(43, 28, 79, 0.06), 0 8px 24px rgba(43, 28, 79, 0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.955rem + 0.19vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--purple-lift); }
:focus-visible { outline: 3px solid var(--gold-warm); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--deep);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }
h4 { font-size: 1.3rem; }
h5, h6 { font-size: 1.1rem; font-weight: 600; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: var(--purple-lift); }

p, ul, ol, figure, blockquote, table, details { margin: 0 0 1rem; }
hr { border: 0; height: 3px; width: 3rem; background: var(--gold); margin: 0 0 1.25rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold-warm); color: var(--deep); padding: 0.6rem 1rem; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ── Header ────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: var(--max); margin: 0 auto; padding: 0.7rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  font: 600 0.95rem var(--display); color: var(--deep);
  background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.85rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.site-nav li { position: relative; margin: 0; }
.site-nav a, .site-nav .sub-toggle {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.8rem; border-radius: 8px;
  font: 500 1rem var(--display); color: var(--deep); text-decoration: none;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.site-nav a:hover, .site-nav .sub-toggle:hover, .site-nav [aria-current="page"] { color: var(--purple); background: var(--mist); }
.site-nav .caret { width: 0.5em; height: 0.5em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.site-nav .has-sub > ul {
  list-style: none; margin: 0; padding: 0.4rem;
  position: absolute; left: 0; top: 100%; min-width: 17rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
}
.site-nav .has-sub:hover > ul,
.site-nav .has-sub:focus-within > ul,
.site-nav .has-sub.open > ul { opacity: 1; visibility: visible; transform: none; }
.site-nav .has-sub > ul a { white-space: normal; font-size: 0.97rem; }
.site-nav .nav-cta a { background: var(--purple); color: #fff; margin-left: 0.5rem; }
.site-nav .nav-cta a:hover { background: var(--purple-lift); color: #fff; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-header.nav-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 0.5rem var(--gutter) 1rem; gap: 0; }
  .site-nav a, .site-nav .sub-toggle { width: 100%; justify-content: space-between; padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .has-sub > ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; display: none; min-width: 0; }
  .site-nav .has-sub.open > ul { display: block; }
  .site-nav .has-sub:hover > ul { display: none; }
  .site-nav .has-sub.open:hover > ul { display: block; }
  .site-nav .nav-cta a { margin: 0.75rem 0 0; justify-content: center; border-radius: 8px; }
}

/* ── Bands (the migrated Elementor sections) ──────────────────────────── */

.band { position: relative; padding: var(--band-y) 0; }
/* Consecutive sections of the same tone read as one: don't double the gap. */
.band-light + .band-light, .band-mist + .band-mist { padding-top: 0; }
.band-mist { background: var(--mist); }
.band-gold { background: var(--gold); color: var(--deep); }
.band-dark {
  background: linear-gradient(135deg, var(--purple) 0%, var(--deep) 100%);
  color: var(--on-dark-soft);
}
.band-dark.has-bg {
  background:
    linear-gradient(120deg, rgba(43, 28, 79, 0.92) 0%, rgba(73, 49, 125, 0.78) 55%, rgba(73, 49, 125, 0.45) 100%),
    var(--band-bg) center / cover no-repeat,
    var(--deep);
  padding: clamp(4rem, 9vw, 8rem) 0;
}
.band-dark :is(h1, h2, h3, h4, h5, h6, strong) { color: var(--on-dark); }
.band-dark a:not(.btn) { color: var(--gold-warm); }
.band-dark hr { background: var(--gold-warm); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.cols { display: grid; grid-template-columns: var(--cols); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; } }
.col > :last-child, .prose > :last-child, .card > :last-child { margin-bottom: 0; }
.inner-section + .inner-section { margin-top: 1.25rem; }
.band .col + .col { margin-top: 0; }
.wrap > .col { max-width: 100%; }

.prose { max-width: var(--measure); }
.cols .prose { max-width: none; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--gold); }
.prose img { border-radius: var(--radius); margin: 1rem 0; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; font-style: italic; color: var(--ink-soft); margin-left: 0; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.5rem 0.75rem; text-align: left; }

.eyebrow { font: 600 0.8rem/1.2 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }

.media { margin: 0 0 1.25rem; }

/* Accreditation badge: a badge, not a banner. */
.band.band-badge { padding: clamp(1.75rem, 3.5vw, 2.5rem) 0; }
.badge { margin: 0; display: flex; justify-content: center; }
.badge img { height: 120px; width: auto; max-width: 100%; object-fit: contain; }
.band-badge + .band-light { padding-top: var(--band-y); }
.media img { border-radius: var(--radius); width: 100%; }
.band-dark .media img { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.media figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.5rem; }
.media.video video, .media.video iframe, .media.video lite-youtube { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.media.map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }

.btn, .actions a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  background: var(--purple); color: #fff; text-decoration: none;
  font: 600 1rem/1 var(--display); letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.btn:hover, .actions a:hover { background: var(--purple-lift); color: #fff; transform: translateY(-1px); }
.band-dark .btn, .band-dark .actions a { background: var(--gold-warm); color: var(--deep); }
.band-dark .btn:hover, .band-dark .actions a:hover { background: #fff; color: var(--deep); }
.actions { margin-top: 1.5rem; }
.btn-ghost { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 2px currentColor; }

/* Checklists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* Cards: an Elementor row of image-boxes / icon-boxes becomes a grid of these. */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; height: 100%; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card-media { margin: -1.5rem -1.5rem 1.25rem; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card h3, .card h4, .card h5 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); }
.card-more { margin-top: auto; padding-top: 0.5rem; font-weight: 600; }
.band-dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.band-dark .card p { color: var(--on-dark-soft); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; }
.cols > .col > .card { height: 100%; }

/* Elementor laid team/board members out one card per column, so a row of two
   stretched to twice the width of a row of three. Give every card the same width. */
.cols:has(> .col > :is(.card:has(> .card-media), .person):only-child) { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.cols:has(> .col > :is(.card:has(> .card-media), .person):only-child) > .col { flex: 0 1 17rem; }
@media (max-width: 560px) {
  .cols:has(> .col > :is(.card:has(> .card-media), .person):only-child) > .col { flex-basis: calc(50% - 0.75rem); }
  .cols:has(> .col > .card:only-child .card-media) > .col .card { padding: 1rem; }
  .cols:has(> .col > .card:only-child .card-media) > .col .card-media { margin: -1rem -1rem 0.75rem; }
}

.person { text-align: center; }
.person-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.person h3 { margin-bottom: 0.2rem; }
.person-role { color: var(--gold); font-weight: 600; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; }
.quote {
  margin: 0; background: var(--mist); border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.quote::before { content: "\201C"; font: 700 4rem/0.6 var(--display); color: var(--gold); height: 1.6rem; }
.quote blockquote { margin: 0; font-size: 1.05rem; }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: auto; font: 600 1rem var(--display); color: var(--deep); }
.quote figcaption span { display: block; font: 400 0.9rem var(--body); color: var(--ink-soft); }
.quote .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.band-dark .quote { background: rgba(255, 255, 255, 0.07); }
.band-dark .quote blockquote { color: #fff; }
.band-dark .quote figcaption { color: var(--gold-warm); }
.band-dark .quote figcaption span { color: var(--on-dark-soft); }

.gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 0.75rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: opacity 0.2s; }
.gallery a:hover img { opacity: 0.85; }
.logos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.logos img { max-height: 60px; width: auto; }

.stat { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.25rem; }
.stat-value { font: 600 clamp(2.2rem, 1.6rem + 2vw, 3.2rem)/1 var(--display); color: var(--purple); }
.band-dark .stat-value { color: var(--gold-warm); }
.stat-label { color: var(--ink-soft); }

.accordion details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.75rem; background: var(--paper); }
.accordion summary { cursor: pointer; padding: 1rem 1.25rem; font: 600 1.1rem var(--display); color: var(--deep); }
.accordion details[open] summary { border-bottom: 1px solid var(--line); }
.accordion details > .prose { padding: 1rem 1.25rem; max-width: none; }
.accordion hr { width: 100%; height: 1px; background: var(--line); margin: 0.5rem 0; }

.social { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }

/* YouTube facade: a thumbnail until clicked, so no Google request on load. */
lite-youtube { display: block; position: relative; cursor: pointer; background-size: cover; background-position: center; }
lite-youtube::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 72px; height: 50px; transform: translate(-50%, -50%);
  border-radius: 14px; background: rgba(43, 28, 79, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") center / 28px no-repeat;
  transition: background-color 0.2s;
}
lite-youtube:hover::after { background-color: var(--purple); }
lite-youtube .lite-fallback { position: absolute; inset: 0; color: transparent; }
lite-youtube iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }

/* ── Page furniture ───────────────────────────────────────────────────── */

.page-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--deep) 100%);
  color: var(--on-dark-soft);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: clamp(60px, 10vw, 140px);
  background: url("/assets/islc/img/skyline-wide.webp") bottom center / auto 100% repeat-x;
  opacity: 0.18; pointer-events: none;
}
.page-hero h1 { color: #fff; margin: 0; max-width: 22ch; }
.page-hero .meta { margin-top: 1rem; font-size: 0.95rem; }
.page-hero .meta a { color: var(--gold-warm); }
.page-hero.has-image { background: linear-gradient(120deg, rgba(43, 28, 79, 0.94), rgba(73, 49, 125, 0.7)), var(--hero-bg) center / cover, var(--deep); }
.crumbs { font-size: 0.9rem; margin-bottom: 1rem; }
.crumbs a { color: var(--gold-warm); text-decoration: none; }

.article { padding: var(--band-y) 0; }
.article .wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.article .lead-image img { border-radius: var(--radius); width: 100%; margin-bottom: 2rem; }
.prose-page { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.article .prose-page { padding: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin-top: 2rem; }
.tags li { background: var(--mist); color: var(--ink-soft); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.85rem; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.75rem; list-style: none; padding: 0; margin: 0; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card .body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card h3 { font-size: 1.25rem; margin: 0; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card .date { font-size: 0.85rem; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.post-card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
.post-card .ph { aspect-ratio: 16 / 9; background: url("/assets/islc/img/skyline-wide.webp") bottom center / auto 55% repeat-x, linear-gradient(135deg, var(--purple), var(--deep)); background-blend-mode: soft-light, normal; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.chips a { display: block; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--mist); text-decoration: none; font-size: 0.92rem; }
.chips a[aria-current] { background: var(--purple); color: #fff; }

/* ── Forms ───────────────────────────────────────────────────────────── */

.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.form .field { display: grid; gap: 0.35rem; }
.form label { font-weight: 600; color: var(--deep); font-size: 0.97rem; }
.form .req { color: #b3261e; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: 0.75rem 0.9rem; border: 1px solid #cfc6de; border-radius: 8px; background: #fff;
}
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(190, 150, 28, 0.45); border-color: var(--gold); }
.form .note { font-size: 0.95rem; color: var(--ink-soft); }
.form button { justify-self: start; border: 0; cursor: pointer; }
.form .hp { position: absolute; left: -9999px; }
.form-status { padding: 0.9rem 1rem; border-radius: 8px; background: var(--mist); }
.form-status[data-state="ok"] { background: #e7f5ea; color: #1d5b2c; }
.form-status[data-state="error"] { background: #fbeaea; color: #8a1c1c; }
.band-dark .form label { color: #fff; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer { background: var(--deep); color: var(--on-dark-soft); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: 0.97rem; }
.site-footer .grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1.05rem; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold-warm); text-decoration: underline; }
.site-footer .logo { background: #fff; display: inline-block; padding: 0.6rem 0.9rem; border-radius: 8px; margin-bottom: 1rem; }
.site-footer .logo img { height: 42px; width: auto; }
.site-footer .accreditation { display: inline-block; margin-top: 1.25rem; background: #fff; padding: 0.4rem 0.6rem; border-radius: 8px; }
.site-footer .accreditation img { height: 56px; width: auto; }
.site-footer address { font-style: normal; }
.site-footer .legal { max-width: var(--max); margin: 2.5rem auto 0; padding: 1.5rem var(--gutter) 0; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.88rem; }
.site-footer .legal ul { display: flex; gap: 1.25rem; }

/* The ISLC banner/page bring their own scoped styles; just let them bleed. */
.islc-slot .wrap, .islc-slot .col { max-width: none; padding: 0; }
.band:has(.islc-root) { padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  .band-dark, .page-hero { background: none; color: var(--ink); }
  .band-dark :is(h1, h2, h3, h4, h5, h6) { color: var(--ink); }
}
