/* ==========================================================================
   Alive Albinism Initiative — Design System

   Lifted from the 2022 Organisational Profile: navy pages, yellow accents,
   Red Hat Display set very heavy for titles, and a small kit of recurring
   shapes — the chevron beside a page title, diamond badges, the capsule,
   the half-disc bullet, soft-cornered "blob" photos with an offset yellow
   frame, and a sweeping curve between bands.
   ========================================================================== */

:root {
  /* Brand. Navy carries the page, yellow points at things, lime is a
     supporting tint used at small sizes (it sits in the logo tagline). */
  --navy: #044369;
  --navy-deep: #032F4B;
  --navy-soft: #0A5686;
  --navy-rgb: 4, 67, 105;

  --yellow: #F2CD00;
  --yellow-deep: #D2B200;
  --yellow-rgb: 242, 205, 0;

  --lime: #C4D600;

  --ink: #231F20;
  --white: #FFFFFF;
  --cloud: #F1F6FA;      /* faintest navy tint — alternating band */
  --mist: #E3ECF3;
  --grey: #55666F;
  --line: #D8E3EB;

  --font-head: 'Red Hat Display', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* The soft-cornered photo shape: generous on three corners, crisp on the
     bottom-right so a diamond can sit into it. */
  --blob: 34% 34% 34% 6%;
  --blob-flip: 34% 34% 6% 34%;

  --shadow-sm: 0 6px 18px rgba(var(--navy-rgb), .08);
  --shadow-md: 0 16px 40px rgba(var(--navy-rgb), .13);
  --shadow-lg: 0 26px 60px rgba(var(--navy-rgb), .18);

  --container: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  /* Titles are set very large; on a narrow phone a long word must break
     rather than push the page sideways. */
  overflow-wrap: break-word;
}

/* The profile sets titles in Red Hat Display Black. */
h1, h2 { font-weight: 900; }
h3, h4 { font-weight: 700; letter-spacing: -.005em; }

h1 { font-size: clamp(2.05rem, 6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: inherit; }

::selection { background: var(--yellow); color: var(--navy); }

/* Focus is a real feature on this site, not an afterthought. */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed; top: 12px; left: 12px;
  z-index: 999;
  width: auto; height: auto;
  clip: auto; margin: 0;
  padding: 12px 20px;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-head); font-weight: 700;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }

section { position: relative; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

.bg-white { background: var(--white); }
.bg-cloud { background: var(--cloud); }
.bg-navy  { background: var(--navy); color: rgba(255, 255, 255, .88); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

.text-center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

/* ----------------------------------------------------------- eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 14px;
}
.bg-navy .eyebrow, .hero .eyebrow { color: var(--yellow); }

.accent { color: var(--yellow-deep); }
.bg-navy .accent, .hero .accent { color: var(--yellow); }

/* ------------------------------------------------- the chevron title
   A yellow arrow bleeds off the left edge of the page beside the title,
   exactly as it does on every inner page of the profile. */
.chevron-title { position: relative; }
.chevron-title::before {
  content: "";
  position: absolute;
  top: .12em;
  right: calc(100% + clamp(18px, 3vw, 40px));
  width: clamp(38px, 5vw, 74px);
  height: clamp(52px, 7vw, 100px);
  background: var(--yellow);
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%);
  pointer-events: none;
}
@media (max-width: 900px) {
  /* Off-canvas on small screens, so it stays a bleed rather than a box. */
  .chevron-title::before { right: auto; left: calc(-1 * var(--gutter) - 6px); top: -.62em; }
  .chevron-title { padding-top: clamp(38px, 9vw, 56px); }
}

.section-head { max-width: 760px; margin: 0 0 clamp(32px, 5vw, 52px); }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--grey); font-size: 1.08rem; }
.bg-navy .section-head p { color: rgba(255, 255, 255, .82); }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn + .btn { margin-left: 12px; }

.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 26px rgba(var(--yellow-rgb), .34); }
.btn-primary:hover { background: var(--yellow-deep); transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }

.btn-outline { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* Text link with a circled arrow — the profile's "read on" affordance. */
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
}
.pill-link .circle-arrow {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  transition: transform .2s ease;
}
.pill-link:hover .circle-arrow { transform: translateX(4px); }
.bg-navy .pill-link { color: var(--white); }

/* --------------------------------------------------------- shape kit */

