/* ─── TOKENS ───────────────────────────────────────────
   Logo colors:
   Rust     — #C4421A  (terracotta / logo red)
   Dark bg  — #2E2218  (warm dark brown, not pure black)
   Text     — #1F1A14  (warm near-black for body text)
──────────────────────────────────────────────────────── */
:root {
  --rust:       #C4421A;
  --rust-dark:  #A03515;
  --rust-pale:  #F5E8E2;
  --dark:       #2E2218;   /* warm dark brown — used for dark-bg sections */
  --dark-soft:  #3D2F22;   /* slightly lighter for card surfaces in dark sections */
  --text:       #1F1A14;   /* warm near-black for headings and body */
  --off-white:  #F6F3EF;
  --rule:       #DDD8D2;
  --muted:      #5C5450;   /* warm grey-brown for body copy */
  --light:      #9A9088;   /* warm light grey for captions */
  --white:      #FFFFFF;
  --r:          2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
hr.rule { border: none; border-top: 1px solid var(--rule); }

/* ─── GLOBAL POLISH ─── */
/* Warm rust text selection */
::selection { background: rgba(196,66,26,0.22); color: var(--text); }
/* Fixed glass nav (68px) shouldn't hide anchored sections */
:target { scroll-margin-top: 92px; }
/* Subtle film-grain texture to break digital flatness (very low opacity, non-blocking) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { body::before { display: none; } }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(38,28,19,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 34px -22px rgba(0,0,0,0.7);
}
/* Solid fallback where backdrop-filter is unsupported */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { background: var(--dark); }
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
}
.nav-logo img { height: 62px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 400;
  padding: 7px 13px; border-radius: var(--r); transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .cta {
  margin-left: 8px; background: var(--rust);
  color: var(--white) !important; padding: 8px 20px; font-weight: 600;
}
.nav-links .cta:hover { background: var(--rust-dark); }

/* ─── ORDER STRIP ─── */
.order-strip {
  background: var(--rust); padding: 13px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-top: 68px;
}
.order-strip-ticker {
  flex: 1 1 0%; min-width: 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent);
}
.order-strip-track { display: flex; align-items: center; width: max-content; animation: order-ticker 42s linear infinite; will-change: transform; }
.order-strip-ticker:hover .order-strip-track { animation-play-state: paused; }
@keyframes order-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.os-item { font-size: 14px; color: rgba(255,255,255,0.92); white-space: nowrap; }
.os-item strong { color: var(--white); font-weight: 600; }
.os-sep { color: rgba(255,255,255,0.45); padding: 0 clamp(20px, 2.6vw, 36px); font-size: 10px; line-height: 1; }
.order-strip-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.order-strip-actions a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; padding: 8px 18px;
  border-radius: var(--r); border: 1px solid rgba(255,255,255,0.35);
  color: var(--white); transition: background 0.2s; white-space: nowrap;
}
.order-strip-actions a:hover { background: rgba(0,0,0,0.15); }
.order-strip-actions a.wa { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.5); }
.os-ico { width: 15px; height: 15px; flex-shrink: 0; }

/* ─── HERO ─── */
.hero {
  background: var(--dark); padding: 100px 40px 96px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,66,26,0.18) 0%, transparent 68%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-label {
  font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.42); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 54px); color: var(--white); font-weight: 700;
  margin-bottom: 22px; letter-spacing: -0.01em;
}
.hero h1 em { color: var(--rust); font-style: italic; font-weight: 400; }
.hero-lead {
  font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.75;
  margin-bottom: 36px; max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: var(--r); transition: all 0.2s; cursor: pointer; border: none; }
