/* ============================================
   FAO — Federation of Awarding Organisations
   Stylesheet — Prototype v1.2 (Brand Rebalance)
   ============================================ */

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

:root {
  --black:      #0a0a0a;
  --navy:       #0d1f3c;
  --navy-mid:   #1a3460;
  --white:      #ffffff;
  --off-white:  #f5f5f3;
  --grey-light: #e8e8e6;
  --grey-mid:   #9a9a96;
  --grey-dark:  #3a3a38;

  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-w: 1200px;

  /*
   * Section padding increased: clamp(60,8vw,120) → clamp(80,9vw,140)
   * Rationale: institutional sites breathe — QAA, British Council, Advance HE
   * all use generous vertical rhythm to signal authority and space.
   */
  --section-pad: clamp(80px, 9vw, 140px);

  /*
   * Nav height increased: 72px → 84px
   * Rationale: creates room for a properly-sized logo mark without crowding
   * the bar. QAA, Universities UK and CMI all run taller nav bars.
   */
  --nav-h: 84px;
}

html { scroll-behavior: smooth; }

/*
 * Base font increased: 16px → 17px
 * Rationale: 16px is the web minimum. Institutional bodies publishing
 * authoritative content use 17-18px for credibility and readability.
 */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ── */
/*
 * H1 letter-spacing tightened: -0.02em → -0.03em
 * Rationale: tighter tracking on large display type reads as more confident
 * and modern — consistent with how British Council and Advance HE set headlines.
 */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/*
 * Paragraph max-width: 68ch → 62ch
 * Rationale: tighter measure improves readability of formal institutional text.
 */
p { max-width: 62ch; }
p + p { margin-top: 1em; }

/* ── Container ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ── Navigation ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  display: flex; align-items: center;
}

.site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w);
}

/*
 * Nav logo height: 36px → 68px (canvas: 54×36 → 102×68px)
 * Actual visible mark: 40×19px → 76×37px — a 3.7× increase in mark area.
 * Rationale: at 36px, the logo mark rendered at 19px tall — the size of a
 * favicon. This gives an international federation no visual authority.
 * At 68px, the mark reads at ~37px tall — comparable to how QAA, UCAS and
 * CMI present their wordmarks in primary navigation.
 * The image's built-in padding (22% top/bottom, 25% left/right) is accounted
 * for: the canvas is 102×68px but the mark visually appears inside that space.
 */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 68px; width: auto; }

/*
 * Nav link gap: 32px → 26px (compact slightly to accommodate larger logo)
 * Font size: 0.875rem → 0.875rem (kept — right weight for secondary element)
 */
.nav-links {
  display: flex; align-items: center; gap: 26px;
}

.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--grey-dark);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }

.nav-cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--black);
  color: var(--white) !important;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 3px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: all 0.25s;
}

/* ── Page offset for fixed nav ── */
.page-body { padding-top: var(--nav-h); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 0.9rem; font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--white); color: var(--black);
  border-color: var(--white);
}
.btn-primary:hover { background: var(--grey-light); border-color: var(--grey-light); }

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

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

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

/* ── Hero ── */
/*
 * Hero logo REMOVED from HTML.
 * Rationale: the logo appears in the fixed nav above at all times. Repeating it
 * in the hero body — at only 58×28px of visible mark — competes with the H1
 * ("Federation of Awarding Organisations") which says the same thing at 10×
 * the visual weight. Every benchmark institution (QAA, UCAS, British Council,
 * Universities UK, Advance HE, CMI, FSB) relies on typography alone in the hero.
 * The H1 IS the brand statement at this scale.
 */
.hero {
  background: var(--black);
  color: var(--white);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--section-pad) 0;
}

