/* ==========================================================================
   Andre Risha — Candidate for Middle · design tokens & components
   Palette carried from the legacy site (slate/ink/white/red/blue) and proven
   with check-contrast.py: #F1160E is display-only (4.32:1 on white); its
   darkened companion #D0100A carries small text and button fills (5.58:1+).
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/Manrope.var.woff2') format('woff2');
}

:root {
  /* palette */
  --brand: #F1160E;        /* legacy accent red — large type & decor only */
  --brand-deep: #D0100A;   /* companion red: white text passes 4.5:1 */
  --brand-tint: rgba(241, 22, 14, .08);
  --slate: #292F33;        /* legacy page background — now the band color */
  --slate-deep: #1E2427;
  --slate-card: #31383D;
  --ink: #111111;
  --ink-2: #3A4247;
  --paper: #FFFFFF;
  --paper-2: #F5F6F7;
  --line: #DDE1E4;
  --line-dark: #3D454B;
  --mute-dark: #C9CFD4;    /* muted text on slate */
  --blue: #2F66FE;         /* legacy blue — links & Facebook */

  /* type scale */
  --fs-display: clamp(40px, 5.4vw, 62px);
  --fs-h2: clamp(28px, 3.4vw, 38px);
  --fs-h3: 20px;
  --fs-lead: clamp(19px, 2vw, 22px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-overline: 13px;

  /* layout */
  --container: 1140px;
  --gutter: 24px;
  --radius: 10px;
  --radius-card: 14px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 12px 32px -16px rgba(17, 17, 17, .28);
  --header-h: 72px;

  /* stacking contract */
  --z-header: 100;
  --z-drawer: 150;
  --z-skip-link: 200;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: fixed; top: -60px; left: 16px;
  z-index: var(--z-skip-link);
  background: var(--slate-deep); color: #FFF;
  padding: 12px 18px; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* ---------- typography roles ---------- */
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 18px; font-weight: 800; letter-spacing: -.015em; }
.display { font-size: var(--fs-display); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.3; }
p { margin: 0 0 16px; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.small { font-size: var(--fs-small); }
.overline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-overline); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep);
}
.overline::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--brand); flex: none;
}
.accent { color: var(--brand-deep); }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tight { padding-block: clamp(44px, 5vw, 64px); }
.sect-head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sect-head .overline { margin-bottom: 14px; }
.sect-head p:last-child { margin-bottom: 0; }

