/* ==========================================================================
   YDTO — Youth Disability Talk Out
   Static site stylesheet. Pure CSS, no build step.
   Edit the variables below to re-theme the whole site.
   ========================================================================== */

:root {
  --brand: #7c4a9c;
  --brand-dark: #5b3175;
  --brand-light: #a97fc4;
  --brand-tint: #f4eef8;
  --ink: #17121c;
  --ink-soft: #4a4351;
  --muted: #6d6577;
  --line: #e6e1ea;
  --bg: #ffffff;
  --bg-alt: #faf7fc;
  --accent: #f2b134;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(23, 18, 28, 0.06), 0 2px 8px rgba(23, 18, 28, 0.05);
  --shadow-md: 0 10px 30px rgba(23, 18, 28, 0.09);
  --font-head: "Sora", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", Tahoma, sans-serif;
  --wrap: 1160px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1rem; }

a { color: var(--brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 0.75rem 1rem; border-radius: 0 0 var(--radius) 0;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; color: var(--brand-dark); }
.brand-text small { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block; padding: 0.45rem 0.6rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
}
.site-nav a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.site-nav a.is-active { background: var(--brand-tint); color: var(--brand-dark); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0.7rem; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* -------------------------------------------------------------------- btns */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0 0 1rem; }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(60rem 30rem at 12% -10%, rgba(124, 74, 156, 0.22), transparent 60%),
    radial-gradient(45rem 25rem at 95% 10%, rgba(242, 177, 52, 0.18), transparent 60%),
    linear-gradient(180deg, #fbf8fd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 20ch; }
.hero .lede { max-width: 62ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); }

.eyebrow {
  display: inline-block; margin: 0 0 0.85rem;
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand);
}
.lede-sm { font-size: 1.05rem; color: var(--ink-soft); max-width: 70ch; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.section-tight { padding: clamp(1.75rem, 4vw, 2.5rem) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { max-width: 34ch; }
.prose { max-width: 74ch; color: var(--ink-soft); margin-bottom: 2rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.tag {
  display: inline-block; margin: 0 0 0.5rem; padding: 0.2rem 0.6rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
}
.role { font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); margin: -0.35rem 0 0.6rem; }
.step { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--brand-light); margin: 0; }
.contact-line { font-size: 0.95rem; margin-bottom: 0; }

/* ------------------------------------------------------------------- grids */
.grid-2, .grid-3, .grid-4, .stats-grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.card > :last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card-feature { margin-bottom: 1.5rem; border-left: 5px solid var(--brand); }
.card-feature h3 { font-size: 1.5rem; }
.stage-current { border-color: var(--brand-light); box-shadow: var(--shadow-md); }

.stat {
  display: flex; flex-direction: column; gap: 0.15rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem; box-shadow: var(--shadow-sm);
}
.stat-value { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: var(--brand); line-height: 1.05; }
.stat-label { font-weight: 700; font-size: 0.98rem; }
.stat-note { font-size: 0.82rem; color: var(--muted); }

.ticks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--brand-light);
}
.ticks.two-col { columns: 2; column-gap: 2rem; }

.logo-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  list-style: none; margin: 1rem 0 0; padding: 0;
}
.logo-strip li {
  padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
}
.logo-strip a { text-decoration: none; color: inherit; }

.pull {
  margin: 1.25rem 0 0; padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent); background: var(--brand-tint);
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink);
  font-size: 1.02rem;
}

.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.toc h2 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc ul { margin: 0; padding-left: 1.1rem; }
.toc li { margin-bottom: 0.35rem; }

.case { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.case:first-of-type { border-top: 0; }
.case .grid-2 { margin-bottom: 1rem; }
.case h3 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }

/* -------------------------------------------------------------------- band */
.band {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, #8f5aae 100%);
  color: #fff; padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}
.band h2, .band p { color: #fff; }
.band p { max-width: 55ch; margin-bottom: 0; opacity: 0.9; }
.band-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.band .cta-row { margin: 0; }
.band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.band .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.band .btn-primary { background: #fff; color: var(--brand-dark); }
.band .btn-primary:hover { background: var(--brand-tint); color: var(--brand-dark); }

/* -------------------------------------------------------------------- form */
.contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; max-width: 780px; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
}
.field textarea { resize: vertical; }
.form-note { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--muted); }
.form-note.error { color: #a3232b; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #14101a; color: #cfc8d6; padding: 3rem 0 1.5rem; }
.site-footer h3 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer a { color: #d9d2e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #9d94a9; }
.footer-blurb { max-width: 46ch; font-size: 0.95rem; color: #a79fb2; }
.site-footer .tag { background: transparent; border-color: #332b3c; color: #a79fb2; }
.footer-links, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.45rem; font-size: 0.93rem; }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.social li { font-size: 0.85rem; }
.social a { padding: 0.35rem 0.75rem; border: 1px solid #332b3c; border-radius: 999px; display: inline-block; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #262030;
  font-size: 0.85rem; color: #8e8699;
}
.footer-bottom p { margin: 0; }

/* ----------------------------------------------------------------- reveals */
.reveal > * , .reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .site-nav a { padding: 0.4rem 0.45rem; font-size: 0.82rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.5rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0.15rem; }
  .site-nav a { padding: 0.65rem 0.75rem; font-size: 1rem; }
  .nav-cta { align-self: flex-start; }
  .header-inner { position: relative; }
  .footer-grid { grid-template-columns: 1fr; }
  .ticks.two-col { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ==========================================================================
   YDTO — 2026 editorial upgrade
   Additive components only. Nothing above this line was removed.
   1. Extended colour palette
   2. Editorial founder feature
   3. Colourful impact storytelling
   4. Media / video showcase cards
   5. GIPHY presence
   ========================================================================== */

:root {
  --teal: #147d78;
  --teal-tint: #e6f4f3;
  --coral: #c8452f;
  --coral-tint: #fdeeeb;
  --gold: #9a6b06;
  --gold-tint: #fdf3de;
  --indigo: #3b3a8f;
  --indigo-tint: #ecebfa;
}

/* ------------------------------------------------- editorial split layout */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}
.editorial-media { position: relative; }
.editorial-body > :last-child { margin-bottom: 0; }
.editorial-body h2 { max-width: 18ch; }
.editorial-body .prose { margin-bottom: 1.5rem; }

.frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-tint);
  box-shadow: var(--shadow-md);
}
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.frame-portrait { aspect-ratio: 4 / 5; }
.frame-wide { aspect-ratio: 16 / 10; }
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(23, 18, 28, 0.08);
}
.frame-accent { position: absolute; inset: auto -0.85rem -0.85rem auto; width: 55%; height: 55%; z-index: -1; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-light), var(--accent)); opacity: 0.35; }

/* Awaiting-photograph slot. Swap the inner markup for a real <img> when the
   official photograph is supplied — the layout does not change. */
.frame-pending {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem; padding: 2rem 1.5rem; text-align: center;
  background:
    radial-gradient(24rem 18rem at 20% 0%, rgba(169, 127, 196, 0.35), transparent 65%),
    linear-gradient(160deg, #efe6f6 0%, #fbf6ff 55%, #f6eef4 100%);
}
.frame-pending img { width: 74px; height: auto; object-fit: contain; }
.frame-pending p { margin: 0; max-width: 30ch; font-size: 0.9rem; color: var(--ink-soft); }
.frame-pending .tag { margin: 0; }

.figure-caption { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--muted); }

.quote-block {
  margin: 1.5rem 0 0; padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--brand);
  background: var(--brand-tint); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block p { margin: 0; font-family: var(--font-head); font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.quote-block footer { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }

/* -------------------------------------------------- colourful impact tiles */
.impact-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.impact-tile {
  position: relative; display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1.75rem 1.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.impact-tile::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--tile-accent, var(--brand)); }
