/* =========================================================================
   Lucky Enehita-Inegbenehi — official profile
   main.css — one hand-written stylesheet, no framework, no webfonts.

   Contents
   01. Design tokens (light + dark)
   02. Reset and base elements
   03. Layout helpers and utilities
   04. Header and navigation
   05. Buttons, links, pills
   06. Hero and page hero
   07. Sections, cards, meta lists
   08. Figures, placeholder boxes, gallery
   09. Timeline
   10. Forms
   11. CTA band, newsletter, consent
   12. Footer
   13. Placeholder styling (yellow, dashed)
   14. Motion, print, dark-mode refinements
   ========================================================================= */

/* -------------------------------------------------------------------------
   01. DESIGN TOKENS
   Colours are the only thing that changes between light and dark. The brand
   greens stay constant so the identity does not shift with the visitor's
   device settings.
   ------------------------------------------------------------------------- */
:root {
  /* Brand — fixed */
  --green-950: #062a1d;
  --green-800: #0b3d2a;
  --green-700: #12603f;
  --leaf-600: #3f7d20;
  --lime-400: #c7f06a;
  --lime-300: #dcfa9a;

  /* Surfaces and text — light theme */
  --bg: #fbfaf5;
  --surface: #ffffff;
  --surface-2: #f2f1e9;
  --text: #1b1f1c;
  --muted: #55605a;
  --line: #dddcd2;
  --line-strong: #b9bbb0;
  --link: #12603f;
  --link-hover: #0b3d2a;
  --accent-text: #3f7d20;
  --on-brand: #ffffff;
  --focus: #0b3d2a;
  --focus-ring: #c7f06a;

  /* Placeholder system */
  --ph-bg: #ffe45c;
  --ph-border: #b58900;
  --ph-text: #3a2e00;

  /* Shape and rhythm */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(6 42 29 / 0.08), 0 2px 8px rgb(6 42 29 / 0.05);
  --shadow-md: 0 4px 12px rgb(6 42 29 / 0.09), 0 12px 32px rgb(6 42 29 / 0.07);
  --wrap: 1180px;
  --gutter: 1.15rem;

  /* Type */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Noto Serif", serif;

  color-scheme: light dark;
}

/* Dark theme follows the device setting. Same greens, darker surfaces. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1512;
    --surface: #16201b;
    --surface-2: #1c2721;
    --text: #eef2ee;
    --muted: #b3bfb6;
    --line: #2c3a32;
    --line-strong: #46564c;
    --link: #9fe3bc;
    --link-hover: #c7f06a;
    --accent-text: #a8d98a;
    --focus: #c7f06a;
    --focus-ring: #0b3d2a;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 8px 24px rgb(0 0 0 / 0.45);
    /* Placeholders stay bright yellow in dark mode: they must remain unmissable. */
    --ph-bg: #ffe45c;
    --ph-border: #7a5c00;
    --ph-text: #2a2100;
  }

  .btn--light {
    background: var(--lime-400);
    color: var(--green-950);
  }
}

/* -------------------------------------------------------------------------
   02. RESET AND BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px — never below 16px */
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  /* Safety net only. Layout is checked for overflow by scripts/qa-measure.cjs. */
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
h4 { font-size: 1.0625rem; font-family: var(--font-body); letter-spacing: 0; }

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

img, picture, svg, video { max-width: 100%; }
img { height: auto; display: block; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

strong { font-weight: 700; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* Visible focus on everything interactive — 3px lime ring on green, dark ring on light. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}
.site-header :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  box-shadow: 0 0 0 5px rgb(0 0 0 / 0.35);
}

/* Skip link — first thing keyboard users reach. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--green-800);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* -------------------------------------------------------------------------
   03. LAYOUT HELPERS
   ------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.section--alt { background: var(--surface-2); }
.section--inset { background: var(--surface); border-block: 1px solid var(--line); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.75rem;
}

.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }

/* -------------------------------------------------------------------------
   04. HEADER AND NAVIGATION
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg); /* fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  min-height: 68px;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 3.6vw, 1.0625rem);
  color: var(--text);
}
.brand__role {
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__list a {
  display: block;
  padding: 0.55rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav__list a:hover { background: var(--surface-2); color: var(--link); }
.nav__list a[aria-current="page"] {
  color: var(--green-700);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--lime-400);
}
@media (prefers-color-scheme: dark) {
  .nav__list a[aria-current="page"] { color: var(--lime-400); }
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 20px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile navigation: only collapses when JavaScript is available. */
@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .js .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; padding: 0.5rem var(--gutter) 1rem; gap: 0; }
  .nav__list a { padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--lime-400); }
}

