/* PVJ - The Paediatric Video Journal
   Colours are taken from the PVJ logo (red P, teal VJ) and the warm paper
   background used on the PVJ video thumbnails. */

:root {
  --paper: #f7f4ef;
  --surface: #ffffff;
  --ink: #1f1a24;
  --ink-2: #4a4553;
  --muted: #6b6675;
  --line: #e3ded5;
  --red: #9e2a2b;
  --red-dark: #7f1f21;
  --red-tint: #f6e9e8;
  --teal: #155a75;
  --teal-dark: #0e4257;
  --teal-tint: #e6f0f3;
  --night: #13222c;
  --radius: 10px;
  --wrap: 1200px;
  --gutter: 20px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
    "Helvetica Neue", Arial, sans-serif;
}

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

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

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

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

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

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

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- notice bar + header ---------- */
.notice { background: var(--teal-dark); color: #dbe9ee; font-size: 0.8rem; text-align: center; padding: 7px var(--gutter); }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 44px; width: auto; }
.brand-name { font-size: 0.82rem; line-height: 1.2; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.brand-name b { display: block; color: var(--ink); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--paper); color: var(--teal-dark); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .nav-cta { background: var(--teal); color: #fff; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--teal-dark); color: #fff; }

.header-search { display: flex; align-items: center; margin-left: 8px; }
.header-search input { width: 170px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 0.9rem; color: var(--ink); }
.header-search input:focus { background: #fff; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font: inherit; font-weight: 600; font-size: 0.9rem; color: var(--ink); cursor: pointer; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; gap: 2px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .header-search { margin: 8px 0 0; }
  .header-search input { width: 100%; }
}

/* ---------- buttons, chips, eyebrow ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff; text-decoration: none; font-weight: 650; font-size: 0.97rem; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--teal); cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--teal-dark); }
.btn.ghost:hover { background: var(--teal-tint); color: var(--teal-dark); }
.btn.light { background: #fff; color: var(--teal-dark); border-color: #fff; }
.btn.light:hover { background: var(--teal-tint); border-color: var(--teal-tint); color: var(--teal-dark); }
.btn.outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn.outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.eyebrow { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-block; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 5px 12px; font-size: 0.82rem; font-weight: 600; text-decoration: none; }
a.chip:hover { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-tint); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.tight { padding: 36px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .more { font-weight: 650; text-decoration: none; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46em; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-feature { position: relative; }
.hero-feature::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; background: var(--teal); border-radius: 16px; z-index: 0; }
.hero-feature .card { position: relative; z-index: 1; background: var(--surface); border-radius: 14px; padding: 12px 12px 16px; box-shadow: 0 10px 30px rgba(31, 26, 36, 0.12); }
.hero-feature .card h3 { font-size: 1.15rem; }
.hero-feature .label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin: 12px 4px 4px; }
.hero-feature .card-body { padding: 0 4px; }

.stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.stats li { font-size: 0.9rem; color: var(--muted); }
.stats b { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--ink); letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .hero { padding: 36px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-feature::before { inset: 14px -8px -10px 14px; }
}

/* ---------- video grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .grid, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 480px) { .grid, .grid.three { grid-template-columns: 1fr; } }

.card { display: block; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #ddd8cf; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
a.thumb:hover img { transform: scale(1.03); }
.thumb .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(19, 17, 22, 0.85); color: #fff; font-size: 0.74rem; font-weight: 650; padding: 2px 7px; border-radius: 5px; letter-spacing: 0.02em; }
.card-body { padding-top: 12px; }
.card h3 { font-size: 1.02rem; line-height: 1.3; margin: 0 0 6px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--teal); }
.card .who { font-size: 0.9rem; color: var(--ink-2); margin: 0 0 4px; font-weight: 600; }
.card .meta { font-size: 0.8rem; color: var(--muted); margin: 0; }
.card .meta a { color: inherit; text-decoration: none; }
.card .meta a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- conference band ---------- */
.band { background: var(--night); color: #e8eef1; border-radius: 18px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.band .eyebrow { color: #f0b9b6; }
.band h2 { color: #fff; }
.band p { color: #c6d3d9; }
.band-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.band-thumbs .thumb { border-radius: 8px; }
.band .hero-actions { margin-top: 22px; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; padding: 28px 22px; gap: 26px; } }

/* ---------- tiles (topics, conferences) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 108px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 16px 16px 14px; text-decoration: none; color: var(--ink); transition: border-color 0.15s, transform 0.15s; }
.tile:nth-child(3n + 2) { border-left-color: var(--red); }
.tile:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--ink); }
.tile b { font-size: 1.02rem; line-height: 1.25; }
.tile span { font-size: 0.82rem; color: var(--muted); }

.conf-list { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
.conf-item { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.conf-item h2, .conf-item h3 { font-size: 1.45rem; margin-bottom: 6px; }
.conf-item h2 a, .conf-item h3 a { color: var(--ink); text-decoration: none; }
.conf-item h2 a:hover, .conf-item h3 a:hover { color: var(--teal); }
.conf-item .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.conf-item p { margin-bottom: 10px; color: var(--ink-2); }
@media (max-width: 760px) { .conf-item { grid-template-columns: 1fr; } }

/* ---------- page header ---------- */
.page-head { padding: 44px 0 30px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 12px; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.crumbs span { margin: 0 6px; }

.conf-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.conf-head .partner { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; text-align: center; }
.conf-head .partner img { max-height: 84px; width: auto; margin: 0 auto; }
.conf-head .partner small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.95rem; color: var(--ink-2); font-weight: 600; }
@media (max-width: 760px) { .conf-head { grid-template-columns: 1fr; } .conf-head .partner { justify-self: start; } }

/* ---------- filters ---------- */
.filters { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.filters.single { grid-template-columns: minmax(0, 520px); }
.filters input, .filters select { width: 100%; font: inherit; font-size: 0.97rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.filter-status { font-size: 0.9rem; color: var(--muted); margin: 0 0 22px; }
.filter-status button { background: none; border: 0; padding: 0; margin-left: 8px; font: inherit; color: var(--teal); text-decoration: underline; cursor: pointer; }
.empty { display: none; background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 34px; text-align: center; color: var(--ink-2); }
[hidden] { display: none !important; }
@media (max-width: 700px) { .filters { grid-template-columns: 1fr; } }

/* ---------- video page ---------- */
.watch { padding-top: 30px; padding-bottom: 56px; }
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
@media (max-width: 1020px) { .watch-grid { grid-template-columns: 1fr; gap: 40px; } }

.player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 12px 34px rgba(31, 26, 36, 0.16); }
.player iframe, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player button { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; padding: 0; }
.player .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--red); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35); transition: transform 0.15s, background 0.15s; }
.player .play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.player button:hover .play { transform: scale(1.07); background: var(--red-dark); }
.player-note { font-size: 0.78rem; color: var(--muted); margin: 10px 2px 0; }
@media (max-width: 600px) {
  .player { border-radius: 10px; }
  .player .play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .player .play::after { left: 24px; top: 18px; border-width: 12px 0 12px 19px; }
}

.watch h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 26px 0 16px; }
.watch-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--muted); margin: 0 0 22px; padding: 0; list-style: none; }
.watch-meta a { color: var(--teal); font-weight: 650; text-decoration: none; }
.watch-meta a:hover { text-decoration: underline; }