.hero-label {
  display: block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 32px;
  max-width: 16ch;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 52px;
  max-width: 52ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-rule {
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 56px; flex-wrap: wrap;
}

/*
 * Hero stat numbers: 2rem → 2.8rem
 * Rationale: stats are the site's primary proof points (50+ countries,
 * 300+ partnerships). They need to punch at a scale that makes the claim
 * feel significant — not read like footnotes.
 */
.hero-stat-num {
  font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--white); line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ── Page Hero (inner pages) ── */
/*
 * Padding: clamp(60,8vw,100) → clamp(88,10vw,128)
 * Rationale: inner page heroes need more breathing room to signal that this
 * is a federation-level institution, not a web agency landing page.
 */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(88px, 10vw, 128px) 0;
}
.page-hero-label {
  display: block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.8rem); margin-bottom: 24px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 54ch; line-height: 1.7; }

/* ── Sections ── */
section { padding: var(--section-pad) 0; }

/*
 * Section label: 0.75rem, 0.15em tracking → 0.72rem, 0.2em tracking
 * Rationale: tighter type, wider tracking = more institutional. Used by
 * QAA, British Council in their section taxonomy labels.
 */
.section-label {
  display: block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey-mid);
  margin-bottom: 20px;
}

/*
 * Section heading margin-bottom: 24px → 32px
 * Rationale: more breathing room between heading and body text signals
 * confidence and premium positioning.
 */
.section-heading { margin-bottom: 32px; }
.section-intro { font-size: 1.1rem; color: var(--grey-dark); margin-bottom: 64px; line-height: 1.75; max-width: 64ch; }

/* ── Grid layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* ── Cards ── */
.card {
  padding: 40px 36px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
}

.card-num {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--grey-mid); text-transform: uppercase;
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 14px; }
.card p { font-size: 0.9rem; color: var(--grey-dark); }

.card-dark {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.card-dark p { color: rgba(255,255,255,0.7); }

.card-black {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}
.card-black p { color: rgba(255,255,255,0.6); }

/* ── What FAO Does cards (home) ── */
.what-fao { background: var(--off-white); }
.what-fao .card { background: var(--white); }
.what-fao .card-icon {
  width: 40px; height: 40px;
  background: var(--black); border-radius: 2px;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
}
.what-fao .card-icon svg { width: 20px; height: 20px; fill: var(--white); }

/* ── Partners section (home) ── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  overflow: hidden;
}

/*
 * Partner tile padding: 36px 28px → 44px 36px
 * Partner tile h3: 1.3rem → 1.5rem
 * Rationale: partner organisations are the federation's primary credential.
 * They deserve the visual weight of a proper institutional listing, not a
 * product tile. Increasing padding and heading size reflects their status.
 */
.partner-tile {
  background: var(--white);
  padding: 44px 36px;
  display: flex; flex-direction: column; gap: 14px;
}

.partner-tile-sector {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--grey-mid);
}

.partner-tile h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.partner-tile p { font-size: 0.875rem; color: var(--grey-dark); line-height: 1.65; }

.partner-tile a {
  font-size: 0.8rem; font-weight: 600;
  color: var(--navy); margin-top: auto;
  padding-top: 4px;
}
.partner-tile a:hover { color: var(--black); }

/* ── Why FAO ── */
.why-fao { background: var(--navy); color: var(--white); }
.why-fao .section-label { color: rgba(255,255,255,0.35); }
.why-fao h2 { color: var(--white); }

.why-list {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 52px;
}

/*
 * Why item padding: 28px 0 → 34px 0
 * Why text font-size: 1.05rem → 1.1rem
 * Rationale: this is FAO's core value proposition. Each point needs to read
 * as a substantial claim, not a bullet-point afterthought.
 */
.why-item {
  display: flex; align-items: flex-start; gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.why-num {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25); min-width: 32px; margin-top: 4px;
}

.why-text { font-size: 1.1rem; color: rgba(255,255,255,0.82); line-height: 1.6; }

/* ── CTA band ── */
.cta-band {
  background: var(--black); color: var(--white);
  padding: clamp(72px, 8vw, 112px) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 20px; }
.cta-band p { color: rgba(255,255,255,0.55); margin: 0 auto 44px; max-width: 48ch; font-size: 1.05rem; line-height: 1.7; }
.cta-band .btn-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── About page ── */
.about-intro { background: var(--off-white); }

