/* Wooded — styles (original design; Tailwind utilities replaced by plain CSS) */
:root {
  --font-sans: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
/* minimal reset (what Tailwind's preflight provided) */
*,*::before,*::after { margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: transparent; cursor: pointer; }
ul { list-style: disc; }
summary { list-style: none; }
[hidden] { display: none !important; }

/* ---- buttons (was the shadcn Button + variants) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; height: 48px; padding: 0 24px; font-family: inherit; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; pointer-events: none; }
.btn-nature { background: var(--action); color: var(--action-foreground); border-radius: 999px; }
.btn-nature:hover { background: color-mix(in oklch, var(--action) 85%, transparent); }
.btn-glass { border: 1px solid color-mix(in oklch, var(--hero-foreground) 45%, transparent); color: var(--hero-foreground); background: transparent; border-radius: 999px; }
.btn-glass:hover { background: color-mix(in oklch, var(--hero-foreground) 10%, transparent); }
.btn-round { border-radius: 999px; border: 1px solid var(--border); background: var(--background); color: var(--foreground); }
.btn-round:hover { background: var(--secondary); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--secondary); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.hero .slide-dot { width: 24px; height: 24px; padding: 0; }
.hero .slide-dot:hover { background: transparent; }
.slideshow-controls .pause { padding: 0; }
.filters .btn-round.selected:hover { background: var(--primary); }

:root {
  --background: oklch(0.991 0.004 110);
  --foreground: oklch(0.27 0.042 151);
  --primary: oklch(0.33 0.066 149);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.958 0.013 115);
  --muted-foreground: oklch(0.51 0.017 143);
  --border: oklch(0.88 0.014 125);
  --action: oklch(0.9 0.16 113);
  --action-foreground: oklch(0.25 0.045 148);
  --hero-foreground: oklch(0.99 0.006 100);
  --destructive: oklch(0.55 0.17 25);
  --hero-shade: oklch(0.15 0.035 148 / 47%);
  --hero-light-shade: oklch(0.15 0.035 148 / 8%);
  --footer: oklch(0.25 0.045 148);
  --footer-line: oklch(0.99 0.006 100 / 15%);
  --footer-muted: oklch(0.99 0.006 100 / 72%);
}
* { border-color: var(--border); box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; font-family: var(--font-sans); background: var(--background); color: var(--foreground); -webkit-font-smoothing: antialiased; }
@layer base { a { text-decoration: none; color: inherit; } }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }
h1,h2,h3,p { margin: 0; }
h1,h2,.display { font-family: var(--font-display); font-weight: 400; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.site-header { height: 94px; background: var(--background); position: relative; z-index: 20; }
.header-inner { height: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 32px; font-weight: 650; }
.brand svg { width: 32px; height: 38px; stroke-width: 1.6; }
.brand-period { color: var(--primary); }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
.desktop-nav a { position: relative; padding-block: 10px; }
.desktop-nav a::after { content: ''; position: absolute; bottom: 2px; height: 2px; left: 0; width: 0; background: var(--primary); transition: width .25s; }
.desktop-nav a:hover::after,.desktop-nav a[aria-current=page]::after { width: 100%; }
.header-action { justify-self: end; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.btn-donate { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; border-radius: 999px; font-weight: 600; }
.btn-donate:hover { background: var(--primary); color: var(--primary-foreground); }
.mobile-nav .btn-donate { justify-self: start; }
@media (max-width: 1180px) { .header-actions { gap: 8px; } .header-actions .btn { height: 42px; padding: 0 16px; font-size: 13px; } }
@media (max-width: 1000px) { .header-action svg { display: none; } .btn-donate { width: 42px; padding: 0 !important; } .btn-donate .donate-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.menu-trigger { display: none; justify-self: end; }
.mobile-nav { position: absolute; inset: 94px 0 auto; background: var(--background); padding: 24px; border-bottom: 1px solid var(--border); display: grid; gap: 18px; }
.hero { position: relative; height: min(680px, calc(100svh - 170px)); min-height: 510px; overflow: hidden; background: var(--primary); color: var(--hero-foreground); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease, transform 8s linear; transform: scale(1.04); }
.hero-image.is-active { opacity: 1; transform: scale(1.09); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--hero-shade),var(--hero-light-shade)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding-top: 100px; }
.eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 600; line-height: 1.6; display: flex; align-items: center; gap: 10px; }
.eyebrow svg { width: 15px; height: 15px; }
.hero h1 { font-size: 78px; line-height: 1.07; margin-top: 25px; max-width: 790px; }
.hero h1 em { color: var(--action); font-style: normal; }
.hero-description { font-size: 16px; line-height: 1.8; max-width: 425px; margin-top: 25px; opacity: .9; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; }
.hero-bottom { position: absolute; bottom: 35px; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.hero-caption { display: flex; align-items: center; gap: 12px; font-size: 11px; }
.hero-caption svg { width: 16px; }
.slideshow-controls { display: flex; align-items: center; gap: 9px; }
.slide-dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; border-radius: 100%; }
.slide-dot::before { content: ''; width: 6px; height: 6px; display: block; margin: auto; border-radius: 50%; background: var(--hero-foreground); opacity: .45; }
.slide-dot.is-active::before { width: 8px; height: 8px; background: var(--action); opacity: 1; }
.slideshow-controls .pause { color: var(--hero-foreground); border-color: var(--hero-foreground); width: 30px; height: 30px; margin-left: 7px; }
.section { padding-block: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 35px; }
.section h2 { font-size: 45px; line-height: 1.15; margin-top: 15px; }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.mission-copy { font-size: 15px; line-height: 1.9; color: var(--muted-foreground); }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--foreground); }
.text-link svg { width: 17px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.principle { display: flex; gap: 17px; align-items: center; }
.principle svg { width: 28px; height: 28px; stroke-width: 1.3; flex-shrink: 0; }
.principle h3 { font-size: 14px; font-weight: 550; }
.principle p { font-size: 12px; color: var(--muted-foreground); margin-top: 4px; }
.work-section { padding-top: 74px; }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.project-card { min-width: 0; display: block; }
.photo-zoom { overflow: hidden; position: relative; aspect-ratio: 1.32; border-radius: 5px; background: var(--secondary); }
.photo-zoom img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.3,1); }
.photo-zoom:hover img,.project-card:focus-visible img { transform: scale(1.2); }
.photo-tag { position: absolute; left: 17px; top: 17px; background: var(--background); color: var(--foreground); border-radius: 30px; padding: 7px 12px; font-size: 10px; }
.card-title { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 15px; margin-top: 22px; }
.card-title h3 { font-family: var(--font-display); font-size: 25px; font-weight: 400; }
.card-title svg { width: 19px; }
.project-card p { color: var(--muted-foreground); font-size: 13px; line-height: 1.8; margin-top: 10px; }
.cta-band { background: var(--secondary); padding: 68px 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.cta-band h2 { font-size: 42px; }
.cta-band p { color: var(--muted-foreground); margin-top: 13px; font-size: 14px; }
.footer { background: var(--footer); color: var(--hero-foreground); padding: 0 0 26px; }
.footer .brand-period { color: var(--action); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 44px; padding: 62px 0 54px; border-bottom: 1px solid var(--footer-line); }
.footer-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--footer-muted); }
.footer-kicker::before { content: ''; width: 9px; height: 9px; background: var(--action); flex-shrink: 0; }
.footer-cta h2 { font-size: 52px; line-height: 1.12; margin-top: 20px; max-width: 620px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr repeat(4,1fr); gap: 34px; padding-top: 56px; }
.footer-copy { font-size: 13px; line-height: 1.85; max-width: 285px; opacity: .82; margin-top: 18px; }
.footer-enquiry { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13px; font-weight: 550; color: var(--action); }
.footer-enquiry svg { width: 17px; height: 17px; }
.footer-col { min-width: 0; }
.footer-col h3 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; line-height: 1.5; padding: 7px 0; opacity: .88; transition: opacity .2s, transform .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--action); transform: translateX(3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--footer-line); margin-top: 58px; padding-top: 24px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--footer-muted); }
.footer-tagline { text-transform: uppercase; letter-spacing: .16em; }
.footer-scroll { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid var(--footer-line); border-radius: 50%; background: transparent; color: var(--hero-foreground); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.footer-scroll:hover { background: var(--action); color: var(--action-foreground); transform: translateY(-3px); }
.footer-scroll svg { width: 16px; height: 16px; }
.page-banner { padding: 75px 0 65px; background: var(--secondary); }
.page-banner h1 { font-size: 66px; line-height: 1.08; max-width: 820px; margin-top: 19px; }
.page-banner p { max-width: 630px; margin-top: 24px; color: var(--muted-foreground); font-size: 16px; line-height: 1.8; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.story-grid .photo-zoom { aspect-ratio: 1.15; }
.story-copy p { margin-top: 22px; font-size: 15px; line-height: 1.9; color: var(--muted-foreground); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 40px; }
.value-item { border-top: 1px solid var(--border); padding-top: 25px; }
.value-item .number { font-size: 12px; color: var(--muted-foreground); }
.value-item h3 { font-family: var(--font-display); font-weight: 400; font-size: 27px; margin-top: 20px; }
.value-item p { font-size: 14px; line-height: 1.8; color: var(--muted-foreground); margin-top: 15px; }
.soft-section { background: var(--secondary); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 35px; }
.filters .selected { background: var(--primary); color: var(--primary-foreground); }
.faq { max-width: 850px; margin-top: 35px; }
.faq details { padding: 23px 0; border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 19px; transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin-top: 17px; font-size: 14px; line-height: 1.9; color: var(--muted-foreground); max-width: 720px; }
.interest-panel { margin-top: 35px; border-top: 1px solid var(--border); padding-top: 30px; }
.interest-panel h3 { font-family: var(--font-display); font-size: 29px; font-weight: 400; }
.interest-panel p { margin-top: 15px; color: var(--muted-foreground); line-height: 1.8; font-size: 15px; }
.interest-panel ul { padding-left: 20px; font-size: 14px; line-height: 2.2; margin-top: 20px; }
.reveal { animation: rise .8s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1550px) { .hero-content { padding-top: 110px; } }
@media (max-width: 1050px) { .container { width: calc(100% - 64px); } .desktop-nav { gap: 18px; } .header-inner { gap: 20px; } .hero h1 { font-size: 65px; } .mission { gap: 50px; } .footer-cols { grid-template-columns: repeat(3,1fr); gap: 30px; } .footer-brand { grid-column: 1 / -1; } .footer-cta h2 { font-size: 42px; } }
@media (max-width: 800px) { .desktop-nav,.header-actions { display: none; } .menu-trigger { display: inline-flex; } .header-inner { grid-template-columns: minmax(0,1fr) auto; } .site-header { height: 78px; } .mobile-nav { top: 78px; } .hero { height: 650px; min-height: 570px; } .hero-content { padding-top: 88px; } .hero h1 { font-size: 59px; } .mission,.story-grid { gap: 35px; } .section h2 { font-size: 37px; } .principles { gap: 20px; } .principle { align-items: flex-start; } .card-grid { gap: 18px; } .card-title h3 { font-size: 22px; } .cta-band h2 { font-size: 35px; } .footer-cta { flex-direction: column; align-items: flex-start; gap: 30px; } .footer-cols { grid-template-columns: repeat(2,1fr); } .page-banner h1 { font-size: 55px; } }
@media (max-width: 600px) { .container { width: calc(100% - 40px); } .brand { font-size: 28px; } .brand svg { width: 28px; } .hero { height: calc(100svh - 120px); min-height: 610px; max-height: 730px; } .hero-content { padding-top: 75px; } .hero h1 { font-size: 49px; margin-top: 27px; } .hero-description { font-size: 14px; max-width: 320px; margin-top: 23px; } .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; } .hero-actions a { min-width: 182px; } .hero-bottom { bottom: 24px; } .hero-caption { font-size: 10px; gap: 7px; max-width: 180px; } .eyebrow { font-size: 9px; } .section { padding-block: 56px; } .mission,.story-grid { grid-template-columns: 1fr; gap: 26px; } .section h2 { font-size: 36px; } .mission-copy { font-size: 14px; } .principles { grid-template-columns: 1fr; gap: 25px; } .principle { align-items: center; } .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; } .section-heading .text-link { margin-top: 5px; } .card-grid,.values-grid { grid-template-columns: 1fr; gap: 35px; } .card-title { margin-top: 17px; } .card-title h3 { font-size: 27px; } .photo-zoom { aspect-ratio: 1.35; } .cta-inner { flex-direction: column; align-items: flex-start; gap: 25px; } .cta-band { padding-block: 45px; } .cta-band h2 { font-size: 34px; } .footer-cta { padding: 44px 0 38px; } .footer-cta h2 { font-size: 33px; } .footer-cols { grid-template-columns: 1fr; gap: 30px; padding-top: 42px; } .footer-bottom { flex-wrap: wrap; gap: 12px; } .page-banner { padding-block: 48px; } .page-banner h1 { font-size: 44px; } .page-banner p { font-size: 14px; } .story-grid .photo-zoom { aspect-ratio: 1.2; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .hero-image { transform: none; } }
.mega-wrap { position: relative; }
.mega-trigger { display: inline-flex; align-items: center; gap: 4px; padding-block: 10px; }
.mega-trigger svg { width: 14px; transition: transform .25s; }
.mega-wrap:hover .mega-trigger svg,.mega-wrap:focus-within .mega-trigger svg { transform: rotate(180deg); }
.mega-panel { position: absolute; top: 100%; left: 50%; width: 680px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; background: var(--background); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 24px 50px -20px var(--hero-shade); opacity: 0; visibility: hidden; transform: translate(-50%,8px); transition: opacity .2s, transform .2s, visibility .2s; }
.mega-wrap:hover .mega-panel,.mega-wrap:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.mega-list { display: grid; gap: 4px; }
.mega-list a { display: block; padding: 11px 14px; border-radius: 6px; transition: background .2s; }
.mega-list a.is-active { background: var(--secondary); }
.mega-list a::after { display: none; }
.mega-list strong { display: block; font-size: 14px; font-weight: 600; }
.mega-list span { display: block; font-size: 12px; line-height: 1.5; color: var(--muted-foreground); margin-top: 3px; font-weight: 400; }
.mega-image { aspect-ratio: auto; height: 100%; min-height: 260px; }
.mega-image img { animation: rise .5s ease both; }
.science-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; margin-top: 40px; }
.science-item { border-left: 2px solid var(--primary); padding-left: 18px; }
.science-term { font-size: 11px; font-style: italic; color: var(--muted-foreground); }
.science-item h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin-top: 8px; }
.science-item p { font-size: 13px; line-height: 1.8; color: var(--muted-foreground); margin-top: 10px; }
.lead-copy { max-width: 720px; margin-top: 18px; font-size: 15px; line-height: 1.9; color: var(--muted-foreground); }
.reference-list { margin-top: 30px; padding-left: 20px; font-size: 13px; line-height: 2; color: var(--muted-foreground); }
[id] { scroll-margin-top: 20px; }
@media (max-width: 1050px) { .science-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .science-grid { grid-template-columns: 1fr; } }

/* ---- utilities used by the original ---- */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mobile-nav[hidden] { display: none; }

/* ---- 404 ---- */
.not-found { min-height: 60vh; display: flex; align-items: center; text-align: center; padding-block: 80px; }
.not-found h1 { font-size: 96px; line-height: 1; }
.not-found h2 { font-size: 24px; margin-top: 16px; font-family: var(--font-sans); font-weight: 600; }
.not-found p { color: var(--muted-foreground); margin: 10px 0 28px; font-size: 14px; }

/* ---- added: key figures, news, credited photos ---- */
.figures-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; margin-top: 40px; }
.figure-item { border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-direction: column; }
.figure-value { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--primary); }
.figure-item h3 { font-size: 15px; font-weight: 600; line-height: 1.4; margin-top: 14px; }
.figure-item p { font-size: 13px; line-height: 1.7; color: var(--muted-foreground); margin-top: 8px; }
.figure-source { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: var(--muted-foreground); margin-top: auto; padding-top: 12px; }
.credited-photo { margin: 0; min-width: 0; }
.credited-photo figcaption { font-size: 11px; color: var(--muted-foreground); margin-top: 8px; }
.credited-photo figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.news-list { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--border); }
.news-item { display: grid; grid-template-columns: 1fr; gap: 30px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.news-item.has-photo { grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); align-items: start; }
.news-body { max-width: 760px; }
.news-meta { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--muted-foreground); }
.news-meta span { color: var(--primary); }
.news-item h3 { font-family: var(--font-display); font-weight: 400; font-size: 27px; line-height: 1.2; margin-top: 12px; }
.news-body > p:not(.news-meta) { font-size: 14px; line-height: 1.85; color: var(--muted-foreground); margin-top: 12px; }
.news-body .news-why { color: var(--foreground); }
.news-source { display: inline-flex; margin-top: 14px; font-size: 13px; }
.news-compact { grid-template-columns: repeat(3,1fr); gap: 30px; border-top: 0; }
.news-compact .news-item { border-top: 1px solid var(--border); border-bottom: 0; padding: 22px 0 0; }
.news-compact .news-item h3 { font-size: 22px; }
.reference-list a { text-decoration: underline; text-underline-offset: 2px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.photo-pair h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin-top: 18px; }
.photo-pair p { font-size: 14px; line-height: 1.8; color: var(--muted-foreground); margin-top: 8px; }
.story-copy .text-link { margin-top: 26px; }
@media (max-width: 1050px) { .figures-grid { grid-template-columns: repeat(2,1fr); } .news-compact { grid-template-columns: 1fr; gap: 0; } .news-compact .news-item { padding: 22px 0; } }
@media (max-width: 700px) { .news-item.has-photo,.photo-pair { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 600px) { .figures-grid { grid-template-columns: 1fr; gap: 24px; } .figure-value { font-size: 40px; } .news-item h3 { font-size: 23px; } }

/* ---- added: briefings ---- */
.briefing-toc { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-bottom: 26px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.briefing-toc a { color: var(--muted-foreground); }
.briefing-toc a:hover, .briefing-toc a:first-child { color: var(--primary); }
.briefing { padding: 72px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.briefing:last-child { border-bottom: 0; padding-bottom: 0; }
.briefing-head { max-width: 820px; }
.briefing-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 60px; margin-top: 40px; align-items: start; }
.briefing-copy p { font-size: 15px; line-height: 1.9; color: var(--muted-foreground); }
.briefing-copy p + p { margin-top: 18px; }
.briefing-copy strong { color: var(--foreground); font-weight: 600; }
.briefing-aside { display: flex; flex-direction: column; gap: 22px; }
.briefing-aside h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.briefing-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.briefing-aside li { font-size: 14px; line-height: 1.7; color: var(--muted-foreground); padding-left: 18px; position: relative; }
.briefing-aside li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--primary); }
.briefing-facts { display: grid; gap: 16px; }
.briefing-facts div { border-top: 1px solid var(--border); padding-top: 12px; font-size: 13px; color: var(--muted-foreground); }
.briefing-facts span { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1.1; color: var(--primary); }
.news-tabs { display: flex; gap: 22px; margin-top: 28px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.news-tabs a[aria-current] { color: var(--primary); }
@media (max-width: 900px) { .briefing-grid { grid-template-columns: 1fr; gap: 36px; } .briefing { padding: 52px 0; } }
.briefing-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 40px; }
.briefing-card { display: flex; flex-direction: column; border-top: 1px solid var(--border); padding-top: 22px; }
.briefing-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; margin-top: 10px; }
.briefing-card p { font-size: 14px; line-height: 1.75; color: var(--muted-foreground); margin-top: 10px; flex: 1; }
.briefing-card .text-link { margin-top: 16px; font-size: 13px; }
.briefing-card:hover h3 { color: var(--primary); }
.inline-link { text-decoration: underline; text-underline-offset: 2px; color: var(--foreground); }
.question-list { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 0; border-top: 1px solid var(--border); }
.question-list li { counter-increment: q; padding: 20px 0 20px 52px; border-bottom: 1px solid var(--border); position: relative; font-size: 15px; line-height: 1.7; }
.question-list li::before { content: "0" counter(q); position: absolute; left: 0; top: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--primary); }
@media (max-width: 900px) { .briefing-list { grid-template-columns: 1fr; gap: 24px; } }
.figures-followup { margin-top: 90px; scroll-margin-top: 90px; }
.photo-note { font-size: 13px; line-height: 1.6; color: var(--muted-foreground); margin-top: -10px; }
.photo-wide { margin-top: 36px; aspect-ratio: 21 / 8; }
.photo-wide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .photo-wide { aspect-ratio: 4 / 3; } }

