/* =========================================================
   AFSCME Local 1227 — site styles
   Colors follow the national AFSCME palette (green + blue).
   Brand green #00A94F is too light for white text, so a darker
   shade is used wherever text sits on green (WCAG AA contrast).
   ========================================================= */

:root {
  --green: #00a94f;        /* AFSCME green (accent, rules, icons) */
  --green-dark: #00703a;   /* buttons / text on white, white text on it */
  --green-deep: #004d28;   /* hero + footer backgrounds */
  --green-tint: #e8f5ed;
  --blue: #005daa;         /* AFSCME blue (links, secondary) */
  --blue-dark: #00477f;
  --blue-tint: #e7f0f8;
  --ink: #18231e;
  --muted: #4f5e57;
  --line: #d9e2dc;
  --paper: #f5f7f4;
  --white: #ffffff;

  --font-head: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  --radius: 6px;
  --shadow: 0 1px 2px rgba(16, 35, 26, .06), 0 4px 14px rgba(16, 35, 26, .06);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
main:focus { outline: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
h3 { font-weight: 800; font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: clamp(40px, 6vw, 72px) 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  letter-spacing: .01em; text-decoration: none;
  padding: .8em 1.4em; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green-dark); color: #fff; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-deep); }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--green-tint); color: var(--green-deep); }
.btn-small { padding: .5em 1em; font-size: .85rem; background: var(--blue-tint); color: var(--blue-dark); }
.btn-small:hover { background: var(--blue); color: #fff; }
.btn-block { width: 100%; }
.btn.is-disabled { background: var(--line); color: var(--muted); cursor: default; }

.eyebrow {
  font-family: var(--font-head); font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark);
  margin-bottom: .75em;
}
.eyebrow a { color: inherit; }
.eyebrow-light { color: #bfe9cf; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--green-deep); color: #d4eedd; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.site-header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 58px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-afscme { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; color: var(--green-dark); letter-spacing: .02em; }
.brand-local { font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: block; padding: .55em .7em; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--ink); text-decoration: none;
}
.site-nav a:hover { background: var(--paper); color: var(--green-dark); }
.site-nav a[aria-current="page"] { color: var(--green-dark); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.site-nav a.nav-cta { background: var(--green-dark); color: #fff; margin-left: 8px; border-radius: var(--radius); box-shadow: none; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta[aria-current="page"] { background: var(--green-deep); color: #fff; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; font: 700 .9rem var(--font-head); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: .8em .5em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); padding-left: 1em; }
  .site-nav a.nav-cta { margin: 12px 0 0; text-align: center; border-bottom: 0; }
  .header-inner { position: static; }
}
@media (max-width: 640px) {
  .topbar-affil { display: none; }
  .header-inner { min-height: 66px; }
  .brand-logo { height: 48px; }
  .brand-afscme { font-size: 1.1rem; }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px) 0 clamp(22px, 3vw, 32px);
  position: relative;
}
.page-header::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--green) 0 70%, var(--blue) 70% 100%);
}
.page-header h1 { margin-bottom: .3em; }
.page-header h1:last-child { margin-bottom: 0; }
.page-intro { font-size: 1.15rem; color: var(--muted); max-width: 46em; margin: 0; }

/* ---------- Home hero ---------- */
.hero {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, var(--green-dark) 0%, var(--green-deep) 70%);
  color: #fff;
  padding: clamp(56px, 9vw, 112px) 0 clamp(96px, 12vw, 140px);
  position: relative; overflow: hidden;
}
/* Detroit skyline line art (supplied file), tinted via mask so the SVG stays untouched.
   It sits at the very bottom of the green, so its base runs behind the representatives panel
   and the area behind the eyebrow + headline stays clear for a logo. On wide screens the
   skyline is taller, so the green grows by --hero-extra (and the panel overlaps it by as much). */
:root { --hero-extra: 0px; }
@media (min-width: 641px) { :root { --hero-extra: clamp(0px, 25.6vw - 312px, 190px); } }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  aspect-ratio: 2408 / 688;
  background: rgba(255,255,255,.16);
  -webkit-mask: url("/assets/img/detroit-skyline-outline.svg") center bottom / 100% auto no-repeat;
          mask: url("/assets/img/detroit-skyline-outline.svg") center bottom / 100% auto no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
