/* Yayasan Hylobates Awara: "Hijau Awara" (Awara Green).
   The logo unfolded into a site: the green disc, black type, round photo
   frames. Photos always show in full colour (no hover-only effects: many
   visitors would never discover them). Mobile first. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400 800; font-display: swap; src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-normal-400-800.7660bd9909fb.woff2") format("woff2"); }

:root {
  --green: #30db14;  /* the logo's green: backgrounds only, never text on white */
  --black: #0b0b0b;
  --white: #ffffff;
  --mist: #f1f4ef;
  --line: #d9ded5;
  --grey: #4a4a4a;
  --link: #1e7a0e;   /* green dark enough for text on white and mist */
  --error: #b3261e;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 76rem;
  --prose: 42rem;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
body { margin: 0; font: 1.0625rem/1.65 var(--sans); color: var(--black); background: var(--white); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: #fff; padding: 0.5rem 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

section, .site-footer { padding: clamp(3rem, 9vw, 6rem) var(--gutter); }
section > *, .site-footer > * { max-width: var(--max); margin-inline: auto; }

/* --- header --------------------------------------------------------------- */
.site-header { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem var(--gutter); background: var(--green); position: relative; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand img { background: var(--white); border-radius: 50%; padding: 2px; }
.brand-name { font-weight: 800; font-size: 1rem; line-height: 1.1; letter-spacing: -0.01em; max-width: 9rem; }
.langs { display: flex; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: 0.85rem; }
.langs a { display: block; padding: 0.4rem 0.55rem; text-decoration: none; border-radius: 99px; }
.langs a[aria-current] { background: var(--black); color: var(--green); }
.nav-wide { display: none; }
.nav-narrow summary { list-style: none; cursor: pointer; padding: 0.5rem 1rem; border-radius: 99px; background: var(--black); color: var(--white); font-weight: 700; }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow nav { position: absolute; z-index: 5; inset: 100% 0 auto; background: var(--black); padding: 0.5rem var(--gutter) 1.5rem; }
.nav-narrow ul { list-style: none; margin: 0; padding: 0; }
.nav-narrow a { display: block; padding: 0.7rem 0; color: var(--white); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; text-decoration: none; }
.nav-narrow a[aria-current] { color: var(--green); }
.nav-narrow a:hover { color: var(--green); }
.nav-narrow :focus-visible { outline-color: var(--green); }
@media (min-width: 60em) {
  .site-header { padding-inline: var(--edge); }
  .brand-name { max-width: none; font-size: 1.15rem; }
  .nav-narrow { display: none; }
  .nav-wide { display: block; }
  .nav-wide ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
  .nav-wide a { text-decoration: none; font-weight: 700; }
  .nav-wide a:hover, .nav-wide a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; }
}

/* --- shared pieces --------------------------------------------------------- */
.btn { display: inline-block; padding: 0.85rem 1.4rem; border-radius: 99px; font: inherit; font-weight: 800; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-secondary { border: 2px solid var(--black); background: transparent; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform 0.15s ease; } .btn:hover { transform: translateY(-1px); } }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; }
.section-head h2 { font-size: clamp(2.4rem, 10vw, 4.2rem); letter-spacing: -0.04em; }
.more { font-weight: 800; color: var(--link); }
.meta { display: block; font-size: 0.9rem; color: var(--grey); }
.status-ongoing::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; margin-right: 0.4rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--black); vertical-align: -0.05em; }
.empty { color: var(--grey); }

/* The round photo frame from the logo. */
.disc { width: min(90vw, 26rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 2rem; box-shadow: 0 0 0 0.6rem var(--black); background: var(--black); }
.disc img { width: 100%; height: 100%; object-fit: cover; }

/* --- homepage hero ---------------------------------------------------------- */
.hero { background: var(--green); padding-top: 1.5rem; }
.hero h1 { font-size: clamp(2.9rem, 13vw, 6.5rem); letter-spacing: -0.04em; line-height: 0.92; }
.tagline { font-weight: 700; font-size: 1.15rem; }
.lede { max-width: 34rem; }
@media (min-width: 60em) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; padding-block: 4rem 5rem; padding-inline: var(--edge); }
  .hero > * { max-width: none; margin: 0; }
  .hero .disc { order: 2; width: min(40vw, 34rem); justify-self: center; }
}

