/* ==========================================================================
   Carry On Touring — bento redesign
   Plain CSS, no build step. Safe to upload as-is to any static host.
   ========================================================================== */

:root {
  --purple: #7a2a8f;
  --purple-dark: #571f66;
  --ink: #0d0c10;
  --paper: #f7f4f2;
  --paper-dim: #ece7e3;
  --white: #ffffff;
  --accent: #ffb627;
  --accent-ink: #3a2500;
  --line: rgba(13, 12, 16, 0.08);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(13,12,16,0.04), 0 8px 24px rgba(13,12,16,0.06);
  --shadow-hover: 0 4px 10px rgba(13,12,16,0.06), 0 20px 40px rgba(13,12,16,0.12);
  --font-display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 12px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 10px 24px rgba(255,182,39,0.45); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ---------- Top bar / announcement ---------- */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 24px;
  text-align: center;
  flex-wrap: wrap;
}
.topbar a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,244,242,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  color: var(--ink);
}
.logo-img {
  height: 34px;
  width: auto;
  border-radius: 8px;
  display: block;
}
.logo-img-footer { height: 42px; border-radius: 10px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.is-active { opacity: 1; color: var(--purple); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
}
.mobile-panel a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .btn { margin-top: 12px; }

body.nav-open .mobile-panel { display: flex; }

/* ---------- Hero ---------- */
.hero {
  padding-top: 56px;
  padding-bottom: 40px;
}
.hero-inner {
  position: relative;
  background:
    linear-gradient(115deg, rgba(58,20,68,0.74) 0%, rgba(20,9,26,0.6) 45%, rgba(13,12,16,0.85) 100%),
    url("../hero-crowd.jpg") left bottom / cover no-repeat;
  border-radius: 32px;
  overflow: hidden;
  padding: 72px 48px;
  color: var(--white);
  isolation: isolate;
}
.hero-credit {
  position: absolute;
  right: 20px;
  bottom: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero p.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 56ch;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
}
.hero-stats .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
}
.hero-stats .label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* ---------- Bento grid ---------- */
.section { padding-top: 20px; padding-bottom: 20px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { max-width: 46ch; color: rgba(13,12,16,0.65); margin: 8px 0 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 18px;
}

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* span helpers */
.c-2 { grid-column: span 2; }
.c-3 { grid-column: span 3; }
.c-4 { grid-column: span 4; }
.c-6 { grid-column: span 6; }
.r-2 { grid-row: span 2; }

.card-dark { background: var(--ink); color: var(--white); border-color: rgba(255,255,255,0.08); }
.card-purple { background: linear-gradient(155deg, var(--purple), var(--purple-dark)); color: var(--white); border: none; }
.card-accent { background: var(--accent); color: var(--accent-ink); border: none; }
.card-outline-only { box-shadow: none; }

.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.card p { margin: 0; color: inherit; opacity: 0.85; font-size: 14.5px; }
.card-dark p, .card-purple p { opacity: 0.78; }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,12,16,0.06);
  margin-bottom: 18px;
}
.card-dark .card-icon, .card-purple .card-icon { background: rgba(255,255,255,0.14); }
.card-accent .card-icon { background: rgba(58,37,0,0.12); }
.card-icon svg { width: 22px; height: 22px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 16px;
  text-decoration: none;
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* blog listing cards with square thumbnail image beside text */
.blog-card { padding: 22px; display: flex; flex-direction: row; align-items: stretch; gap: 18px; }
.blog-card-thumb {
  position: relative;
  flex: 0 0 130px;
  width: 130px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.06); }