@media (min-width: 641px) {
  /* Move the text up 40px (hero height unchanged) so it sits higher against the skyline. */
  .hero {
    padding-top: calc(clamp(56px, 9vw, 112px) - 40px);
    padding-bottom: calc(clamp(96px, 12vw, 140px) + 40px + var(--hero-extra));
  }
}
@media (max-width: 640px) {
  /* Wider than the screen so the middle of the skyline (spires through the RenCen) shows. */
  .hero::after { right: auto; left: -77%; width: 220%; }
}
/* The eyebrow ("AFSCME Local 1227 · Detroit, Michigan") is the biggest line in the hero; the headline sits below it, smaller. */
.hero h1 { color: #fff; font-size: clamp(1.45rem, 2.9vw, 2.15rem); max-width: 22em; }
.hero-eyebrow { font-size: clamp(1.5rem, 3.4vw, 2.4rem); letter-spacing: .05em; line-height: 1.15; margin-bottom: .45em; color: #9fe0b8; } /* same light green as "Standing together." */
.hero h1 span { color: #9fe0b8; }
.hero-lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 38em; color: #e3f4ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-primary { background: #fff; color: var(--green-deep); }
.hero .btn-primary:hover { background: var(--green-tint); }

/* ---------- Quick links ---------- */
.quick-links { margin-top: clamp(-72px, -8vw, -56px); position: relative; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick-card {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink);
  transition: transform .15s, border-color .15s;
}
.quick-card:hover { transform: translateY(-3px); border-top-color: var(--blue); color: var(--ink); }
.quick-icon { width: 36px; height: 36px; color: var(--green-dark); margin-bottom: 8px; }
.quick-icon svg { width: 100%; height: 100%; }
.quick-title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; }
.quick-text { font-size: .92rem; color: var(--muted); }
@media (max-width: 640px) { .quick-grid { grid-template-columns: 1fr; } .quick-card { padding: 18px; } }

/* ---------- Home grid ---------- */
.home-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .home-grid { grid-template-columns: 1fr; } }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 16px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.section-head h2 { margin-bottom: .4em; }
.link-arrow { font-family: var(--font-head); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.link-arrow::after { content: " →"; }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-item time { font-size: .85rem; font-weight: 600; color: var(--green-dark); text-transform: uppercase; letter-spacing: .06em; }
.post-item h3, .post-item h2 { margin: .25em 0 .35em; }
.post-item h3 a, .post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h3 a:hover, .post-item h2 a:hover { color: var(--blue); text-decoration: underline; }
.post-item p { margin: 0; color: var(--muted); }
.post-list-large .post-item { padding: 28px 0; }
.post-list-large h2 { font-size: 1.45rem; }

.next-up { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.next-up h2 { font-size: 1.3rem; }
.event-mini-list { list-style: none; margin: 0 0 20px; padding: 0; }
.event-mini { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.event-mini:last-child { border-bottom: 0; }
.event-mini-title { display: block; font-weight: 700; line-height: 1.3; }
.event-mini-meta { display: block; font-size: .88rem; color: var(--muted); }

.date-badge {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 60px; border-radius: var(--radius); background: #fff; border: 2px solid var(--green-dark);
  font-family: var(--font-head); line-height: 1;
}
.date-badge span { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); }
.date-badge strong { font-size: 1.45rem; font-weight: 900; margin-top: 3px; }
.date-badge-lg { width: 72px; height: 78px; }
.date-badge-lg strong { font-size: 1.9rem; }

.weingarten-section { padding-bottom: clamp(40px, 6vw, 72px); }
.weingarten { max-width: 760px; margin: 0 auto; text-align: center; background: var(--green-tint); border: 2px solid var(--green-dark); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px) clamp(18px, 4vw, 44px); }
.weingarten h2 { color: var(--green-dark); margin-bottom: .5em; }
.weingarten p { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.6; color: var(--green-deep); font-weight: 600; }

.band { background: var(--blue); color: #fff; }
.band h2 { color: #fff; }
.band p { color: #dbe9f6; margin: 0; max-width: 40em; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.band .btn-primary { background: #fff; color: var(--blue-dark); flex: none; }
.band .btn-primary:hover { background: var(--blue-tint); }
@media (max-width: 720px) { .band-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Calendar ---------- */
.callout { background: var(--green-tint); border-left: 5px solid var(--green-dark); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 36px; }
.callout p { margin: 0; }
.callout p + p { margin-top: .35em; color: var(--muted); }
.list-heading { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.event-list { list-style: none; margin: 0; padding: 0; }
.event { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.event h3 { font-size: 1.25rem; margin: .1em 0 .3em; }
.event-type { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin: 0; }
.event-meta { margin: 0; color: var(--muted); }
.event-time { font-weight: 700; color: var(--ink); }
.event-body > p:last-child { margin-bottom: 0; }
.past-events { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; }
.past-events summary { cursor: pointer; font-family: var(--font-head); font-weight: 800; padding: 12px 0; }
.event-list-past .event { opacity: .75; }
.event-list-past .date-badge { border-color: var(--muted); }
.event-list-past .date-badge span { color: var(--muted); }

/* ---------- Documents ---------- */
.doc-group { margin-bottom: 40px; }
.doc-group h2 { font-size: 1.3rem; padding-bottom: .4em; border-bottom: 2px solid var(--ink); }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc-icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 52px;
  background: var(--blue-tint); color: var(--blue-dark); border-radius: 4px;
  font: 800 .7rem var(--font-head); letter-spacing: .06em;
  clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
}
.doc-body { flex: 1; min-width: 0; }
.doc-title { display: block; font-weight: 700; color: var(--ink); }
a.doc-title { color: var(--blue); }
.doc-meta { display: block; font-size: .88rem; color: var(--muted); }
.fine-print { font-size: .92rem; color: var(--muted); margin-top: 24px; }

/* ---------- Forms page ---------- */
.form-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 20px; }
.forms-note { text-align: center; }
.form-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 24px; background: #fff; }
.form-card h2 { font-size: 1.2rem; }
.form-card p { color: var(--muted); }
.form-submit { font-size: .92rem; }
.form-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Leadership ---------- */
.officer-group { margin-bottom: 44px; }
.officer-group h2 { font-size: 1.3rem; padding-bottom: .4em; border-bottom: 2px solid var(--ink); }
.officer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.officer { background: var(--paper); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 18px 20px; }
.officer p { margin: 0; }
.officer-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); }
.officer-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-top: 4px !important; }
.officer-email { font-size: .9rem; word-break: break-all; }
.officer-phone { display: block; font-size: .9rem; }
/* Representatives panel takes the spot overlapping the hero; quick links follow below it. */
.home-reps { margin-top: calc(clamp(-72px, -8vw, -56px) - var(--hero-extra)); position: relative; }
.home-reps-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px); }
.home-reps .section-head { margin-bottom: 20px; }
.home-reps + .quick-links { margin-top: 24px; }
.officer-grid-home { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.officer-grid-home .officer { padding: 16px 14px 16px 16px; }
@media (min-width: 1200px) { .officer-grid-home { grid-template-columns: repeat(5, 1fr); } }
.officer-grid-home .officer-email { font-size: .74rem; word-break: normal; overflow-wrap: anywhere; }
/* Phones: one card per row, so emails can be full size, with room to tap phone and email. */
@media (max-width: 640px) {
  .officer-phone, .officer-email { display: block; width: fit-content; padding: 4px 0; }
  .officer-grid-home .officer-email { font-size: .95rem; }
}

/* ---------- Prose (About, posts) ---------- */
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose .lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink); border-left: 5px solid var(--green); padding-left: 20px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose code { background: var(--paper); padding: .1em .35em; border-radius: 3px; font-size: .92em; }
.link-list { list-style: none; padding: 0 !important; }
.link-list a { font-weight: 700; }
.link-list a::after { content: " ↗"; }
.post-back { margin-top: 40px; font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-stewards h2 { font-size: 1.3rem; padding-bottom: .4em; border-bottom: 2px solid var(--ink); }
.officer-grid-contact { grid-template-columns: 1fr; margin-bottom: 18px; }
.officer-grid-contact .officer-name { font-size: 1.3rem; }
.officer-grid-contact .officer-phone, .officer-grid-contact .officer-email { font-size: 1rem; margin-top: 4px; display: inline-block; }
.officer-grid-contact .officer-phone { margin-right: 18px; }
.contact-info { background: var(--paper); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--green); }
.contact-info h2 { font-size: 1.2rem; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); margin-top: 14px; }
.contact-info dd { margin: 2px 0 0; }