/* --- pillars: black, with photo dots ----------------------------------------- */
.pillars { background: var(--black); color: var(--white); }
.pillar-list { list-style: none; padding: 0; display: grid; gap: 3rem; }
.dots { display: flex; margin-bottom: 1.25rem; }
.dots img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--black); }
.dots img + img { margin-left: -1.1rem; }
.pillar h2 { font-size: 2rem; color: var(--green); }
.pillar p { color: #d6d6d6; }
@media (min-width: 60em) { .pillar-list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* --- focus areas: rows with a round photo ------------------------------------- */
.focus-list { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.focus-list a { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1rem; align-items: center; padding: 0.75rem; border-radius: 1.5rem; background: var(--mist); text-decoration: none; height: 100%; }
.focus-list img { grid-row: span 2; width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.focus-title { font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.focus-summary { font-size: 0.92rem; color: var(--grey); line-height: 1.45; }
.focus-list a:hover { background: var(--green); }
.focus-list a:hover .focus-summary { color: var(--black); }
/* On the focus area index the rows are larger and show the whole summary. */
.focus-list.is-large a { grid-template-columns: 6.5rem 1fr; padding: 1rem; column-gap: 1.25rem; }
.focus-list.is-large img { width: 6.5rem; height: 6.5rem; }
.focus-list.is-large .focus-title { font-size: 1.35rem; }
.focus-list.is-large .focus-summary { font-size: 1rem; }
@media (min-width: 60em) { .focus-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

/* --- project cards ------------------------------------------------------------- */
.projects { background: var(--mist); }
.project-list { list-style: none; padding: 0; display: grid; gap: 2rem; }
.project a { display: block; text-decoration: none; }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2rem; }
.project-text { display: block; padding: 1rem 0.25rem 0; }
.project-title { display: block; font-weight: 800; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0.3rem 0; }
.project a:hover .project-title { text-decoration: underline; text-decoration-thickness: 3px; }
/* The number that matches the project's marker on the map. */
.project-number { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-right: 0.5rem; border-radius: 50%; background: var(--black); color: var(--green); font-weight: 800; font-size: 0.95rem; vertical-align: 0.15em; }
@media (min-width: 60em) { .project-list { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; } }

/* --- philosophy and other green statements ---------------------------------------- */
.philosophy, .statement { background: var(--green); }
.philosophy h2, .statement h2 { font-size: 1rem; letter-spacing: 0.02em; }
.philosophy blockquote { margin: 0 auto; }
.philosophy blockquote p, .statement .big { font-weight: 800; font-size: clamp(2rem, 8vw, 4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.statement .big { font-size: clamp(1.7rem, 6vw, 3.2rem); line-height: 1.1; }
/* Two green bands in a row: a black rule keeps them apart. */
.page-head + .statement { padding-top: 0; }
.page-head + .statement > :first-child { border-top: 3px solid var(--black); padding-top: clamp(2rem, 6vw, 3.5rem); }

/* --- news cards ------------------------------------------------------------------- */
.news-list { list-style: none; padding: 0; display: grid; gap: 2rem; }
.news-item a { display: block; text-decoration: none; }
.news-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.5rem; }
.news-text { display: block; padding: 0.9rem 0.25rem 0; }
.news-title { display: block; font-weight: 800; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; margin-top: 0.2rem; }
.news-summary { display: block; margin-top: 0.4rem; font-size: 0.95rem; color: var(--grey); line-height: 1.5; }
.news-item a:hover .news-title { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--green); }
.news-item .no-image { display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: 1.5rem; background: var(--green); }
.news-item .no-image img { width: 30%; aspect-ratio: 1; border-radius: 0; }
@media (min-width: 40em) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .news-list { grid-template-columns: repeat(3, 1fr); } }

/* --- call to action and footer: black -------------------------------------------------- */
.cta { background: var(--black); color: var(--white); }
.cta h2 { font-size: clamp(2.4rem, 10vw, 4.2rem); letter-spacing: -0.04em; color: var(--green); }
.cta p { max-width: 36rem; color: #d6d6d6; }
.cta .btn-primary { background: var(--green); color: var(--black); }
.cta :focus-visible, .site-footer :focus-visible, .pillars :focus-visible, .values :focus-visible { outline-color: var(--green); }
.site-footer { background: var(--black); color: var(--white); border-top: 1px solid #ffffff22; font-size: 0.95rem; display: grid; gap: 1.5rem; }
.site-footer > * { margin: 0; max-width: 40rem; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand p { margin: 0; color: #d6d6d6; }
/* No contextual dashes: phone numbers keep their plain hyphens. */
.site-footer address, .reach { font-style: normal; font-feature-settings: "calt" 0; }
.site-footer address { line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; padding: 0; }
.copy { font-size: 0.85rem; color: #a8a8a8; }
@media (min-width: 60em) {
  .site-footer { grid-template-columns: 1.2fr 1fr; padding-inline: var(--edge); }
  .copy, .footer-links { grid-column: 1 / -1; }
}

/* --- inner page header ------------------------------------------------------------------ */
.page-head { background: var(--green); padding-block: clamp(2rem, 6vw, 4rem); }
.page-head h1 { font-size: clamp(2.6rem, 11vw, 5.25rem); letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 0.35em; }
/* An article's header lines up with its text column and wide figures. */
.page-head.is-article > * { max-width: 54rem; }
.page-head.is-article h1 { font-size: clamp(1.9rem, 6.5vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.05; max-width: 22em; }
.page-head .lede { font-size: 1.15rem; max-width: 38rem; }
.page-head .lede p:last-child { margin-bottom: 0; }
.crumb { display: inline-block; margin-bottom: 1rem; font-weight: 800; font-size: 0.95rem; text-decoration: none; }
.crumb::before { content: "\2190\00a0"; }
.crumb:hover { text-decoration: underline; }
.meta-line { font-weight: 700; margin-bottom: 0.75rem; }
.page-head .disc { width: min(70vw, 18rem); margin: 0.5rem auto 2rem; }
@media (min-width: 60em) {
  .page-head { padding-inline: var(--edge); }
  .page-head.has-disc { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
  .page-head.has-disc > * { max-width: none; margin: 0; }
  .page-head.has-disc .disc { order: 2; width: 22rem; }
}

/* The featured image of a news article, straddling the green header. */
.lead-figure { padding: 0 var(--gutter); margin: 0; background: linear-gradient(var(--green) 50%, var(--white) 50%); }
/* Tall (portrait) photos are capped in height so the article text is not pushed off screen. */
.lead-figure img { width: auto; max-width: min(100%, 54rem); max-height: min(75vh, 44rem); margin: 0 auto; border-radius: 2rem; }

/* --- page body and prose ------------------------------------------------------------------ */
.page-body { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.prose { max-width: var(--prose); margin-inline: auto; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; letter-spacing: -0.015em; }
.prose a { color: var(--link); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { font-weight: 800; }
.prose figure { margin: 2rem 0; }
.prose figure img { width: 100%; border-radius: 1.5rem; }
.prose figcaption, .gallery-caption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--grey); }
.prose blockquote { margin: 2rem 0; padding: 0.2rem 0 0.2rem 1.25rem; border-left: 0.5rem solid var(--green); }
.prose blockquote p { font-weight: 800; font-size: clamp(1.3rem, 4vw, 1.7rem); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.prose blockquote footer { font-size: 0.95rem; color: var(--grey); }
@media (min-width: 60em) { .prose .wide { margin-inline: -6rem; } }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.gallery a { display: block; border-radius: 1rem; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
@media (min-width: 40em) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgb(11 11 11 / 0.9); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; border-radius: 1rem; }
.lightbox form { text-align: center; margin-top: 0.75rem; }
.lightbox .btn { background: var(--green); color: var(--black); }

.video iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 1.5rem; }
.cta-card { margin: 2.5rem 0; padding: 1.75rem; border-radius: 2rem; background: var(--black); color: var(--white); }
.cta-card h2 { margin-top: 0; color: var(--green); font-size: 1.8rem; }
.cta-card p { color: #d6d6d6; }
.prose .cta-card .btn { background: var(--green); color: var(--black); font-weight: 800; }
.cta-card :focus-visible { outline-color: var(--green); }
.document { display: flex; gap: 0.75rem; align-items: center; margin: 1.5rem 0; padding: 1rem 1.25rem; border-radius: 1.25rem; background: var(--mist); }
.document .type { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--green); color: var(--black); font-weight: 800; font-size: 0.75rem; }

/* --- related lists below a page ---------------------------------------------------------- */
.related { background: var(--mist); }
.related h2 { font-size: clamp(1.9rem, 7vw, 3rem); letter-spacing: -0.035em; }
.related + .related { padding-top: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tags a { display: block; padding: 0.45rem 0.9rem; border-radius: 99px; background: var(--white); border: 2px solid var(--black); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.tags a:hover, .tags a[aria-current] { background: var(--black); color: var(--green); }
.article-foot { max-width: var(--prose); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 2px solid var(--black); display: grid; gap: 1rem; }
.article-foot h2 { font-size: 0.95rem; letter-spacing: 0; margin: 0 0 0.5rem; }

/* --- project facts and map ----------------------------------------------------------------- */
.facts { margin: 0; display: grid; gap: 1rem; padding: 1.5rem; border-radius: 2rem; background: var(--mist); }
.facts dt { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.02em; }
.facts dd { margin: 0.1rem 0 0; font-size: 1.05rem; }
.project-layout { display: grid; gap: 2.5rem; max-width: var(--max); margin-inline: auto; }
.project-layout .prose { margin: 0; }
@media (min-width: 60em) {
  .project-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; align-items: start; }
  .project-layout aside { order: 2; position: sticky; top: 1.5rem; }
}

.map { margin-block: 0; }
.facts + .map { margin-top: 1rem; }
.map svg { width: 100%; background: #e3ebe0; border-radius: 1.5rem; }
.map-land { fill: var(--green); stroke: var(--black); stroke-width: 0.6; stroke-linejoin: round; }
.map-neighbour { fill: #cfd8cb; }
.map-area { fill: var(--black); fill-opacity: 0.18; stroke: var(--black); stroke-width: 0.6; stroke-dasharray: 2 1.5; }
.map-marker circle { fill: var(--black); stroke: var(--white); stroke-width: 2px; r: 26px; }
.map-marker text { fill: var(--green); font: 800 28px var(--sans); text-anchor: middle; dominant-baseline: central; }
.map-marker:hover circle, .map-marker:focus-visible circle { fill: var(--white); stroke: var(--black); stroke-width: 4px; }
.map-marker:hover text, .map-marker:focus-visible text { fill: var(--black); }
.map-marker:focus-visible { outline: none; }
.map.is-detail .map-marker circle { r: 3.5px; stroke-width: 1px; }
.map figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--grey); }
@media (min-width: 60em) {
  .map-marker circle { r: 15px; }
  .map-marker text { font-size: 16px; }
}
.map-section { padding-bottom: 0; }

/* Summary card for a map marker (js/map.js). Floats beside the marker on wide
   screens, so the marker stays visible; on phones the map is too small to
   cover, so the card sits below it. */
.map:not(.is-detail) { position: relative; }
.map-marker[aria-expanded="true"] circle { fill: var(--white); stroke: var(--black); stroke-width: 4px; }
.map-marker[aria-expanded="true"] text { fill: var(--black); }
.map-popup { position: relative; margin-top: 1rem; background: var(--white); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 0 0 3px var(--black); }
.map-popup img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map-popup-body { padding: 1rem 1.25rem 1.25rem; }
.map-popup h3 { font-size: 1.3rem; margin: 0.25rem 0 0.35rem; }
.map-popup .project-number { width: 1.7rem; height: 1.7rem; font-size: 0.85rem; }
.map-popup-summary { margin: 0.6rem 0 1rem; font-size: 0.98rem; line-height: 1.5; }
.map-popup-close { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--black); color: var(--green); cursor: pointer; }
.map-popup-close svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.map-popup-close:focus-visible { outline-color: var(--black); box-shadow: 0 0 0 6px var(--green); }
@media (min-width: 40em) {
  .map-popup { position: absolute; z-index: 4; width: 20rem; margin: 0; box-shadow: 0 0 0 3px var(--black), 0 1rem 2.5rem rgb(11 11 11 / 0.25); }
}

/* --- news index: filter and pager ------------------------------------------------------------ */
.filter { margin-bottom: 2.5rem; }
.filter h2 { font-size: 0.95rem; letter-spacing: 0; margin-bottom: 0.6rem; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 3rem; font-weight: 700; }

/* --- about ------------------------------------------------------------------------------------ */
.mission ol { list-style: none; counter-reset: mission; padding: 0; display: grid; gap: 1.25rem; }
.mission li { counter-increment: mission; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; margin: 0; }
.mission li::before { content: counter(mission); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--green); font-weight: 800; }
.values { background: var(--black); color: var(--white); }
.values h2 { font-size: clamp(2.2rem, 9vw, 3.8rem); letter-spacing: -0.04em; margin-bottom: 1.2em; }
.value-list { list-style: none; padding: 0; display: grid; gap: 2rem; }
.value-list h3 { color: var(--green); font-size: 1.4rem; }
.value-list p { color: #d6d6d6; margin: 0; }
@media (min-width: 40em) { .value-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .value-list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.team h2 { font-size: clamp(2.2rem, 9vw, 3.8rem); letter-spacing: -0.04em; }
.team-list { list-style: none; padding: 0; display: grid; gap: 2.5rem; }
.team-photo { width: 10rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0.5rem 0 1.25rem 0.5rem; box-shadow: 0 0 0 0.45rem var(--green); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-list h3 { font-size: 1.35rem; margin-bottom: 0.15em; }
.team-list .role { font-weight: 700; color: var(--link); margin-bottom: 0.6em; }
@media (min-width: 40em) { .team-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .team-list { grid-template-columns: repeat(4, 1fr); } }

/* --- contact ------------------------------------------------------------------------------------ */
.contact-layout { display: grid; gap: 3rem; max-width: var(--max); margin-inline: auto; }
@media (min-width: 60em) { .contact-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }
.reach { padding: 1.5rem; border-radius: 2rem; background: var(--black); color: var(--white); }
.reach h2 { color: var(--green); font-size: 1.6rem; }
.reach ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.6rem; }
.reach-link { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; align-items: center; padding: 0.8rem 1rem; border-radius: 1.25rem; background: #ffffff14; text-decoration: none; }
.reach-link:hover { background: var(--green); color: var(--black); }
.reach-link .icon { grid-row: span 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--green); color: var(--black); }
.reach-link .icon svg { width: 1.25rem; height: 1.25rem; }
.reach-link .label { font-size: 0.85rem; color: #d6d6d6; }
.reach-link:hover .label { color: var(--black); }
.reach-link .value { font-weight: 800; font-size: 1.1rem; overflow-wrap: anywhere; }
.reach address { font-style: normal; color: #d6d6d6; }
.reach :focus-visible { outline-color: var(--green); }

/* The office map: a cover with the address until the visitor asks for the
   Google map (js/office-map.js). */
.office { padding-top: 0; }
.office h2 { font-size: clamp(1.9rem, 7vw, 3rem); letter-spacing: -0.035em; }
.office-map { aspect-ratio: 4 / 3; border-radius: 2rem; overflow: hidden; background: var(--mist); box-shadow: inset 0 0 0 2px var(--line); }
.office-map-cover { height: 100%; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 1.5rem; text-align: center; }
.office-map-cover .icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--green); }
.office-map-cover .icon svg { width: 2rem; height: 2rem; }
.office-map-cover address { font-style: normal; font-weight: 700; max-width: 26rem; }
.office-note { margin: 0; font-size: 0.85rem; color: var(--grey); }
.office-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.office-open { margin: 1rem 0 0; }
@media (min-width: 60em) { .office-map { aspect-ratio: 21 / 8; } }

.form { display: grid; gap: 1.25rem; max-width: 36rem; }
.form .field { display: grid; gap: 0.35rem; }
.form label { font-weight: 800; }
.form input:not([type="checkbox"], [type="radio"], [type="hidden"]), .form textarea, .form select { width: 100%; padding: 0.8rem 1rem; font: inherit; color: var(--black); background: var(--white); border: 2px solid var(--black); border-radius: 0.9rem; }
.form textarea { min-height: 10rem; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; box-shadow: 0 0 0 6px var(--green); }
.form .help { font-size: 0.9rem; color: var(--grey); }
.form .error { color: var(--error); font-weight: 700; font-size: 0.95rem; }
.form [aria-invalid="true"] { border-color: var(--error) !important; }
.form .alert { padding: 1rem 1.25rem; border-radius: 1rem; border: 2px solid var(--error); color: var(--error); font-weight: 700; }
.form .alert ul { margin: 0; padding-left: 1.2em; }
.form-note { font-size: 0.9rem; color: var(--grey); }
.form-note a { color: var(--link); }