@media (min-width: 1081px) {
  .nav { display: block; }
  .nav[hidden] { display: block !important; }
}

/* -------------------------------------------------------------------------
   05. BUTTONS, LINKS, PILLS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--green-800); color: #fff; }
.btn:active { transform: translateY(1px); }

.btn--lg { min-height: 54px; padding-inline: 1.7rem; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 0.4rem 0.95rem; font-size: 0.9375rem; }

.btn--outline {
  background: transparent;
  color: var(--green-700);
  border-color: currentColor;
}
.btn--outline:hover { background: var(--green-700); color: #fff; }

.btn--light {
  background: #fff;
  color: var(--green-800);
  border-color: transparent;
}
.btn--light:hover { background: var(--lime-400); color: var(--green-950); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--text); }

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--lime-400); /* fallback */
  border-bottom: 2px solid color-mix(in srgb, var(--lime-400) 70%, transparent);
  padding-bottom: 1px;
  display: inline-block;
}
.link-arrow:hover { border-bottom-color: var(--green-700); }

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #e3ece7; /* fallback for browsers without color-mix() */
  background: color-mix(in srgb, var(--green-700) 12%, transparent);
  color: var(--green-700);
  margin-bottom: 0.7rem;
}
@media (prefers-color-scheme: dark) {
  .pill { background: rgb(199 240 106 / 0.14); color: var(--lime-300); }
}
.pill--pending {
  background: var(--ph-bg);
  color: var(--ph-text);
  border: 1px dashed var(--ph-border);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

/* -------------------------------------------------------------------------
   06. HERO AND PAGE HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--green-800);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  /* Soft lime glow, drawn in CSS so it costs zero bytes. */
  content: "";
  position: absolute;
  inset: auto -10% -55% 40%;
  height: 420px;
  background: radial-gradient(closest-side, rgb(199 240 106 / 0.22), transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.25rem, 6vw, 4.5rem);
  align-items: center;
}
.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-400);
  margin-bottom: 0.9rem;
}
.hero__title { color: #fff; margin-bottom: 0.6rem; }
.hero__statement {
  font-size: clamp(1.0625rem, 2.2vw, 1.3rem);
  line-height: 1.5;
  color: #eaf3ec;
  max-width: 46ch;
  margin-bottom: 1.6rem;
}
/* Hero quotation — a borrowed line about the environment, set apart from the
   title so it reads as a quotation and never as his own words. */
.hero__quote {
  margin: 0 0 1.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--lime-400);
  max-width: 44ch;
}
.hero__quote blockquote { margin: 0; }
.hero__quote blockquote p {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
  line-height: 1.45;
  color: #f2f8f2;
  margin: 0;
}
.hero__quote figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime-300);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .btn--outline { color: #fff; border-color: rgb(255 255 255 / 0.55); }
.hero .btn--outline:hover { background: #fff; color: var(--green-800); }
.hero__portrait { max-width: 420px; }
.hero__media-note { font-size: 0.8125rem; color: #cfe0d4; margin-top: 0.6rem; }

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.15fr 0.85fr; }
  .hero__portrait { margin-left: auto; width: 100%; }
}

.page-hero {
  background: var(--green-800);
  color: #fff;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.page-hero h1 { color: #fff; }
.page-hero__lede {
  color: #e3efe6;
  font-size: clamp(1rem, 2vw, 1.1875rem);
  max-width: 60ch;
  margin: 0;
}
.page-hero .eyebrow { color: var(--lime-400); }

/* -------------------------------------------------------------------------
   07. SECTIONS, CARDS
   ------------------------------------------------------------------------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.section-head__text { max-width: 62ch; }
.section-head__title { margin-bottom: 0.4rem; }
.section-head__intro { color: var(--muted); margin: 0; }
.section-head__cta { margin: 0; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 680px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover { box-shadow: var(--shadow-md); }
.card__media { background: var(--surface-2); }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card__title { margin-bottom: 0.45rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--link); text-decoration: underline; }
.card__text { color: var(--muted); font-size: 0.975rem; margin-bottom: 1rem; }
.card__kicker { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.4rem; font-weight: 600; }
.card__body > :last-child { margin-top: auto; }

.meta-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}
.meta-list > div { display: flex; gap: 0.5rem; }
.meta-list dt { color: var(--muted); min-width: 5.5rem; margin: 0; }
.meta-list dd { margin: 0; }

/* Stats / impact figures */
.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 780px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.figure-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime-400);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.figure-stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  display: block;
  margin-bottom: 0.45rem;
  font-variant-numeric: tabular-nums;
}
.figure-stat__label { font-size: 0.875rem; color: var(--muted); margin: 0; }
.figures__note { font-size: 0.8125rem; color: var(--muted); margin-top: 1rem; }