.empty { color: var(--muted); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: #cfe6d8; font-size: .95rem; }
.site-footer a:not(.btn) { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-name { font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: #fff; margin-bottom: .4em; }
.footer-affil { font-size: .88rem; }
.footer-heading { font-family: var(--font-head); font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.footer-links { list-style: none; margin: 0 0 18px; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-heading-follow { margin-top: 1.6em; }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
  display: inline-block; padding: .4em .9em; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.45); font-weight: 600; font-size: .88rem; text-decoration: none;
}
.social-links a:hover { background: #fff; color: var(--green-deep) !important; }
.social-links a::after { content: " ↗"; }
.social-links-dark a { border-color: var(--line); color: var(--blue); background: #fff; }
.social-links-dark a:hover { background: var(--blue); color: #fff !important; border-color: var(--blue); }
.social-links a.social-icon {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 0; background: #fff;
  transition: transform .15s;
}
.social-links a.social-icon::after { content: none; }
.social-links a.social-icon:hover { background: #fff; transform: translateY(-2px); }
.social-links a.social-icon img { width: 24px; height: 24px; object-fit: contain; }
.social-links { gap: 12px; }
.social-links-dark a.social-icon { background: #fff; border: 1.5px solid var(--line); }
.social-links-dark a.social-icon:hover { background: var(--blue-tint); border-color: var(--blue); }
.contact-social-note { margin: 22px 0 10px; font-size: .92rem; color: var(--muted); }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; padding-bottom: 24px; font-size: .85rem; }
.footer-base p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .topbar, .site-nav, .nav-toggle, .site-footer, .hero-actions, .quick-links { display: none !important; }
  .site-header { position: static; }
}