/* dark bands: white text, links readable */
.band-dark { background: var(--slate); color: #FFF; }
.band-dark .overline { color: var(--mute-dark); }
.band-dark a { color: #FFF; }
.band-paper2 { background: var(--paper-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--brand-deep); color: #FFF;
  font: inherit; font-weight: 800; font-size: 16px;
  padding: 14px 26px; border: 2px solid var(--brand-deep); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { background: #A80D06; border-color: #A80D06; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #FFF; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #FFF; transform: translateY(-1px); }
.btn--inverse { background: var(--brand-deep); border-color: var(--brand-deep); color: #FFF; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--slate);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #FFF; font-weight: 800; font-size: 20px; letter-spacing: -.01em;
  text-decoration: none;
}
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 6px 26px; }
.site-nav a {
  color: var(--mute-dark); font-weight: 700; font-size: 15.5px;
  text-decoration: none; padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: #FFF; }
.site-nav a[aria-current="page"] { color: #FFF; border-bottom-color: var(--brand); }
.site-nav .btn { padding: 10px 20px; font-size: 15px; border-bottom: 2px solid var(--brand-deep); }
.nav-toggle {
  display: none; background: none; border: 0; color: #FFF;
  padding: 10px; cursor: pointer;
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(17, 17, 17, .55);
  opacity: 0; transition: opacity .2s ease;
}
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 86vw);
  background: var(--slate-deep); color: #FFF;
  padding: 24px;
  display: flex; flex-direction: column; gap: 26px;
  transform: translateX(100%); transition: transform .22s ease;
  box-shadow: -12px 0 32px rgba(0, 0, 0, .35);
}
.drawer.open .drawer__panel { transform: none; }
.drawer__close {
  align-self: flex-end;
  background: none; border: 0; color: #FFF;
  font-size: 34px; line-height: 1; padding: 4px 10px; cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a {
  color: #FFF; text-decoration: none; font-weight: 700; font-size: 19px;
  padding: 12px 10px; border-radius: 8px;
}
.drawer nav a:hover { background: rgba(255, 255, 255, .08); }
.drawer nav a[aria-current="page"] { color: #FFF; box-shadow: inset 4px 0 0 var(--brand); background: rgba(255, 255, 255, .06); }
body.drawer-locked { overflow: hidden; }

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

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(47, 102, 254, .16), transparent 62%),
    linear-gradient(180deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: #FFF;
  overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-overline); font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--mute-dark); margin-bottom: 20px;
}
.hero-kicker img { width: 30px; height: 15px; border-radius: 2px; flex: none; }
.hero h1 { font-size: var(--fs-display); margin-bottom: 8px; }
.hero .role { color: var(--mute-dark); font-weight: 700; font-size: 17px; margin-bottom: 22px; }
.hero .slogan { font-size: var(--fs-lead); max-width: 30ch; font-weight: 600; margin-bottom: 30px; }
.hero .slogan strong { color: var(--brand); font-weight: 800; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-platform {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 9px 18px; font-size: var(--fs-small); font-weight: 700;
  color: var(--mute-dark); background: rgba(255, 255, 255, .04);
}
.hero-platform b { color: #FFF; }
.hero-figure { position: relative; margin: 0; }
.hero-figure::before {
  content: ""; position: absolute; inset: auto -34px -34px auto;
  width: 210px; height: 187px;
  background: url('../img/triskelion.png') center / contain no-repeat;
  opacity: .14; pointer-events: none;
}
.hero-figure img {
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
  border-bottom: 6px solid var(--brand);
  width: 100%;
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { max-width: 480px; }
}

/* ---------- pledge cards (healthcare reform band) ---------- */
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pledge {
  background: var(--slate-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: 26px 24px;
}
.pledge .icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-deep); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pledge h3 { margin-bottom: 8px; }
.pledge p { margin: 0; color: var(--mute-dark); font-size: 15.5px; }
.vote-strip {
  margin-top: clamp(36px, 4.5vw, 52px);
  background: var(--brand-deep);
  border-radius: var(--radius-card);
  padding: 22px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 18px; text-align: center;
}
.vote-strip .check {
  width: 34px; height: 34px; flex: none;
  border: 2.5px solid #FFF; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.vote-strip p { margin: 0; font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; }
@media (max-width: 1000px) { .pledges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pledges { grid-template-columns: 1fr; } }

/* ---------- priorities ---------- */
.priorities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.priority {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-card);
  padding: 26px 24px;
}
.priority img { width: 40px; height: 36px; margin-bottom: 16px; }
.priority h3 { margin-bottom: 8px; }
.priority p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .priorities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .priorities { grid-template-columns: 1fr; } }

/* ---------- about / medical leadership ---------- */
.about-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.about-cols h3 { color: var(--ink); }
.about-cols p { color: var(--ink-2); margin-bottom: 0; }
.about-badge {
  margin-top: clamp(32px, 4vw, 44px);
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand-tint); border: 1px solid rgba(241, 22, 14, .25);
  border-radius: 999px; padding: 10px 20px;
  font-weight: 700; font-size: var(--fs-small); color: var(--ink);
}
.about-badge img { width: 22px; height: 20px; }
@media (max-width: 760px) { .about-cols { grid-template-columns: 1fr; } }

/* ---------- news / media cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.news-card {
  position: relative;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  background: var(--slate-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  text-decoration: none;
  transition: transform .14s ease, border-color .14s ease;
}
.news-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.news-card .overline { margin-bottom: 10px; }
.news-card h3 { margin: 0; color: #FFF; }
.news-card .arrow {
  flex: none;
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--brand-deep); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  transition: background .14s ease;
}
.news-card:hover .arrow { background: var(--brand); }
.news-card .meta { color: var(--mute-dark); font-size: var(--fs-small); margin: 10px 0 0; }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.gallery figure { margin: 0; }
.gallery img {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
}
.gallery figcaption { font-size: var(--fs-small); color: var(--ink-2); padding-top: 10px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band .lead { color: var(--mute-dark); margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- article (press release) ---------- */
.article-hero { padding-block: clamp(48px, 6vw, 72px); }
.article-hero .overline { margin-bottom: 16px; }
.article-hero h1 { font-size: clamp(30px, 4vw, 46px); max-width: 21ch; margin-bottom: 18px; }
.article-hero .meta { color: var(--mute-dark); font-weight: 700; margin: 0; }
.article { max-width: 760px; }
.article p { color: var(--ink-2); margin-bottom: 22px; }
.article blockquote {
  margin: 30px 0; padding: 6px 0 6px 24px;
  border-left: 4px solid var(--brand);
  font-size: var(--fs-lead); font-weight: 600; color: var(--ink);
  line-height: 1.5;
}
.article blockquote p { color: inherit; margin: 0; }
.article .article-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.article .article-list li {
  background: var(--paper-2); border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 18px 20px; color: var(--ink-2);
}
.article .article-list b { color: var(--ink); }
.feature-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-duo .card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-card); padding: 26px 24px;
}
.feature-duo h3 { margin-bottom: 6px; }
.feature-duo p { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .feature-duo { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.action-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 22px 24px;
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .14s ease, border-color .14s ease;
}
.action-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.action-card > svg { flex: none; color: var(--brand-deep); }
.action-card .overline { display: block; margin-bottom: 2px; }
.action-card .overline::before { display: none; }
.action-card .val { font-weight: 800; font-size: 16.5px; overflow-wrap: anywhere; }
.action-card--fb > svg { color: var(--blue); }
@media (max-width: 640px) { .contact-actions { grid-template-columns: 1fr; } }

.contact-layout {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
  margin-top: clamp(36px, 5vw, 56px);
}
.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 13px 15px;
}
.field input::placeholder, .field textarea::placeholder { color: #57616A; opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--slate); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 700; margin: 14px 0 0; min-height: 1.4em; }
.form-note { color: var(--ink-2); margin: 10px 0 0; }
.contact-figure { margin: 0; position: relative; }
.contact-figure img {
  border-radius: var(--radius-card);
  border-bottom: 6px solid var(--brand);
  box-shadow: var(--shadow);
  width: 100%;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } .contact-figure { max-width: 440px; } }