/* Pull quote */
.quote {
  border-left: 4px solid var(--lime-400);
  background: var(--surface);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
}
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.45;
  margin-bottom: 1rem;
}
.quote__attribution { font-size: 0.9375rem; color: var(--muted); margin: 0; font-style: normal; }

/* Two-column text + aside layouts */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
}

/* Feature list (About "what the role covers") */
.feature-list { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin: 0;
}
.feature-list h3 { font-size: 1.0625rem; font-family: var(--font-body); margin-bottom: 0.35rem; }
.feature-list p { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* Simple data table (collection schedule) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--surface);
}
table.data th, table.data td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  background: var(--surface-2);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
table.data caption { text-align: left; padding-bottom: 0.6rem; color: var(--muted); font-size: 0.875rem; caption-side: top; }

/* On phones a four-column table becomes one card per row — no sideways
   scrolling, which most residents on low-end phones never discover. */
@media (max-width: 700px) {
  .table-wrap { overflow-x: visible; }
  table.data { background: transparent; }
  table.data thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  table.data tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.35rem 0.2rem;
    margin-bottom: 0.85rem;
  }
  table.data th, table.data td {
    display: block;
    border-bottom: 0;
    padding: 0.45rem 0.9rem;
  }
  table.data tbody th[scope="row"] {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    background: transparent;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
  }
  table.data td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.2rem;
  }
  table.data tr > * + * { border-top: 1px solid var(--line); }
}

/* Notice list */
.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-700);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.notice + .notice { margin-top: 1rem; }
.notice__meta { font-size: 0.8125rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin-bottom: 0.5rem; }
.notice h3 { margin-bottom: 0.4rem; }

/* -------------------------------------------------------------------------
   08. FIGURES, PLACEHOLDER IMAGE BOXES, GALLERY
   ------------------------------------------------------------------------- */
.figure { margin: 0; }
.figure picture, .figure img { display: block; width: 100%; }
.figure figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 0.6rem 0.9rem;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
.figure--video figcaption { background: var(--surface-2); }

/* Grey "photo needed" box — used everywhere a photograph is missing. */
.ph-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1.25rem 1rem;
  background:
    repeating-linear-gradient(135deg, #e9e9e4 0 10px, #e2e2dc 10px 20px);
  color: #4a4f4b;
  border: 1px dashed #9aa09b;
  aspect-ratio: 3 / 2;
  width: 100%;
}
.ph-img--card { aspect-ratio: 3 / 2; }
.ph-img--square { aspect-ratio: 1 / 1; }
.ph-img--portrait { aspect-ratio: 4 / 5; }
.ph-img--hero { aspect-ratio: 4 / 5; }
.ph-img--video { aspect-ratio: 16 / 9; }
.ph-img__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  max-width: 26ch;
  line-height: 1.35;
}
.ph-img__icon { opacity: 0.55; }