/* Sweeping curve between bands (the profile's cover and section edges). */
.sweep {
  position: absolute;
  left: 0; right: 0;
  height: clamp(42px, 6vw, 96px);
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.sweep svg { width: 100%; height: 100%; display: block; }
.sweep-bottom { bottom: -1px; }
.sweep-top { top: -1px; }

/* Keep copy clear of the curve rather than letting it run under one. */
.section:has(> .sweep-top) { padding-top: clamp(84px, 12vw, 168px); }
.section:has(> .sweep-bottom) { padding-bottom: clamp(84px, 12vw, 168px); }

/* Diamond badge — the numbered contents markers. */
.diamond {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  flex: 0 0 58px;
  background: var(--yellow);
  color: var(--navy);
  transform: rotate(45deg);
  border-radius: 4px;
}
.diamond > * { transform: rotate(-45deg); }
.diamond span {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1;
}

/* Soft-cornered photo, optionally with the offset yellow frame that trails
   it on the Project Activities spread. */
.blob { border-radius: var(--blob); overflow: hidden; }
.blob-flip { border-radius: var(--blob-flip); overflow: hidden; }
.blob img, .blob-flip img { width: 100%; height: 100%; object-fit: cover; }

.framed { position: relative; }
.framed::after {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 2px solid var(--yellow);
  border-radius: var(--blob);
  z-index: 0;
}
.framed > * { position: relative; z-index: 1; }
@media (max-width: 560px) { .framed::after { inset: 14px -14px -14px 14px; } }

/* Half-disc bullet used beside the Anticipated Outcomes paragraphs. */
.disc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(22px, 3vw, 34px); }
.disc-list li {
  position: relative;
  padding-left: clamp(52px, 6vw, 76px);
}
.disc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: clamp(26px, 3vw, 36px);
  height: clamp(52px, 6vw, 72px);
  background: var(--navy);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
}
.bg-navy .disc-list li::before { background: var(--yellow); }
.disc-list strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .01em;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 1.02rem;
}
.bg-navy .disc-list strong { color: var(--yellow); }

/* Capsule column + ruled rows — the Key Milestones table. */
.capsule-list { display: flex; gap: 0; }
.capsule-list .capsule-rail {
  flex: 0 0 clamp(56px, 8vw, 96px);
  background: var(--navy);
  border-radius: var(--radius-pill);
}
.capsule-list ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.capsule-list li {
  padding: 18px 4px 18px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--ink);
}
.capsule-list li:last-child { border-bottom: 0; }

/* Small tag chips — the discipline lists on "What We Offer". */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 16px 0 0; list-style: none; }
.chips li {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .86rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}
.bg-navy .chips li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: var(--white); }
.bg-cloud .chips li { background: var(--white); }

/* Thin line-art decoration (the geometric outline on the contents page). */
.lineart { position: absolute; pointer-events: none; opacity: .5; z-index: 0; }
.lineart svg { display: block; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  /* Must wrap: below 980px the nav becomes a full-width row of its own. */
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 40px);
}
.brand { flex: 0 0 auto; }
.brand img { height: clamp(40px, 5vw, 54px); width: auto; }

.site-header nav { margin-left: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  transition: right .22s ease;
}
.nav-links a:hover::after,
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after { right: 0; }

/* Dropdowns */
.nav-links li { position: relative; }
.nav-links .sub-menu {
  position: absolute;
  top: 100%; left: -18px;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px;
  list-style: none;
  margin: 0;
  display: none;
}
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu { display: block; }
.nav-links .sub-menu a { display: block; padding: 9px 14px; border-radius: var(--radius-sm); }
.nav-links .sub-menu a::after { display: none; }
.nav-links .sub-menu a:hover { background: var(--cloud); }
.dropdown-caret { font-size: .5em; margin-left: 4px; vertical-align: middle; opacity: .6; }

.nav-cta { flex: 0 0 auto; }
.btn-join {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--navy);
  transition: background-color .2s ease, transform .2s ease;
}
.btn-join:hover { background: var(--yellow-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 44px;
  padding: 0 10px;
  background: var(--navy);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-header nav { order: 4; width: 100%; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    border-top: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
}

/* -------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero-slides { position: relative; }
.hero-slide {
  display: none;
  position: relative;
  min-height: clamp(520px, 74vh, 780px);
  align-items: center;
  padding: clamp(72px, 10vw, 120px) 0 clamp(96px, 12vw, 150px);
}
.hero-slide.is-active { display: flex; animation: heroIn .7s ease both; }
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }

.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(var(--navy-rgb), .96) 0%, rgba(var(--navy-rgb), .88) 42%, rgba(var(--navy-rgb), .55) 100%);
}
.hero-content { max-width: 720px; }
.hero-content h1, .hero-content h2 {
  color: var(--white);
  margin-bottom: .35em;
  text-wrap: balance;
}
.hero-content h2 { font-size: clamp(2.05rem, 6vw, 4rem); }
.hero-content p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, .9);
  max-width: 56ch;
  margin-bottom: 2em;
}

.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(56px, 8vw, 104px);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 12px; height: 12px;
  padding: 0;
  border: 2px solid var(--yellow);
  border-radius: 2px;
  background: transparent;
  transform: rotate(45deg);
  cursor: pointer;
  transition: background-color .2s ease, width .2s ease;
}
.hero-dot.is-active { background: var(--yellow); }

/* Inner-page banner */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: clamp(64px, 8vw, 108px) 0 clamp(80px, 10vw, 130px);
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .3; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .25em; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 62ch; font-size: 1.1rem; }

/* ------------------------------------------------------ pillar cards */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar .diamond { margin: 0 auto 30px; }
.pillar h3 { text-transform: uppercase; letter-spacing: .06em; font-size: 1.02rem; font-weight: 900; }
.pillar p { color: var(--grey); font-size: .96rem; margin: 0; }

/* Home tiles (image cards) */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: clamp(20px, 3vw, 30px); text-align: left; }
.tile {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tile-image { aspect-ratio: 4 / 3; overflow: hidden; }
.tile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover .tile-image img { transform: scale(1.05); }
.tile-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile-body p { color: var(--grey); font-size: .96rem; flex: 1; }

/* Generic card */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-body p { color: var(--grey); font-size: .97rem; margin: 0; }

/* ------------------------------------------------- offer / feature rows */
.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 4vw, 46px) 0;
}
.offer-row + .offer-row { border-top: 1px solid var(--line); }
.offer-row:nth-child(even) .offer-media { order: -1; }
.offer-media { aspect-ratio: 5 / 4; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; }
.offer-body h3 { text-transform: uppercase; letter-spacing: .04em; font-weight: 900; color: var(--navy); }
.offer-body p { color: var(--grey); }
@media (max-width: 760px) {
  .offer-row { grid-template-columns: 1fr; }
  .offer-row:nth-child(even) .offer-media { order: 0; }
}