/* ---------- footer ---------- */
.site-footer {
  background: var(--slate-deep); color: #FFF;
  padding-block: clamp(48px, 6vw, 64px) 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 36px; border-bottom: 1px solid var(--line-dark);
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 19px; margin-bottom: 14px;
}
.footer-brand img { border-radius: 8px; }
.footer-roles { color: var(--mute-dark); font-size: 15.5px; max-width: 34ch; margin: 0; }
.site-footer .overline { color: var(--mute-dark); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: #FFF; text-decoration: none; font-weight: 600; }
.footer-list a:hover { text-decoration: underline; }
.footer-imprint { color: var(--mute-dark); font-size: 13px; margin: 26px 0 6px; text-align: center; }
.footer-bottom { color: var(--mute-dark); font-size: var(--fs-small); margin: 0; text-align: center; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- motion: scroll reveal (JS adds .reveal + .in; no-JS = fully visible) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- motion: hero entrance ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: scale(.965); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
html.js .hero-kicker   { animation: rise .6s ease .05s backwards; }
html.js .hero h1       { animation: rise .6s ease .15s backwards; }
html.js .hero .role    { animation: rise .6s ease .25s backwards; }
html.js .hero .slogan  { animation: rise .6s ease .35s backwards; }
html.js .hero-ctas     { animation: rise .6s ease .45s backwards; }
html.js .hero-platform { animation: rise .6s ease .55s backwards; }
html.js .hero-figure img { animation: photoIn .8s ease .2s backwards; }
.hero-figure::before { animation: drift 90s linear infinite; }

/* ---------- scroll progress bar ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--brand);
  z-index: calc(var(--z-header) + 1);
  pointer-events: none;
}

/* ---------- compact header on scroll ---------- */
.site-header .container { transition: min-height .2s ease; }
.site-header.scrolled .container { min-height: 58px; }
.site-header.scrolled { box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .45); }

/* ---------- countdown band ---------- */
.countdown-band { border-bottom: 1px solid var(--line); }
.countdown-band .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 28px; padding-block: 22px;
}
.countdown-label { margin: 0; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.countdown { display: flex; gap: 12px; }
.countdown .tile {
  min-width: 74px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: var(--radius); padding: 10px 12px 8px;
  box-shadow: var(--shadow);
}
.countdown .tile b {
  display: block; font-size: 26px; font-weight: 800; line-height: 1.1;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.countdown .tile span {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .countdown-band .container { justify-content: center; text-align: center; }
  .countdown { flex-wrap: wrap; justify-content: center; }
  .countdown .tile { min-width: 68px; }
}

/* ---------- quotes rotator (no-JS: both quotes stack; JS: crossfade) ---------- */
.quotes .quote-rotator { position: relative; max-width: 880px; }
.quotes .q {
  margin: 0 0 18px; padding: 6px 0 6px 28px;
  border-left: 4px solid var(--brand);
  font-size: clamp(20px, 2.6vw, 27px); font-weight: 700; line-height: 1.45;
  color: var(--ink); letter-spacing: -.01em;
}
.quotes .q p { margin: 0; }
html.js .quotes .q { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease; }
html.js .quotes .q.is-active { position: relative; opacity: 1; visibility: visible; }
.q-dots { display: flex; gap: 10px; margin-top: 22px; }
.q-dots button {
  width: 11px; height: 11px; border-radius: 50%; padding: 0;
  border: 2px solid var(--brand-deep); background: transparent; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.q-dots button.is-active { background: var(--brand-deep); transform: scale(1.15); }

/* ---------- gallery lightbox ---------- */
html.js .gallery img { cursor: zoom-in; transition: transform .18s ease; }
html.js .gallery figure:hover img { transform: scale(1.02); }
.lb { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); overflow: hidden; }
.lb::backdrop { background: rgba(17, 20, 22, .88); }
.lb img { max-height: 84vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--radius-card); }
.lb figcaption { color: var(--mute-dark); text-align: center; padding-top: 12px; font-size: var(--fs-small); }
.lb .lb-close {
  position: absolute; top: -4px; right: 0;
  background: none; border: 0; color: #FFF; font-size: 38px; line-height: 1;
  padding: 6px 12px; cursor: pointer;
}
.lb .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, .12); border: 0; color: #FFF;
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 24px; cursor: pointer;
}
.lb .lb-prev { left: 0; }
.lb .lb-next { right: 0; }
.lb .lb-nav:hover { background: var(--brand-deep); }
.lb-wrap { position: relative; padding: 34px 44px 8px; }