.btn-solid { background: var(--rust); color: var(--white); }
.btn-solid:hover { background: var(--rust-dark); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.82); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.hero-stat {
  padding: 28px 24px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:first-child  { border-radius: var(--r) 0 0 0; }
.hero-stat:nth-child(2) { border-radius: 0 var(--r) 0 0; }
.hero-stat:nth-child(3) { border-radius: 0 0 0 var(--r); }
.hero-stat:last-child   { border-radius: 0 0 var(--r) 0; }
.hero-stat .n { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat .n sup { font-size: 20px; color: var(--rust); }
.hero-stat .l { font-size: 15px; color: rgba(255,255,255,0.42); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-stat .d { font-size: 13px; color: rgba(255,255,255,0.68); margin-top: 3px; }

/* ─── LAYOUT SHARED ─── */
.wrap { max-width: 1200px; margin: 0 auto; }
.sec { padding: 88px 40px; }
.sec-label { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; }
.sec-title { font-size: clamp(26px, 3vw, 38px); color: var(--text); margin-bottom: 14px; }
.sec-lead { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 580px; }
.sec-head { margin-bottom: 52px; }
.sec-head.c { text-align: center; }
.sec-head.c .sec-lead { margin: 0 auto; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-body { font-size: 15.5px; color: var(--muted); line-height: 1.8; }
.about-body p + p { margin-top: 16px; }
.about-quote {
  margin-top: 28px; padding: 20px 24px;
  border-left: 3px solid var(--rust); background: var(--rust-pale);
  font-size: 14px; color: var(--text); font-style: italic; line-height: 1.65;
  display: flex; align-items: center; gap: 20px;
}
.about-quote-fern {
  flex: 0 0 auto; width: 64px; height: auto; align-self: flex-start;
  margin-top: 2px; opacity: .92;
}
@media (max-width: 520px) {
  .about-quote { flex-direction: column; align-items: flex-start; gap: 12px; }
}
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.pillar { background: var(--white); padding: 28px 24px; }
.pillar-icon { font-size: 22px; margin-bottom: 12px; }
.pillar h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.pillar p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ─── WINGS ─── */
.wings-bg { background: var(--off-white); }
.wings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wing { background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.wing-head { padding: 32px 36px 24px; border-bottom: 1px solid var(--rule); }
.wing-head.ngo { border-top: 3px solid var(--text); }
.wing-head.ent { border-top: 3px solid var(--rust); }
.wing-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light); margin-bottom: 12px; }
.wing h3 { font-size: 22px; color: var(--text); margin-bottom: 8px; }
.wing-sub { font-size: 14px; color: var(--muted); line-height: 1.6; }
.wing-body { padding: 24px 36px; flex: 1; }
.wing-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wing-list li { font-size: 14px; color: var(--muted); padding-left: 16px; position: relative; line-height: 1.5; }
.wing-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--rule); }
.wing-foot { padding: 16px 36px; border-top: 1px solid var(--rule); display: flex; justify-content: flex-end; }
.wing-foot a { font-size: 13px; font-weight: 600; color: var(--rust); transition: color 0.2s; }
.wing-foot a:hover { color: var(--rust-dark); }
.wings-note { margin-top: 20px; padding: 22px 28px; border: 1px solid var(--rule); background: var(--white); font-size: 14px; color: var(--muted); line-height: 1.65; display: flex; align-items: flex-start; gap: 16px; }
.wings-note strong { color: var(--text); }

/* ─── DAISY ─── */
/* Slightly lighter than hero — warm charcoal so text reads clearly */
.daisy-bg { background: var(--off-white); }
.daisy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.daisy-label { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); margin-bottom: 12px; }
.daisy-bg h2 { font-size: clamp(26px, 3vw, 38px); color: var(--text); margin-bottom: 16px; }
.daisy-body { font-size: 15px; color: var(--muted); line-height: 1.75; }
.daisy-body p + p { margin-top: 14px; }
.daisy-products { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.dp { background: var(--white); padding: 18px 14px; text-align: center; }
.dp-icon { font-size: 20px; margin-bottom: 8px; }
.dp-name { font-size: 13px; font-weight: 500; color: var(--text); }
.dp-tag { font-size: 10px; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.08em; }
.daisy-logo-panel { background: var(--white); border: 1px solid var(--rule); padding: 52px 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.daisy-logo-panel img { max-width: 280px; width: 100%; }
.daisy-logo-panel p { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.6; }
.daisy-tm { font-size: 15px; color: var(--light); margin-top: 16px; font-style: italic; }

/* ─── MEDICINES ─── */
.med-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.med-card { border: 1px solid var(--rule); background: var(--white); display: flex; flex-direction: column; }
.med-img { background: var(--off-white); padding: 36px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--rule); min-height: 200px; }
.med-img img { max-height: 150px; width: auto; object-fit: contain; }
.med-body { padding: 28px 32px; flex: 1; }
.med-reg { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; }
.med-name { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.med-generic { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.med-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.med-specs { margin-top: 20px; border-top: 1px solid var(--rule); }
.med-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.med-row:last-child { border-bottom: none; }
.med-row .k { color: var(--light); }
.med-row .v { font-weight: 600; color: var(--text); }
.med-foot { padding: 16px 32px; background: var(--off-white); border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.med-foot span { font-size: 13px; color: var(--muted); }
.med-foot a { font-size: 13px; font-weight: 600; color: var(--white); background: var(--rust); padding: 8px 16px; border-radius: var(--r); transition: background 0.2s; white-space: nowrap; }
.med-foot a:hover { background: var(--rust-dark); }
.med-note { margin-top: 24px; padding: 20px 24px; border-left: 3px solid var(--rust); background: var(--rust-pale); font-size: 14px; color: var(--muted); line-height: 1.65; }
.med-note strong { color: var(--text); }

/* ─── NUMBERS ─── */
.numbers-bg { background: var(--off-white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--rule); }
.num-item { padding: 48px 32px; border-right: 1px solid var(--rule); text-align: center; }
.num-n { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 700; color: var(--text); line-height: 1; }
.num-n sup { font-size: 22px; color: var(--rust); }
.num-l { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* ─── PROGRAMS ─── */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prog { border: 1px solid var(--rule); padding: 28px 24px; background: var(--white); transition: border-color 0.2s; }
.prog:hover { border-color: var(--rust); }
.prog-num { font-size: 15px; color: var(--light); letter-spacing: 0.1em; margin-bottom: 16px; }
.prog h3 { font-size: 17px; color: var(--text); margin-bottom: 10px; }
.prog p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.prog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.prog-tag { font-size: 15px; color: var(--muted); background: var(--off-white); border: 1px solid var(--rule); padding: 3px 10px; }

/* ─── WORK ─── */
.work-bg { background: var(--off-white); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.work-card { background: var(--white); padding: 28px; }
.work-region { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; }
.work-card h3 { font-size: 17px; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.work-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.work-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; }
.work-status { font-size: 12px; color: var(--muted); }
.work-status.active { color: #1A6632; font-weight: 600; }
.work-link { font-size: 13px; color: var(--rust); font-weight: 600; }

/* ─── QUOTE ─── */
.quote-sec { background: var(--rust); padding: 72px 40px; text-align: center; }
.quote-sec blockquote { max-width: 720px; margin: 0 auto; font-family: 'Playfair Display', serif; font-size: clamp(18px, 2.2vw, 26px); color: rgba(255,255,255,0.95); font-style: italic; line-height: 1.55; }
.quote-sec cite { display: block; margin-top: 20px; font-family: 'Inter', sans-serif; font-size: 12px; font-style: normal; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; }

/* ─── PARTNERS ─── */
.part-group + .part-group { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--rule); }
.part-label { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light); margin-bottom: 16px; }
.part-row { display: flex; flex-wrap: wrap; gap: 8px; }
.part-badge { font-size: 13px; color: var(--muted); border: 1px solid var(--rule); padding: 9px 18px; transition: border-color 0.2s; background: var(--white); }
.part-badge:hover { border-color: var(--rust); color: var(--text); }
.part-badge.funder { background: var(--dark); color: rgba(255,255,255,0.82); border-color: var(--dark); }

/* ─── PRESENCE ─────────────────────────────────────────
   Key fix: use warm charcoal #3A2A1C rather than near-black.
   Body text bumped to rgba(255,255,255,0.78) for legibility.
──────────────────────────────────────────────────────── */
.pres-bg { background: #3A2A1C; }
.pres-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); margin-top: 48px; }
.pres-country { background: rgba(255,255,255,0.06); padding: 32px 24px; }
.pres-flag { font-size: 28px; margin-bottom: 12px; }
.pres-name { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--white); margin-bottom: 6px; }
.pres-status { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.pres-status.hq { color: #F4A07A; }
.pres-desc { font-size: 13px; color: rgba(255,255,255,0.78); margin-top: 10px; line-height: 1.6; }

/* ─── TEAM ─── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.team-card { background: var(--white); }
.team-avatar { height: 180px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; color: var(--white); }
.av-dark  { background: var(--dark); }
.av-rust  { background: var(--rust); }
.av-mid   { background: #5C3D28; }
.av-slate { background: #7A5A40; }
.team-info { padding: 18px 20px 22px; }
.team-info h3 { font-size: 15px; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.team-role { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rust); margin-bottom: 8px; line-height: 1.4; }
.team-bio { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.team-join { background: var(--off-white); padding: 28px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 100%; }
.team-join h3 { font-size: 15px; color: var(--text); }
.team-join p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.team-join a { font-size: 13px; font-weight: 600; color: var(--rust); }
.key-staff-note { margin-bottom: 36px; padding: 16px 22px; border-left: 3px solid var(--rust); background: var(--rust-pale); font-size: 14px; color: var(--muted); line-height: 1.6; }
.key-staff-note strong { color: var(--text); }

/* ─── CONTACT ─── */
.contact-bg { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-lead h2 { font-size: 34px; color: var(--text); margin-bottom: 14px; }
.contact-lead p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.c-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.c-row-icon { width: 40px; min-width: 40px; height: 40px; border: 1px solid var(--rule); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.c-row-text { font-size: 14px; color: var(--muted); }
.c-row-text strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 2px; }
.c-row-text a { color: var(--rust); }
.contact-form { background: var(--white); padding: 36px; border: 1px solid var(--rule); }
.contact-form h3 { font-size: 20px; color: var(--text); margin-bottom: 24px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.fg label { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }
.fg input, .fg textarea, .fg select { padding: 15px 14px; border: 1px solid var(--rule); font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text); background: var(--white); outline: none; transition: border-color 0.2s; border-radius: 0; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--rust); }
.fg textarea { min-height: 100px; resize: vertical; }
.f-submit { width: 100%; background: var(--rust); color: var(--white); border: none; padding: 13px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.f-submit:hover { background: var(--rust-dark); }

/* ─── FOOTER ─── */
footer { background: var(--dark); }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 64px 40px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 40px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 18px; }
.footer-adinkra { font-size: 12.5px; color: rgba(255,255,255,0.45); font-style: italic; line-height: 1.6; border-left: 2px solid var(--rust); padding-left: 12px; }
.footer-col h4 { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.48); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.32); }
.footer-bottom a { color: rgba(255,255,255,0.32); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom-right { display: flex; gap: 20px; }

/* ─── RESPONSIVE ─── */
@media(max-width:1024px){
  .hero-inner,.about-grid,.daisy-grid,.contact-grid { grid-template-columns:1fr; gap:40px; }
  .wings-grid,.med-grid { grid-template-columns:1fr; }
  .prog-grid,.work-grid { grid-template-columns:1fr 1fr; }
  .numbers-grid { grid-template-columns:1fr 1fr; }
  .team-grid { grid-template-columns:1fr 1fr; }
  .pres-grid { grid-template-columns:1fr 1fr; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .nav-inner,.order-strip { padding-left:24px; padding-right:24px; }
}
@media(max-width:768px){
  .nav-links { display:none; }
  .sec { padding:56px 24px; }
  .prog-grid,.work-grid,.team-grid,.pres-grid,.numbers-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr; padding:48px 24px 32px; }
  .footer-bottom { flex-direction:column; gap:10px; text-align:center; padding:16px 24px; }
  .f-row { grid-template-columns:1fr; }
  .hero { padding:72px 24px 64px; }
  .order-strip { flex-direction:column; text-align:center; padding:16px 24px; }
  .order-strip-ticker { flex:0 0 auto; width:100%; }
  .order-strip-track { animation-duration: 26s; }
}
@media(prefers-reduced-motion:reduce){ *{ animation:none!important; transition-duration:0.01ms!important; } }

/* ─── BOARD / TEAM (modern portrait roster) ─── */
.board-note {
  margin-bottom: 44px; padding: 22px 26px;
  border: 1px solid #E6D2C8; background: var(--rust-pale); border-radius: var(--r);
  font-size: 14.5px; color: var(--text); line-height: 1.7;
}
.board-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.board-card {
  background: var(--white); border: 1px solid var(--rule);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.5s var(--ease-out-strong, ease),
              border-color 0.3s var(--ease-out-strong, ease);
}
.board-card:hover { transform: translateY(-5px); border-color: var(--rust); }
.board-photo {
  height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.board-initials {
  font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.photo-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); border: 1px dashed rgba(255,255,255,0.35);
  padding: 3px 10px;
}
.board-info { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.board-info h3 { font-size: 18px; color: var(--text); margin-bottom: 5px; line-height: 1.25; }
.board-role {
  font-size: 15px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 12px;
}
.board-bio { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ─── ORG CHART ─── */
.org-chart {
  margin-bottom: 52px; padding: 32px;
  background: var(--white); border: 1px solid var(--rule);
}
.org-tier {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.org-tier-3 { justify-content: center; }
.org-tier-wrap { justify-content: center; gap: 8px; }
.org-connector {
  width: 1px; height: 24px; background: var(--rule); margin: 0 auto;
}
.org-box {
  background: var(--off-white); border: 1px solid var(--rule);
  padding: 12px 18px; font-size: 13px; font-weight: 600; color: var(--text);
  text-align: center; min-width: 140px;
  display: flex; flex-direction: column; gap: 4px;
}
.org-box span {
  font-size: 15px; font-weight: 400; color: var(--muted);
}
.org-board {
  background: var(--rust); color: var(--white); border-color: var(--rust);
}
.org-board span { color: rgba(255,255,255,0.7); }
.org-small { min-width: 110px; font-size: 12px; padding: 10px 12px; }

/* ─── TIER LABELS ─── */
.team-tier-label {
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}

/* ─── LEAD CARDS ─── */
.team-bg { background: var(--off-white); }
.lead-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lead-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lead-grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.lead-grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.lead-card {
  background: var(--white); border: 1px solid var(--rule);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.5s var(--ease-out-strong, ease),
              border-color 0.3s var(--ease-out-strong, ease);
}
.lead-card:hover { transform: translateY(-5px); border-color: var(--rust); }
.lead-photo {
  height: 160px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.lead-initials {
  font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.lead-info { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.lead-division {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.lead-info h3 { font-size: 16px; color: var(--text); margin-bottom: 4px; line-height: 1.25; }
.lead-role {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 8px; line-height: 1.4;
}
.reports-to { font-size: 12px; color: var(--muted); margin-bottom: 12px; font-style: italic; }
.lead-bio { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.lead-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-size: 12pxx; color: var(--muted); background: var(--off-white);
  border: 1px solid var(--rule); padding: 3px 9px; letter-spacing: 0.03em;
}
.team-note {
  margin-top: 36px; padding: 18px 24px;
  border-left: 3px solid var(--rust); background: var(--rust-pale);
  font-size: 14px; color: var(--muted); line-height: 1.65;
}
.team-note strong { color: var(--text); }

/* ─── RESPONSIVE ADDITIONS ─── */
@media(max-width:1024px){
  .org-tier-3 { gap: 8px; }
  .org-box { min-width: 120px; font-size: 12px; }
}
@media(max-width:768px){
  .org-chart { padding: 20px 16px; }
  .org-tier, .org-tier-3, .org-tier-wrap { flex-direction: column; align-items: center; }
}


/* ─── SKILLS STRATEGY SECTION ─── */
.skills-context {
  display: grid; grid-template-columns: 1fr auto; gap: 48px;
  align-items: start; margin-bottom: 56px;
  padding: 28px 32px; background: var(--off-white); border: 1px solid var(--rule);
}
.skills-context-text { font-size: 15px; color: var(--muted); line-height: 1.75; }
.skills-context-text p + p { margin-top: 14px; }
.skills-context-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  min-width: 260px; background: var(--rule); border: 1px solid var(--rule);
}
.sk-stat {
  background: var(--white); padding: 20px 18px; text-align: center;
}
.sk-stat-n {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 700; color: var(--text); line-height: 1;
}
.sk-stat-n sup { font-size: 16px; color: var(--rust); }
.sk-stat-l { display: block; font-size: 15px; color: var(--muted); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.07em; }

/* Pillars */
.skills-sub-head { margin-bottom: 28px; }
.skills-h3 { font-size: clamp(20px, 2.5vw, 28px); color: var(--text); margin-bottom: 8px; }
.skills-sub-lead { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 620px; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.pillar-card { background: var(--white); padding: 24px 22px; transition: background 0.2s; }
.pillar-card:hover { background: var(--off-white); }
.pillar-icon { font-size: 22px; margin-bottom: 10px; }
.pillar-card h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 7px; line-height: 1.3; }
.pillar-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* Legend */
.sk-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 24px; padding: 14px 18px;
  background: var(--off-white); border: 1px solid var(--rule);
  font-size: 12px; color: var(--muted);
}
.sk-legend-label { font-weight: 700; color: var(--text); margin-right: 4px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; }
.legend-item { display: flex; align-items: center; gap: 5px; }

/* Country cards */
.country-skills-wrap { display: flex; flex-direction: column; gap: 24px; }
.country-skill-card { border: 1px solid var(--rule); background: var(--white); }
.country-skill-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--rule);
  background: var(--off-white);
}
.csk-flag { font-size: 22px; }
.csk-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: var(--text); }
.sk-table-wrap { overflow-x: auto; }
.sk-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sk-table th, .sk-table td { border-bottom: 1px solid var(--rule); }
.sk-th-name {
  text-align: left; padding: 10px 16px; font-size: 15px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--light);
  min-width: 200px; background: var(--white);
}
.sk-th {
  text-align: center; padding: 8px 6px; font-size: 16px; line-height: 1.3;
  min-width: 52px; background: var(--white); vertical-align: bottom;
}
.sk-th span { display: block; font-size: 9px; font-weight: 600; color: var(--light); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; line-height: 1.3; }
.sk-section-head td {
  padding: 7px 16px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--rust); background: var(--rust-pale);
  border-top: 1px solid var(--rule);
}
.sk-name {
  padding: 10px 16px; color: var(--text); font-size: 13px;
  font-weight: 500; vertical-align: top; line-height: 1.4;
}
.sk-people { font-size: 15px; color: var(--muted); font-style: italic; font-weight: 400; margin-top: 2px; }
.sk-cell { text-align: center; vertical-align: middle; padding: 10px 4px; }
.sk-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
}
.sk-on  { background: var(--rust); }
.sk-off { background: var(--rule); }

/* Closing note */
.skills-closing {
  margin-top: 36px; padding: 22px 28px;
  display: flex; align-items: flex-start; gap: 18px;
  background: var(--off-white); border: 1px solid var(--rule);
  font-size: 14px; color: var(--muted); line-height: 1.65;
}
.skills-closing-icon { font-size: 24px; margin-top: 2px; }
.skills-closing strong { color: var(--text); }

/* Responsive */
@media(max-width:1024px){
  .skills-context { grid-template-columns: 1fr; }
  .skills-context-stats { min-width: auto; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:768px){
  .pillars-grid { grid-template-columns: 1fr; }
  .skills-context-stats { grid-template-columns: repeat(2, 1fr); }
}


/* ─── PAGE HERO (inner-page banner) ─── */
.page-hero {
  padding: 80px 40px 64px;
  /* nav clearance comes from the order-strip's margin-top above it */
  position: relative; overflow: hidden; isolation: isolate;
}
.page-hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  right: -120px; top: 50%; transform: translateY(-50%);
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,66,26,0.20) 0%, transparent 68%);
}
.page-hero .wrap { max-width: 860px; position: relative; }
.ph-eyebrow {
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
.ph-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  color: var(--white); margin-bottom: 16px; letter-spacing: -0.01em; line-height: 1.1;
}
.ph-lead {
  font-size: 17px; color: rgba(255,255,255,0.68); line-height: 1.7; max-width: 640px;
}

/* ─── NAV ACTIVE STATE ─── */
.nav-links a.active {
  color: var(--white);
  border-bottom: 2px solid var(--rust);
  padding-bottom: 5px;
}

/* ─── MOBILE HAMBURGER ─── */
.nav-hamburger {
  display: none;
  background: none; border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 18px; padding: 6px 12px;
  cursor: pointer; border-radius: var(--r);
}
@media(max-width:768px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 16px 24px 24px;
    border-top: 1px solid rgba(255,255,255,0.08); gap: 4px; z-index: 99;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
  .nav-links .cta { margin: 8px 0 0; padding: 10px 0 !important; text-align: center; }
  .page-hero { padding: 56px 24px 48px; }
  .ph-title { font-size: 28px; }
  .hero { margin-top: 0; }
}

/* Ensure hero section clears sticky nav on home page */
.hero { padding-top: 100px; }


/* ════════════════════════════════════════════════════════════
   v2 — shared chrome, footer, marquee, homepage, a11y fixes
   ════════════════════════════════════════════════════════════ */

/* ── Consistent warm canvas across every page ── */
body { background: var(--off-white); }

/* Prevent horizontal scroll from decorative ferns spilling past the edge.
   overflow-x: clip contains them without breaking position: sticky. */
html, body { overflow-x: clip; max-width: 100%; }

/* ── Contrast fix: caption/label token was failing AA (was #9A9088) ── */
:root { --light: #6E655D; }
.hero-stat .l { color: rgba(255,255,255,0.62); }
.pres-status { color: rgba(255,255,255,0.62); }

/* ── Nav: tighten so all 12 items fit, collapse to hamburger sooner ── */
.nav-links a { padding: 7px 10px; font-size: 12.5px; }
@media (max-width: 1180px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 14px 24px 22px;
    border-top: 1px solid rgba(255,255,255,0.08); gap: 2px; z-index: 99;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a {
    padding: 15px 2px; font-size: 14px; width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links a.active { border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--white); }
  .nav-links .cta { margin: 10px 0 0; padding: 15px 0 !important; text-align: center; border-radius: var(--r); }
}

/* ─── NAV DROPDOWN (About Us → Who We Are / Governance) ─── */
.nav-item.has-dropdown {
  position: relative; display: inline-flex; align-items: center; height: 68px;
}
/* Keep the trigger label inline (rendering identically to sibling nav items)
   while the caret sits beside it. Wrapping them prevents the <a> from becoming
   a flex child of the li, which would change its line box and push the label
   slightly out of vertical alignment with the rest of the header. */
.nav-parent-wrap { display: inline-block; white-space: nowrap; }
.nav-caret {
  display: inline-flex; vertical-align: middle; align-items: center; justify-content: center;
  background: none; border: none; color: rgba(255,255,255,0.65);
  padding: 4px; margin-left: -2px; cursor: pointer; border-radius: var(--r);
  transition: color 0.2s;
}
.nav-caret svg { width: 13px; height: 13px; transition: transform .25s ease; }
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret { color: var(--white); }
.nav-item.has-dropdown:hover .nav-caret svg,
.nav-item.has-dropdown:focus-within .nav-caret svg,
.nav-item.has-dropdown.open .nav-caret svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; margin: 0; padding: 6px; list-style: none;
  min-width: 210px; background: rgba(38,28,19,0.82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 22px 48px -22px rgba(0,0,0,0.7);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease; z-index: 200;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown,
.nav-item.has-dropdown.open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown li { width: 100%; }
.nav-dropdown a {
  display: block; width: 100%; white-space: nowrap;
  padding: 9px 14px; border-radius: 6px; font-size: 13px;
  color: rgba(255,255,255,0.72);
}
.nav-dropdown a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-dropdown a.active {
  color: var(--white); background: rgba(196,66,26,0.2);
  border-bottom: none; padding-bottom: 9px;
}

/* Collapsed (hamburger) menu: dropdown becomes an inline accordion */
@media (max-width: 1180px) {
  .nav-item.has-dropdown { display: block; height: auto; width: 100%; }
  .nav-parent-wrap { display: block; }
  .nav-item.has-dropdown > .nav-parent-wrap > a.nav-parent { display: block; }
  .nav-caret {
    position: absolute; top: 6px; right: 0; margin: 0; padding: 12px 8px;
  }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; background: transparent; border: none; box-shadow: none;
    padding: 0 0 0 14px; max-height: 0; overflow: hidden;
    transition: max-height .28s ease; z-index: auto;
  }
  .nav-item.has-dropdown.open .nav-dropdown { max-height: 220px; }
  .nav-dropdown a {
    padding: 13px 2px; font-size: 13.5px; border-radius: 0;
    color: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-dropdown li:last-child a { border-bottom: none; }
}

/* ── P1: mobile order-strip horizontal overflow (buttons wouldn't wrap) ── */
@media (max-width: 768px) {
  .order-strip-actions { flex-direction: column; width: 100%; gap: 8px; }
  .order-strip-actions a { width: 100%; justify-content: center; }
}

/* ── Footer (redesigned) ── */
footer { background: var(--dark); border-top: 3px solid var(--rust); }
.footer-main {
  max-width: 1200px; margin: 0 auto; padding: 64px 40px 44px;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 48px;
}
.footer-brand .footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-brand .footer-logo img {
  height: 76px; width: auto; background: var(--white);
  padding: 6px 10px; border-radius: var(--r);
}
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 16px; max-width: 340px; }
.footer-adinkra {
  font-size: 12.5px; color: rgba(255,255,255,0.52); font-style: italic; line-height: 1.6;
  border-left: 2px solid var(--rust); padding-left: 12px; margin-bottom: 18px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.2); padding: 7px 14px; border-radius: var(--r); transition: all 0.2s;
}
.footer-social a:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.footer-main .footer-col h4 {
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.footer-main .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.footer-main .footer-col a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-main .footer-col a:hover { color: var(--white); }
.footer-contact ul { gap: 14px; }
.footer-contact li { font-size: 13px; color: rgba(255,255,255,0.74); line-height: 1.5; }
.footer-contact li span {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.42); margin-bottom: 3px;
}
.footer-contact a { color: rgba(255,255,255,0.74); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; margin-left: 18px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.78); }
.footer-bottom-right { display: flex; }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; padding: 48px 24px 32px; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding: 16px 24px; }
  .footer-bottom a { margin-left: 0; }
  .footer-bottom-right { gap: 16px; }
}

