/* ============================================================
   FRUK v0 — Fertility Research UK
   styles.css — Mobile-first, CSS-variable driven
   (Fonts loaded in base.njk — preconnect + stylesheet link)
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  /* Apricot cream — bright orange + sky blue accent */
  --primary:       #F97316;
  --primary-dark:  #EA580C;
  --primary-light: #FFEDD5;
  --accent:        #0369A1;
  --accent-light:  #E0F2FE;
  --bg:            #FFF7ED;
  --bg-white:      #FFFFFF;
  --text:          #292524;
  --muted:         #78716C;
  --border:        #E7E5E4;

  --font-heading: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --text-base:    clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
  --text-lead:    clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  --leading-tight: 1.2;
  --leading-snug:  1.35;
  --leading-body:  1.62;
  --tracking-tight:  -0.02em;
  --tracking-wide: 0.02em;

  --max-width:    1120px;
  --header-h:     64px;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow:       0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg:    0 4px 20px rgba(0,0,0,0.08);
  --transition:   0.2s ease;
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-short: 0.22s;
  --duration-medium: 0.45s;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a   { color: var(--primary-dark); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus-visible { color: var(--primary); }

/* In-page links: clearer hierarchy + smooth underline */
main a:not(.btn):not(.back-to-top):not(.linkedin-link):not(.news-card) {
  text-decoration: underline;
  text-decoration-color: rgba(234, 88, 12, 0.32);
  text-underline-offset: 0.15em;
  transition:
    color var(--transition),
    text-decoration-color var(--duration-short) var(--ease-out-soft);
}
main a:not(.btn):not(.back-to-top):not(.linkedin-link):not(.news-card):hover,
main a:not(.btn):not(.back-to-top):not(.linkedin-link):not(.news-card):focus-visible {
  text-decoration-color: var(--primary);
}

/* ---- Focus utility ---- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 4.8vw + 0.6rem, 3.15rem);
  line-height: var(--leading-tight);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.55rem, 2.8vw + 0.65rem, 2.2rem);
  line-height: var(--leading-snug);
  margin-bottom: 0.5em;
}
h3 {
  font-size: clamp(1.1rem, 1vw + 0.85rem, 1.25rem);
  line-height: var(--leading-snug);
  font-weight: 600;
  margin-bottom: 0.4em;
}
h4 {
  font-size: 1.05rem;
  line-height: var(--leading-snug);
  font-weight: 600;
  margin-bottom: 0.35em;
}
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section {
  padding: 4rem 0;
}
.section--alt {
  background: var(--bg-white);
}
.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
.section__header p {
  color: var(--muted);
  font-size: var(--text-lead);
  line-height: var(--leading-body);
  margin-top: 0.5rem;
}
.section__kicker {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.section__deck {
  font-size: var(--text-lead);
  line-height: var(--leading-body);
  color: var(--muted);
  margin-top: 0.75rem !important;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.section__deck--tight {
  max-width: 28rem;
  font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.05rem);
  margin-top: 0.5rem !important;
}
.section__header--team {
  margin-bottom: 2rem;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link {
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: var(--tracking-tight);
}
.logo-text strong {
  color: var(--accent);
  font-weight: 700;
}

/* Desktop nav */
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-list a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition:
    border-color var(--duration-short) var(--ease-out-soft),
    color var(--duration-short) var(--ease-out-soft);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Donate (disabled) in nav */
.nav-donate {
  margin-left: 0.5rem;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-list.open {
    transform: translateX(0);
  }
  .nav-list a {
    font-size: 1.15rem;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--duration-short) var(--ease-out-soft),
    color var(--duration-short) var(--ease-out-soft),
    border-color var(--duration-short) var(--ease-out-soft),
    box-shadow var(--duration-short) var(--ease-out-soft),
    transform var(--duration-short) var(--ease-out-soft);
  text-decoration: none;
  line-height: 1.3;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--accent);
  color: #fff;
}
.btn-small {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}
.btn:disabled, .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
}
.btn:disabled:hover { background: var(--primary); border-color: var(--primary); }

@media (prefers-reduced-motion: no-preference) {
  .btn:active:not(:disabled) {
    transform: scale(0.98);
  }
}
.btn-badge {
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--border);
  color: var(--muted);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* Home page hero — distinct band above the fold */