.blog-card-date {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.blog-card-body { padding: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 17px; margin-bottom: 8px; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { color: var(--purple); }
.blog-card-body p { font-size: 14px; color: rgba(13,12,16,0.7); opacity: 1; margin: 0 0 12px; }
.blog-card-body .card-link { margin-top: auto; }
@media (max-width: 480px) {
  .blog-card { flex-direction: column; }
  .blog-card-thumb { width: 100%; flex-basis: auto; height: 140px; }
}

/* blog listing pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px auto 32px;
}
.blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}
.blog-pagination a:hover { border-color: var(--purple); color: var(--purple); }
.blog-pagination a.is-active { background: var(--purple); border-color: var(--purple); color: var(--white); }

/* prev/next post navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.post-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 46%;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}
.post-nav-link:hover { color: var(--purple); }
.post-nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.post-nav-link small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(13,12,16,0.5);
  margin-bottom: 4px;
}
.post-nav-older { margin-left: auto; text-align: right; }
.post-nav-older span { display: flex; flex-direction: column; align-items: flex-end; }
@media (max-width: 640px) {
  .post-nav-link { max-width: 100%; }
  .post-nav-older { text-align: left; margin-left: 0; }
  .post-nav-older span { align-items: flex-start; }
}

/* stat tiles */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-weight: 600; font-size: 14px; opacity: 0.85; }

/* photo placeholder tiles (swap background-image on real photos) */
.photo-tile {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(13,12,16,0) 30%, rgba(13,12,16,0.75) 100%),
    linear-gradient(135deg, #4b1a58, #7a2a8f 55%, #b45cc9);
}
.photo-tile.alt-1 { background:
    linear-gradient(180deg, rgba(13,12,16,0) 30%, rgba(13,12,16,0.75) 100%),
    linear-gradient(135deg, #1c1c1e, #3a2f45 60%, #7a2a8f); }
.photo-tile.alt-2 { background:
    linear-gradient(180deg, rgba(13,12,16,0) 30%, rgba(13,12,16,0.75) 100%),
    linear-gradient(135deg, #5c1f6e, #ffb627 140%); }
.photo-note {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0,0,0,0.45);
  color: #fff;
  padding: 5px 9px;
  border-radius: 6px;
}
.photo-tile h3 { font-size: 19px; margin-bottom: 4px; }
.photo-tile p { font-size: 13.5px; opacity: 0.85; }

/* fading image carousel (e.g. UK-EU Roundtable tile) */
.carousel-tile { background: none; }
.carousel-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,12,16,0.05) 30%, rgba(13,12,16,0.82) 100%);
  z-index: 1;
  pointer-events: none;
}
.carousel-tile .photo-note,
.carousel-tile > div:not(.carousel-slides) {
  position: relative;
  z-index: 2;
}
.carousel-slides { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.carousel-slide.is-active { opacity: 1; }

/* video modal (click-to-load YouTube embed) */
.video-card { cursor: pointer; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,12,16,0.88);
}
.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-modal-close svg { width: 18px; height: 18px; }
.video-modal-close:hover { background: rgba(255,255,255,0.22); }
.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* video card */
.video-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(13,12,16,0.02) 0%, rgba(13,12,16,0.15) 50%, rgba(13,12,16,0.72) 100%),
    url("../video-why-touring-matters.jpg") center 30% / cover no-repeat;
  color: var(--white);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: rgba(255,255,255,0.25); }
.play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }

/* quote card */
.quote-card { display: flex; flex-direction: column; justify-content: space-between; }
.quote-card blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
}
.quote-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #b45cc9);
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 20%;
}
.quote-person .name { font-weight: 700; font-size: 14px; }
.quote-person .role { font-size: 12.5px; opacity: 0.6; }
.avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}

/* quote carousel: stacked slides sized by the tallest, no absolute positioning
   so the card's own padding still applies (unlike the photo-tile carousels) */
.quote-carousel { display: flex; flex-direction: column; }
.quote-carousel .carousel-slides { position: static; inset: auto; display: grid; flex: 1; width: auto; height: auto; }
.quote-carousel .carousel-slide {
  grid-column: 1;
  grid-row: 1;
  position: static;
  inset: auto;
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  object-fit: unset;
  transition: opacity 1s ease;
  pointer-events: none;
}
.quote-carousel .carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* achievement card */
.achievement-card { display: flex; flex-direction: column; justify-content: center; }

/* supporters marquee */
.marquee-card { padding: 26px 0; }
.marquee-head { padding: 0 30px; margin-bottom: 18px; }
.marquee-track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: scroll 44s linear infinite;
  width: max-content;
  padding: 0 30px;
}
.marquee-card:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track img {
  height: 72px;
  width: auto;
  flex-shrink: 0;
  border-radius: 10px;
}

/* news list */
.news-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item .date { font-size: 12px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 0.04em; }
.news-item h4 { font-size: 15.5px; font-weight: 700; margin: 4px 0 0; }
.news-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; opacity: 0.4; }