.people { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.person { display: flex; gap: 14px; align-items: center; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.person:nth-child(even) .avatar { background: var(--red); }
.person b { display: block; font-size: 1.05rem; line-height: 1.25; }
.person b a { color: var(--ink); text-decoration: none; }
.person b a:hover { color: var(--teal); text-decoration: underline; }
.person div span { display: block; font-size: 0.9rem; color: var(--ink-2); line-height: 1.35; }

.avatar.photo { overflow: hidden; background: #ddd8cf; }
/* the square crop reaches a little past the photo into the thumbnail's text panel; the slight zoom from the left edge pushes that strip out of the circle */
.avatar.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.09); transform-origin: 0 45%; }

.keypoints { margin: 0 0 24px; padding: 16px 20px 16px 38px; max-width: 46em; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.keypoints li { margin-bottom: 8px; line-height: 1.5; }
.keypoints li:last-child { margin-bottom: 0; }

.transcript { max-width: 46em; margin: 8px 0 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.transcript summary { cursor: pointer; padding: 14px 18px; font-weight: 650; color: var(--teal-dark); }
.transcript summary:hover { background: var(--teal-tint); border-radius: var(--radius); }
.transcript[open] summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.transcript p { margin: 14px 18px; line-height: 1.65; }
.transcript .note { font-size: 0.84rem; color: var(--muted); }

.cite { font-size: 0.9rem; color: var(--ink-2); max-width: 46em; overflow-wrap: anywhere; }

.desc { font-size: 1.04rem; color: var(--ink); max-width: 46em; }
.desc p { margin-bottom: 1em; }
.block-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }

.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share a, .share button { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 15px; font: inherit; font-size: 0.86rem; font-weight: 650; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-tint); }

.disclaimer { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 30px; padding-top: 16px; max-width: 52em; }

.side h2 { font-size: 1.05rem; margin: 0 0 14px; letter-spacing: -0.01em; }
.side-list { display: grid; gap: 14px; list-style: none; margin: 0 0 30px; padding: 0; }
.side-item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: start; }
.side-item .thumb { border-radius: 8px; }
.side-item h3 { font-size: 0.9rem; line-height: 1.3; margin: 0 0 3px; font-weight: 650; letter-spacing: 0; }
.side-item h3 a { color: var(--ink); text-decoration: none; }
.side-item h3 a:hover { color: var(--teal); }
.side-item p { font-size: 0.78rem; color: var(--muted); margin: 0; }
@media (max-width: 1020px) { .side-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .side-list { grid-template-columns: 1fr; } }