.hero--home {
  padding: clamp(5.25rem, 12vw, 7.5rem) 0 clamp(5rem, 10vw, 6.5rem);
  background:
    radial-gradient(
      ellipse 95% 75% at 88% 0%,
      rgba(249, 115, 22, 0.14),
      transparent 58%
    ),
    radial-gradient(
      ellipse 80% 60% at 0% 100%,
      rgba(3, 105, 161, 0.1),
      transparent 55%
    ),
    linear-gradient(
      178deg,
      #ffffff 0%,
      var(--primary-light) 52%,
      var(--bg) 100%
    );
  border-bottom: 1px solid rgba(231, 229, 228, 0.95);
  box-shadow: 0 18px 48px -28px rgba(41, 37, 36, 0.14);
}
.hero--home h1 {
  font-size: clamp(2.35rem, 5.8vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0.65rem;
}
.hero--home .tagline {
  font-size: clamp(1.08rem, 2.4vw, 1.28rem);
  font-weight: 600;
  color: var(--primary-dark);
  max-width: 34rem;
}
.hero--home .lead {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}
.hero--home .hero-actions {
  gap: 1rem;
}

/* Subtle geometric motif (other heroes) */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.05;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.05;
  pointer-events: none;
}
/* Stronger blobs on home (must follow base .hero::before/::after) */
.hero.hero--home::before {
  opacity: 0.13;
  width: min(520px, 95vw);
  height: min(520px, 95vw);
  top: -min(110px, 16vw);
  right: -min(100px, 12vw);
}
.hero.hero--home::after {
  opacity: 0.1;
  width: min(400px, 85vw);
  height: min(400px, 85vw);
  bottom: -min(70px, 12vw);
  left: -min(70px, 10vw);
}
.hero h1 {
  margin-bottom: 0.5rem;
}
.hero .tagline {
  font-size: var(--text-lead);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 1rem;
}
.hero .lead {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: var(--text);
  font-size: var(--text-lead);
  line-height: var(--leading-body);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero--home .container > * {
    animation: hero-fade-up 0.65s var(--ease-out-soft) backwards;
  }
  .hero--home .container h1 {
    animation-delay: 0.04s;
  }
  .hero--home .container .tagline {
    animation-delay: 0.1s;
  }
  .hero--home .container .lead {
    animation-delay: 0.16s;
  }
  .hero--home .container .hero-actions {
    animation-delay: 0.22s;
  }
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .card-grid      { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3   { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid--3   { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition:
    box-shadow var(--duration-medium) var(--ease-out-soft),
    transform var(--duration-medium) var(--ease-out-soft);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  background: var(--primary-light);
  color: var(--primary);
}
.card__icon--accent {
  background: var(--accent-light);
  color: var(--accent);
}
/* Text-first cards: colour cue on top edge (replaces repetitive icon tiles) */
.card--cue {
  border-top: 3px solid var(--primary);
  padding-top: 1.65rem;
}
.card--cue.card--cue-accent {
  border-top-color: var(--accent);
}
.card h3 {
  font-size: 1.1rem;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Callout / stat card */
.callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.callout p { color: var(--text); margin: 0; }
.callout strong { color: var(--primary-dark); }

/* ============================================================
   PEOPLE CARDS (Team page — Who We Are)
   ============================================================ */
.section--team-members {
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(224, 242, 254, 0.35) 45%,
    var(--bg) 100%
  );
}

.people-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .people-grid { grid-template-columns: repeat(3, 1fr); } }

/* Portrait profile grid: fewer columns = larger photos */
.people-grid--profiles {
  gap: 1.75rem 1.5rem;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .people-grid--profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .people-grid--profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.75rem;
    max-width: 880px;
  }
}

/* Trustees: full-width rows, bio + quote beside photo; alternate image left / right */
.trustees-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.person-card--trustee-row {
  padding: 0;
  text-align: left;
  overflow: hidden;
  transition:
    box-shadow var(--duration-medium) var(--ease-out-soft),
    transform var(--duration-medium) var(--ease-out-soft);
}
.person-card--trustee-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.person-card__trustee-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.person-card--trustee-row .person-card__media--trustee {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}
.person-card__body--trustee {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  min-width: 0;
}
.person-card__body--trustee .person-card__bio {
  margin-bottom: 1rem;
}
.person-card__body--trustee .person-card__bio strong {
  font-weight: 600;
  color: var(--text);
}
.person-card__body--trustee .person-card__quote {
  padding-top: 1rem;
}
.person-card--trustee-row .person-card__name {
  font-size: 1.35rem;
}
.person-card--trustee-row .person-card__quote {
  font-size: 1.125rem;
}
.person-card--trustee-row .person-card__quote-label {
  font-size: 1rem;
}
@media (min-width: 768px) {
  .person-card__trustee-inner {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
  .person-card--trustee-row--media-end .person-card__trustee-inner {
    flex-direction: row-reverse;
  }
  .person-card--trustee-row .person-card__media--trustee {
    width: min(280px, 38%);
    max-width: none;
    margin-inline: 0;
    align-self: flex-start;
  }
  .person-card__body--trustee {
    padding: 1.75rem 2rem 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Who we are: four across on desktop (team members only) */
.people-grid--profiles.people-grid--who-we-are {
  max-width: min(100%, var(--max-width));
  align-items: start;
}
@media (min-width: 960px) {
  .people-grid--profiles.people-grid--who-we-are {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.1rem;
    max-width: var(--max-width);
  }
}

.person-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow var(--duration-medium) var(--ease-out-soft);
}
.person-card:hover {
  box-shadow: var(--shadow-lg);
}

.person-card--portrait {
  padding: 0;
  text-align: left;
  overflow: hidden;
  transition:
    box-shadow var(--duration-medium) var(--ease-out-soft),
    transform var(--duration-medium) var(--ease-out-soft);
}
.person-card--portrait:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.person-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--primary-light);
  overflow: hidden;
}
.person-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s var(--ease-out-soft);
}
@media (prefers-reduced-motion: no-preference) {
  .person-card--portrait:hover .person-card__media img {
    transform: scale(1.05);
  }
}
.person-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--primary);
  background: linear-gradient(
    145deg,
    var(--primary-light),
    var(--accent-light)
  );
}