.impact-tile .impact-figure {
  font-family: var(--font-head); font-size: clamp(2.25rem, 6vw, 3.4rem); font-weight: 800;
  line-height: 1; color: var(--tile-accent, var(--brand)); letter-spacing: -0.03em;
}
.impact-tile .impact-label { font-weight: 700; font-size: 1rem; }
.impact-tile .impact-note { font-size: 0.87rem; color: var(--muted); }
.impact-tile--brand { --tile-accent: var(--brand); background: var(--brand-tint); }
.impact-tile--teal { --tile-accent: var(--teal); background: var(--teal-tint); }
.impact-tile--coral { --tile-accent: var(--coral); background: var(--coral-tint); }
.impact-tile--gold { --tile-accent: var(--gold); background: var(--gold-tint); }
.impact-tile--indigo { --tile-accent: var(--indigo); background: var(--indigo-tint); }

.pillar-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pillar {
  border-radius: var(--radius-lg); padding: 1.6rem 1.5rem;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--tile-accent, var(--brand));
}
.pillar h3 { color: var(--tile-accent, var(--brand-dark)); }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0; }
.pillar--brand { --tile-accent: var(--brand); }
.pillar--teal { --tile-accent: var(--teal); }
.pillar--coral { --tile-accent: var(--coral); }
.pillar--gold { --tile-accent: var(--gold); }

/* ------------------------------------------------------ media / video cards */
.media-showcase { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }

.media-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.media-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.media-card-body { padding: 1.35rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.media-card-body h3 { margin: 0; font-size: 1.15rem; }
.media-card-body p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.media-card-body .btn { align-self: flex-start; margin-top: 0.5rem; }

.platform {
  display: inline-flex; align-items: center; gap: 0.45rem; align-self: flex-start;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid currentColor; color: var(--brand-dark); background: #fff;
}
.platform::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.platform--youtube { color: var(--coral); }
.platform--linkedin { color: var(--indigo); }
.platform--instagram { color: var(--brand-dark); }
.platform--x { color: var(--ink); }
.platform--giphy { color: var(--teal); }
.platform--broadcast { color: var(--gold); }

.video-embed {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #14101a; border-bottom: 1px solid var(--line);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.thumb-link { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #14101a; text-decoration: none; }
.thumb-link img { width: 100%; height: 100%; object-fit: cover; }
.thumb-link .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-md);
  display: grid; place-items: center;
}
.thumb-link .play::after {
  content: ""; margin-left: 4px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--brand-dark);
}
.thumb-link:hover .play { background: #fff; }
.thumb-link:focus-visible { outline-offset: -3px; }

/* Branded fallback panel used where a platform blocks reliable embedding. */
.thumb-brand {
  /* Height follows the label rather than a fixed ratio, so text never clips. */
  aspect-ratio: auto; min-height: clamp(190px, 22vw, 240px);
  display: grid; place-items: center; align-content: center;
  gap: 0.5rem; padding: 1.75rem 1.35rem; text-align: center;
  background: linear-gradient(140deg, var(--brand-dark) 0%, var(--brand) 55%, #8f5aae 100%);
  color: #fff;
}
.thumb-brand strong { font-family: var(--font-head); font-size: 1.05rem; max-width: 24ch; }
.thumb-brand span { font-size: 0.82rem; opacity: 0.88; }
.thumb-brand img { width: 52px; height: auto; object-fit: contain; }
/* Inside a branded panel the play marker sits in normal flow so it can never
   overlap the label text. */
.thumb-brand .play { position: static; transform: none; width: 46px; height: 46px; margin-top: 0.35rem; }

.media-hub-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ------------------------------------------------------------------ giphy */
.giphy-strip {
  display: grid; gap: 1rem; list-style: none; margin: 0 0 1.75rem; padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.giphy-strip li { margin: 0; }
.giphy-strip a {
  display: block; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, #ffffff 0%, var(--brand-tint) 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
}
.giphy-strip img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.giphy-strip a:hover { box-shadow: var(--shadow-md); }

/* -------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial-body h2 { max-width: none; }
  .media-showcase { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .media-card:hover { transform: none; }
}

/* Screen-reader-only text (used for "opens in a new tab" link context). */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.social a { display: inline-flex; align-items: center; gap: 0.4rem; }
.social-icon { flex: none; }