/* ---------- speakers ---------- */
.speaker-head { display: flex; gap: 22px; align-items: center; }
.speaker-head .avatar { width: 92px; height: 92px; font-size: 1.9rem; }
.speaker-head h1 { margin-bottom: 6px; }
.speaker-head p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 560px) { .speaker-head { flex-direction: column; align-items: flex-start; } }

.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; }
.az a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 0.88rem; text-decoration: none; color: var(--ink); }
.az a:hover { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-tint); }
.letter { font-size: 1.5rem; color: var(--red); border-bottom: 1px solid var(--line); padding-bottom: 6px; margin: 34px 0 16px; }
.speaker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .speaker-grid { grid-template-columns: 1fr; } }
.speaker-card { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; color: var(--ink); height: 100%; }
.speaker-card:hover { border-color: var(--teal); color: var(--ink); }
.speaker-card .avatar { width: 44px; height: 44px; font-size: 0.92rem; }
.speaker-card b { display: block; line-height: 1.25; font-size: 0.98rem; }
.speaker-card > span:not(.avatar) > span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
li:nth-child(even) > .speaker-card .avatar { background: var(--red); }

/* ---------- prose pages ---------- */
.prose { max-width: 46em; font-size: 1.05rem; padding-bottom: 60px; }
.prose h2 { font-size: 1.5rem; margin: 1.7em 0 0.5em; }
.prose h3 { font-size: 1.15rem; margin: 1.5em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose .callout { background: var(--teal-tint); border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 1.4em 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .updated { font-size: 0.85rem; color: var(--muted); }

.prose .contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0; padding: 0; list-style: none; max-width: none; }
.prose .contact-cards li { margin: 0; }
.contact-cards a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; color: var(--ink); }
.contact-cards a:hover { border-color: var(--teal); }
.contact-cards b { display: block; margin-bottom: 4px; }
.contact-cards span { font-size: 0.88rem; color: var(--muted); word-break: break-word; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- CTA + footer ---------- */
.cta { background: var(--teal); color: #fff; border-radius: 18px; padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: #d3e4ea; margin: 0; max-width: 38em; }
.cta .hero-actions { flex: none; }
@media (max-width: 700px) { .cta { padding: 30px 22px; } }

.site-footer { background: var(--night); color: #b9c7ce; padding: 54px 0 30px; margin-top: 30px; font-size: 0.92rem; }
.site-footer a { color: #e3ecef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.foot-brand .foot-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.foot-brand img { height: 46px; width: auto; }
.foot-brand p { max-width: 30em; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 40px; padding-top: 22px; font-size: 0.8rem; color: #93a5ad; }
.foot-legal p { max-width: 70em; margin-bottom: 8px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }

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