/* ---------- events & appearances ---------- */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.event-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 22px;
  text-align: left; text-decoration: none; color: var(--ink);
  font: inherit; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .14s ease, border-color .14s ease;
}
a.event-card:hover, button.event-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.event-card .overline { margin-bottom: 6px; }
.event-card h3 { margin-bottom: 6px; }
.event-card .meta { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.event-card .arrow {
  flex: none; margin-left: auto;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-deep); color: #FFF;
  display: flex; align-items: center; justify-content: center;
}
.date-chip {
  flex: none; min-width: 58px; text-align: center;
  background: var(--slate); color: #FFF;
  border-radius: var(--radius); padding: 9px 8px 7px;
  border-bottom: 3px solid var(--brand);
}
.date-chip b { display: block; font-size: 22px; font-weight: 800; line-height: 1.05; }
.date-chip span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); }
.play-badge {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-deep); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  padding-left: 3px;
}
.post-badge {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #FFF;
  display: flex; align-items: center; justify-content: center;
}
.event-card.is-placeholder {
  border-style: dashed; border-color: #C6CCD1;
  background: transparent; box-shadow: none; cursor: default;
}
.event-card.is-placeholder .date-chip { background: #66707A; border-bottom-color: #566069; }
.event-card.is-placeholder .play-badge { background: #99A2AA; }
.event-card.is-placeholder h3, .event-card.is-placeholder .meta,
.event-card.is-placeholder .overline { color: #66707A; }

/* video lightbox (click-to-play; iframe injected only on demand) */
.lb--video { width: min(92vw, 960px); }
.lb--video .lb-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #000; border-radius: var(--radius-card); overflow: hidden;
}
.lb--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- featured interview ---------- */
.featured-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4.5vw, 64px); align-items: center;
}
.featured-play {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
}
.featured-play img { width: 100%; transition: transform .25s ease; }
.featured-play:hover img { transform: scale(1.03); }
.featured-play::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 20, 22, .55));
}
.featured-btn {
  position: absolute; inset: 0; margin: auto; z-index: 1;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--brand-deep); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  padding-left: 6px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
  transition: transform .15s ease, background .15s ease;
}
.featured-play:hover .featured-btn { transform: scale(1.08); background: var(--brand); }
.featured .meta-line { color: var(--mute-dark); font-weight: 700; margin: 0 0 26px; }
.featured .h2 { margin-bottom: 10px; }
@media (max-width: 860px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* ---------- floating emblems (JS-spawned decor, same drift as the hero) ---------- */
.has-emblem { position: relative; overflow: hidden; }
.has-emblem > .container { position: relative; }
.emblem {
  position: absolute;
  pointer-events: none; user-select: none;
  background: url('../img/triskelion-red.png') center / contain no-repeat;
  opacity: .13;
  animation: drift 90s linear infinite;
}
.emblem--rev { animation-direction: reverse; }
.band-dark .emblem { background-image: url('../img/triskelion.png'); opacity: .15; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-header);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-deep); color: #FFF; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }

/* ---------- print ---------- */
@media print {
  .site-header, .drawer, .nav-toggle, .site-footer script { display: none; }
  .band-dark, .hero { background: #FFF !important; color: #000 !important; }
}