/* ------------------------------------------------------------- team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(28px, 4vw, 44px); }
/* With biographies the columns need room to read, so fewer and wider. */
.team-grid.has-bios { grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: clamp(32px, 4vw, 56px); }
.team-grid.has-bios .team-card { text-align: left; }
.team-grid.has-bios .team-photo { max-width: 260px; }
.team-grid.has-bios .team-links { justify-content: flex-start; }
.team-card { text-align: center; }
.team-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 22px;
  border-radius: var(--blob);
  overflow: visible;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--blob);
}
/* The yellow diamond that tucks into the flat corner of each portrait. */
.team-photo::after {
  content: "";
  position: absolute;
  right: -14px; bottom: 16%;
  width: 40px; height: 40px;
  background: var(--yellow);
  border-radius: 3px;
  transform: rotate(45deg);
}
.team-card h3 { margin-bottom: 2px; font-weight: 900; font-size: 1.08rem; }
.team-role {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--grey);
  font-size: .95rem;
  margin: 0 0 10px;
}
.bg-navy .team-role { color: rgba(255, 255, 255, .8); }
.team-bio { font-size: .95rem; color: var(--grey); text-align: left; }
.bg-navy .team-bio { color: rgba(255, 255, 255, .8); }

.team-links { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.team-links a {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
}
.team-links a:hover { background: var(--white); }

/* --------------------------------------------------------- partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
}
.partner {
  display: grid;
  place-items: center;
  padding: 22px;
  min-height: 118px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
/* The profile prints these in full colour, so keep them that way and let the
   card do the calming instead of a grey filter. */
.partner img {
  max-height: 66px;
  width: auto;
  object-fit: contain;
  opacity: .92;
  transition: opacity .25s ease, transform .25s ease;
}
.partner:hover img { opacity: 1; transform: scale(1.04); }

/* ---------------------------------------------------------- contact */
.contact-band { position: relative; overflow: hidden; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(28px, 5vw, 60px);
}
.contact-list { display: grid; gap: 22px; margin-top: 26px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico {
  flex: 0 0 42px;
  height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(var(--yellow-rgb), .16);
  color: var(--yellow);
}
.contact-item h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--yellow);
  margin: 0 0 3px;
  font-weight: 900;
}
.contact-item p, .contact-item a { margin: 0; color: rgba(255, 255, 255, .9); }
.contact-item a:hover { color: var(--yellow); }

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.form-card label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .84rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card input, .form-card textarea, .form-card select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cloud);
  color: var(--ink);
  margin-bottom: 16px;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  border-color: var(--navy);
  background: var(--white);
}
.form-card textarea { min-height: 130px; resize: vertical; }

/* ------------------------------------------------------------ blog */
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .card-img { aspect-ratio: 16 / 9; }
.post-card .card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-deep); font-family: var(--font-head); font-weight: 700; }
.post-card h3 { font-size: 1.12rem; margin: 0; }

.entry-content { font-size: 1.08rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .5em; }
.entry-content img { border-radius: var(--radius-md); margin: 1.6em 0; }
.entry-content blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 26px;
  border-left: 5px solid var(--yellow);
  font-size: 1.15rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--navy);
}
.entry-content a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700;
  color: var(--navy);
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------------------------------------------------------- footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  padding: clamp(52px, 7vw, 84px) 0 0;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 4vw, 50px);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); } }

.footer-brand img { height: 58px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .96rem; max-width: 38ch; }

.site-footer h4 {
  color: var(--yellow);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--yellow); }
.footer-col p { font-size: .96rem; }

.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.social-icons a:hover { background: var(--yellow); color: var(--navy); transform: translateY(-2px); }

.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input {
  flex: 1; min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter button {
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-head); font-weight: 700;
  cursor: pointer;
}
.newsletter button:hover { background: var(--yellow-deep); }

.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.footer-credit a { color: var(--yellow); }

/* ------------------------------------------------------ 404 / misc */
.center-block { max-width: 620px; margin-inline: auto; text-align: center; }

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