/* ── Partner & funder marquee (homepage) — full-bleed, clean white cards ── */
.partners-band {
  background:
    radial-gradient(120% 120% at 50% -20%, rgba(196,66,26,0.05), transparent 60%),
    var(--off-white);
  padding: clamp(56px, 7vw, 92px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.partners-head { max-width: 720px; margin: 0 auto clamp(34px, 4vw, 52px); padding: 0 40px; text-align: center; }
.partners-kicker {
  font-size: 15px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 12px;
}
.partners-title { font-size: clamp(26px, 3vw, 38px); color: var(--text); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }

.marquee {
  overflow: hidden; position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 26px); width: max-content; padding: 14px 13px; animation: marquee 60s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-chip {
  flex: 0 0 auto; width: 192px; height: 108px;
  display: flex; align-items: center; justify-content: center; padding: 22px 30px;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(46,34,24,0.05), 0 10px 24px -18px rgba(46,34,24,0.28);
  transition: transform 0.3s var(--ease-out-strong, ease), box-shadow 0.3s ease;
}
.logo-chip:hover { transform: translateY(-5px); box-shadow: 0 1px 2px rgba(46,34,24,0.06), 0 18px 34px -18px rgba(196,66,26,0.32); }
.logo-chip img {
  max-height: 100%; max-width: 100%; width: auto; object-fit: contain;
  filter: none; opacity: 1; transition: transform 0.3s var(--ease-out-strong, ease);
}
.logo-chip:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee-track, .order-strip-track { animation: none; }
  .logo-chip { transition: none; }
}
@media (max-width: 768px) {
  .partners-head { padding: 0 24px; }
  .logo-chip { width: 154px; height: 88px; padding: 16px 22px; border-radius: 12px; }
}

/* ── Where We Work — dark footprint band with stylized map ── */
.locations {
  background:
    radial-gradient(90% 120% at 78% 18%, rgba(196,66,26,0.16), transparent 58%),
    #33312f;
  color: #fff; padding: clamp(64px, 8vw, 108px) 40px;
  position: relative; overflow: hidden;
}
.locations-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 5vw, 84px);
  align-items: center;
}
.locations-kicker {
  font-size: 15px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 14px;
}
.locations h2 {
  font-size: clamp(28px, 3.4vw, 44px); color: #fff; line-height: 1.12;
  letter-spacing: -0.015em; text-wrap: balance;
}
.locations-lead {
  font-size: 15.5px; color: rgba(255,255,255,0.66); line-height: 1.75;
  margin: 18px 0 28px; max-width: 52ch;
}
.locations-hq {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: 16px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 22px 44px -30px rgba(0,0,0,0.65);
}
.lhq-pin {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rust); color: #fff; font-size: 19px;
  box-shadow: 0 8px 20px -8px rgba(196,66,26,0.7);
}
.lhq-text { display: flex; flex-direction: column; line-height: 1.3; }
.lhq-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); }
.lhq-text strong { font-size: 15.5px; color: #fff; font-weight: 600; }
.lhq-addr { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.locations-figs { display: flex; gap: clamp(20px, 3vw, 40px); margin-top: 32px; }
.lfig { display: flex; flex-direction: column; }
.lfig-n { font-family: 'Playfair Display', serif; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: #fff; line-height: 1; }
.lfig-n sup { font-size: 0.5em; color: var(--rust); }
.lfig-l { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 8px; }

.locations-visual { position: relative; }
.aya-map { width: 100%; height: auto; display: block; overflow: visible; }
.aya-map .map-country path {
  fill: rgba(255,255,255,0.07); stroke: rgba(255,255,255,0.30); stroke-width: 1;
  stroke-linejoin: round; transition: fill 0.25s var(--ease-out-strong, ease);
}
@media (hover: hover) { .aya-map .map-country path:hover { fill: rgba(255,255,255,0.15); } }
.aya-map .map-ghana { fill: wheat; stroke: rgba(255,255,255,0.55); stroke-width: 1.2; stroke-linejoin: round; }
.aya-map .map-link { stroke-dasharray: 2.5 6; stroke-opacity: 1.5; animation: mapDash 22s linear infinite; }
.aya-map .mk-dot { fill: #3bb712 }
.aya-map .mk-hub { fill: #fff; stroke: #0d115d; stroke-width: 3; }
.aya-map .map-pulse { fill: rgb(4 27 53 / 50%); transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s ease-out infinite; }
.aya-map .mk-chip { fill: rgba(18,13,9,0.74); stroke: rgba(255,255,255,0.12); stroke-width: 1; }
.aya-map .mk.hq .mk-chip { fill: var(--rust); stroke: rgba(255,255,255,0.28); }
.aya-map .mk-name { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; fill: #fff; text-anchor: middle; }
.aya-map .mk.hq .mk-name { font-size: 14px; }
.aya-map .mk-sub { font-family: 'Inter', sans-serif; font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; fill: rgba(255,255,255,0.88); text-anchor: middle; }
@keyframes mapPulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(3.6); opacity: 0; } }
@keyframes mapDash { to { stroke-dashoffset: -200; } }
@media (prefers-reduced-motion: reduce) {
  .aya-map .map-pulse, .aya-map .map-link { animation: none; }
}
@media (max-width: 860px) {
  .locations-inner { grid-template-columns: 1fr; gap: 44px; }
  .locations-visual { order: -1; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .locations { padding: 56px 24px; }
}

/* ── Medicines showcase — Swiper 3D coverflow ── */
.med-show {
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
  background:
    radial-gradient(95% 70% at 50% -15%, rgba(196,66,26,0.30), transparent 60%),
    radial-gradient(70% 60% at 88% 118%, rgba(255,150,90,0.14), transparent 55%),
    linear-gradient(168deg, #3a2a1c 0%, #2a1d13 55%, #221710 100%);
}
/* soft floating glow orbs behind the frosted cards */
.med-show::before,
.med-show::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  filter: blur(72px); pointer-events: none;
}
.med-show::before { width: 460px; height: 460px; top: -130px; left: -90px;
  background: radial-gradient(circle, rgba(196,66,26,0.40), transparent 70%); }
.med-show::after { width: 540px; height: 540px; bottom: -200px; right: -110px;
  background: radial-gradient(circle, rgba(255,160,100,0.20), transparent 70%); }

.med-head { max-width: 660px; margin: 0 auto; padding: 0 40px; text-align: center; }
.med-head .feature-eyebrow { margin-bottom: 12px; color: #ff9b76; }
.med-head h2 { font-size: clamp(28px, 3.2vw, 42px); color: #fff; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.med-lead { font-size: 15.5px; color: rgba(255,255,255,0.74); line-height: 1.7; margin: 14px auto 0; max-width: 56ch; }

.med-swiper { width: 100%; max-width: 1180px; margin: clamp(36px, 4vw, 54px) auto 0; padding: 10px 0 6px; overflow: visible; }
.med-swiper .swiper-wrapper { align-items: stretch; }
.med-swiper .swiper-slide {
  width: clamp(280px, 78vw, 380px); height: auto;
  transition: opacity 0.45s var(--ease-out-strong, ease);
}
.med-swiper .swiper-slide:not(.swiper-slide-active) { opacity: 0.4; }

/* glassmorphic product card */
.med-show .med-card {
  display: flex; flex-direction: column; height: 100%;
  background: linear-gradient(158deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 38px 72px -34px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.28);
  transition: transform 0.45s var(--ease-out-strong, ease), box-shadow 0.45s var(--ease-out-strong, ease);
}
.med-show .swiper-slide-active .med-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 50px 84px -32px rgba(0,0,0,0.78), inset 0 1px 0 rgba(255,255,255,0.34);
}
.med-card-img {
  display: flex; align-items: center; justify-content: center; padding: 26px;
  margin: 16px 16px 0; border-radius: 16px;
  background: radial-gradient(130% 120% at 30% 0%, #fff, #f1e9e2 92%);
  aspect-ratio: 16 / 10; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}
.med-card-img img {
  max-width: 100%; max-height: 100%; width: auto; object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(46,34,24,0.22));
  transition: transform 0.5s var(--ease-out-strong, ease);
}
.med-show .med-card:hover .med-card-img img { transform: scale(1.05) translateY(-2px); }
.med-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.med-card-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #ffd2c2; background: rgba(196,66,26,0.22); border: 1px solid rgba(255,150,110,0.34);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 8px;
}
.med-card-tag svg { width: 13px; height: 13px; }
.med-card h3 { font-size: 22px; color: #fff; line-height: 1.2; }
.med-card-body p { font-size: 14px; color: rgba(255,255,255,0.66); line-height: 1.6; margin-bottom: 10px; }
.med-show .med-card .read-more { color: #ff9b76; }
.med-show .med-card .read-more:hover { color: #ffb89b; }

.med-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.med-nav-btn {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.med-nav-btn svg { width: 22px; height: 22px; }
.med-nav-btn:hover { background: var(--rust); color: #fff; border-color: var(--rust); }
.med-nav-btn:active { transform: scale(0.94); }
.med-swiper .swiper-pagination { position: static; width: auto; display: flex; align-items: center; gap: 8px; }
.med-swiper .swiper-pagination-bullet {
  width: 8px; height: 8px; margin: 0 !important; background: rgba(255,255,255,0.3); opacity: 1;
  transition: width 0.3s var(--ease-out-strong, ease), background 0.3s;
}
.med-swiper .swiper-pagination-bullet-active { width: 26px; border-radius: 100px; background: var(--rust); }
.med-cta { text-align: center; margin-top: 38px; }
.med-cta .btn svg { width: 18px; height: 18px; vertical-align: -4px; margin-left: 4px; }

/* Fallback when Swiper script is unavailable (offline): swipeable scroll row */
.med-swiper-fallback .swiper-wrapper { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 40px 8px; }
.med-swiper-fallback .swiper-slide { scroll-snap-align: center; opacity: 1; }
.med-swiper-fallback .med-controls { display: none; }

@media (max-width: 768px) {
  .med-head { padding: 0 24px; }
}

/* ── Homepage explore / teaser sections ── */
.home-section { padding: 80px 40px; }
.home-section.tint { background: var(--off-white); }
.home-section.light { background: var(--white); }
.home-head { max-width: 1200px; margin: 0 auto 44px; }
.home-head.c { text-align: center; }
.home-head .k {
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rust); margin-bottom: 10px;
}
.home-head h2 { font-size: clamp(26px, 3vw, 38px); color: var(--text); margin-bottom: 12px; }
.home-head p { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 620px; }
.home-head.c p { margin-left: auto; margin-right: auto; }
.explore-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.explore-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule);
  padding: 30px 28px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.home-section.light .explore-card { background: var(--off-white); }
.explore-card:hover { border-color: var(--rust); transform: translateY(-3px); }
.explore-card .ec-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--light); margin-bottom: 12px;
}
.explore-card h3 { font-size: 19px; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.explore-card p { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.read-more {
  font-size: 13px; font-weight: 600; color: var(--rust);
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s, color 0.2s;
}
.read-more:hover { gap: 10px; color: var(--rust-dark); }
.read-more::after { content: "→"; }
@media (max-width: 1024px) { .explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .explore-grid { grid-template-columns: 1fr; } .home-section { padding: 56px 24px; } }


/* ════════════════════════════════════════════════════════════
   v3 — polish: lighter palette, imagery, motion, phone frame
   ════════════════════════════════════════════════════════════ */

/* ── Scroll reveal (progressive enhancement; hidden state only via JS) ── */
.reveal-init { opacity: 0; transform: translateY(22px); will-change: opacity, transform; }
.reveal-in {
  opacity: 1; transform: none;
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-init, .reveal-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Hero: lightened, with imagery ── */
.hero {
  background: radial-gradient(120% 130% at 82% 0%, #FFFFFF 0%, var(--off-white) 52%, #EFE8E1 100%);
  padding: 56px 40px 76px;
}
.hero::after { display: none; }
.hero-inner { align-items: center; }
.hero h1 { color: var(--text); font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.02em; text-wrap: balance; }
.hero h1 em { color: var(--rust); }
.hero-label { color: var(--rust); }
.hero-lead { color: var(--muted); }
.hero-media { position: relative; isolation: isolate; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: 8px; display: block; box-shadow: 0 34px 64px -30px rgba(46,34,24,0.55);
}
.hero-media::after {
  content: ""; position: absolute; right: -16px; top: -16px; width: 128px; height: 128px;
  background: var(--rust); opacity: 0.12; border-radius: 10px; z-index: -1;
}

/* ── Stats + What's New band ── */
.home-band { background: var(--white); padding: 0; }
.home-band-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: stretch; }
.home-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
.home-stat { padding: 30px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.home-stat:nth-last-child(-n+2) { border-bottom: none; }  /* no dangling hairline on the bottom row */
.home-stat .n { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: var(--text); line-height: 1; }
.home-stat .n sup { font-size: 18px; color: var(--rust); }
.home-stat .l { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--light); margin-top: 10px; font-weight: 600; }
.home-stat .d { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.home-news { background: var(--off-white); padding: 28px 30px; display: flex; flex-direction: column; }
.home-news-tag { display: inline-block; align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); background: var(--rust); padding: 4px 10px; border-radius: 100px; margin-bottom: 14px; }
.home-news-title { font-family: 'Playfair Display', serif; font-size: 18px; line-height: 1.3; color: var(--text); margin-bottom: 4px; }
.home-news-date { font-size: 12px; color: var(--light); margin-bottom: 16px; }
.home-news-feeds { margin-top: auto; border-top: 1px solid var(--rule); padding-top: 14px; }
.hnf-title { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--light); margin-bottom: 10px; }
.hnf-list { display: flex; flex-direction: column; gap: 9px; }
.hnf-item { display: block; font-size: 12.5px; line-height: 1.4; }
.hnf-item .src { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rust); margin-bottom: 1px; }
.hnf-item a { color: var(--muted); }
.hnf-item a:hover { color: var(--text); }
.hnf-loading { font-size: 12px; color: var(--light); }
@media (max-width: 860px) {
  .home-band-inner { grid-template-columns: 1fr; }
  .home-news { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) { .home-stats { grid-template-columns: 1fr; } }

/* ── Feature band (image + text) ── */
.feature-band { padding: 84px 40px; }
.feature-band .wrap2 { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-media { position: relative; isolation: isolate; }
.feature-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 8px; display: block; box-shadow: 0 28px 56px -30px rgba(46,34,24,0.5); }
.feature-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--rust); opacity: 0.25; border-radius: 8px; z-index: -1; }
.feature-band.reverse .feature-media { order: 2; }
.feature-band.reverse .feature-media::after { inset: 14px 14px -14px -14px; }
.feature-eyebrow { color: #084c0c; font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.feature-text h2 { font-size: clamp(24px, 2.9vw, 34px); color: var(--text); margin-bottom: 14px; line-height: 1.2; }
.feature-text p { font-size: 15.5px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; max-width: 60ch; }
@media (max-width: 860px) {
  .feature-band { padding: 56px 24px; }
  .feature-band .wrap2 { grid-template-columns: 1fr; gap: 32px; }
  .feature-band.reverse .feature-media { order: 0; }
}

/* ── Android phone frame (rsLog) ── */
.android-phone {
  position: relative; width: 286px; max-width: 78vw; aspect-ratio: 9 / 19;
  background: #100c08; border-radius: 38px; padding: 9px;
  box-shadow: 0 40px 80px -30px rgba(46,34,24,0.6), inset 0 0 0 2px #2a2018;
}
.android-phone::before {
  content: ""; position: absolute; z-index: 4; top: 17px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2.5px #241a12;
}
.android-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.android-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.android-phone .btn-power { position: absolute; right: -3px; top: 138px; width: 3px; height: 56px; border-radius: 0 3px 3px 0; background: #2a2018; }
.android-phone .btn-vol { position: absolute; left: -3px; top: 102px; width: 3px; height: 40px; border-radius: 3px 0 0 3px; background: #2a2018; }

/* ── Outline button for light backgrounds (btn-ghost is dark-bg only) ── */
.btn-line { border: 1px solid var(--rule); color: var(--text); background: var(--white); }
.btn-line:hover { border-color: var(--rust); color: var(--rust); }

/* ── Image motion ── */
.feature-media img { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.feature-media:hover img { transform: scale(1.03); }
/* Hero: slow ken-burns drift (image clips to its own radius) */
@keyframes kenburns { 0% { transform: scale(1.04); } 100% { transform: scale(1.13); } }
.hero-media img { animation: kenburns 26s ease-in-out infinite alternate; }
/* Floating hero badge */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-media .hero-badge { animation: floaty 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-media img, .hero-media .hero-badge, .browser-body img, .phone-screen2 img { animation: none !important; transition: none !important; }
}

/* ── Custom easing tokens (Emil curves) ── */
:root {
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Homepage "What's New" feed (right column) — fill the space ── */
.home-news {
  padding: 38px 44px 36px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(196,66,26,0.06) 0%, transparent 55%),
    var(--off-white);
  border-left: 1px solid var(--rule);
  position: relative;
}
.home-news-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.home-news-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: var(--rust);
  padding: 6px 13px; border-radius: 100px;
  box-shadow: 0 6px 16px -8px rgba(196,66,26,0.55);
}
.home-news-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--white);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.home-news-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--light);
}
.home-news-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2ca36a;
  box-shadow: 0 0 0 0 rgba(44,163,106,0.5); animation: pulse-live 2s ease-out infinite;
}
@keyframes pulse-live { 0% { box-shadow: 0 0 0 0 rgba(44,163,106,0.45); } 100% { box-shadow: 0 0 0 7px rgba(44,163,106,0); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.78); } }

/* Featured update — clickable card-less block with a clear CTA */
.home-news-feature {
  display: block; text-decoration: none;
  padding-bottom: 22px; margin-bottom: 4px;
  border-bottom: 1px solid var(--rule);
}
.home-news-date {
  display: inline-block; font-size: 15px; color: var(--rust); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.home-news-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(21px, 1.9vw, 27px); font-weight: 700;
  line-height: 1.24; color: var(--text); margin-bottom: 14px;
  text-wrap: balance; transition: color 0.2s var(--ease-out-strong);
}
.home-news-feature:hover .home-news-title { color: var(--rust-dark); }
.home-news-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--rust);
}
.home-news-cta i { transition: transform 0.25s var(--ease-out-strong); }
.home-news-feature:hover .home-news-cta i { transform: translateX(4px); }

.home-news-feeds {flex: 1; display: flex; flex-direction: column; padding-top: 20px; }
.home-news-feeds .hnf-title {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--light); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.home-news-feeds .hnf-title::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}

.home-news-feeds .news-feed { gap: 2px; }
.home-news-feeds .news-item {
  align-items: center; gap: 14px; padding: 14px 12px;
  border-bottom: 1px solid rgba(221,216,210,0.6);
  border-radius: 8px;
  transition: background 220ms var(--ease-out-strong), transform 220ms var(--ease-out-strong);
  opacity: 0; transform: translateY(8px);
  animation: news-in 520ms var(--ease-out-strong) forwards;
  animation-delay: calc(80ms + var(--ni, 0) * 70ms);
}
@keyframes news-in { to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (pointer: fine) {
  .home-news-feeds .news-item:hover {
    background: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -16px rgba(46,34,24,0.35);
  }
}
.home-news-feeds .news-thumb {
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  flex-shrink: 0; background: var(--white); border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
}
.home-news-feeds .news-thumb img {
  transition: transform 600ms var(--ease-out-strong);
}
.home-news-feeds .news-item:hover .news-thumb img { transform: scale(1.06); }
.news-thumb-empty {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700;
  color: var(--rust); background: var(--rust-pale) !important;
}
.home-news-feeds .news-body { min-width: 0; flex: 1; }
.home-news-feeds .news-meta { font-size: 10px; letter-spacing: 0.08em; }
.home-news-feeds .news-title {
  font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.45;
  -webkit-line-clamp: 3;
}
.news-loading {
  font-size: 12.5px; color: var(--light); padding: 14px 12px;
  display: flex; align-items: center; gap: 10px;
}
.news-loading::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--rule); border-top-color: var(--rust);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.home-news-feeds .news-error {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--muted); padding: 14px 12px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 10px;
}
.home-news-feeds .news-error::before {
  content: "\f5f3"; font-family: "remixicon"; color: var(--light); font-size: 15px;
}