/* =====================================================================
   SCIENTIFIC LAYER — journal / field-report styling (overrides above)
   ===================================================================== */
:root {
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --font-display: 'Source Serif 4', Georgia, serif;
  --rule: color-mix(in oklch, var(--foreground) 16%, transparent);
  --grid-line: color-mix(in oklch, var(--primary) 7%, transparent);
}
body { font-family: var(--font-sans); font-feature-settings: "tnum" 1; }
h1, h2, .section h2, .page-banner h1, .hero h1, .cta-band h2, .footer-cta h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.012em; }
.hero h1 { font-size: 70px; font-weight: 500; }
.section h2 { font-size: 40px; line-height: 1.16; }
.card-title h3, .value-item h3, .science-item h3, .news-item h3, .briefing-card h3, .photo-pair h3, .briefing-aside h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.005em; }

/* square, instrument-like corners */
.btn, .btn-nature, .btn-glass, .btn-round, .btn-donate { border-radius: 3px; }
.photo-zoom { border-radius: 0; outline: 1px solid var(--rule); outline-offset: 4px; }
.photo-zoom:hover img, .project-card:focus-visible img { transform: scale(1.06); }

/* ---- section numbering (§ 01, § 02 …) ---- */
main { counter-reset: sec fig; }
main .section { counter-increment: sec; }
.eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; }
main .section .eyebrow:not(.briefing-head .eyebrow)::before {
  content: "§ " counter(sec, decimal-leading-zero);
  color: var(--primary); padding-right: 12px; margin-right: 2px; border-right: 1px solid var(--rule);
}
.section h2 { padding-bottom: 0; }
.section-heading { border-bottom: 1px solid var(--rule); padding-bottom: 22px; }