/* blog highlights carousel */
.blog-highlights-card { display: flex; flex-direction: column; }
.blog-highlights-card h3 { flex-shrink: 0; }
.carousel-slide.blog-highlight-slide {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}
.blog-highlight-slide img {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 14px;
  object-fit: cover;
}
.blog-highlight-slide h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-highlight-slide blockquote {
  margin: 0;
  font-size: 13px;
  font-style: italic;
  color: rgba(13,12,16,0.62);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* social row */
.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 13.5px;
  border: 1px solid rgba(255,255,255,0.18);
}
.social-chip svg { width: 16px; height: 16px; }

/* newsletter */
.newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.newsletter-copy { max-width: 40ch; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14.5px;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink);
  color: rgba(247,244,242,0.7);
  margin-top: 60px;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { max-width: 32ch; font-size: 14px; }
.footer-col h5 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 14px; color: inherit; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .social-row { gap: 8px; }
.footer-bottom .social-chip { padding: 8px 10px; background: rgba(255,255,255,0.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 760px) {
  .hero-inner { padding: 44px 26px; border-radius: 24px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-2, .c-3, .c-4, .c-6 { grid-column: span 2; }
  .r-2 { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .newsletter-card { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Internal pages (About Us, Advisory Group, etc.)
   ========================================================================== */

.page-hero {
  padding-top: 56px;
  padding-bottom: 20px;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  max-width: 22ch;
  margin-bottom: 18px;
}
.page-hero .lede {
  font-size: 17px;
  color: rgba(13,12,16,0.7);
  max-width: 70ch;
  margin: 0 0 8px;
}

.prose-section {
  padding-top: 8px;
  padding-bottom: 30px;
}
.prose-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.prose-card p { margin: 0 0 16px; color: rgba(13,12,16,0.78); line-height: 1.7; }
.prose-card p:last-child { margin-bottom: 0; }

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(13,12,16,0.55);
  margin-bottom: 18px;
}
.crumb a { text-decoration: none; color: var(--purple); }

/* category link cards (About Us -> sub pages) */
.cat-card { display: flex; flex-direction: column; }
.cat-card .card-link { margin-top: auto; padding-top: 16px; }
.cat-card.is-pending { opacity: 0.72; }
.pending-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(13,12,16,0.08);
  padding: 4px 9px;
  border-radius: 6px;
  margin-top: auto;
  align-self: flex-start;
}

/* person / bio cards */
.person-card { display: flex; flex-direction: column; }
.person-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.avatar-lg {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #b45cc9);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.avatar-lg-photo { object-fit: cover; object-position: center 20%; }
.person-head .name { font-size: 17px; font-weight: 700; }
.person-head .role { font-size: 12.5px; color: rgba(13,12,16,0.6); margin-top: 2px; }
.person-card p { font-size: 14px; color: rgba(13,12,16,0.75); margin: 0; }
.person-card blockquote {
  font-size: 14px;
  font-style: italic;
  color: rgba(13,12,16,0.8);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 14px 0 0;
}

.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-strip h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; opacity: 0.7; }

@media (max-width: 760px) {
  .prose-card { padding: 26px; }
}

/* ==========================================================================
   FAQ page
   ========================================================================== */

.faq-list { display: flex; flex-direction: column; gap: 18px; }
.faq-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 14px;
  color: var(--purple);
}
.faq-card p { margin: 0 0 14px; color: rgba(13,12,16,0.78); line-height: 1.7; }
.faq-card p:last-child { margin-bottom: 0; }
.faq-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: rgba(13,12,16,0.78);
  line-height: 1.7;
}
.faq-card li { margin-bottom: 4px; }

.achievement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: achievement;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.achievement-list li {
  counter-increment: achievement;
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: rgba(13,12,16,0.78);
  line-height: 1.6;
}
.achievement-list li::before {
  content: counter(achievement);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(2px);
}

.support-step { display: flex; flex-direction: column; }
.support-step .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 10px;
}
.support-step h4 { font-size: 16px; margin: 0 0 8px; }
.support-step p { font-size: 14px; color: rgba(13,12,16,0.7); margin: 0 0 14px; }
.support-step .card-link { margin-top: auto; }