.pillars-section .card {
  border-left: 3px solid var(--navy);
  border-top: none; border-right: none; border-bottom: none;
  border-radius: 0;
  padding: 32px 28px;
  background: var(--off-white);
}

.mission-block {
  background: var(--navy);
  color: var(--white);
  padding: clamp(80px, 9vw, 120px) 0;
}
.mission-block .section-label { color: rgba(255,255,255,0.35); }
.mission-block h2 { color: var(--white); margin-bottom: 28px; }
.mission-block p { color: rgba(255,255,255,0.75); font-size: 1.15rem; line-height: 1.75; }

.coalition-quote {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}
.blockquote {
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  max-width: 68ch;
  padding-left: 36px;
  border-left: 4px solid var(--navy);
}

/* ── Services page ── */
.services-pillar {
  padding: 56px 0;
  border-top: 1px solid var(--grey-light);
}
.services-pillar:first-child { border-top: none; }

.pillar-header { margin-bottom: 28px; display: flex; align-items: baseline; gap: 20px; }
.pillar-num { font-size: 0.75rem; font-weight: 700; color: var(--grey-mid); letter-spacing: 0.12em; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.benefit-card {
  padding: 32px;
  background: var(--off-white);
  border-radius: 4px;
}
.benefit-card-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: 12px;
}
.benefit-card h4 { font-size: 1rem; margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.benefit-card p { font-size: 0.875rem; color: var(--grey-dark); }

.in-country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-item {
  padding: 32px 28px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
}
.service-item-num {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--grey-mid); margin-bottom: 14px;
}
.service-item h4 { font-size: 0.95rem; margin-bottom: 10px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.service-item p { font-size: 0.875rem; color: var(--grey-dark); }

/* ── Partners page ── */
.partner-detail {
  padding: 64px 0;
  border-top: 1px solid var(--grey-light);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.partner-detail:first-child { border-top: none; }

.partner-sector-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--off-white);
  color: var(--grey-dark);
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.partner-name { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.partner-desc { color: var(--grey-dark); margin-bottom: 20px; line-height: 1.75; }

/* ── Pathways page ── */
.pathway-overview {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

.pathway-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 56px 0;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  overflow: hidden;
}

.pathway-step {
  padding: 44px 36px;
  background: var(--white);
  border-right: 1px solid var(--grey-light);
}
.pathway-step:last-child { border-right: none; }

.pathway-step-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: 14px;
}
.pathway-step h3 { font-size: 1.1rem; margin-bottom: 12px; }
.pathway-step p { font-size: 0.875rem; color: var(--grey-dark); line-height: 1.65; }

.specialisation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  padding: 36px 32px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
}
.spec-card h3 { font-size: 1rem; margin-bottom: 12px; font-weight: 600; }
.spec-card p { font-size: 0.875rem; color: var(--grey-dark); }

/* ── People page ── */
.people-intro {
  max-width: 640px;
  font-size: 1.2rem;
  color: var(--grey-dark);
  margin-bottom: 64px;
  line-height: 1.75;
}

.people-values {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-info { }
.contact-detail { margin-bottom: 40px; }
.contact-detail-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--grey-mid);
  margin-bottom: 10px;
}
.contact-detail p, .contact-detail a { color: var(--black); font-size: 1rem; line-height: 1.65; }
.contact-social { display: flex; gap: 16px; margin-top: 8px; }
.contact-social a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--navy); border-bottom: 1px solid var(--grey-light);
  padding-bottom: 2px;
}

/* Contact form */
.contact-form { }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--grey-dark); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--grey-light);
  border-radius: 3px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 150px; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 28px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); }
.form-check label { font-size: 0.875rem; color: var(--grey-dark); line-height: 1.5; }
.form-check label a { color: var(--navy); text-decoration: underline; }