/* ---- figures: numbered captions ---- */
.credited-photo { counter-increment: fig; }
.credited-photo figcaption { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .02em; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--rule); }
.credited-photo figcaption::before { content: "Fig. " counter(fig) " — "; color: var(--foreground); font-weight: 600; }

/* ---- page banner as a paper header: graph grid + abstract ---- */
.page-banner {
  background-color: var(--secondary);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px; border-bottom: 1px solid var(--rule);
}
.page-banner h1 { font-size: 58px; }
.page-banner p:not(.eyebrow) { border-left: 2px solid var(--primary); padding-left: 20px; font-size: 15px; }
.page-banner p:not(.eyebrow)::before { content: "Abstract. "; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.soft-section {
  background-image: radial-gradient(var(--grid-line) 1px, transparent 1.2px);
  background-size: 18px 18px;
}

/* ---- lead copy reads like body text of a paper ---- */
.lead-copy, .mission-copy, .story-copy p, .briefing-copy p { font-size: 15.5px; line-height: 1.85; }
.lead-copy { border-left: 1px solid var(--rule); padding-left: 20px; }

/* ---- key figures as a data table ---- */
.figures-grid { gap: 0; border-top: 2px solid var(--foreground); border-bottom: 1px solid var(--rule); }
.figure-item { border-top: 0; padding: 22px 22px 20px; border-right: 1px solid var(--rule); }
.figure-item:last-child { border-right: 0; }
.figure-value { font-family: var(--font-display); font-weight: 500; font-variant-numeric: tabular-nums lining-nums; font-size: 44px; }
.figure-source::before, .news-source::before { content: "Source: "; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; color: var(--muted-foreground); font-size: 10px; }
.figure-source::before { content: "Src. "; }

/* ---- terms / values as numbered findings ---- */
.science-item { border-left: 1px solid var(--rule); padding-left: 18px; position: relative; }
.science-item::before { content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: 34px; background: var(--primary); }
.science-term { font-family: var(--font-mono); font-style: normal; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.value-item { border-top: 1px solid var(--foreground); }
.value-item .number { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--primary); }
.value-item .number::before { content: "No. "; color: var(--muted-foreground); }

/* ---- news as a research log ---- */
.news-list { border-top: 2px solid var(--foreground); }
.news-meta time::before { content: "["; } .news-meta time::after { content: "]"; }
.news-meta span { border: 1px solid var(--rule); padding: 0 6px; border-radius: 2px; }
.news-body .news-why { background: var(--secondary); border-left: 2px solid var(--primary); padding: 12px 16px; font-size: 13.5px; }
.soft-section .news-body .news-why { background: var(--background); }
.news-compact .news-item { border-top: 2px solid var(--foreground); }

/* ---- briefings: article apparatus ---- */
.briefing-toc { border-top: 2px solid var(--foreground); padding-top: 16px; }
.briefing-head .eyebrow { color: var(--primary); }
.briefing-aside { border-left: 1px solid var(--rule); padding-left: 28px; }
.briefing-facts div { font-family: var(--font-mono); font-size: 11.5px; }
.briefing-facts span { font-family: var(--font-display); font-weight: 500; font-variant-numeric: tabular-nums; }
.briefing-card { border-top: 2px solid var(--foreground); }

/* ---- references, FAQ, question list ---- */
.reference-list { font-family: var(--font-sans); counter-reset: ref; list-style: none; padding-left: 0; }
.reference-list li { counter-increment: ref; position: relative; padding-left: 40px; border-bottom: 1px dotted var(--rule); padding-block: 8px; }
.reference-list li::before { content: "[" counter(ref) "]"; position: absolute; left: 0; font-family: var(--font-mono); font-size: 11px; color: var(--primary); }
.faq { counter-reset: q; border-top: 2px solid var(--foreground); }
.faq details { counter-increment: q; }
.faq summary { font-family: var(--font-display); font-size: 19px; }
.faq summary::before { content: "Q" counter(q); font-family: var(--font-mono); font-size: 11px; color: var(--primary); min-width: 34px; }
.faq summary { justify-content: flex-start; }
.faq summary svg { margin-left: auto; }
.question-list { border-top: 2px solid var(--foreground); }

/* ---- cards & CTA ---- */
.project-card .card-title { border-top: 1px solid var(--rule); padding-top: 14px; }
.cta-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cta-band h2 { font-size: 38px; }
.footer-cta h2 { font-weight: 400; }

@media (max-width: 1050px) {
  .figure-item:nth-child(2n) { border-right: 0; }
  .figure-item:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 900px) { .briefing-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; } }