/* ==========================================================================
   Open letter page
   ========================================================================== */

.letter-card { padding: 0; overflow: hidden; }
.letter-head {
  padding: 40px 44px 32px;
  background:
    linear-gradient(115deg, rgba(58,20,68,0.72) 0%, rgba(20,9,26,0.6) 45%, rgba(13,12,16,0.86) 100%),
    url("../hero-crowd.jpg") left bottom / cover no-repeat;
  color: #fff;
}
.letter-head .logo-img { height: 30px; margin-bottom: 26px; }
.letter-head .letter-recipient { font-size: 14.5px; line-height: 1.7; opacity: 0.92; }
.letter-head .letter-date { margin-top: 18px; font-size: 14px; opacity: 0.8; }
.letter-body { padding: 40px 44px 44px; }
.letter-body .letter-salutation { font-size: 15px; margin: 0 0 20px; color: rgba(13,12,16,0.85); }
.letter-body h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 22px;
  max-width: 26ch;
}
.letter-body p { margin: 0 0 18px; color: rgba(13,12,16,0.8); line-height: 1.75; font-size: 15.5px; }
.letter-body p.letter-pullquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--purple);
  margin: 28px 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}
.letter-signoff { margin-top: 36px; }
.letter-signatures {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin: 24px 0 36px;
}
.letter-signatures div { min-width: 140px; }
.letter-signatures .sig-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}
.letter-signatures .sig-role { font-size: 12.5px; color: rgba(13,12,16,0.6); line-height: 1.5; }
.letter-cc {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 13.5px;
  color: rgba(13,12,16,0.65);
}
.letter-cc p { margin: 0 0 6px; font-size: inherit; color: inherit; line-height: 1.6; }
.letter-cc strong { color: rgba(13,12,16,0.85); }
.letter-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 760px) {
  .letter-head, .letter-body { padding-left: 26px; padding-right: 26px; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(13,12,16,0.8);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .form-actions { margin-top: 4px; }
.contact-form .form-status {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  min-height: 1.4em;
}
.contact-form .form-status.is-error { color: #c0392b; }

.contact-info-card { display: flex; flex-direction: column; gap: 20px; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-row .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-row h4 { font-size: 14.5px; margin: 0 0 4px; }
.contact-info-row p, .contact-info-row a { font-size: 14px; color: rgba(13,12,16,0.7); margin: 0; }
.contact-info-row a { color: var(--purple); font-weight: 600; text-decoration: none; }

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

/* ==========================================================================
   Migrated article / video pages
   ========================================================================== */

.video-page-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  cursor: pointer;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.video-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,12,16,0.1) 0%, rgba(13,12,16,0.85) 90%);
}
.video-page-card > * { position: relative; z-index: 1; }
.video-page-card > .play-btn { position: absolute; }
.video-page-card h3 { font-size: 18px; margin: 0 0 4px; }
.video-page-card p { font-size: 13.5px; opacity: 0.85; margin: 0; }

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.article-meta .date {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-meta .author { font-size: 13px; color: rgba(13,12,16,0.55); }

.pdf-link-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(122,42,143,0.08);
  color: var(--purple);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}
.pdf-link:hover { background: rgba(122,42,143,0.15); }
.pdf-link svg { width: 15px; height: 15px; }

.prose-card p.pull-note {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--purple);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 22px 0;
  line-height: 1.4;
}

.source-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: rgba(13,12,16,0.55);
}
.source-note a { color: var(--purple); font-weight: 600; }

.prose-card figure {
  margin: 24px auto;
  max-width: 50%;
}
.prose-card figure img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.prose-card figure figcaption {
  font-size: 12.5px;
  color: rgba(13,12,16,0.55);
  margin-top: 8px;
  text-align: center;
}
.prose-card figure.figure-inline {
  max-width: 320px;
}

@media (max-width: 640px) {
  .prose-card figure,
  .prose-card figure.figure-inline {
    max-width: 100%;
  }
}

/* ==========================================================================
   Profile rows — full-width, photo left / text right
   (ambassadors, parliamentarians)
   ========================================================================== */