.person-card__body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.person-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.person-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
}

.person-card__badge {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0.4rem 0 0;
  padding: 0.3rem 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(3, 105, 161, 0.18);
  border-radius: 6px;
}

.person-card__details {
  margin-top: 0.35rem;
}
.person-card__summary {
  justify-content: space-between;
}
.person-card__summary,
.person-card__readmore {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.65rem 0 0;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-dark);
  border-top: 1px solid var(--border);
  transition: color var(--duration-short) var(--ease-out-soft);
}
.person-card__readmore {
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
}
.person-card__summary::-webkit-details-marker {
  display: none;
}
.person-card__summary:hover,
.person-card__readmore:hover {
  color: var(--primary);
}
.person-card__summary:focus-visible,
.person-card__readmore:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.person-card__chev {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--primary-light);
  position: relative;
}
.person-card__chev::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
  transform: translate(-50%, -30%) rotate(45deg);
  transition: transform 0.25s var(--ease-out-soft);
}
details[open] .person-card__chev::after {
  transform: translate(-50%, -10%) rotate(225deg);
}

.person-card__expand {
  padding: 0.85rem 0 0.15rem;
}
.person-card__bio {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: var(--leading-body);
  margin: 0 0 1rem;
}
.person-card__quote {
  color: var(--accent);
  font-size: 0.88rem;
  font-style: italic;
  line-height: var(--leading-snug);
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(3, 105, 161, 0.25);
}
.person-card__quote-label {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.person-card__quote-text {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .person-card--portrait {
    animation: person-card-in 0.55s var(--ease-out-soft) backwards;
  }
  .people-grid--profiles .person-card--portrait:nth-child(1) { animation-delay: 0.04s; }
  .people-grid--profiles .person-card--portrait:nth-child(2) { animation-delay: 0.08s; }
  .people-grid--profiles .person-card--portrait:nth-child(3) { animation-delay: 0.12s; }
  .people-grid--profiles .person-card--portrait:nth-child(4) { animation-delay: 0.16s; }
  .people-grid--profiles .person-card--portrait:nth-child(5) { animation-delay: 0.2s; }
  .people-grid--profiles .person-card--portrait:nth-child(6) { animation-delay: 0.24s; }
  .people-grid--profiles .person-card--portrait:nth-child(7) { animation-delay: 0.28s; }
  .people-grid--profiles .person-card--portrait:nth-child(8) { animation-delay: 0.32s; }
  .people-grid--profiles .person-card--portrait:nth-child(9) { animation-delay: 0.36s; }
  .people-grid--profiles .person-card--portrait:nth-child(10) { animation-delay: 0.4s; }
}
@keyframes person-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.person-card__role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Trustees use .person-card--trustee-row (see team.njk); “Who We Are” uses .person-card--portrait. */

.person-card--portrait.person-card--open-modal {
  cursor: pointer;
}
.person-card--portrait.person-card--open-modal:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-lg);
}

