/* ==========================================================================
   Janet Mwau — personal site
   Palette reasoning: deep petrol = lymphatic vessel / deep tissue,
   amber = lymph fluid itself, cool green-grey paper = clinical surface.
   Type: Newsreader (voice, advocacy) + Archivo (clinical clarity).
   ========================================================================== */

:root {
  --ink:        #0B2A28;
  --ink-2:      #0F3532;
  --deep:       #123F3C;
  --mid:        #2C605A;
  --lymph:      #D9A441;
  --lymph-lo:   #F1DEB6;
  --paper:      #F3F5F1;
  --paper-2:    #E8ECE6;
  --stone:      #D2DAD1;
  --text:       #16201E;
  --muted:      #57645F;
  --muted-lo:   #8B9793;
  --clay:       #9E4F45;
  --clay-lo:    #F6E7E3;

  --sans: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gap: clamp(1.5rem, 4vw, 3.5rem);
  --band-y: clamp(3.75rem, 8vw, 7rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.014em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.75rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.5rem); line-height: 1.24; }
h4 { font-size: 1.075rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1.05em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.05vw, 1.44rem);
  line-height: 1.5;
  color: #23312E;
  max-width: 34em;
}
.small { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.tiny  { font-size: 0.79rem; line-height: 1.55; color: var(--muted-lo); }

/* Section label. Sentence case, not tracked-out caps. */
.rail-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--mid);
  margin: 0 0 1.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--stone);
}

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.band { padding-block: var(--band-y); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--dark { background: var(--ink); color: #DDE6E3; }
.band--deep { background: var(--deep); color: #DFEAE7; }
.band--tint { background: var(--paper-2); }
.band--dark h1, .band--dark h2, .band--dark h3,
.band--deep h1, .band--deep h2, .band--deep h3 { color: #FAFBF9; }
.band--dark .rail-label, .band--deep .rail-label {
  color: var(--lymph-lo); border-bottom-color: rgba(255,255,255,0.18);
}
.band--dark .small, .band--deep .small { color: #A9BCB7; }

/* The site's core rhythm: a narrow orienting rail + a wide content column. */
.split { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(190px, 15.5rem) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: minmax(0,1fr) minmax(240px, 27rem); }
}
.stack > * + * { margin-top: 1.05rem; }
.stack-lg > * + * { margin-top: 2.4rem; }

/* ---------- header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(243,245,241,0.93);
  backdrop-filter: saturate(1.4) blur(9px);
  border-bottom: 1px solid var(--stone);
}
.masthead__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.85rem;
}
.wordmark { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; }
.wordmark b {
  font-family: var(--serif); font-weight: 500; font-size: 1.22rem;
  letter-spacing: -0.01em; color: var(--ink);
}
.wordmark span { font-size: 0.755rem; color: var(--mid); letter-spacing: 0.02em; }
/* On narrow screens the tagline was hidden entirely, which lost the one line that
   says what she does. Stack it under the name instead. */
@media (max-width: 620px) {
  .wordmark { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
  .wordmark b { font-size: 1.12rem; line-height: 1.2; }
  .wordmark span { font-size: 0.72rem; letter-spacing: 0.01em; }
  .masthead__in { padding-block: 0.7rem; }
}

.nav { display: flex; align-items: center; gap: 1.45rem; }
.nav a {
  text-decoration: none; font-size: 0.9rem; color: #2E3C39;
  padding-block: 0.35rem; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--lymph); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
/* .nav a is more specific than .btn, so restate the button colours here */
.nav a.btn { border-bottom: none; padding: 0.6rem 1.05rem; font-size: 0.87rem; }
.nav a.btn--ink { color: #F6F8F5; background: var(--ink); }
.nav a.btn--ink:hover { color: #fff; background: var(--deep); }
@media (max-width: 940px) { .nav { display: none; } }

.navtoggle {
  display: none; background: none; border: 1px solid var(--stone);
  border-radius: 3px; padding: 0.5rem 0.7rem; font: inherit; font-size: 0.85rem;
  color: var(--ink); cursor: pointer;
}
@media (max-width: 940px) { .navtoggle { display: block; } }
.navdrawer { display: none; border-top: 1px solid var(--stone); padding-block: 0.8rem 1.3rem; }
.navdrawer.open { display: block; }
.navdrawer a {
  display: block; text-decoration: none; padding: 0.62rem 0;
  border-bottom: 1px solid var(--paper-2); font-size: 1.02rem; color: #2E3C39;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--sans);
  font-size: 0.925rem; font-weight: 500; line-height: 1.2;
  padding: 0.82rem 1.4rem; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--solid { background: var(--lymph); color: #241905; border-color: var(--lymph); }
.btn--solid:hover { background: #C79233; border-color: #C79233; }
.btn--ink { background: var(--ink); color: #F6F8F5; border-color: var(--ink); }
.btn--ink:hover { background: var(--deep); border-color: var(--deep); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: rgba(255,255,255,0.1); }
.band--tint .btn--line:hover, body > .band:not(.band--dark):not(.band--deep) .btn--line:hover { background: rgba(11,42,40,0.06); }
.btnrow { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.textlink {
  color: var(--deep); text-decoration: none;
  border-bottom: 1px solid var(--lymph); padding-bottom: 1px;
}
.textlink:hover { color: var(--ink); border-bottom-width: 2px; }
.band--dark .textlink, .band--deep .textlink { color: var(--lymph-lo); }

:focus-visible { outline: 3px solid var(--lymph); outline-offset: 3px; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #E2ECE8; position: relative; overflow: hidden; }
.hero::after { /* light kept to the left so nothing crosses the portrait's edge */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(46% 42% at 2% 18%, rgba(217,164,65,0.14), transparent 68%),
    radial-gradient(46% 46% at 6% 96%, rgba(44,96,90,0.55), transparent 72%);
  pointer-events: none;
}
.hero__in {
  position: relative; z-index: 2;
  display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: end;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
}
.hero__copy { padding-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.hero h1 { color: #FCFDFB; letter-spacing: -0.021em; }
.hero__kicker {
  font-family: var(--serif); font-style: italic; font-size: 1.06rem;
  color: var(--lymph); margin: 0 0 1.15rem;
}
.hero__lede { color: #C6D6D1; max-width: 33em; font-size: 1.0625rem; }
.hero__figure { position: relative; align-self: end; }
.hero__figure img {
  display: block; width: auto; margin-left: auto; max-width: 100%;
  max-height: min(64vh, 600px);
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 9%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 9%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
@media (max-width: 899px) {
  .hero__figure img { margin-inline: auto; max-height: 46vh; }
}
.hero__credentials {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 2rem; padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  font-size: 0.85rem; color: #A9BFB9;
}
.hero__credentials span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__credentials span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--lymph); flex: none;
}

/* one orchestrated entrance, hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .72s cubic-bezier(.22,.68,.3,1) backwards; }
  .hero__copy > *:nth-child(1) { animation-delay: .05s; }
  .hero__copy > *:nth-child(2) { animation-delay: .14s; }
  .hero__copy > *:nth-child(3) { animation-delay: .23s; }
  .hero__copy > *:nth-child(4) { animation-delay: .32s; }
  .hero__copy > *:nth-child(5) { animation-delay: .41s; }
  .hero__figure { animation: fade 1.1s ease .2s backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- figures / stats ---------- */
.figures { display: grid; gap: 1px; background: var(--stone); border-block: 1px solid var(--stone); }
@media (min-width: 720px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .figures--4 { grid-template-columns: repeat(4, 1fr); } }
.figure { background: var(--paper); padding: 1.75rem 1.5rem; }
.band--tint .figure { background: var(--paper-2); }
.figure b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1; color: var(--deep);
  letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.figure p { font-size: 0.875rem; color: var(--muted); margin: 0; max-width: 26ch; }

/* ---------- cards & lists ---------- */
.grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  border: 1px solid var(--stone); border-top: 3px solid var(--deep);
  background: #FBFCFA; padding: 1.6rem 1.5rem 1.7rem;
}
.card h3 { margin-bottom: 0.45rem; font-size: 1.24rem; }
.card p { font-size: 0.945rem; color: var(--muted); margin: 0; }
.card--amber { border-top-color: var(--lymph); }

/* practice areas: numbered only where content is genuinely a sequence */
.pathway { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.pathway li {
  counter-increment: step; position: relative;
  padding: 0 0 2.1rem 3.4rem;
  border-left: 1px solid var(--stone); margin-left: 0.75rem;
}
.pathway li:last-child { border-left-color: transparent; padding-bottom: 0; }
.pathway li::before {
  content: counter(step); position: absolute; left: -0.79rem; top: -0.1rem;
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--deep); color: #fff; display: grid; place-items: center;
  font-size: 0.76rem; font-weight: 600; font-family: var(--sans);
}
.pathway h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.pathway p { font-size: 0.95rem; color: var(--muted); }

/* plain marked list */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: 0.62rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--lymph);
}
.ticks--tight li { margin-bottom: 0.38rem; font-size: 0.945rem; }

/* definition rows — used for CV-style content */
.rows { border-top: 1px solid var(--stone); }
.rows > div {
  display: grid; gap: 0.25rem 2rem; padding: 1.1rem 0;
  border-bottom: 1px solid var(--stone);
}
@media (min-width: 760px) { .rows > div { grid-template-columns: 12.5rem minmax(0,1fr); } }
.rows dt, .rows .k {
  font-size: 0.845rem; color: var(--mid); font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}
.rows dd, .rows .v { margin: 0; }
.rows .v strong { font-weight: 600; display: block; }
.rows .v p { font-size: 0.93rem; color: var(--muted); margin: 0.25rem 0 0; }

/* ---------- quote ---------- */
.quote { border: none; margin: 0; padding: 0; }
.quote p {
  font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.34; color: #FBFCFA; max-width: 20ch; margin: 0;
  text-wrap: balance;
}
.quote footer { margin-top: 1.3rem; font-size: 0.86rem; color: #9FB6B0; }

/* ---------- alerts ---------- */
.alert {
  border-left: 4px solid var(--clay); background: var(--clay-lo);
  padding: 1.3rem 1.4rem; color: #40201B;
}
.alert h3 { color: var(--clay); font-size: 1.16rem; margin-bottom: 0.4rem; }
.alert p, .alert li { color: #4A2822; }
.note {
  border-left: 4px solid var(--mid); background: #E7EEEB;
  padding: 1.2rem 1.35rem; font-size: 0.925rem; color: #2A3B37;
}

/* ---------- media / video ---------- */
.videos { display: grid; gap: 1.6rem; }
@media (min-width: 860px) { .videos { grid-template-columns: repeat(2, 1fr); } }
.video { border: 1px solid var(--stone); background: #FBFCFA; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__body { padding: 1.15rem 1.25rem 1.35rem; }
.video__body h3 { font-size: 1.14rem; margin-bottom: 0.3rem; }
.video__body p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* press list */
.press { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--stone); }
.press li { border-bottom: 1px solid var(--stone); }
.press a {
  display: grid; gap: 0.3rem 2rem; padding: 1.35rem 0.25rem 1.35rem 0;
  text-decoration: none; transition: background-color .15s ease;
}
@media (min-width: 760px) { .press a { grid-template-columns: 11rem minmax(0,1fr) auto; align-items: baseline; } }
.press a:hover { background: rgba(11,42,40,0.035); }
.press .outlet { font-size: 0.845rem; color: var(--mid); }
.press .headline { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; color: var(--ink); }
.press a:hover .headline { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.press .when { font-size: 0.8rem; color: var(--muted-lo); }

/* empty-state panel for content to be added later */
.awaiting {
  border: 1px dashed var(--stone); background: #FBFCFA;
  padding: 1.9rem 1.7rem; text-align: left;
}
.awaiting h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.awaiting p { color: var(--muted); font-size: 0.94rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.05rem; }
.form__row { display: grid; gap: 1.05rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; }
.field > label { font-size: 0.855rem; font-weight: 500; color: #2C3B37; }
.field > .hint { font-size: 0.78rem; color: var(--muted-lo); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; color: var(--text);
  padding: 0.72rem 0.8rem; border: 1px solid var(--stone); border-radius: 2px;
  background: #fff; width: 100%;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--mid); outline: 2px solid rgba(217,164,65,.45); outline-offset: 1px;
}

/* ---------- contact strip ---------- */
.reach { display: grid; gap: 1px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16); }
@media (min-width: 780px) { .reach { grid-template-columns: repeat(3, 1fr); } }
.reach div { background: var(--deep); padding: 1.5rem 1.4rem; }
.reach h4 { color: var(--lymph-lo); font-size: 0.82rem; font-weight: 500; margin-bottom: 0.45rem; }
.reach a, .reach p { color: #F1F6F3; text-decoration: none; font-size: 1.02rem; margin: 0; }
.reach a:hover { color: var(--lymph); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #9FB4AF; padding-block: 3.4rem 2.4rem; }
.foot__grid { display: grid; gap: 2.2rem; }
@media (min-width: 820px) { .foot__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; } }
.foot h4 { color: #E7EFEC; font-size: 0.9rem; margin-bottom: 0.85rem; }
.foot a { color: #B9CCC7; text-decoration: none; }
.foot a:hover { color: var(--lymph); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 0.5rem; font-size: 0.925rem; }
.foot__base {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.13);
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; justify-content: space-between;
  font-size: 0.8rem; color: #7E948F;
}
.foot__base p { margin: 0; max-width: none; }

/* ---------- page header (interior pages) ---------- */
.pagehead { background: var(--ink); color: #D9E5E1; padding-block: clamp(3rem, 6vw, 5rem) clamp(2.6rem, 5vw, 4rem); }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.5rem; }
.pagehead .lede { color: #BDD0CB; }
.pagehead .hero__kicker { margin-bottom: 0.9rem; }

.anchors { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 2rem; }
.anchors a {
  font-size: 0.845rem; text-decoration: none; color: #CFE0DB;
  border: 1px solid rgba(255,255,255,0.22); padding: 0.42rem 0.8rem; border-radius: 2px;
}
.anchors a:hover { background: rgba(255,255,255,0.09); color: #fff; border-color: var(--lymph); }

.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  background: var(--ink); color: #fff; padding: 0.7rem 1rem; z-index: 100;
}
.skip:focus {
  position: fixed; left: 1rem; top: 0.6rem;
  width: auto; height: auto; overflow: visible;
  clip: auto; clip-path: none;
}

hr.rule { border: 0; border-top: 1px solid var(--stone); margin: 0; }
.band--dark hr.rule, .band--deep hr.rule { border-top-color: rgba(255,255,255,0.15); }

/* portrait used in interior page headers — feathered so the shirt does not cut off hard */
.portrait {
  width: auto; margin-left: auto; max-height: min(58vh, 560px);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
@media (max-width: 899px) { .portrait { margin-inline: auto; max-height: 44vh; } }

/* ISL stages run 0–3, so the marker should be the stage number itself */
.pathway--zero { counter-reset: step -1; }

/* Cards keep a light surface even inside dark bands, so their text must stay dark.
   .band--dark h3 / .band--deep h3 would otherwise turn these white on white. */
.band--dark .card, .band--deep .card { color: var(--text); }
.band--dark .card h3, .band--deep .card h3,
.band--dark .card h4, .band--deep .card h4 { color: var(--ink); }
.band--dark .card p, .band--deep .card p,
.band--dark .card .small, .band--deep .card .small,
.band--dark .card li, .band--deep .card li { color: var(--muted); }
.band--dark .awaiting h3, .band--deep .awaiting h3 { color: var(--ink); }
.band--dark .video__body h3, .band--deep .video__body h3 { color: var(--ink); }

/* Form rows: fields have different heights when one carries a hint, so align to the top */
.form__row { align-items: start; }

/* Contact block sitting in a narrow side column stays single-column at every width */
.reach--stack { grid-template-columns: 1fr !important; }

/* On narrow screens the portrait is centred, so both vertical edges need feathering */
@media (max-width: 899px) {
  .hero__figure img {
    -webkit-mask-image:
      linear-gradient(to bottom, transparent 0%, #000 8%, #000 84%, transparent 100%),
      linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image:
      linear-gradient(to bottom, transparent 0%, #000 8%, #000 84%, transparent 100%),
      linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  }
  /* stacked call-to-action buttons read better at equal width */
  .btnrow .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- illustrations and photographs ---------- */
figure { margin: 0; }
.plate {
  border: 1px solid var(--stone); background: #FBFCFA;
  padding: clamp(1rem, 2.5vw, 1.9rem);
}
.band--dark .plate, .band--deep .plate { background: #FBFCFA; }
.plate img { width: 100%; }
.plate figcaption {
  font-size: 0.865rem; line-height: 1.55; color: var(--muted);
  margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--stone);
  max-width: 74ch;
}
.photo { border: 1px solid var(--stone); background: #FBFCFA; }
.photo img { width: 100%; }
.photo figcaption {
  font-size: 0.865rem; line-height: 1.55; color: var(--muted); padding: 0.95rem 1.15rem 1.1rem;
}
.band--dark .photo, .band--deep .photo { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.05); }
.band--dark .photo figcaption, .band--deep .photo figcaption { color: #A9BCB7; }

/* Detailed illustrations carry small labels. Scaled to a 390px phone they become
   unreadable, so below 720px they scroll horizontally at a legible minimum width. */
.plate__scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
.plate__hint { display: none; }
@media (max-width: 720px) {
  .plate__scroll img { min-width: 640px; }
  .plate__hint {
    display: block; font-size: 0.78rem; color: var(--muted-lo);
    margin: 0.7rem 0 0; font-style: italic;
  }
}
.plate__scroll::-webkit-scrollbar { height: 7px; }
.plate__scroll::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 4px; }

/* Grid and flex children default to min-width:auto, which lets wide content (like the
   scrollable illustrations) stretch its column instead of scrolling inside it. */
.split > *, .grid > *, .stack > *, .stack-lg > * { min-width: 0; }

/* About-page portrait: cap it to roughly the same visual size as the home hero,
   rather than letting it fill its column (which made it huge on phones). */
.portrait {
  max-height: min(52vh, 430px);
  width: auto;
  margin-left: auto;
}
@media (max-width: 899px) { .portrait { margin-inline: auto; max-height: 40vh; } }

/* ---------- video: click-to-play facade ----------
   Embedding a restricted video shows YouTube's own error panel on page load.
   A facade shows a thumbnail instead and only loads the player on click,
   with a direct link out as a guaranteed fallback. */
.ytlite {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--ink) center/cover no-repeat;
}
.ytlite::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,42,40,.15), rgba(11,42,40,.55));
  transition: background .2s ease;
}
.ytlite:hover::before { background: linear-gradient(180deg, rgba(11,42,40,.05), rgba(11,42,40,.4)); }
.ytlite__play {
  position: relative; width: 66px; height: 46px; border-radius: 10px;
  background: rgba(11,42,40,.82); display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.ytlite:hover .ytlite__play { background: var(--lymph); transform: scale(1.06); }
.ytlite__play::after {
  content: ""; border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff; margin-left: 4px;
}
.ytlite:hover .ytlite__play::after { border-left-color: #241905; }
.video__body .watch { display: inline-block; margin-top: 0.75rem; font-size: 0.86rem; }

/* ---------- photo slideshow ----------
   The slides have different aspect ratios (a landscape banner and a portrait
   address), so each slide fills the frame with a blurred copy of itself and
   shows the real photograph contained on top. Nothing is cropped or stretched. */
.slides { border: 1px solid var(--stone); background: var(--ink); }
.slides__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .55s ease;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slides--nojs .slide:first-child { opacity: 1; visibility: visible; }
.slide__bg {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  filter: blur(26px) brightness(.45) saturate(.8);
}
.slide img {
  position: relative; width: 100%; height: 100%; object-fit: contain; display: block;
}

.slides__bar {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.8rem 1.1rem; border-top: 1px solid rgba(255,255,255,0.14);
  background: var(--ink);
}
.slides__nav {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); background: transparent;
  color: #E4EDEA; cursor: pointer; display: grid; place-items: center;
  font: inherit; font-size: 0.95rem; line-height: 1;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.slides__nav:hover { background: var(--lymph); border-color: var(--lymph); color: #241905; }
.slides__dots { display: flex; gap: 0.45rem; margin-inline: auto; }
.slides__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.45); background: transparent;
  transition: background-color .18s ease, border-color .18s ease;
}
.slides__dot[aria-current="true"] { background: var(--lymph); border-color: var(--lymph); }
.slides__count { font-size: 0.78rem; color: #9FB4AF; font-variant-numeric: tabular-nums; }

.slides figcaption {
  font-size: 0.865rem; line-height: 1.55; color: var(--muted);
  padding: 0.95rem 1.15rem 1.1rem; background: #FBFCFA;
  border-top: 1px solid var(--stone);
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