@media (max-width: 600px) {
  .hero h1 { font-size: 46px; } .section h2 { font-size: 33px; } .page-banner h1 { font-size: 40px; }
  .figure-item { border-right: 0; border-bottom: 1px solid var(--rule); padding: 18px 0; }
  .figure-item:last-child { border-bottom: 0; }
  .lead-copy { padding-left: 14px; }
}
/* refinements */
main .section { counter-increment: none; }
main .section:has(.eyebrow), main .figures-followup { counter-increment: sec; }
.section .eyebrow, .story-copy .eyebrow, .section-heading .eyebrow { font-size: 11px; }
.photo-zoom { outline: 0; }
.credited-photo .photo-zoom, .story-grid > .photo-zoom, .photo-wide { outline: 1px solid var(--rule); outline-offset: 4px; }

/* page banner: topographic contours + scale bar (replaces graph grid) */
.page-banner { position: relative; overflow: hidden; background-image: none; background-color: var(--secondary); }
.page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/contours.svg") right center / auto 150% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 65%);
          mask-image: linear-gradient(90deg, transparent 20%, #000 65%);
}
.page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, color-mix(in oklch, var(--primary) 45%, transparent) 0 1px, transparent 1px 100px) left bottom / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10px) left bottom / 100% 5px no-repeat;
}
.page-banner > .container { position: relative; z-index: 1; }
@media (max-width: 700px) { .page-banner::before { background-size: auto 110%; opacity: .7; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 80%); mask-image: linear-gradient(90deg, transparent 0%, #000 80%); } }

/* page banner: Fibonacci seed spiral, right 30% only (replaces contours) */
.page-banner::before {
  left: auto; right: 0; width: 30%;
  background: url("../img/banner/diatom.svg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  opacity: 1;
}
@media (max-width: 700px) { .page-banner::before { width: 45%; opacity: .55; background-size: cover; } }

/* page banner: pollen grain figure, centred in the right 30% with equal space above and below */
.page-banner::before {
  top: 44px; bottom: 44px; left: auto; right: 0; width: 30%;
  background: url("../img/banner/pollen.svg") center / contain no-repeat;
  -webkit-mask-image: none; mask-image: none; opacity: 1;
}
@media (max-width: 700px) { .page-banner::before { width: 42%; top: 24px; bottom: 24px; opacity: .45; } }

/* =============== Forest news charts =============== */
:root { --c-down: #0f8466; --c-up: #cf8526; --c-track: color-mix(in oklch, var(--foreground) 9%, transparent); }
.chart-figure { margin: 0; counter-increment: fig; min-width: 0; }
.chart-figure > figcaption { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.6; color: var(--muted-foreground); margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--rule); }
.chart-figure > figcaption::before { content: "Fig. " counter(fig) " — "; color: var(--foreground); font-weight: 600; }
.chart-split { margin-top: 44px; }
.chart-split-2 { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 56px; align-items: start; }
.chart-split + .values-grid, .chart-split + .science-grid, .chart-figure + .values-grid { margin-top: 56px; }
[data-tip] { position: relative; }
[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); background: var(--foreground); color: var(--background); font-family: var(--font-mono); font-size: 11px; line-height: 1.4; padding: 6px 9px; border-radius: 3px; white-space: nowrap; z-index: 5; pointer-events: none; }

/* rings */
.ring-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 44px; }
.ring-item { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: center; position: relative; }
.ring-item svg { width: 112px; height: 112px; }
.ring-track { fill: none; stroke: var(--c-track); stroke-width: 7; }
.ring-value { fill: none; stroke: var(--c-down); stroke-width: 7; stroke-linecap: butt; }
.ring-tick { stroke: var(--rule); stroke-width: .6; }
.ring-center { position: absolute; left: 0; top: 50%; width: 112px; transform: translateY(-50%); text-align: center; font-family: var(--font-display); font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ring-item figcaption strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.5; }
.ring-item figcaption .figure-source { display: block; margin-top: 8px; }

/* horizontal compare bars */
.hbar-list { display: grid; gap: 14px; border-top: 2px solid var(--foreground); padding-top: 18px; }
.hbar-row { display: grid; grid-template-columns: 260px 1fr 110px; gap: 16px; align-items: center; }
.hbar-label { font-size: 13px; }
.hbar-track { height: 14px; background: var(--c-track); }
.hbar-fill { display: block; height: 100%; background: var(--c-up); border-radius: 0 4px 4px 0; }
.hbar-fill.is-target { background: var(--c-down); }
.hbar-value { font-family: var(--font-mono); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }

/* diverging bars */
.div-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--muted-foreground); margin-bottom: 14px; }
.div-legend span, .donut-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.sw-down { background: var(--c-down); } .sw-up { background: var(--c-up); } .sw-rest { background: var(--c-track); outline: 1px solid var(--rule); }
.sw-outline { border: 1.5px solid var(--muted-foreground); border-radius: 50%; }
.div-chart { border-top: 2px solid var(--foreground); }
.div-axis { display: grid; grid-template-columns: 1fr 1fr 1fr; margin-left: 136px; margin-right: 64px; font-family: var(--font-mono); font-size: 10px; color: var(--muted-foreground); padding: 8px 0 4px; }
.div-axis span:nth-child(2) { text-align: center; } .div-axis span:last-child { text-align: right; }
.div-row { display: grid; grid-template-columns: 120px 1fr 48px; gap: 16px; align-items: center; padding: 9px 0; border-bottom: 1px dotted var(--rule); }
.div-row.is-total .div-label { font-weight: 600; }
.div-label { font-size: 13px; }
.div-track { position: relative; height: 16px; }
.div-track::before { content: ""; position: absolute; left: 50%; top: -9px; bottom: -9px; width: 1px; background: var(--foreground); opacity: .5; }
.div-bar { position: absolute; top: 0; height: 100%; }
.div-bar.down { right: 50%; background: var(--c-down); border-radius: 4px 0 0 4px; }
.div-bar.up { left: 50%; background: var(--c-up); border-radius: 0 4px 4px 0; }
.div-value { font-family: var(--font-mono); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.data-table { margin-top: 12px; font-size: 12px; }
.data-table summary { cursor: pointer; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.data-table table { border-collapse: collapse; width: 100%; margin-top: 10px; }
.data-table th, .data-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }

/* donut + target ring */
.donut-figure { display: flex; flex-direction: column; align-items: flex-start; }
.donut-wrap { position: relative; width: 200px; height: 200px; }
.donut-wrap svg { width: 100%; height: 100%; }
.donut-rest { fill: none; stroke: var(--c-track); stroke-width: 12; }
.donut-value { fill: none; stroke: var(--c-up); stroke-width: 12; }
.donut-figure .ring-track, .donut-figure .ring-value { stroke-width: 9; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.donut-center b { font-family: var(--font-display); font-weight: 500; font-size: 28px; font-variant-numeric: tabular-nums; }
.donut-center small { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); margin-top: 2px; }
.donut-legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 13px; }
.donut-legend b { font-family: var(--font-mono); font-weight: 600; min-width: 34px; }
.donut-note { font-size: 13px; line-height: 1.6; color: var(--muted-foreground); margin-top: 16px; max-width: 260px; }
.donut-figure > figcaption { align-self: stretch; }