/* ── LinkedIn link (icon + label: .linkedin-link--modal; team modal also uses .team-modal__linkedin) ── */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 0.35rem;
  color: var(--muted);
  opacity: 0.55;
  transition: color 0.2s, opacity 0.2s;
}
.linkedin-link:hover {
  color: #0A66C2;
  opacity: 1;
}
.linkedin-link--modal {
  margin-left: 0;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.9;
}
.linkedin-link--modal svg {
  flex-shrink: 0;
}

/* ── Team “Who we are”: profile modal (<dialog>) ── */
.team-modal {
  padding: 1rem;
  border: none;
  margin: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  box-sizing: border-box;
  background: transparent;
  box-shadow: none;
  align-items: center;
  justify-content: center;
}
.team-modal[open] {
  display: flex;
}
.team-modal::backdrop {
  background: rgba(41, 37, 36, 0.5);
  backdrop-filter: blur(3px);
}
.team-modal__dismiss-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: default;
}
.team-modal__panel {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(calc(100vw - 2rem), 52rem);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.75rem;
  max-height: min(85vh, 880px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.team-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.team-modal__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  flex: 1;
  min-width: 0;
}
.team-modal__title {
  font-size: clamp(1.25rem, 2vw + 0.6rem, 1.65rem);
  margin: 0;
  line-height: var(--leading-tight);
  flex: 1;
  min-width: 12ch;
}
.team-modal__linkedin {
  flex-shrink: 0;
  margin-left: 0;
}
.team-modal__linkedin[hidden] {
  display: none !important;
}
.team-modal__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  margin: -0.35rem -0.35rem 0 0;
  padding: 0.25rem;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}
.team-modal__close:hover {
  color: var(--text);
  background: var(--primary-light);
}
.team-modal__close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.team-modal__body {
  width: 100%;
}
@media (min-width: 900px) {
  .team-modal__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 3rem;
    align-items: start;
  }
  .team-modal__body .person-card__bio {
    margin-bottom: 0;
  }
  .team-modal__body .person-card__quote {
    margin: 0;
    padding-top: 0;
    border-top: none;
  }
}
@media (max-width: 899px) {
  .team-modal__body .person-card__quote {
    margin-top: 0.5rem;
  }
}
@media (min-width: 900px) {
  .team-modal__body > :only-child {
    grid-column: 1 / -1;
    max-width: 50rem;
  }
}
.team-modal__body .person-card__bio {
  font-size: 0.94rem;
}
.team-modal__body .person-card__quote {
  font-size: 1.125rem;
  line-height: var(--leading-snug);
}
.team-modal__body .person-card__quote-label {
  font-size: 1rem;
}

/* ============================================================
   FOCUS AREAS (Research — areas of interest)
   ============================================================ */
.section--focus-areas {
  position: relative;
  background:
    linear-gradient(
      175deg,
      var(--bg-white) 0%,
      var(--accent-light) 42%,
      rgba(255, 237, 213, 0.35) 100%
    );
  overflow: hidden;
}
.section--focus-areas::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -12%;
  width: min(48vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(3, 105, 161, 0.09) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}
.section--focus-areas::after {
  content: "";
  position: absolute;
  bottom: -8%;
  right: -6%;
  width: min(44vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.section--focus-areas .container {
  position: relative;
  z-index: 1;
}
.section__header--focus {
  margin-bottom: 2.5rem;
}

.focus-areas-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .focus-areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.25rem;
  }
}
@media (min-width: 1024px) {
  .focus-areas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 1.35rem;
  }
}

.focus-area-card {
  --fa-accent: var(--primary);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 3px solid var(--fa-accent);
  transition:
    box-shadow var(--duration-medium) var(--ease-out-soft),
    transform var(--duration-medium) var(--ease-out-soft),
    border-color var(--duration-short) var(--ease-out-soft);
  height: 100%;
}
.focus-area-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(3, 105, 161, 0.18);
}
.focus-area-card--accent {
  --fa-accent: var(--accent);
}
.focus-area-card--accent:hover {
  border-color: rgba(249, 115, 22, 0.2);
}