.form-trust { display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-item-label { font-size: 0.78rem; font-weight: 700; color: var(--black); }
.trust-item-sub { font-size: 0.75rem; color: var(--grey-mid); }

/* ── Footer ── */
/*
 * Footer padding: 60px 0 40px → 80px 0 52px
 * Rationale: the footer is the brand's closing statement. Cramped footers
 * signal a rushed product. Institutional footers breathe.
 */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 72px;
}

/*
 * Footer logo height: 32px → 72px (canvas: 48×32 → 108×72px)
 * Actual visible mark: 36×17px → 80×39px — a 5× increase in mark area.
 * Rationale: at 32px the reverse logo mark was 17px tall — essentially
 * invisible against the dark footer. At 72px, the mark reads at ~39px tall
 * and functions as a genuine brand signature. The solid black background of
 * fao-logo-reverse.png blends seamlessly with the footer's #0a0a0a background,
 * so the white mark floats cleanly as an institutional closing identity.
 *
 * Note: no negative margins needed — the image padding provides natural
 * breathing room around the mark.
 */
.footer-brand {}
.footer-logo { height: 72px; width: auto; margin-bottom: 24px; }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 30ch; }

.footer-col h4 {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ── Federation Hierarchy ── */
.federation-hierarchy {
  background: var(--off-white);
}

.hierarchy-diagram {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hierarchy-level {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--grey-light);
}

.hierarchy-level:first-child { border-top: none; }

.hierarchy-level-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--grey-mid);
  line-height: 1.4;
}

.hierarchy-level-label span {
  display: block;
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--navy); margin-bottom: 4px;
}

.hierarchy-level-content h4 {
  font-size: 1rem; font-weight: 700; letter-spacing: 0;
  text-transform: none; color: var(--black);
  margin-bottom: 6px;
}

.hierarchy-level-content p {
  font-size: 0.875rem; color: var(--grey-dark); line-height: 1.65;
}

.hierarchy-level-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}

.hierarchy-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 2px;
  background: var(--white); color: var(--grey-dark);
  border: 1px solid var(--grey-light);
}

.hierarchy-tag.is-fao {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

.hierarchy-tag.is-strategic {
  background: var(--black); color: var(--white); border-color: var(--black);
}

/* ── Strategic Partner Spotlight ── */
.strategic-spotlight {
  background: var(--white);
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  padding: 56px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  margin-top: 48px;
}

.spotlight-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--black); color: var(--white);
  padding: 6px 12px; border-radius: 2px;
  margin-bottom: 20px;
}

.spotlight-name {
  font-size: 2.8rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--navy); margin-bottom: 10px;
}

.spotlight-full-name {
  font-size: 0.85rem; font-weight: 500; color: var(--grey-mid);
  margin-bottom: 0;
}

.spotlight-meta {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--grey-light);
  display: flex; flex-direction: column; gap: 14px;
}

.spotlight-meta-item {
  display: flex; gap: 12px; align-items: flex-start;
}

.spotlight-meta-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--grey-mid);
  min-width: 100px; margin-top: 2px;
}

.spotlight-meta-value {
  font-size: 0.875rem; color: var(--black);
}

.spotlight-desc {
  font-size: 1.05rem; color: var(--grey-dark); line-height: 1.75;
  margin-bottom: 0;
}

.spotlight-desc + .spotlight-desc { margin-top: 16px; }

.spotlight-actions {
  margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap;
}

/* ── Latest from Partner ── */
.latest-from-partner {
  background: var(--navy);
  color: var(--white);
}

.latest-from-partner .section-label { color: rgba(255,255,255,0.35); }

.latest-partner-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 48px;
}