/* ── Stats column polish (left of news) ── */
.home-stat {
  position: relative;
  transition: background 220ms var(--ease-out-strong);
}
.home-stat::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: -1px;
  height: 2px; background: var(--rust);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease-out-strong);
}
@media (hover: hover) and (pointer: fine) {
  .home-stat:hover { background: rgba(196,66,26,0.025); }
  .home-stat:hover::after { transform: scaleX(1); }
}

@media (max-width: 860px) {
  .home-news { border-left: none; border-top: 1px solid var(--rule); padding: 32px 24px; }
}

/* ── Button press feedback (Emil: scale on :active) ── */
.btn, .read-more, .nav-links .cta {
  transition: background 220ms var(--ease-out-strong),
              color 220ms var(--ease-out-strong),
              border-color 220ms var(--ease-out-strong),
              transform 140ms var(--ease-out-strong),
              box-shadow 220ms var(--ease-out-strong);
}
.btn:active, .nav-links .cta:active { transform: scale(0.97); }
.btn-solid { box-shadow: 0 8px 20px -12px rgba(196,66,26,0.55); }
.btn-solid:hover { box-shadow: 0 12px 28px -10px rgba(196,66,26,0.65); }

/* ── AYA fern motif — real logo fern, desaturated to gray, tilted,
   and allowed to spill across section edges (transcends backgrounds).
   overflow stays visible so a single fern bleeds into the neighbouring
   section; background-repeat:no-repeat keeps it a lone silhouette. ── */