.focus-area-card__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fa-accent);
  opacity: 0.9;
  margin-bottom: 0.5rem;
}
.focus-area-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
  letter-spacing: var(--tracking-tight);
}
.focus-area-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: var(--leading-body);
  flex-grow: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .focus-area-card {
    animation: focus-area-rise 0.5s var(--ease-out-soft) backwards;
  }
  .focus-area-card:nth-child(1) { animation-delay: 0.03s; }
  .focus-area-card:nth-child(2) { animation-delay: 0.06s; }
  .focus-area-card:nth-child(3) { animation-delay: 0.09s; }
  .focus-area-card:nth-child(4) { animation-delay: 0.12s; }
  .focus-area-card:nth-child(5) { animation-delay: 0.15s; }
  .focus-area-card:nth-child(6) { animation-delay: 0.18s; }
  .focus-area-card:nth-child(7) { animation-delay: 0.21s; }
  .focus-area-card:nth-child(8) { animation-delay: 0.24s; }
  .focus-area-card:nth-child(9) { animation-delay: 0.27s; }
  .focus-area-card:nth-child(10) { animation-delay: 0.3s; }
  .focus-area-card:nth-child(11) { animation-delay: 0.33s; }
}
@keyframes focus-area-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   FORM
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-success {
  display: none;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  color: var(--accent);
  font-weight: 500;
}
.form-success.show {
  display: block;
}

/* ============================================================
   INFO BOX (NHS signposting etc.)
   ============================================================ */
.info-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p { color: var(--text); }
.info-box strong { color: var(--accent); }

/* ============================================================
   VALUES / COMMITMENTS (About page)
   ============================================================ */
.section--values {
  position: relative;
  background:
    linear-gradient(
      165deg,
      var(--primary-light) 0%,
      var(--bg-white) 42%,
      var(--accent-light) 100%
    );
  overflow: hidden;
}
.section--values::before,
.section--values::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.section--values::before {
  top: -18%;
  right: -8%;
  width: min(52vw, 420px);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.14) 0%,
    transparent 68%
  );
}
.section--values::after {
  bottom: -12%;
  left: -6%;
  width: min(44vw, 340px);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(3, 105, 161, 0.1) 0%,
    transparent 70%
  );
}
.section--values .container {
  position: relative;
  z-index: 1;
}
.section__header--values {
  margin-bottom: 2.75rem;
}

.commitments-showcase {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .commitments-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }
}

.commitment-card {
  --card-accent: var(--primary);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(2.5rem, 3.25rem) minmax(0, 1fr);
  gap: 0.75rem 1.15rem;
  align-items: start;
  transition:
    box-shadow var(--duration-medium) var(--ease-out-soft),
    transform var(--duration-medium) var(--ease-out-soft),
    border-color var(--duration-short) var(--ease-out-soft);
  border-top: 3px solid var(--card-accent);
}
.commitment-card__num {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--card-accent);
  opacity: 0.92;
  padding-top: 0.2rem;
}
.commitment-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.22);
}
.commitment-card--accent {
  --card-accent: var(--accent);
}
.commitment-card--accent:hover {
  border-color: rgba(3, 105, 161, 0.2);
}

.commitment-card--lead {
  grid-column: 1 / -1;
  grid-template-columns: minmax(3rem, 4.25rem) minmax(0, 1fr);
  gap: 0.85rem 1.5rem;
  padding: 1.65rem 1.5rem;
  background: linear-gradient(
    135deg,
    var(--bg-white) 0%,
    rgba(255, 237, 213, 0.55) 48%,
    var(--bg-white) 100%
  );
  border-top-width: 0;
  border-left: 4px solid var(--primary);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(249, 115, 22, 0.06);
}
.commitment-card--lead .commitment-card__num {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  padding-top: 0.05rem;
}
.commitment-card--lead:hover {
  transform: translateY(-4px);
}
@media (min-width: 640px) {
  .commitment-card--lead {
    padding: 1.85rem 2rem;
    align-items: center;
  }
}

.commitment-card__body {
  min-width: 0;
}
.commitment-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: var(--tracking-tight);
}
.commitment-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: var(--leading-body);
}