.shuffle-note {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(13,12,16,0.55);
}
.shuffle-btn {
  display: inline-block;
  margin-left: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple);
  background: rgba(122,42,143,0.08);
  border: 0;
  border-radius: 8px;
  padding: 5px 11px;
  cursor: pointer;
}
.shuffle-btn:hover { background: rgba(122,42,143,0.16); }

.profile-list { display: flex; flex-direction: column; gap: 20px; }

.profile-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px;
}
.profile-photo {
  width: 170px;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 16px;
  background: var(--paper-dim);
}
.profile-body { flex: 1; min-width: 0; }
.profile-body .name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.profile-body .role {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
  margin-top: 7px;
}
.profile-body p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(13,12,16,0.75);
  margin: 14px 0 0;
}
.profile-body blockquote {
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.65;
  color: rgba(13,12,16,0.8);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 18px 0 0;
}
.profile-credit {
  font-size: 12px !important;
  color: rgba(13,12,16,0.45) !important;
  margin-top: 14px !important;
}
.profile-row .pending-tag { margin-top: 16px; }

@media (max-width: 760px) {
  .profile-row {
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }
  .profile-photo { width: 190px; max-width: 60%; }
  .profile-body .name { font-size: 20px; }
}

/* --- profile rows: initials fallback, party meta, links ------------------- */

