@import url(/assets/fonts/fonts.css);

/* Makings Foundation: design preview "photos" */
:root {
  --ink: #14231c;
  --ink-soft: #3b4a42;
  --muted: #5f6e66;
  --forest: #1f4d3a;
  --moss: #3d7a5c;
  --leaf: #9cc58a;
  --night: #0f1f18;
  --night-2: #16291f;
  --sand: #f3efe5;
  --paper: #fbfaf6;
  --line: #dde4dc;
  --cr: #a8321f;
  --en: #a94e17;
  --vu: #7d6000;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans); font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--moss); }
::selection { background: var(--leaf); color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Header (over the photo) */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--wrap); margin: 0 auto; padding: 30px 32px 0;
}
.mark { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.mark span { color: var(--muted); font-weight: 400; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 14.5px; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; letter-spacing: .04em; }
.on-dark .mark, .on-dark .nav a { color: #f4f1e8; }
.on-dark .mark span { color: rgba(244,241,232,.66); }
.on-dark .nav a:hover { color: #fff; text-decoration: underline; }
.on-dark .lang { border-color: rgba(244,241,232,.4); }

/* Hero */
.hero {
  position: relative; overflow: hidden; background: var(--night); color: #f4f1e8;
  min-height: min(100svh, 980px); display: flex; align-items: flex-end; padding: 0;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
.hero .shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,19,14,.86) 0%, rgba(9,19,14,.62) 34%, rgba(9,19,14,.10) 64%, rgba(9,19,14,0) 80%),
    linear-gradient(0deg, rgba(9,19,14,.70) 0%, rgba(9,19,14,0) 38%),
    linear-gradient(180deg, rgba(9,19,14,.55) 0%, rgba(9,19,14,0) 22%);
}
.hero-in { position: relative; z-index: 2; width: 100%; padding-top: 160px; padding-bottom: 128px; }
.hero h1 {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(46px, 7vw, 100px); line-height: 1.0; letter-spacing: -0.025em; margin: 0; max-width: 11.5ch; color: #f7f4ec;
}
.hero h1 em { font-style: italic; color: #cfe3bf; }
.hero .lede { max-width: 520px; margin: 32px 0 0; font-size: 19px; line-height: 1.6; color: rgba(247,244,236,.88); }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 13.5px; color: rgba(247,244,236,.82); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 5px rgba(156,197,138,.18); }
.hero-cap {
  position: absolute; z-index: 2; right: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); bottom: 34px; margin: 0;
  text-align: right; font-size: 13px; line-height: 1.5; color: rgba(247,244,236,.86); max-width: 340px;
}
.hero-cap .hc-name { font-weight: 600; color: #fff; }
.hero-cap i { color: rgba(247,244,236,.8); }
.hero-cap .hc-rl { display: block; margin: 8px 0; }
.hero-cap small { display: block; font-size: 11.5px; color: rgba(247,244,236,.72); }
.hero-cap a { color: inherit; }
.hero-cap .rl { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.hero-cap .rl b { color: #ffd6b0; }

/* Sections */
section { padding: 124px 0; }
.label { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: #356b50; font-weight: 600; margin: 0 0 18px; }
h2 { font-family: var(--serif); font-weight: 350; font-variation-settings: "opsz" 96; font-size: clamp(32px, 4vw, 50px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 26px; max-width: 18ch; }
.intro { font-size: 19px; color: var(--ink-soft); max-width: 620px; margin: 0; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: end; }
.split .intro { padding-bottom: 30px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px 32px; }
.card .n { font-family: var(--serif); font-size: 15px; color: var(--moss); font-style: italic; }
.card h3 { font-family: var(--serif); font-weight: 450; font-size: 25px; line-height: 1.2; margin: 14px 0 12px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card.first { background: var(--forest); border-color: var(--forest); color: #f1f4ef; }
.card.first p { color: #d3e0d7; }
.card.first .n { color: var(--leaf); }

/* Species gallery */
.species { background: var(--sand); padding-bottom: 112px; }
.gallery { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.gallery figure { margin: 0; }
.gallery .ph { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: #d9d4c4; }
.gallery .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.gallery li:hover .ph img { transform: scale(1.03); }
.gallery figcaption { display: grid; gap: 2px; padding-top: 16px; }
.g-name { font-family: var(--serif); font-weight: 450; font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; }
.g-sci { color: var(--muted); font-size: 15px; }
.g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.g-credit { margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.g-credit a { color: inherit; }

.rl {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 4px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; line-height: 1.4; border: 1px solid currentColor; white-space: nowrap;
}
.rl b { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #fff; border-radius: 999px; padding: 2px 6px; }
.rl-cr { color: var(--cr); } .rl-cr b { background: var(--cr); }
.rl-en { color: var(--en); } .rl-en b { background: var(--en); }
.rl-vu { color: var(--vu); } .rl-vu b { background: var(--vu); }
.hero-cap .rl b { background: rgba(0,0,0,.35); }

/* How we choose (dark band) */
.choose { background: var(--night); color: #e9eee8; }
.choose .split { align-items: start; }
.choose .label { color: var(--leaf); }
.choose .quote { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.22; letter-spacing: -0.015em; margin: 0; color: #f4f1e8; max-width: 14ch; }
.choose .intro { color: #c3d0c7; margin-bottom: 28px; padding: 0; }
.criteria { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(233,238,232,.16); }
.criteria li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid rgba(233,238,232,.16); }
.criteria .k { font-family: var(--serif); font-style: italic; color: var(--leaf); font-size: 17px; }
.criteria strong { display: block; font-weight: 600; font-size: 17px; margin-bottom: 2px; color: #f4f1e8; }
.criteria span { color: #b9c7bd; font-size: 16px; }

/* Approach */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); }
.ways div { padding: 28px 28px 0 0; }
.ways div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.w-n { display: block; font-family: var(--serif); font-style: italic; color: var(--moss); font-size: 15px; margin-bottom: 10px; }
.ways h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.ways p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ANBI */
.anbi { background: var(--sand); }
.facts { display: grid; grid-template-columns: 250px 1fr; column-gap: 24px; margin: 48px 0 0; border-top: 1px solid #d6d2c4; }
.facts dt, .facts dd { padding: 18px 0; border-bottom: 1px solid #d6d2c4; margin: 0; }
.facts dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 21px; }
.facts dd .pending { color: var(--muted); font-style: italic; }
.board { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; gap: 14px; }
.board li span { min-width: 120px; color: var(--muted); }

/* Footer */
footer { background: var(--night); color: #b9c6bd; padding: 72px 0 48px; font-size: 14.5px; }
.foot-main { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-r { text-align: right; }
footer .mark { color: #f1f4ef; }
footer .mark span { color: #9fb0a5; }
footer a { color: #e3ebe5; }
footer p { margin: 6px 0 0; }
.credits { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(233,238,232,.14); font-size: 12.5px; color: #9fb0a5; }
.credits h2 { font: 600 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #c3d0c7; margin: 0 0 8px; max-width: none; }
.credits p { margin: 0 0 8px; }
.credits ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.credits li { break-inside: avoid; padding: 2px 0; }
.credits li span { color: #c3d0c7; }
.credits a { color: #c3d0c7; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero .status { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .1s; } .hero .lede { animation-delay: .25s; } .hero .status { animation-delay: .4s; }
  .hero-img { animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

@media (min-width: 721px) {
  .hero-img { width: 138%; max-width: none; right: auto; object-position: 50% 42%; }
}
@media (max-width: 1000px) {
  section { padding: 88px 0; }
  .split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .split .intro { padding-bottom: 0; }
  .cards { grid-template-columns: 1fr; margin-top: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; margin-top: 44px; }
  .ways { grid-template-columns: 1fr; }
  .ways div, .ways div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 6px; }
  .nav a:not(.lang) { display: none; }
}
@media (max-width: 720px) {
  .hero { min-height: auto; display: block; }
  .hero-img { position: relative; height: 62svh; min-height: 380px; max-height: 560px; object-position: 64% 40%; }
  .hero .shade { inset: 0 0 auto 0; height: 62svh; min-height: 380px; max-height: 560px;
    background: linear-gradient(180deg, rgba(9,19,14,.6) 0%, rgba(9,19,14,0) 30%, rgba(9,19,14,0) 62%, var(--night) 100%); }
  .hero-in { padding-top: 0; padding-bottom: 40px; margin-top: -84px; }
  .hero-cap { position: static; text-align: left; margin: 0; padding: 0 20px 36px; max-width: none; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin: 0 20px; padding-left: 0; padding-right: 0; }
  .credits ul { columns: 1; }
  .foot-r { text-align: left; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap, .top { padding-left: 20px; padding-right: 20px; }
  .top { padding-top: 22px; }
  .hero .lede { font-size: 17px; margin-top: 22px; }
  .status { margin-top: 24px; }
  .intro { font-size: 17px; }
  .g-name { font-size: 18px; }
  .g-sci { font-size: 13.5px; }
  .rl { font-size: 11.5px; }
  .g-meta { gap: 6px; }
  .board li { flex-direction: column; gap: 0; }
}
@media print {
  .hero { min-height: auto; } .hero-img, .shade { display: none; } .hero, .hero h1, .hero .lede { color: var(--ink); }
}
.nw { white-space: nowrap; }

/* Photo credit behind an "i" (hover, or focus by keyboard or tap) */
.ci { position: relative; display: inline-flex; vertical-align: middle; margin-left: 8px; cursor: help; outline: none; }
.ci::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: 100%; height: 12px; }
.ci-i {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center;
  font: italic 600 11px/1 Georgia, serif; opacity: .7; transition: opacity .15s ease;
}
.ci:hover .ci-i, .ci:focus .ci-i { opacity: 1; }
.ci:focus-visible .ci-i { outline: 2px solid currentColor; outline-offset: 2px; }
.ci-tip {
  position: absolute; bottom: calc(100% + 10px); right: -8px; z-index: 5; white-space: nowrap;
  background: rgba(12,24,18,.95); color: #e9eee8; font: 400 12px/1.4 var(--sans, Inter, sans-serif);
  padding: 7px 11px; border-radius: 8px; box-shadow: 0 8px 24px -10px rgba(0,0,0,.5);
  display: none;
}
.ci:hover .ci-tip, .ci:focus .ci-tip, .ci:focus-within .ci-tip { display: block; animation: ci-in .15s ease both; }
@keyframes ci-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ci-tip a { color: #fff; }
.gallery .ci-tip { right: auto; left: -8px; }
.gallery .g-meta { align-items: center; }
@media (max-width: 900px) {
  .hero-cap .ci-tip { right: auto; left: -8px; }
  .ci-tip { white-space: normal; width: max-content; max-width: 260px; }
}