@media (prefers-color-scheme: dark) {
  .ph-img {
    background: repeating-linear-gradient(135deg, #2a332d 0 10px, #232b26 10px 20px);
    color: #cfd6d1;
    border-color: #5c665f;
  }
}

/* Gallery */
.gallery {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Cards take their natural height: a 16:9 video tile next to a 3:2 photo
     tile would otherwise stretch and leave an empty slab under the caption. */
  align-items: start;
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
.gallery__item { margin: 0; }
/* Videos with a real link take a wide slot; empty video tiles stay 1 column. */
@media (min-width: 760px) { .gallery__item--video.gallery__item--live { grid-column: span 2; } }
@media (max-width: 759px) { .gallery__item--video.gallery__item--live { grid-column: 1 / -1; } }
.gallery__item .figure { height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery__title { display: block; font-weight: 600; color: var(--text); margin-bottom: 0.15rem; }
.gallery__caption { display: block; }
.gallery__source { display: block; margin-top: 0.4rem; font-size: 0.8125rem; color: var(--muted); }

/* -------------------------------------------------------------------------
   VIDEO CARD — a link-only video tile.
   The preview picture comes from the platform, the click goes to the platform.
   Nothing is embedded, so no script, cookie or player is loaded on this page.
   ------------------------------------------------------------------------- */
.video-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--green-900, #0c2a1c);
  text-decoration: none;
  isolation: isolate;
}
.video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease, filter 320ms ease;
  filter: saturate(1.02);
}
/* Branded fallback tile for platforms that cannot supply a preview image. */
.video-card__thumb--branded {
  background:
    radial-gradient(120% 120% at 20% 15%, #1d5c3a 0%, #0c2a1c 62%, #082015 100%);
}
.video-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(4 20 12 / 0.62) 0%, rgb(4 20 12 / 0.12) 45%, rgb(4 20 12 / 0.28) 100%);
  transition: opacity 320ms ease;
}
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  padding-left: 0.2rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.94);
  color: var(--green-800, #123a26);
  box-shadow: 0 6px 22px rgb(0 0 0 / 0.28);
  transition: transform 220ms ease, background 220ms ease;
}
.video-card__platform {
  position: absolute;
  left: 0.75rem;
  bottom: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.video-card:hover .video-card__thumb,
.video-card:focus-visible .video-card__thumb { transform: scale(1.035); filter: saturate(1.1) brightness(1.03); }
.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play { transform: scale(1.06); background: #fff; }
.video-card:hover .video-card__scrim { opacity: 0.82; }
.video-card:focus-visible {
  outline: 3px solid var(--lime-400, #b8e986);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .video-card__thumb,
  .video-card__play,
  .video-card__scrim { transition: none; }
  .video-card:hover .video-card__thumb { transform: none; }
}

/* -------------------------------------------------------------------------
   09. TIMELINE
   ------------------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(var(--lime-400), var(--green-700));
  opacity: 0.45;
}
.timeline__item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.75rem;
}
.timeline__marker {
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--green-700);
}
.timeline__year {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.3rem;
}
.timeline__role { margin-bottom: 0.15rem; }
.timeline__org { font-weight: 600; font-size: 0.9375rem; color: var(--text); margin-bottom: 0.5rem; }
.timeline__text { color: var(--muted); font-size: 0.975rem; margin: 0; max-width: 62ch; }

.achievement { border-top: 2px solid var(--line); padding-top: 1.1rem; }
.achievement__title { font-size: 1.0625rem; font-family: var(--font-body); margin-bottom: 0.4rem; }
.achievement__text { font-size: 0.9375rem; color: var(--muted); margin-bottom: 0.5rem; }
.achievement__evidence { font-size: 0.8125rem; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------------------
   10. FORMS
   ------------------------------------------------------------------------- */
.form { max-width: 42rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
  display: block;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem; /* 16px — stops iOS zooming on focus */
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgb(18 96 63 / 0.18);
  outline: none;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgb(179 38 30 / 0.15);
}
.field__error { color: #b3261e; font-size: 0.875rem; margin: 0.4rem 0 0; min-height: 0; }
.field__error:empty { display: none; }
@media (prefers-color-scheme: dark) {
  .field__error { color: #ffb4ab; }
}
.hint { font-size: 0.875rem; color: var(--muted); font-weight: 400; margin: 0.35rem 0 0; }
.req { color: #b3261e; }
@media (prefers-color-scheme: dark) { .req { color: #ffb4ab; } }

.field--check { flex-direction: row; align-items: flex-start; gap: 0.65rem; margin-bottom: 1.4rem; }
.field--check input { width: 1.35rem; height: 1.35rem; min-height: 0; margin-top: 0.15rem; flex: 0 0 auto; accent-color: var(--green-700); }
.field--check label { font-weight: 400; font-size: 0.9375rem; margin: 0; }
.field--check .field__error { flex-basis: 100%; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__small { font-size: 0.8125rem; color: var(--muted); margin: 0; }
.form__notice {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--ph-border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.9375rem;
}
.form__notice--demo {
  background: var(--ph-bg);
  border-color: var(--ph-border);
  border-left-color: var(--ph-border);
}
.form__notice--ok {
  background: #eef7ee;
  border-left-color: var(--green-700);
}
.form__status { margin-top: 1rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status[data-state="error"] { color: #b3261e; }
@media (prefers-color-scheme: dark) { .form__status[data-state="error"] { color: #ffb4ab; } }

/* Honeypot — off-screen, not display:none, so bots still fill it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Contact detail list */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0; }
.contact-list svg { flex: 0 0 auto; margin-top: 0.15rem; color: var(--green-700); }
@media (prefers-color-scheme: dark) { .contact-list svg { color: var(--lime-400); } }
.contact-list__label { display: block; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 700; margin-bottom: 0.15rem; }

/* -------------------------------------------------------------------------
   11. CTA BAND, NEWSLETTER, CONSENT
   ------------------------------------------------------------------------- */
.cta-band { background: var(--green-800); color: #fff; padding-block: clamp(2rem, 5vw, 3.25rem); }
.cta-band__inner { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1.7fr auto; } }
.cta-band__head { color: #fff; margin-bottom: 0.5rem; }
.cta-band__text { color: #d9e8dd; max-width: 58ch; margin: 0; }
.cta-band__action { margin: 0; }

.newsletter { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: 2rem; }
.newsletter__inner { display: grid; gap: 1rem; }
@media (min-width: 820px) { .newsletter__inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.newsletter__head { font-size: 1.25rem; font-family: var(--font-body); margin-bottom: 0.35rem; }
.newsletter__text { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.newsletter__form input {
  flex: 1 1 14rem;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}
.newsletter__small { flex-basis: 100%; font-size: 0.8125rem; color: var(--muted); margin: 0; }

.consent {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 60;
  max-width: 30rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
}
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

/* -------------------------------------------------------------------------
   12. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--green-950);
  color: #dce8df;
  padding-block: clamp(2.25rem, 5vw, 3.5rem) 1.5rem;
  font-size: 0.9375rem;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr 0.8fr 1.2fr 0.9fr; gap: 2.5rem; } }
.site-footer__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; }
.site-footer__role { color: #c9dbcf; margin-bottom: 0.9rem; }
.site-footer__note { font-size: 0.8125rem; color: #a9bfb1; max-width: 40ch; margin: 0; }
.site-footer__head {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-400);
  margin-bottom: 0.85rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #e4efe7; text-decoration: none; }
.site-footer a:hover { color: var(--lime-400); text-decoration: underline; }
.site-footer__contact li { font-size: 0.875rem; color: #d3e3d8; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.8125rem;
  color: #a9bfb1;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.15rem; }

.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  text-decoration: none;
  color: #e4efe7;
}
.social:hover { border-color: var(--lime-400); color: var(--lime-400); text-decoration: none; }
/* Inert chip: shown when the real URL has not been supplied yet. */
.social--pending {
  border-style: dashed;
  border-color: var(--ph-border);
  background: var(--ph-bg);
  color: var(--ph-text);
  cursor: default;
}
.social--pending:hover { border-color: var(--ph-border); color: var(--ph-text); }

/* -------------------------------------------------------------------------
   13. PLACEHOLDER STYLING — bright yellow, dashed, impossible to miss
   ------------------------------------------------------------------------- */
.ph {
  /* Inline (not inline-block) so a long placeholder can break across lines
     instead of forcing the page wider than the phone screen. */
  display: inline;
  background: var(--ph-bg);
  color: var(--ph-text);
  border: 2px dashed var(--ph-border);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em; /* legible: the office has to read these */
  line-height: 1.45;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-decoration: none;
  /* Long unbreakable tokens such as "[[PLACEHOLDER:" must be allowed to wrap
     inside narrow grid cells, or they push the whole page sideways on a phone. */
  overflow-wrap: anywhere;
  max-width: 100%;
}
.ph__tag {
  display: inline;
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #4a3700; /* dark brown: 8.9:1 against white label text */
  color: #fff;
  border-radius: 3px;
  padding: 0.05em 0.35em;
  margin-right: 0.4em;
  vertical-align: 0.05em;
}

/* -------------------------------------------------------------------------
   14. MOTION, PRINT, MISC
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .newsletter, .consent, .nav-toggle, .hero__actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .card, .figure-stat, .notice { border: 1px solid #999; box-shadow: none; }
  .ph { background: #fff; border: 1px dashed #000; }
}

/* Respect the user's wish for less transparency (no backdrop filter fallback needed). */
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; }
}

/* -------------------------------------------------------------------------
   15. PAGE-SPECIFIC PIECES
   (Added for the inner pages: quick links, media mentions, partners,
   status legend, notes and light-background social chips.)
   ------------------------------------------------------------------------- */

/* Small italic note used under a section heading on inner pages. */
.page-note,
.timeline-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  max-width: 68ch;
}

/* Quick links list (home aside and 404 page). */
.intro-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.intro-aside h3 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 0.75rem; }
.quick-links { list-style: none; padding: 0; margin: 0; }
.quick-links li { margin-bottom: 0.1rem; border-bottom: 1px solid var(--line); }
.quick-links li:last-child { border-bottom: 0; }
.quick-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0;
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
}
.quick-links a:hover { color: var(--link); text-decoration: underline; }
.quick-links--wide { columns: 1; }
@media (min-width: 640px) { .quick-links--wide { columns: 2; column-gap: 2rem; } }

/* Media mention list. */
.mention-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .mention-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mention {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime-400);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0;
}
.mention__outlet {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.4rem;
}
.mention__headline { font-size: 1.0625rem; margin-bottom: 0.4rem; }
.mention__headline a { text-decoration: none; }
.mention__headline a:hover { text-decoration: underline; }
.mention__date { font-size: 0.8125rem; color: var(--muted); margin: 0; }

/* Status legend on the projects page. */
.status-legend { display: grid; gap: 0.75rem; margin: 0 0 1.5rem; }
.status-legend > div { display: grid; gap: 0.1rem; padding-left: 0.9rem; border-left: 3px solid var(--lime-400); }
.status-legend dt { font-weight: 700; }
.status-legend dd { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* Partner logos. */
.partner-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 780px) { .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.partner {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.partner__name { font-size: 0.875rem; color: var(--muted); padding: 0.6rem 0.5rem; margin: 0; }
.ph-img--logo { aspect-ratio: 2 / 1; }
.ph-img--logo .ph-img__label { font-size: 0.8125rem; line-height: 1.3; }

/* Social chips on a light background. */
.socials--on-light .social {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface);
}
.socials--on-light .social:hover { border-color: var(--green-700); color: var(--green-700); }
.socials--on-light .social--pending,
.socials--on-light .social--pending:hover {
  background: var(--ph-bg);
  color: var(--ph-text);
  border-color: var(--ph-border);
}

/* Small headings inside the contact aside. */
.aside-head {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.75rem 0 0.6rem;
}
.pending-action {
  background: var(--ph-bg);
  border: 1px dashed var(--ph-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
}
.notice--small { padding: 1rem 1.1rem; margin-top: 1.75rem; font-size: 0.9375rem; }
.notice__head { font-family: var(--font-body); font-size: 1rem; margin-bottom: 0.5rem; }
.ph-note { display: inline-block; }

/* Article page */
.article__body { margin-top: 1.5rem; }
.article__back { margin-top: 2rem; }
.figure--wide { margin-bottom: 1.5rem; }
.back-link { margin-top: 2rem; }

/* Direction / two-column sections that hold a single button. */
.split--even > p:last-child { margin: 0; }

/* -------------------------------------------------------------------------
   16. REAL PHOTOGRAPHS
   Once the office supplies photographs these rules hold the correct shape and
   crop, so the page never shifts while the image loads (no width/height
   attributes are needed in the markup).
   ------------------------------------------------------------------------- */
.hero__portrait picture,
.hero__portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%; /* keeps the face in frame on tall crops */
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.figure--portrait picture,
.figure--portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.card__media picture,
.card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.figure--video picture,
.figure--video img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.gallery__item picture,
.gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* Faces sit above centre in most field photographs, so bias the crop upward. */
  object-position: 50% 32%;
}
.article .figure--wide picture,
.article .figure--wide img { aspect-ratio: 16 / 9; object-fit: cover; }

/* -------------------------------------------------------------------------
   PREVIEW MODE (site.previewMode)
   A working preview for the office and the client: the yellow "[PLACEHOLDER: …]"
   chips are hidden so the design reads as a site rather than as debug output,
   while the grey "photo needed" tiles stay, because they say honestly what is
   still missing. The ribbon names the state, and the pages carry noindex.
   ------------------------------------------------------------------------- */
.preview-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: baseline;
  justify-content: center;
  padding: 0.55rem 1rem;
  background: #f5c518;
  color: #2a2100;
  font-size: 0.875rem;
  text-align: center;
  border-bottom: 1px solid rgb(0 0 0 / 0.12);
}
.preview-ribbon strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
.is-preview .ph { display: none !important; }

/* ---------- honours ---------- */
.awards {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .awards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.awards__item { display: flex; }
.awards__item .achievement { flex: 1; }