.latest-partner-link {
  font-size: 0.875rem; font-weight: 600;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.latest-partner-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.latest-partner-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.latest-partner-item {
  background: rgba(255,255,255,0.04);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 12px;
}

.latest-item-type {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

.latest-item-title {
  font-size: 1rem; font-weight: 600; color: var(--white); line-height: 1.45;
}

.latest-item-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.65;
}

.latest-item-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.latest-item-cta:hover { color: var(--white); }

/* ── Partners page: category headers ── */
.partner-category-header {
  padding: 48px 0 32px;
  border-top: 2px solid var(--navy);
  margin-top: 48px;
}
.partner-category-header:first-child {
  border-top: none; margin-top: 0; padding-top: 0;
}

.partner-category-label {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px; border-radius: 2px;
  margin-bottom: 16px;
}

.partner-category-label.awarding-org {
  background: var(--navy); color: var(--white);
}

.partner-category-label.strategic-partner {
  background: var(--black); color: var(--white);
}

.partner-category-header h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 10px; }
.partner-category-header p { font-size: 0.95rem; color: var(--grey-dark); max-width: 62ch; line-height: 1.7; }

/* ── Contact form enhancements ── */

/* Required field asterisk */
.req {
  color: #c0392b;
  margin-left: 2px;
  font-style: normal;
}

/* Helper note above form */
.form-required-note {
  font-size: 0.78rem;
  color: var(--grey-mid);
  margin-bottom: 20px;
}

/* Error banner — shown when ?error=1 redirects back to contact.html */
.form-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 3px solid #dc2626;
  border-radius: 3px;
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: #991b1b;
  line-height: 1.6;
}
.form-error-banner a {
  color: #991b1b;
  text-decoration: underline;
}

/* Security notice line above submit button */
.form-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--grey-mid);
  margin-bottom: 20px;
  line-height: 1.5;
}
.form-notice svg {
  flex-shrink: 0;
  color: var(--grey-mid);
}

/* Honeypot field — hidden from all users */
.form-honeypot {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

/* ── Thank-you page ── */
.thankyou-block {
  max-width: 640px;
  padding: 0 0 clamp(40px, 6vw, 80px);
}

.thankyou-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
  color: var(--white);
}

.thankyou-heading {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 18px;
}

.thankyou-body {
  font-size: 1.05rem;
  color: var(--grey-dark);
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 56ch;
}

.thankyou-link {
  color: var(--navy);
  text-decoration: underline;
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  margin-bottom: 48px;
}

.thankyou-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--grey-light);
}

@media (max-width: 480px) {
  .thankyou-actions .btn { width: 100%; text-align: center; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.bg-off-white { background: var(--off-white); }
.bg-black { background: var(--black); }
.bg-navy { background: var(--navy); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partner-detail { grid-template-columns: 1fr; gap: 28px; }
  .in-country-grid { grid-template-columns: repeat(2, 1fr); }
}

/*
 * Tablet/mobile logo sizing:
 * Nav logo: 68px → 56px at ≤768px (still 3× the original — mark ≈ 62×30px)
 * Footer logo: 72px → 60px at ≤768px (mark ≈ 67×33px — still a clear signature)
 * Rationale: smaller viewports need the logo to scale back slightly to
 * avoid dominating the hamburger-menu nav bar, but must remain readable.
 */
@media (max-width: 768px) {
  .nav-logo img { height: 56px; }
  .footer-logo  { height: 60px; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 28px;
    border-bottom: 1px solid var(--grey-light);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  }
  .nav-links.open a { padding: 13px 0; border-bottom: 1px solid var(--grey-light); }
  .nav-links.open a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .pathway-steps { grid-template-columns: 1fr; }
  .pathway-step { border-right: none; border-bottom: 1px solid var(--grey-light); }
  .pathway-step:last-child { border-bottom: none; }
  .specialisation-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-rule { gap: 36px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .in-country-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .spotlight-card { grid-template-columns: 1fr; gap: 40px; padding: 36px 28px; }
  .latest-partner-strip { grid-template-columns: 1fr; }
  .hierarchy-level { grid-template-columns: 80px 1fr; gap: 24px; }
}

/*
 * Mobile logo sizing:
 * Nav logo: 56px → 48px at ≤480px (mark ≈ 53×26px — clear in compact bar)
 * Footer logo: 60px → 52px at ≤480px (mark ≈ 58×28px — readable signature)
 */
@media (max-width: 480px) {
  .nav-logo img { height: 48px; }
  .footer-logo  { height: 52px; }

  .partners-grid { grid-template-columns: 1fr; }
  .specialisation-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}

/* ============================================
   FAO B2B Redesign — Additional Components
   ============================================ */

/* ── Audience Grid (Who FAO Supports) ── */
.audience-section { background: var(--off-white); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 52px;
}

.audience-card {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-card-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.audience-card h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--black);
  margin: 0;
}

.audience-card p {
  font-size: 0.85rem;
  color: var(--grey-dark);
  line-height: 1.6;
}

/* ── Centre Approval Process ── */
.centre-process-section { background: var(--white); }
.centre-process-section.bg-navy { background: var(--navy); }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--grey-light);
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid var(--grey-light);
  align-items: start;
}