/* dot grid */
.dot-grid { display: grid; grid-template-columns: repeat(9, minmax(0,1fr)); gap: 10px; border-top: 2px solid var(--foreground); padding-top: 18px; }
.dot { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid color-mix(in oklch, var(--foreground) 35%, transparent); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted-foreground); max-width: 52px; }
.dot.is-on { background: var(--c-down); border-color: var(--c-down); color: #fff; font-weight: 600; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--foreground); }
.timeline li { position: relative; padding-right: 18px; }
.timeline time { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--primary); height: 26px; }
.tl-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--background); border: 2px solid var(--c-down); position: relative; z-index: 1; }
.timeline li.is-deadline .tl-dot { background: var(--c-up); border-color: var(--c-up); }
.timeline p { font-size: 13px; line-height: 1.6; margin-top: 14px; }
.timeline .figure-source { display: block; margin-top: 8px; }

@media (max-width: 1050px) {
  .ring-row { grid-template-columns: 1fr; gap: 24px; max-width: 520px; }
  .chart-split-2 { grid-template-columns: 1fr; gap: 44px; }
  .timeline { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 34px; }
  .timeline::before { display: none; }
  .timeline li { border-top: 2px solid var(--foreground); padding-top: 10px; }
}
@media (max-width: 600px) {
  .hbar-row { grid-template-columns: 1fr 90px; } .hbar-label { grid-column: 1 / -1; }
  .div-row { grid-template-columns: 82px 1fr 44px; gap: 10px; } .div-axis { margin-left: 92px; margin-right: 54px; }
  .div-label { font-size: 12px; }
  .dot-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .timeline { grid-template-columns: 1fr; row-gap: 22px; }
  [data-tip]:hover::after { white-space: normal; width: 220px; }
}
.tl-tag { display: inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); border: 1px solid var(--rule); padding: 1px 6px; border-radius: 2px; }
.donut-center small { font-size: 9px; }
.dot-grid { max-width: 560px; }