.profile-photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple), #b45cc9);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.02em;
}
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}
.party-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(13,12,16,0.08);
  color: rgba(13,12,16,0.7);
}
.party-conservative     { background: rgba(0,135,220,0.14);  color: #0b5c8f; }
.party-labour           { background: rgba(228,0,59,0.12);   color: #a40130; }
.party-liberal-democrat { background: rgba(250,166,26,0.18); color: #8a5800; }
.party-snp              { background: rgba(255,182,39,0.22); color: #6d4a00; }
.party-plaid-cymru      { background: rgba(0,91,84,0.14);    color: #00443f; }
.party-dup              { background: rgba(212,106,76,0.16); color: #8a3a20; }
.party-green            { background: rgba(106,176,35,0.16); color: #3d6613; }
.party-crossbench       { background: rgba(122,42,143,0.10); color: #5c2069; }
.party-bishops          { background: rgba(122,42,143,0.10); color: #5c2069; }
.constituency {
  font-size: 13px;
  color: rgba(13,12,16,0.6);
}
.profile-links {
  font-size: 13px !important;
  margin-top: 14px !important;
}
.profile-links a { color: var(--purple); font-weight: 600; text-decoration: none; }
.profile-links a:hover { text-decoration: underline; }

/* ==========================================================================
   Logo grids — trade bodies & industry supporters
   ========================================================================== */

.org-card { display: flex; flex-direction: column; }
.org-logo {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.org-logo img {
  max-height: 96px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
}
.org-card h3 { font-size: 18px; margin: 0 0 4px; }
.org-card .org-kind {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
  margin-bottom: 10px;
}
.org-card p { font-size: 14px; line-height: 1.65; color: rgba(13,12,16,0.72); margin: 0; }

@media (max-width: 760px) {
  .org-logo { height: 74px; margin-bottom: 14px; }
  .org-logo img { max-height: 74px; }
}

/* logo standing in where there is no photograph */
.profile-photo-logo {
  object-fit: contain;
  background: var(--ink);
  padding: 26px;
}
.avatar-lg-logo {
  background: var(--ink);
  object-fit: contain;
  padding: 8px;
}

/* "spoke as ... MP for ..." note on peers who have moved from the Commons */
.spoke-as {
  font-size: 12.5px !important;
  font-style: italic;
  color: rgba(13,12,16,0.5) !important;
  margin-top: 10px !important;
}
.party-your-party { background: rgba(13,12,16,0.10); color: rgba(13,12,16,0.72); }

/* ==========================================================================
   Accessibility, search and site map
   ========================================================================== */

/* Skip link — visible only once focused by keyboard. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* A single, consistent keyboard focus ring across the whole site. */
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}
.card-dark :focus-visible,
.card-purple :focus-visible,
footer.site :focus-visible,
.topbar :focus-visible {
  outline-color: var(--accent);
}
main:focus { outline: none; }

/* Screen-reader-only text. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- Search box in the header ------------------------------------------- */
.nav-search { display: flex; align-items: center; }
.nav-search form {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
}
.nav-search input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  width: 140px;
  padding: 6px 0;
}
.nav-search input:focus { outline: none; }
.nav-search form:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(122, 42, 143, 0.15);
}
.nav-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  cursor: pointer;
  flex: none;
}
.nav-search button svg { width: 16px; height: 16px; }
.nav-search button:hover { background: var(--purple-dark); }

.mobile-panel .nav-search { margin: 8px 0 4px; }
.mobile-panel .nav-search form { width: 100%; }
.mobile-panel .nav-search input { width: 100%; }

@media (max-width: 1100px) {
  .nav-search input { width: 104px; }
}

/* --- Search results page ------------------------------------------------- */
.search-page-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}
.search-page-form input[type="search"] {
  flex: 1 1 280px;
  min-width: 0;
  padding: 14px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.search-page-form input[type="search"]:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(122, 42, 143, 0.15);
}
.search-meta {
  font-size: 14px;
  color: rgba(13, 12, 16, 0.6);
  margin: 18px 0 6px;
}
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.search-results li:last-child { border-bottom: 0; }
.search-results h2 {
  font-size: 20px;
  margin: 0 0 6px;
}
.search-results h2 a { color: var(--purple); text-decoration: none; }
.search-results h2 a:hover { text-decoration: underline; }
.search-results .search-kind {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 12, 16, 0.45);
  margin-bottom: 8px;
}
.search-results p {
  margin: 0;
  color: rgba(13, 12, 16, 0.72);
  line-height: 1.65;
  font-size: 15px;
}
.search-results mark {
  background: rgba(255, 182, 39, 0.5);
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}
.search-empty { color: rgba(13, 12, 16, 0.7); line-height: 1.7; }

/* --- Site map page ------------------------------------------------------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.sitemap-group h2 {
  font-size: 18px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--purple);
}
.sitemap-group ul { list-style: none; margin: 0; padding: 0; }
.sitemap-group li { margin: 0 0 9px; }
.sitemap-group a {
  text-decoration: none;
  color: rgba(13, 12, 16, 0.82);
  font-size: 15px;
  line-height: 1.45;
}
.sitemap-group a:hover { color: var(--purple); text-decoration: underline; }
.sitemap-group .sitemap-date {
  display: block;
  font-size: 12px;
  color: rgba(13, 12, 16, 0.45);
}

@media (max-width: 1100px) {
  .nav > .nav-search { display: none; }
}

/* Mailing-list call to action, now living under the footer tagline. */
.footer-brand .footer-cta { margin-top: 18px; }
@media (max-width: 720px) {
  .footer-brand .footer-cta { display: flex; width: 100%; }
}

/* --- Summit video index ---------------------------------------------------
   Compact, image-free video cards. Like the rest of the site, nothing is
   requested from YouTube until the visitor actually presses play. */
.summit-feature {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  flex-wrap: wrap;
}
.summit-feature .summit-play {
  flex: none;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.summit-feature .summit-play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.summit-feature:hover .summit-play { transform: scale(1.08); }
.summit-feature h3 { font-size: 22px; margin: 0 0 6px; }
.summit-feature p { margin: 0; opacity: 0.85; font-size: 14.5px; }
.summit-feature .summit-body { flex: 1 1 320px; min-width: 0; }

.summit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}
.summit-video {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.summit-video:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(122, 42, 143, 0.35);
}
.summit-video .summit-play {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(122, 42, 143, 0.1);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
}
.summit-video .summit-play svg { width: 15px; height: 15px; fill: currentColor; margin-left: 2px; }
.summit-video .summit-body { min-width: 0; }
.summit-video .summit-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.25;
  margin: 2px 0 4px;
}
.summit-video .summit-role {
  font-size: 13px;
  color: rgba(13, 12, 16, 0.6);
  line-height: 1.45;
  margin: 0 0 8px;
}
.summit-video .summit-meta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13, 12, 16, 0.42);
}
.summit-group { margin-bottom: 14px; }
.summit-group h2 {
  font-size: 19px;
  margin: 0 0 4px;
}
.summit-group p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: rgba(13, 12, 16, 0.65);
}

/* The purple eyebrow is unreadable on the dark and purple cards — use accent. */
.card-dark .eyebrow,
.card-purple .eyebrow { color: var(--accent); }