.process-step-num {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--grey-light);
  line-height: 1;
  padding-top: 4px;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--black);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--grey-dark);
  line-height: 1.65;
}

/* Dark variant */
.process-steps.dark { border-top-color: rgba(255,255,255,0.1); }
.process-steps.dark .process-step { border-bottom-color: rgba(255,255,255,0.1); }
.process-steps.dark .process-step-num { color: rgba(255,255,255,0.12); }
.process-steps.dark .process-step h4 { color: var(--white); }
.process-steps.dark .process-step p { color: rgba(255,255,255,0.6); }

/* ── QA Support Grid ── */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.qa-item {
  padding: 36px 32px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  border-top: 3px solid var(--navy);
}

.qa-item h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--black);
  margin-bottom: 10px;
}

.qa-item p {
  font-size: 0.875rem;
  color: var(--grey-dark);
  line-height: 1.65;
}

/* ── Regional Block ── */
.regional-block {
  background: var(--black);
  color: var(--white);
}

.regional-block .section-label { color: rgba(255,255,255,0.35); }

.regional-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 56px;
}

.regional-stat {
  padding: 44px 36px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.regional-stat:last-child { border-right: none; }

.regional-stat-num {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.regional-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

.regional-stat p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  line-height: 1.6;
}

/* ── Partner Access Grid (homepage) ── */
.partner-access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 52px;
}

.partner-access-tile {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-access-sector {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.partner-access-tile h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--black);
}

.partner-access-tile p {
  font-size: 0.85rem;
  color: var(--grey-dark);
  line-height: 1.65;
}

.partner-access-tile a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: auto;
}

.partner-access-tile a:hover { color: var(--black); }


/* ── Two-column feature layout ── */
.feature-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ── Feature checklist ── */
.feature-checklist { display: flex; flex-direction: column; }

.feature-check-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-light);
}
.feature-check-item:last-child { border-bottom: none; }