.aya-fern-bg { position: relative; isolation: isolate; }

/* Off by default. Only the side a modifier names is generated, so a section
   never paints a phantom second frond (this was the double-stacking bug:
   both ::before AND ::after carried the image, and the mobile rule sized
   both, so the unused pseudo also showed). */
.aya-fern-bg::before, .aya-fern-bg::after { content: none; }

/* Appearance for the active frond — only the pseudo a modifier turns on. */
.aya-fern-bg.fern-tl::before,
.aya-fern-bg.fern-tr::before,
.aya-fern-bg.fern-l::before,
.aya-fern-bg.fern-r::after,
.aya-fern-bg.fern-bl::after,
.aya-fern-bg.fern-br::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background-image: url("images/stock/fern.png?v=1064e10a");
  background-repeat: no-repeat; background-position: center; background-size: contain;
  /* teal → flat warm gray, then knock back so it reads as a watermark */
  filter: grayscale(1) brightness(1.35) contrast(0.85);
  opacity: 0.12; transform-origin: center;
  animation: fern-drift 16s ease-in-out infinite;
}
.aya-fern-bg > * { position: relative; z-index: 1; }

/* Subtle drift — gives the frond a touch of life without distraction */
@keyframes fern-drift {
  0%, 100% { transform: var(--fern-tf, rotate(0deg)) translateY(0); }
  50%      { transform: var(--fern-tf, rotate(0deg)) translateY(-7px); }
}