@media (prefers-reduced-motion: no-preference) {
  .commitment-card {
    animation: commitment-rise 0.55s var(--ease-out-soft) backwards;
  }
  .commitment-card:nth-child(1) { animation-delay: 0.04s; }
  .commitment-card:nth-child(2) { animation-delay: 0.1s; }
  .commitment-card:nth-child(3) { animation-delay: 0.16s; }
  .commitment-card:nth-child(4) { animation-delay: 0.22s; }
  .commitment-card:nth-child(5) { animation-delay: 0.28s; }
}
@keyframes commitment-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   TWO-COL LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: var(--primary); }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.footer-grid ul {
  list-style: none;
}
.footer-grid li {
  margin-bottom: 0.4rem;
}
.footer-address {
  margin: 0;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   DECORATIVE IMAGES — varied treatments per page
   ============================================================ */

/* --- A) Inset rounded image (homepage) --- */
.image-inset {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.image-inset img {
  width: 100%;
  height: auto;
  display: block;
}
.news-card__image img,
.news-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Same filter + hover zoom as homepage inset */
.image-inset img,
.news-card__image img,
.news-item__image img {
  filter: saturate(0.82) contrast(1.04) brightness(0.96);
  opacity: 0.92;
  transform: scale(1);
  transition:
    transform 0.5s var(--ease-out-soft),
    filter 0.5s var(--ease-out-soft),
    opacity 0.5s var(--ease-out-soft);
}
.image-inset:hover img,
.news-card:hover .news-card__image img,
.news-item:hover .news-item__image img {
  filter: saturate(1) contrast(1.06) brightness(1.03);
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .image-inset:hover img,
  .news-card:hover .news-card__image img,
  .news-item:hover .news-item__image img {
    transform: scale(1.025);
  }
}

/* --- B) Side image in section (about) --- */
.image-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.image-side__pic {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.image-side__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(1.02);
  opacity: 0.85;
}
.image-side__text {
  color: var(--muted);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .image-side {
    grid-template-columns: 1fr 1.2fr;
    padding: 3.5rem 1.25rem;
  }
}

/* --- C) Full-width band with angled clip (research) --- */
.image-band-angled {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 12%, 100% 0%, 100% 88%, 0% 100%);
}
.image-band-angled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.75) brightness(1.05);
  opacity: 0.8;
}
@media (min-width: 768px) {
  .image-band-angled { height: 260px; }
}

/* --- D) Circular vignette (support) --- */
.image-circle-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1.25rem;
}
.image-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary-light);
  box-shadow: var(--shadow);
}
.image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  opacity: 0.85;
}
.image-circle:nth-child(2) {
  margin-top: 1.5rem;
}
@media (min-width: 600px) {
  .image-circle { width: 240px; height: 240px; }
}

/* --- E) Image accent in two-col layouts --- */
.image-accent {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 260px;
}
.image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(1.02);
  opacity: 0.85;
  border-radius: var(--radius-lg);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-muted   { color: var(--muted); }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background var(--transition);
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--primary-dark);
  color: #fff;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================================
   NEWS CARDS (homepage summary)
   ============================================================ */
.news-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition:
    box-shadow var(--duration-medium) var(--ease-out-soft),
    transform var(--duration-medium) var(--ease-out-soft);
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.news-card__image {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.news-card__date,
.news-card h3,
.news-card p {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.news-card__date {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  padding-top: 1.25rem;
}
.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.news-card p {
  color: var(--muted);
  font-size: 0.9rem;
  padding-bottom: 1.5rem;
}

/* ============================================================
   NEWS ITEMS (full news page)
   ============================================================ */
.news-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.news-item:first-child {
  padding-top: 0;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item[id] {
  scroll-margin-top: 5.5rem;
}
.news-item__image {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
}
.news-item__date {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.news-item__headline {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  margin-bottom: 0.75rem;
}
.news-item__body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.news-item__body p {
  margin-bottom: 0.75em;
}
.news-item__body a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--primary-light);
  text-underline-offset: 2px;
}
.news-item__body a:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

/* ── Footer social icons ─── */
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition:
    background var(--duration-short) var(--ease-out-soft),
    color var(--duration-short) var(--ease-out-soft),
    transform var(--duration-short) var(--ease-out-soft);
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .footer-social a:hover {
    transform: translateY(-2px);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero--home .container > * {
    animation: none !important;
  }
  .card:hover,
  .news-card:hover {
    transform: none;
  }
  .footer-social a:hover {
    transform: none;
  }
  .image-inset:hover img,
  .news-card:hover .news-card__image img,
  .news-item:hover .news-item__image img {
    transform: none;
  }
}