.feature-check-mark {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px;
  background: var(--navy); border-radius: 50%;
  position: relative;
}
.feature-check-mark::after {
  content: '';
  position: absolute; left: 5px; top: 3px;
  width: 5px; height: 9px;
  border: 2px solid var(--white); border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* ── Intro band ── */
.intro-band { background: var(--off-white); }
.intro-band-text {
  font-size: 1.05rem; color: var(--grey-dark);
  line-height: 1.75; max-width: 72ch;
  border-left: 3px solid var(--navy);
  padding-left: 24px;
}

/* ── CTA variant for latest-partner-item ── */
/* Visually distinct from the regular content cards — signals a clear action */
.latest-partner-item--cta {
  background: rgba(255,255,255,0.10);
  border-left: 2px solid rgba(255,255,255,0.3);
}
.latest-partner-item--cta .latest-item-type {
  color: rgba(255,255,255,0.7);
}
.latest-partner-item--cta .latest-item-title {
  color: var(--white);
}
.latest-partner-item--cta .latest-item-cta {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ── spec-card CTA variant ── */
/* Last card in specialisation grid — distinguishes it as a CTA, not content */
.spec-card--cta {
  background: var(--off-white);
  border-style: dashed;
}
.spec-card--cta h3 { color: var(--navy); }
.spec-card--cta p  { color: var(--grey-dark); }

/* ── Button variant for light hero backgrounds ── */
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { border-color: var(--white); }

/* ── Responsive additions for new grids ── */
@media (max-width: 1024px) {
  .audience-grid       { grid-template-columns: repeat(2, 1fr); }
  .partner-access-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .feature-two-col      { grid-template-columns: 1fr; gap: 40px; }
  .audience-grid        { grid-template-columns: repeat(2, 1fr); }
  .partner-access-grid  { grid-template-columns: repeat(2, 1fr); }
  .qa-grid              { grid-template-columns: 1fr; }
  .regional-stats       { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .audience-grid        { grid-template-columns: 1fr; }
  .partner-access-grid  { grid-template-columns: 1fr; }
  .latest-partner-strip { grid-template-columns: 1fr; }
}

/* ============================================
   FAO Legal Pages & Footer Compliance
   Added: June 2026
   ============================================ */

/* ── Footer: extend to 5-column grid to accommodate Legal column ── */
.footer-grid {
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
}

/* ── Footer compliance statement ── */
.footer-compliance {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  margin-bottom: 28px;
}
.footer-compliance p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
  line-height: 1.65;
  max-width: 88ch;
}

/* ── Legal page anchor navigation ── */
.legal-anchor-nav {
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-light);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}
.legal-anchor-nav .container {
  padding-top: 14px;
  padding-bottom: 14px;
}
.legal-anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.legal-anchor-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey-dark);
  padding: 5px 12px;
  border: 1px solid var(--grey-light);
  border-radius: 2px;
  transition: all 0.2s;
  background: var(--white);
  white-space: nowrap;
}
.legal-anchor-nav a:hover {
  color: var(--navy);
  border-color: var(--navy-mid);
}

/* ── Legal page content ── */
.legal-body {
  padding: var(--section-pad) 0;
}
.legal-content {
  max-width: 780px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 52px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--grey-light);
}
.legal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.legal-meta-value {
  font-size: 0.875rem;
  color: var(--black);
  font-weight: 500;
}
.legal-section {
  padding: 44px 0;
  border-top: 1px solid var(--grey-light);
}
.legal-section:first-child {
  border-top: none;
  padding-top: 0;
}
.legal-section h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 18px;
  line-height: 1.2;
}
.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-top: 28px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.legal-section p {
  font-size: 0.9rem;
  color: var(--grey-dark);
  line-height: 1.78;
  max-width: 72ch;
}
.legal-section p + p {
  margin-top: 14px;
}
.legal-section ul,
.legal-section ol {
  margin-top: 14px;
  margin-bottom: 14px;
  padding-left: 22px;
}
.legal-section ul { list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-section li {
  font-size: 0.9rem;
  color: var(--grey-dark);
  line-height: 1.75;
  margin-bottom: 7px;
  max-width: 70ch;
}
.legal-section a {
  color: var(--navy);
  text-decoration: underline;
}
.legal-section a:hover {
  color: var(--black);
}
.legal-highlight {
  background: var(--off-white);
  border-left: 3px solid var(--navy);
  padding: 20px 24px;
  border-radius: 0 3px 3px 0;
  margin-top: 24px;
}
.legal-highlight p {
  font-size: 0.875rem;
  color: var(--grey-dark);
  line-height: 1.7;
}
.legal-highlight p strong {
  color: var(--black);
}
.legal-contact-block {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  padding: 32px 28px;
  margin-top: 28px;
}
.legal-contact-block h3 {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.legal-contact-block p {
  font-size: 0.875rem;
  color: var(--grey-dark);
}
.legal-contact-block a {
  color: var(--navy);
  text-decoration: underline;
}

/* ── Responsive adjustments ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .legal-anchor-nav ul { gap: 6px; }
  .legal-anchor-nav a { font-size: 0.72rem; padding: 4px 10px; }
}