/* Modest bleed: the frond sits mostly inside its own section so it always
   shows in full (a neighbouring opaque section can't cover a downward bleed)
   while still nudging past the edge for the "transcend" feel. */
.aya-fern-bg.fern-tl::before { top: -48px;    left: 3vw;  width: 440px; height: 440px; --fern-tf: rotate(-20deg); }
.aya-fern-bg.fern-tr::before { top: -48px;    right: 3vw; width: 430px; height: 430px; --fern-tf: rotate(26deg); }
.aya-fern-bg.fern-r::after   { bottom: -48px; right: 3vw; width: 440px; height: 440px; --fern-tf: rotate(24deg); }
.aya-fern-bg.fern-l::before  { bottom: -48px; left: 3vw;  width: 440px; height: 440px; --fern-tf: rotate(-26deg); }
.aya-fern-bg.fern-br::after  { bottom: -48px; right: 3vw; width: 440px; height: 440px; --fern-tf: rotate(30deg); }
.aya-fern-bg.fern-bl::after  { bottom: -48px; left: 3vw;  width: 440px; height: 440px; --fern-tf: rotate(-30deg); }

@media (max-width: 768px) {
  .aya-fern-bg::before, .aya-fern-bg::after { width: 240px !important; height: 240px !important; opacity: 0.08 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .aya-fern-bg::before, .aya-fern-bg::after,
  .home-news-feeds .news-item,
  .home-news-tag::before { animation: none !important; }
}

/* ════════════════════════════════════════════════════════════
   Polish pass — keyboard focus, optical detail, consistency
   ════════════════════════════════════════════════════════════ */

/* Visible keyboard focus everywhere (mouse clicks stay clean via :focus-visible).
   Previously only form fields had any focus styling — links and buttons had none. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.rp-tab:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 3px;
}
/* On the dark nav/order strip the ring needs a light halo to stay visible */
.nav a:focus-visible,
.order-strip a:focus-visible,
footer a:focus-visible {
  outline-color: #fff;
  outline-offset: 2px;
}

/* Anchor jumps (e.g. #home) clear the fixed nav instead of hiding under it */
:target { scroll-margin-top: 84px; }

/* Honor reduced-motion globally for the page-wide smooth scroll, too */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
