@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --shamrock: #226134;
  --leaf: #2c753e;
  --spring: #699f2f;
  --meadow: #70a145;
  --earth: #3f3029;
  --linen: #f4f1ea;
  --stone: #d8d3c8;
  --earth-soft: #62564f;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-space: clamp(3rem, 6vw, 5rem);
  --block-space: clamp(2.5rem, 5vw, 4.5rem);
  --radius-lg: 0.75rem;
  --radius-md: 0.5rem;
}

html,
body {
  font-family: "Barlow", Arial, sans-serif !important;
}

body {
  background-color: #ffffff !important;
  color: var(--earth) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
nav,
label,
input,
textarea,
select {
  font-family: "Barlow", Arial, sans-serif !important;
}

main p:not([class*="uppercase"]):not([class*="font-medium"]),
main li:not(nav li) {
  font-family: "Source Serif 4", Georgia, serif;
}

[class~="bg-ink"] {
  background-color: var(--shamrock) !important;
}

[class~="bg-sand"],
[class~="bg-paper"] {
  background-color: #ffffff !important;
}

[class~="bg-sun"] {
  background-color: var(--spring) !important;
}

[class~="bg-surface"],
[class~="bg-cream"] {
  background-color: #ffffff !important;
}

[class~="text-ink"] {
  color: var(--earth) !important;
}

[class~="text-muted"] {
  color: #746860 !important;
}

[class~="text-sun"] {
  color: var(--spring) !important;
}

[class~="border-line"] {
  border-color: var(--stone) !important;
}

main > section:not([class~="bg-ink"]):not([class~="bg-sun"]) {
  background-color: #ffffff;
}

main h1:not([class*="text-white"]),
main h2:not([class*="text-white"]),
main h3:not([class*="text-white"]),
main h4:not([class*="text-white"]) {
  color: var(--shamrock);
}

main [class~="bg-ink"] h1,
main [class~="bg-ink"] h2,
main [class~="bg-ink"] h3,
main [class~="bg-ink"] h4,
main [class~="bg-ink"] p {
  color: white !important;
}

main [class~="bg-white"] p,
main [class~="bg-white"] h1,
main [class~="bg-white"] h2,
main [class~="bg-white"] h3,
main [class~="bg-white"] h4 {
  color: var(--earth) !important;
}

main [class~="bg-sun"],
main [class~="bg-sun"] h1,
main [class~="bg-sun"] h2,
main [class~="bg-sun"] h3,
main [class~="bg-sun"] h4,
main [class~="bg-sun"] p {
  color: white !important;
}

main article,
main a.group {
  border-color: var(--stone);
}

/* Add a quiet dark wash wherever copy is layered over photography. */
main img.absolute + [class*="bg-gradient-to-"] {
  background-color: rgba(15, 42, 23, 0.16);
  background-blend-mode: multiply;
}

/* ---------- Hover states ----------
   The Tailwind hover utilities still carry the template palette (black ink,
   yellow sun), so every hover colour is remapped to the brand palette here. */
@media (hover: hover) {
  /* Outlined and white buttons, filter pills: fill with Shamrock */
  [class~="hover:bg-ink"]:hover {
    background-color: var(--shamrock) !important;
    border-color: var(--shamrock) !important;
    color: white !important;
  }

  /* Solid Shamrock buttons: step to Leaf */
  [class~="bg-ink"][class~="hover:bg-ink/80"]:hover,
  [class~="bg-ink"][class*="hover:opacity-8"]:hover {
    background-color: var(--leaf) !important;
    color: white !important;
    opacity: 1 !important;
  }

  /* Quiet white buttons: Shamrock outline and label */
  [class~="bg-white"][class*="hover:opacity-8"]:hover,
  [class~="hover:border-ink/50"]:hover {
    border-color: var(--shamrock) !important;
    color: var(--shamrock) !important;
    opacity: 1 !important;
  }

  /* Spring accent buttons sit on dark surfaces: reverse to white */
  [class~="bg-sun"][class~="hover:bg-white"]:hover,
  [class~="bg-sun"][class~="hover:opacity-90"]:hover {
    background-color: white !important;
    color: var(--shamrock) !important;
    opacity: 1 !important;
  }

  /* Arrow chips inside cards */
  .group:hover [class~="group-hover:bg-sun"] {
    background-color: var(--spring) !important;
    color: white !important;
  }

  /* Numbered list numerals */
  .group:hover > [class~="group-hover:text-ink"] {
    color: var(--spring) !important;
  }

  /* Header and menu links */
  [class~="hover:text-muted"]:hover {
    color: var(--leaf) !important;
  }

  /* Card titles on light cards only; photo cards keep white titles */
  main a.group:not([class~="bg-ink"]):hover h2,
  main a.group:not([class~="bg-ink"]):hover h3,
  main a.group:not([class~="bg-ink"]):hover h4 {
    color: var(--leaf) !important;
  }
}

footer {
  background-color: var(--shamrock) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--spring) !important;
  outline-offset: 3px;
}

::selection {
  background: var(--spring);
  color: white;
}

.leadership-bio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--shamrock);
  border-radius: 9999px;
  color: var(--shamrock);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color var(--motion-fast) var(--motion-ease),
    color var(--motion-fast) var(--motion-ease);
}

.leadership-bio-button:hover {
  background-color: var(--shamrock);
  color: white;
}

.brand-logo {
  display: block;
  width: 160px;
  height: auto;
  object-fit: contain;
}

footer .brand-logo {
  width: 200px;
}

@media (max-width: 767px) {
  .brand-logo {
    width: 160px;
  }

  footer .brand-logo {
    width: 180px;
  }
}

/* RSVP form: ruled fields that echo the programme hairlines */
.rsvp-field {
  width: 100%;
  padding: 0.25rem 0 0.5rem;
  border: 0;
  border-bottom: 1px solid var(--stone);
  border-radius: 0;
  background: transparent;
  color: var(--earth);
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.3px;
  transition:
    border-color var(--motion-fast) var(--motion-ease),
    box-shadow var(--motion-fast) var(--motion-ease);
}

.rsvp-field:hover {
  border-bottom-color: var(--earth);
}

.rsvp-field:focus-visible {
  outline: none !important;
  border-bottom-color: var(--shamrock);
  box-shadow: 0 1px 0 var(--shamrock);
}

/* ---------- Header navigation ---------- */
.site-nav-bar .brand-logo {
  /* The PNG includes transparent margins: 176px keeps visible artwork >=160px. */
  width: 176px;
}

.site-nav-item {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: 0.875rem;
  transition:
    background-color var(--motion-fast) var(--motion-ease),
    color var(--motion-fast) var(--motion-ease);
}

.site-nav-item:hover,
.site-nav-item:focus-visible {
  background-color: var(--linen);
  color: var(--shamrock);
}

/* ============================================================
   Refinement layer
   More air, calmer type and quieter surfaces across every page. The
   template's Tailwind utilities are tuned here rather than page by page, so
   the whole site moves together.
   ============================================================ */

/* ---------- Rhythm ---------- */
main > section,
footer,
header > div:last-child {
  padding-inline: var(--gutter) !important;
}

main > section:not(:first-child) {
  padding-block: var(--section-space) !important;
}

main > section.section-linen {
  background-color: var(--linen) !important;
}

main > section.value-section {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) !important;
}

/* The directory is the homepage's final section, so keep its handoff to the
   footer tighter than the spacing used between content sections. */
main > section#members {
  padding-bottom: clamp(2rem, 4vw, 3.5rem) !important;
}

main .grid[class~="gap-2.5"],
main .grid[class~="gap-x-2.5"] {
  column-gap: 1.5rem !important;
}

main .grid[class~="gap-2.5"] {
  row-gap: 1.5rem !important;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section-head > div {
  max-width: 44rem;
}

.community-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.community-intro > div,
.community-intro > .lead {
  max-width: none;
}

.community-directory-cta {
  background: var(--shamrock);
  color: white;
  box-shadow: 0 12px 28px -14px rgb(34 97 52 / 0.7);
  transition:
    background-color var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    transform var(--motion-base) var(--motion-ease);
}

.community-directory-cta:hover {
  background: var(--leaf);
  box-shadow: 0 16px 32px -14px rgb(34 97 52 / 0.8);
  transform: translateY(-2px);
}

.section-body {
  margin-top: var(--block-space);
}

/* ---------- Surfaces ---------- */
[class~="rounded-3xl"],
[class~="rounded-[20px]"],
[class~="rounded-[32px]"] {
  border-radius: var(--radius-lg) !important;
}

[class~="rounded-2xl"] {
  border-radius: var(--radius-md) !important;
}

footer {
  border-radius: 0 !important;
  padding-top: clamp(2.5rem, 4vw, 3rem) !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

footer > :not(.footer-petal-field) {
  position: relative;
  z-index: 1;
}

footer .border-t {
  position: relative;
  order: 99;
  justify-content: center !important;
  text-align: center;
}

/* Petal fields. Sizes are custom properties so each field can be placed
   from the footer's own edges. */
footer {
  --petal-gap: clamp(0.6rem, 1.25vw, 1.25rem);
  --field-long: min(28vw, 22rem);
  --petal-size: calc((var(--field-long) - var(--petal-gap) * 4) / 5);
  --field-short: calc(var(--petal-size) * 3 + var(--petal-gap) * 2);
  --footer-margin: max(var(--gutter), calc((100vw - 1408px) / 2));
}

.footer-petal-field {
  position: absolute;
  z-index: 0;
  display: grid;
  width: var(--field-long);
  height: var(--field-short);
  grid-template-columns: repeat(5, var(--petal-size));
  grid-auto-rows: var(--petal-size);
  gap: var(--petal-gap);
  opacity: 0.42;
  pointer-events: none;
}

/* Turned on its side beside the logo, bleeding off the left edge. */
.footer-petal-field--left {
  top: calc(7.5rem - var(--field-short) / 2);
  left: calc(var(--field-long) * -0.4);
  rotate: 90deg;
}

/* Level with the divider rule, bleeding off the right edge to mirror the
   field on the left. */
.footer-petal-field--right {
  right: calc(var(--field-long) * -0.4);
  bottom: calc(5.9375rem - var(--field-short) / 2);
  rotate: -90deg;
}

.footer-petal-field .petal {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* Stacked footer: content runs edge to edge, so a single field sits in the
   top-right corner, in the space beside the logo. */
@media (max-width: 1199px) {
  footer {
    --petal-size: clamp(2.25rem, 5.5vw, 2.75rem);
    --petal-gap: calc(var(--petal-size) * 0.3);
    --field-long: calc(var(--petal-size) * 5 + var(--petal-gap) * 4);
  }

  .footer-petal-field--left {
    display: none;
  }

  .footer-petal-field--right {
    --show: min(
      100vw - var(--gutter) - 200px - 1rem,
      var(--field-long) * 0.75
    );
    top: calc(var(--field-short) * -0.3);
    right: calc(var(--show) - var(--field-long));
    bottom: auto;
    rotate: none;
  }
}

/* ---------- Type ---------- */
body {
  letter-spacing: 0 !important;
}

main [class*="tracking-[-"],
main [class*="tracking-tight"] {
  letter-spacing: -0.02em !important;
}

main p,
main li {
  text-wrap: pretty;
}

main :is(h1, h2, h3) {
  text-wrap: balance;
}

main p:not([class*="text-"]):not([class*="font-medium"]),
main [class~="bg-ink"] p[class~="text-lg"] {
  font-size: 1.0625rem;
  line-height: 1.65;
}

main p[class~="text-muted"],
main p:not([class*="text-"]) {
  color: var(--earth-soft);
}

.lead,
main p[class~="text-lg"]:not([class*="text-white"]) {
  max-width: 38rem;
  color: var(--earth-soft);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem) !important;
  line-height: 1.55 !important;
}

/* Photo heroes */
main > section[class~="bg-ink"]:first-child h1 {
  max-width: 14em;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.028em !important;
}

/* A full-sentence headline steps down a size so it holds to a few lines. */
main > section[class~="bg-ink"]:first-child h1.hero-title--long {
  max-width: 18em;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem) !important;
  line-height: 1.08 !important;
}

/* Section titles */
.display,
main h2[class*="text-[32px]"] {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.375rem) !important;
  font-weight: 500;
  line-height: 1.06 !important;
  letter-spacing: -0.024em !important;
}

main h2[class*="text-[32px]"][class~="text-ink"] {
  color: var(--shamrock) !important;
}

/* Eyebrow labels: tracked Barlow caps, as set out in the brand guide */
.eyebrow,
main span[class~="bg-accent"],
main :is(p, span)[class~="uppercase"]:not([class*="rounded-full"]) {
  font-family: "Barlow", Arial, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
}

/* Category pills become plain labels */
main span[class~="bg-accent"] {
  padding: 0 !important;
  background: transparent !important;
  color: var(--leaf);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--leaf) !important;
}

.eyebrow::before {
  flex: none;
  width: 1.35rem;
  height: 1.15rem;
  background-image: url("assets/brand/logo-horizontal-transparent.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 1.4rem;
  content: "";
}

.eyebrow + .display {
  margin-top: 1.25rem;
}

.eyebrow--plain::before {
  content: none;
}

.eyebrow--light {
  color: rgb(255 255 255 / 0.9) !important;
}

.eyebrow--light::before {
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--shamrock);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.text-link::after {
  width: 1rem;
  height: 1rem;
  background: currentColor;
  content: "";
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform var(--motion-base) var(--ease-out);
}

a.text-link:hover,
a:hover > .text-link {
  color: var(--leaf);
}

a.text-link:hover::after,
a:hover > .text-link::after {
  transform: translateX(4px);
}

/* On touch screens, extend the link's tap area without moving the layout. */
@media (pointer: coarse) {
  a.text-link {
    position: relative;
  }

  a.text-link::before {
    position: absolute;
    inset: -0.7rem 0;
    content: "";
  }
}

/* ---------- Buttons ---------- */
:is(a, button)[class*="rounded-full"]:is([class*="px-5"], [class*="px-6"]) {
  padding-inline: 1.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* On photography and Shamrock the lead action is white, the second outlined */
:is(a, button)[class~="bg-sun"] {
  background-color: white !important;
  color: var(--shamrock) !important;
}

:is(a, button)[class~="bg-sun"][class*="hover:"]:hover {
  background-color: var(--linen) !important;
  color: var(--shamrock) !important;
}

a[class~="bg-white/15"] {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.65);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

a[class~="bg-white/15"]:hover {
  background-color: rgb(255 255 255 / 0.16) !important;
}

/* ---------- Header ---------- */
header > div:first-child {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.375rem 0.75rem;
  font-family: "Geist", "Barlow", Arial, sans-serif;
  font-size: clamp(0.625rem, 0.55rem + 0.25vw, 0.75rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.13em;
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.12);
}

header > div:first-child::before,
header > div:first-child::after {
  content: "";
  flex: 0 0 0.8rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50% 50% 0 50%;
  background: #e4ecd9;
  transform: rotate(315deg);
}
header > div:first-child::after { transform: rotate(135deg); }

@media (max-width: 359px) {
  header > div:first-child { gap: 0.45rem; letter-spacing: 0.08em; }
}

.site-nav-bar {
  background-color: rgb(255 255 255 / 0.94) !important;
  box-shadow:
    0 0 0 1px rgb(63 48 41 / 0.06),
    0 16px 32px -24px rgb(63 48 41 / 0.45);
}

.site-nav-contact {
  box-shadow: inset 0 0 0 1px var(--stone);
}

header nav[aria-label="Primary"] [data-current],
header nav[aria-label="Primary"] [data-current] > button {
  color: var(--shamrock);
  font-weight: 600;
}

/* ---------- Petal ----------
   The brand's single teardrop. It only ever turns in 90° steps. */
.petal {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 50% 50% 0 50%;
  background: var(--shamrock);
  rotate: 45deg;
}

.petal--left {
  rotate: 135deg;
}

.petal--up {
  rotate: 225deg;
}

.petal--right {
  rotate: 315deg;
}

.petal--earth {
  background: var(--earth);
}

.petal--leaf {
  background: var(--leaf);
}

.petal--spring {
  background: var(--spring);
}

.petal--meadow {
  background: var(--meadow);
}

.petal--quiet {
  opacity: 0.45;
}

/* The field: petals in a loose grid, for the closing invitation. */
.petal-field {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  display: grid;
  width: min(30%, 26rem);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  padding: clamp(1.5rem, 3vw, 3rem);
}

.petal-field .petal {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

/* ---------- Full-width photograph with a statement ---------- */
main > section.story-band {
  min-height: 0;
  padding-block: clamp(5.5rem, 8vw, 8rem) !important;
}

/* Two scrims instead of one flat wash: dark where the statement and the
   figure sit, clear towards the skyline so both photographs keep their colour. */
.story-band__wash {
  background:
    linear-gradient(
      0deg,
      rgb(15 42 23 / 0.78) 0%,
      rgb(15 42 23 / 0.4) 50%,
      rgb(15 42 23 / 0.08) 100%
    ),
    linear-gradient(
      90deg,
      rgb(15 42 23 / 0.82) 0%,
      rgb(15 42 23 / 0.38) 55%,
      rgb(15 42 23 / 0.05) 100%
    );
}

/* Nairobi and Dublin side by side behind the statement, one market per half */
.story-band__media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-band__media figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.story-band__media img {
  position: relative;
  display: block;
  z-index: -20;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.04);
}

.story-band__media figcaption {
  position: absolute;
  top: 1.25rem;
  left: clamp(1.25rem, 3vw, 1.875rem);
  z-index: 2;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  background: rgb(15 42 23 / 0.85);
  color: white;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.story-band__media figure:last-child figcaption {
  right: clamp(1.25rem, 3vw, 1.875rem);
  left: auto;
}

/* Lifted above the photograph layer, which otherwise sits over the statement
   and swallows clicks on its link. */
.story-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.figure {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 2rem;
  font-family: "Barlow", Arial, sans-serif !important;
  text-shadow: 0 1px 24px rgb(15 42 23 / 0.45);
}

.figure::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--spring);
  transform-origin: 50% 100%;
  content: "";
}

.figure__value {
  font-size: clamp(3rem, 1.75rem + 4.5vw, 5.75rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.figure__label {
  max-width: 15rem;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.story-band .lead {
  color: rgb(255 255 255 / 0.9) !important;
}

/* ---------- Community hierarchy ---------- */
.supporters {
  display: grid;
  grid-template-areas: "supported founding emerald" "partners partners partners";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.supporters__group:nth-child(1) { grid-area: supported; }
.supporters__group:nth-child(2) { grid-area: founding; }
.supporters__group:nth-child(3) { grid-area: emerald; }
.supporters__group:nth-child(4) { grid-area: partners; }
.supporters__group {
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  background: white;
}
.supporters__group > .eyebrow {
  position: relative;
  padding-left: 0.875rem;
  color: var(--shamrock) !important;
  font-size: 1.125rem !important;
  line-height: 1.3;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.supporters__group > .eyebrow::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  height: auto;
  background: var(--spring);
  content: "";
}
.supporters__logos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.supporters__logos--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.supporters__logos > li {
  display: flex;
  min-width: 0;
  min-height: 7rem;
  align-items: center;
  justify-content: center;
  color: var(--earth);
  font-size: 1.125rem;
  text-align: center;
}
.supporters__logos img {
  width: auto;
  max-width: 100%;
  max-height: 5rem;
  object-fit: contain;
}

.supporters__group--partners img[alt="Embassy of Ireland, Kenya"] {
  width: 100%;
  height: 6rem;
  max-height: none;
}
.supporters__member {
  display: flex;
  width: 100%;
  min-height: 7rem;
  align-items: center;
  justify-content: center;
}
.supporters__name { color: var(--shamrock); font-size: 1.5rem; }

/* ---------- Upcoming events: what is next, as a programme ---------- */
.upcoming {
  border-top: 1px solid rgb(255 255 255 / 0.28);
}

.upcoming__event {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding-block: 1.75rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.28);
  color: white;
  font-family: "Barlow", Arial, sans-serif;
}

.upcoming__date,
.upcoming__body,
.upcoming__meta {
  display: flex;
  flex-direction: column;
}

.upcoming__day {
  font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.upcoming__month,
.upcoming__category {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.upcoming__month {
  margin-top: 0.5rem;
  color: rgb(255 255 255 / 0.75);
}

.upcoming__category {
  color: #b4cf97;
}

.upcoming__title {
  margin-top: 0.5rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-decoration: underline transparent 1px;
  text-underline-offset: 0.25em;
  transition: text-decoration-color var(--motion-base) var(--motion-ease);
}

.upcoming__event:hover .upcoming__title {
  text-decoration-color: currentColor;
}

.upcoming__meta {
  gap: 0.125rem;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.9375rem;
  text-align: right;
}

/* ---------- Two-column introductions ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.split__body > * + * {
  margin-top: 1.5rem;
}

.split__body .text-link {
  margin-top: 2rem;
}

.split--heading-aligned .split__body {
  padding-top: 2.3rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2.5rem;
}

/* A quiet supporting fact under a heading */
.fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--earth) !important;
  font-family: "Barlow", Arial, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.fact .petal {
  width: 0.875rem;
  height: 0.875rem;
}

/* The faces behind the Chamber */
.people {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 30rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone);
}

.people__faces {
  display: flex;
  flex: none;
  padding-left: 0.875rem;
}

.people__faces img {
  width: 3.5rem;
  height: 3.5rem;
  margin-left: -0.875rem;
  border: 3px solid white;
  border-radius: 50%;
  object-fit: cover;
}

.people__text {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  color: var(--earth-soft);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.pillars > li {
  padding-top: 2rem;
  border-top: 1px solid var(--stone);
}

@media (min-width: 900px) {
  .split__lead {
    position: sticky;
    top: 9rem;
  }
}

.pillars h3 {
  margin-top: 1.75rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.pillars p {
  margin-top: 0.75rem;
  font-size: 1rem !important;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

/* The photograph takes the petal as its crop, pointing in to the copy. */
.media-split__image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50% 50% 0 50%;
}

.media-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rule-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--stone);
}

.rule-list > li {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--stone);
}

.rule-list h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.rule-list p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* ---------- Compact membership benefits ---------- */
.membership-compact__background {
  object-position: center 32%;
}

.membership-compact__overlay {
  background:
    linear-gradient(90deg, rgb(10 43 23 / 0.8), rgb(21 76 36 / 0.66)),
    linear-gradient(rgb(13 46 25 / 0.15), rgb(7 34 18 / 0.48));
}

.membership-compact__heading {
  text-align: center;
}

.membership-compact__heading .display {
  margin-inline: auto;
  color: white !important;
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem) !important;
}

.membership-compact__heading .eyebrow {
  justify-content: center;
}

.membership-compact__action {
  margin-top: 1.75rem;
  text-align: center;
}

.membership-compact__cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.75);
  color: white;
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 600;
}

.membership-compact__cta:hover {
  color: rgb(255 255 255 / 0.78);
}

.membership-benefits {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgb(255 255 255 / 0.3);
}

.membership-benefits > li {
  min-width: 0;
  padding: 1.25rem 0.75rem 0;
  text-align: center;
}

.membership-benefits > li + li {
  border-left: 1px solid rgb(255 255 255 / 0.3);
}

.membership-benefits__icon {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 50%;
  color: white;
}

.membership-benefits__icon svg {
  width: 1.8rem;
  height: 1.8rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.membership-benefits h3 {
  margin-top: 0.75rem;
  color: white !important;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Insights ---------- */
.insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.insight {
  display: flex;
  font-family: "Barlow", Arial, sans-serif;
  height: 100%;
  flex-direction: column;
  gap: 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone);
  transition: border-color var(--motion-base) var(--motion-ease);
}

.insight:hover {
  border-top-color: var(--shamrock);
}

.insight .eyebrow {
  color: var(--leaf) !important;
}

.insight__title {
  color: var(--shamrock);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.insight__text {
  color: var(--earth-soft);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.insight .text-link {
  margin-top: auto;
  padding-top: 1rem;
}

/* ---------- Member cards ---------- */
.member-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius-lg);
  background: white;
  transition:
    border-color var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease);
}

.member-card {
  scroll-margin-top: 7rem;
}

.member-card--details:hover,
.member-card.is-linked {
  border-color: var(--shamrock);
  box-shadow: 0 24px 40px -32px rgb(34 97 52 / 0.5);
}

.member-card--details { cursor: pointer; }
.member-card__details {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  min-height: 2.75rem;
  margin-top: auto;
  padding: 0.65rem 0;
  border: 0;
  background: none;
  color: var(--shamrock);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}
.member-card__details:focus-visible { outline: 3px solid var(--spring); outline-offset: 3px; }

.member-dialog {
  width: min(34rem, calc(100% - 2rem));
  max-height: min(90vh, 48rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  background: white;
  color: var(--earth);
  box-shadow: 0 30px 80px rgb(20 45 27 / 0.25);
}
.member-dialog::backdrop { background: rgb(18 43 27 / 0.68); }
.member-dialog__body { position: relative; padding: clamp(1.5rem, 5vw, 2.5rem); }
.member-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--stone);
  border-radius: 50%;
  background: white;
  color: var(--shamrock);
  cursor: pointer;
}
.member-dialog__close svg { width: 1.6rem; height: 1.6rem; }
.member-dialog__eyebrow,
.member-dialog__category {
  color: var(--shamrock);
  font: 700 0.72rem/1.4 "Barlow", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.member-dialog__eyebrow { max-width: calc(100% - 3rem); margin: 0 0 2rem; }
.member-dialog__logo { display: block; width: auto; max-width: 12rem; height: 4.5rem; margin-bottom: 1.5rem; object-fit: contain; object-position: left center; }
.member-dialog__category { margin: 0 0 0.55rem; }
.member-dialog h2 { margin: 0 0 1rem; color: var(--shamrock); font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.15; }
.member-dialog__intro { margin: 0; color: var(--earth-soft); font: 1.08rem/1.65 "Source Serif 4", Georgia, serif; }
.member-dialog__contact { display: grid; gap: 0.8rem; margin: 1.5rem 0 0; }
.member-dialog__contact > div { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0.75rem; }
.member-dialog__contact dt { color: var(--earth-soft); font-weight: 600; }
.member-dialog__contact dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.member-dialog__contact a { color: var(--shamrock); text-decoration: underline; text-underline-offset: 0.2rem; }
.member-dialog__contact [hidden] { display: none; }
.member-dialog__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--stone); }
.member-dialog__website { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; padding: 0.7rem 1.2rem; border-radius: 999px; background: var(--shamrock); color: white; font: 600 0.9rem/1.2 "Barlow", Arial, sans-serif; text-decoration: none; }
.member-dialog__website:hover { background: var(--leaf); }
.member-dialog__back { min-height: 2.75rem; border: 0; background: none; color: var(--shamrock); font: 600 0.9rem/1.2 "Barlow", Arial, sans-serif; text-decoration: underline; text-underline-offset: 0.25rem; cursor: pointer; }
.member-dialog button:focus-visible,
.member-dialog a:focus-visible { outline: 3px solid var(--spring); outline-offset: 3px; }

.member-card > img {
  width: auto;
  max-width: 12rem;
  height: 4rem;
  margin-bottom: 0.75rem;
  object-fit: contain;
  object-position: left center;
}

/* The supplied Village Market artwork has wide transparent margins. */
#member-village-market > img {
  width: 16rem;
  max-width: 100%;
  height: 5rem;
  margin-left: -4rem;
  object-fit: cover;
  object-position: center;
}

#member-embassy-of-ireland > img {
  width: 18rem;
  max-width: 100%;
  height: 4rem;
  object-fit: contain;
}

.member-card__category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--leaf) !important;
  font-family: "Barlow", Arial, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  line-height: 1.4 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-card__tier {
  margin-left: auto;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: var(--shamrock);
  color: white;
  letter-spacing: 0.08em;
}

.member-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.member-card > p:not([class]) {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

.member-card .text-link {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* White cards sitting on white take a hairline so they still read as cards */
main a.group[class~="bg-white"] {
  border: 1px solid var(--stone);
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1099px) {
  .insights {
    grid-template-columns: minmax(0, 1fr);
  }

  .supporters__logos,
  .supporters__logos--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supporters__group--partners .supporters__logos > li:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 899px) {
  .community-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .supporters {
    grid-template-areas:
      "supported"
      "emerald"
      "partners"
      "founding";
    grid-template-columns: minmax(0, 1fr);
  }

  .split,
  .media-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--heading-aligned .split__body {
    padding-top: 0;
  }

  .petal-field {
    width: 70%;
    opacity: 0.35;
  }

  .story-band__wash {
    background: rgb(15 42 23 / 0.72);
  }

  .media-split__image {
    max-width: 26rem;
  }

  .membership-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .membership-benefits > li:nth-child(4) {
    border-left: 0;
  }

  .membership-benefits > li:nth-child(n + 4) {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / 0.3);
  }
}

@media (max-width: 639px) {
  .membership-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-benefits > li:nth-child(odd) {
    border-left: 0;
  }

  .membership-benefits > li:nth-child(n + 3) {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 0.3);
  }

  .membership-benefits__icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .supporters__logos,
  .supporters__logos--grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .supporters__logos > li {
    min-height: 7.5rem;
  }

  .people {
    flex-direction: column;
    align-items: flex-start;
  }

  .figure {
    padding-left: 1.25rem;
  }

  .upcoming__event {
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0.75rem 1rem;
  }

  .upcoming__meta {
    grid-column: 2;
    text-align: left;
  }

  .rule-list > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

/* ---------- Photography ---------- */
.inline-figure img,
.insight__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inline-figure {
  aspect-ratio: 3 / 2;
  margin-top: 3rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.insight__image {
  display: block;
  aspect-ratio: 3 / 2;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.insight__image img {
  transition: transform var(--motion-slow) var(--ease-out);
}

.insight:hover .insight__image img {
  transform: scale(1.04);
}

.insight:has(.insight__image) {
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 639px) {
  .story-band__media {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .story-band__media figcaption {
    display: none;
  }
}

/* ============================================================
   Inner pages
   The same vocabulary as the homepage (eyebrow, display title, split,
   pillars, hairlines) carried through the rest of the site.
   ============================================================ */

/* ---------- Hero figures (member totals) ---------- */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
  color: white;
}

.hero-stats .figure {
  flex-direction: column-reverse;
  justify-content: flex-end;
}

.hero-stats .figure__value {
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

/* The figure on a light surface */
.figure--ink {
  margin-top: 2.5rem;
  color: var(--shamrock);
  text-shadow: none;
}

.figure--ink .figure__label {
  color: var(--earth-soft);
}

/* ---------- Pillars, four across ---------- */
.pillars--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillars__num {
  display: block;
  color: var(--spring);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pillars__num + p {
  margin-top: 1.25rem;
}

/* ---------- Facts set on hairlines ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 2rem 2.5rem;
  font-family: "Barlow", Arial, sans-serif;
}

.stats--stack {
  grid-template-columns: minmax(0, 1fr);
  max-width: 22rem;
}

.split__body > .stats {
  margin-top: 2.5rem;
}

.stats > div {
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone);
}

.stats dt {
  color: var(--leaf);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.stats dd {
  margin-top: 0.625rem;
  color: var(--shamrock);
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.stats dd.stats__note {
  margin-top: 0.375rem;
  color: var(--earth-soft);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

/* ---------- Homepage hero carousel ---------- */
/* Slides are stacked and crossfaded by hero-carousel.js. */
.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--motion-ease);
}

.hero-carousel img.is-active {
  opacity: 1;
}

.hero-carousel img.has-zoom {
  animation: hero-slow-zoom 9.2s linear both;
}

@keyframes hero-slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-carousel.is-paused img {
  animation-play-state: paused;
}

.hero-carousel__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  color: white;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-carousel__controls[hidden] {
  display: none;
}

.hero-carousel__place {
  min-width: 4.5rem;
}

.hero-carousel__dots {
  display: flex;
}

.hero-carousel__toggle {
  display: grid;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.65);
  border-radius: 50%;
  background: rgb(15 42 23 / 0.35);
  color: white;
  transition: background-color 160ms ease;
}

.hero-carousel__toggle svg { width: 1.25rem; height: 1.25rem; }
.hero-carousel__toggle:hover { background: rgb(255 255 255 / 0.2); }
.hero-carousel__controls button:focus-visible { outline: 2px solid white; outline-offset: 4px; }

/* Each button is a full-size tap target around a small dot. */
.hero-carousel__dots button {
  display: grid;
  width: 1.5rem;
  height: 2.75rem;
  place-items: center;
}

.hero-carousel__dots button::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.45);
  content: "";
  transition:
    width var(--motion-base) var(--motion-ease),
    background-color var(--motion-base) var(--motion-ease);
}

.hero-carousel__dots button:hover::before {
  background: rgb(255 255 255 / 0.8);
}

.hero-carousel__dots button[aria-current="true"]::before {
  width: 1.25rem;
  background: white;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel img {
    transition: none;
    animation: none !important;
    transform: none;
  }
}

/* ---------- Photography ---------- */
.archive-art {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: #173f2b;
  color: #f8f5ed;
}
.archive-art__rings {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  left: 45%;
  top: -25%;
  border: 1px solid rgb(201 226 155 / 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgb(201 226 155 / 0.06), 0 0 0 6rem rgb(201 226 155 / 0.04);
}
.archive-art .archive-art__logo { position: relative; width: 9rem; max-width: 65%; height: 3rem; object-fit: contain; object-position: left center; }
.archive-art__label { position: relative; font: 500 0.75rem "Barlow", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; margin-top: auto; padding-top: 2rem; }
.archive-art__year { position: relative; font: 500 clamp(2rem, 4vw, 4rem) "Barlow", sans-serif; line-height: 1.1; padding-top: 0.5rem; }
/* Every block on the page shares the navigation bar's 1408px column */
.archive-detail { padding: 2.5rem var(--gutter) 3rem; }
.archive-detail > * { max-width: 1408px; margin-inline: auto; }
.archive-detail__body { margin-bottom: 2rem; }
.archive-detail__body h1 { max-width: 60rem; }
.archive-detail__body > .eyebrow { margin-top: 1.5rem; }
.archive-detail__date { margin-top: 1.5rem; color: var(--earth-soft); font-size: 1.125rem; }
.archive-detail__cover { overflow: hidden; border-radius: var(--radius-lg); }
.archive-detail__cover > img { width: 100%; height: clamp(14rem, 32vw, 26rem); object-fit: cover; object-position: 50% 35%; }
.archive-detail__cover > .archive-art { min-height: clamp(14rem, 32vw, 26rem); }
.insight__report-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 9999px;
  background: #e4edd5;
  color: var(--shamrock);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.insight__report-badge svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.event-report {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  width: min(1408px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto 4rem;
  padding: clamp(2rem, 5vw, 5rem) max(1.25rem, 5vw);
  border-radius: var(--radius-lg);
  background: var(--shamrock);
  color: white;
}
.event-report__cover {
  position: relative;
  max-width: 27rem;
  justify-self: center;
}
.event-report__cover img {
  display: block;
  width: 100%;
  border-radius: 0.4rem;
  box-shadow: 0 1.5rem 3rem rgb(10 35 19 / 0.42);
  transform: rotate(-1.5deg);
}
.event-report__cover span {
  position: absolute;
  right: -0.75rem;
  bottom: 1.25rem;
  padding: 0.5rem 0.8rem;
  border-radius: 9999px;
  background: var(--spring);
  color: #183d26;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.event-report__body { max-width: 44rem; }
.event-report__body h2 {
  margin-top: 0.75rem;
  color: white;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.event-report__summary {
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 0.82);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.65;
}
.event-report__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  font-family: "Barlow", Arial, sans-serif;
}
.event-report__topics li {
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.24);
  color: rgb(255 255 255 / 0.9);
}
.event-report__topics li::before {
  margin-right: 0.5rem;
  color: #c9df9f;
  content: "◆";
  font-size: 0.55rem;
}
.event-report__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 600;
}
.event-report__button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: white;
  color: var(--shamrock);
}
.event-report__button:hover { background: #e4edd5; }
.event-report__download {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.45);
  text-underline-offset: 0.35em;
}
.event-report__download:hover { text-decoration-color: white; }
.event-report a:focus-visible { outline: 3px solid var(--spring); outline-offset: 4px; }
@media (max-width: 767px) {
  .event-report { grid-template-columns: minmax(0, 1fr); border-radius: 0; }
  .event-report__cover { width: min(78vw, 22rem); }
}
@media (max-width: 479px) {
  .event-report__topics { grid-template-columns: minmax(0, 1fr); }
}
.report-viewer {
  width: min(64rem, calc(100vw - 2rem));
  max-width: none;
  height: calc(100dvh - 2rem);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
}
.report-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.report-viewer::backdrop { background: rgb(15 20 16 / 0.72); }
.report-viewer__bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.6rem 0.75rem 0.6rem 1.25rem;
  background: #e4edd5;
  color: var(--shamrock);
  font-family: "Barlow", Arial, sans-serif;
}
main .report-viewer__bar h2 { margin-right: auto; font-size: 1.05rem; font-weight: 600; }
.report-viewer__bar a { font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 0.3em; }
.report-viewer__bar button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
}
.report-viewer__bar button:hover { background: rgb(34 97 52 / 0.12); }
.report-viewer__bar a:focus-visible,
.report-viewer__bar button:focus-visible { outline: 3px solid var(--spring); outline-offset: 2px; }
.report-viewer iframe { width: 100%; height: 100%; border: 0; }
/* Outrank the site-wide white section and green heading defaults */
main > section.event-report.event-report { background-color: var(--shamrock); }
main > section.archive-gallery { padding-block: 1rem 4rem !important; }
main .event-report .event-report__body h2 { color: white; }
main .event-report .event-report__summary { color: rgb(255 255 255 / 0.82); }
main .event-report .event-report__topics li { color: rgb(255 255 255 / 0.9); }
.archive-gallery { max-width: calc(1408px + 2 * var(--gutter)); margin: 0 auto; padding: 0 1.25rem 4rem; }
.archive-gallery h2 { margin-bottom: 1.5rem; }
.archive-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.archive-gallery__grid button {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: zoom-in;
}
.archive-gallery__grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 300ms ease; }
.archive-gallery__grid button:hover img { transform: scale(1.04); }
.archive-gallery__grid button:focus-visible { outline: 3px solid var(--spring); outline-offset: 3px; }
@media (max-width: 899px) { .archive-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; } }
@media (max-width: 479px) { .archive-gallery__grid { grid-template-columns: 1fr; } }
.photo-viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 1rem;
  background: rgb(15 20 16 / 0.94);
  color: white;
  font-family: "Barlow", Arial, sans-serif;
}
.photo-viewer[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; }
.photo-viewer::backdrop { background: rgb(15 20 16 / 0.94); }
.photo-viewer figure { display: grid; gap: 0.75rem; justify-items: center; margin: 0; }
.photo-viewer img { max-width: 100%; max-height: calc(100dvh - 6rem); border-radius: 0.4rem; object-fit: contain; }
.photo-viewer figcaption { color: rgb(255 255 255 / 0.82); font-size: 0.9rem; text-align: center; }
.photo-viewer button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: white;
  font-size: 1.25rem;
}
.photo-viewer button:hover { background: rgb(255 255 255 / 0.28); }
.photo-viewer button:focus-visible { outline: 3px solid #c9df9f; outline-offset: 2px; }
.photo-viewer__close { position: absolute; top: 1rem; right: 1rem; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .archive-gallery__grid img { transition: none; } }

.inline-figure--flush {
  margin-top: 0;
}

.photo-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}

.photo-row figure {
  height: clamp(14rem, 28vw, 26rem);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.photo-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1100px) {
  .photo-row--center-feature {
    grid-template-columns: 1fr 2fr 1fr;
  }
}

/* ---------- Rule lists beyond <li> ---------- */
.rule-list > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--stone);
}

.rule-list--compact > * {
  grid-template-columns: 7rem minmax(0, 1fr) !important;
}

.rule-list--flush {
  margin-top: 0;
}

.rule-list__term {
  color: var(--shamrock);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.rule-list dd,
.rule-list__text {
  color: var(--earth-soft);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.rule-list dd a {
  color: var(--shamrock);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* ---------- Business Gateway sections ---------- */
/* A photograph with a second one set into its corner, beside the section's
   statement and a grid of numbered topics. */
.gateway {
  --gateway-surface: white;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.section-linen .gateway {
  --gateway-surface: var(--linen);
}

.gateway__media {
  position: relative;
  min-height: clamp(24rem, 38vw, 34rem);
  margin: 0;
}

.gateway--reverse .gateway__media {
  order: 2;
}

.gateway__media img {
  position: absolute;
  object-fit: cover;
}

.gateway__photo {
  inset: 0 2.5rem 2.5rem 0;
  width: calc(100% - 2.5rem);
  height: calc(100% - 2.5rem);
  border-radius: 1.5rem;
}

/* The ring takes the section's own colour, so the inset reads as cut out. */
.gateway__inset {
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 0.5rem solid var(--gateway-surface);
  border-radius: 1.5rem;
}

.gateway__media figcaption {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--shamrock);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gateway__body {
  align-self: center;
}

.gateway__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.25rem;
  counter-reset: topic;
}

.gateway__topics > li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--stone);
  color: var(--earth);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  counter-increment: topic;
}

.gateway__topics > li::before {
  color: var(--spring);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  content: counter(topic, decimal-leading-zero);
}

.resource-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.resource-cards > li {
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: 1.5rem;
  background: var(--linen);
}

.resource-cards h3 {
  margin-top: 1.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.resource-cards p {
  margin-top: 0.625rem;
}

@media (max-width: 899px) {
  .gateway,
  .resource-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .gateway--reverse .gateway__media {
    order: 0;
  }

  .gateway__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 479px) {
  .gateway__topics {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Contact details in the contact hero ---------- */
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  max-width: 35rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.25);
  font-family: "Barlow", Arial, sans-serif;
}

.contact-details dt {
  color: rgb(255 255 255 / 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-details dd {
  margin-top: 0.25rem;
  color: white;
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-details dd a {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (max-width: 479px) {
  .contact-details {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Petal bullets ---------- */
.check-list {
  display: grid;
  gap: 0.75rem;
}

.check-list > li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--earth-soft);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.check-list > li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50% 50% 0 50%;
  background: var(--spring);
  rotate: 45deg;
  content: "";
}

.split__lead > .check-list {
  margin-top: 2rem;
}

/* ---------- Long-form copy ---------- */
.prose > * + * {
  margin-top: 1.25rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.prose > * + h2 {
  margin-top: 2.75rem;
}

.prose .rule-list {
  margin-top: 1.25rem;
}

/* ---------- Leadership ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3rem 2rem;
}

.team > li {
  cursor: pointer;
  text-align: center;
}

/* Portraits take the petal as their crop */
.team img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50% 50% 0 50%;
  background: var(--linen);
  object-fit: cover;
  transition: transform var(--motion-base) var(--motion-ease);
}

.team > li:hover img {
  transform: translateY(-4px);
}

.team__portrait--upper-body {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50% 50% 0 50%;
}

.team .team__portrait--upper-body img {
  display: block;
  height: 100%;
  border-radius: 0;
  object-position: top;
  transform: scale(1.7);
  transform-origin: 50% 30%;
}

.team h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

main .team li p {
  margin-top: 0.375rem;
  color: var(--leaf);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- Membership categories ---------- */
.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Barlow", Arial, sans-serif;
  text-align: left;
}

.tier-table thead th {
  padding: 0 1.5rem 1rem 0;
  border-bottom: 1px solid var(--stone);
  color: var(--leaf);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tier-table tbody :is(th, td) {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--stone);
  color: var(--earth-soft);
  line-height: 1.55;
  vertical-align: top;
}

.tier-table tbody th {
  color: var(--shamrock);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.tier-table :is(th, td):last-child {
  padding-right: 0;
  text-align: right;
}

.tier-table__fee {
  white-space: nowrap;
}

.tier-table__fee strong {
  display: block;
  color: var(--earth);
  font-weight: 600;
}

.tier-table__fee span {
  font-size: 0.875rem;
}

.accordion {
  border-top: 1px solid var(--stone);
}

.accordion > details {
  border-bottom: 1px solid var(--stone);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  font-family: "Barlow", Arial, sans-serif;
  list-style: none;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--shamrock);
  content: "";
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: rotate var(--motion-base) var(--motion-ease);
}

.accordion > details[open] summary::after {
  rotate: 45deg;
}

.accordion__title {
  display: block;
  color: var(--shamrock);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.accordion__meta {
  display: block;
  margin-top: 0.25rem;
  color: var(--earth-soft);
  font-size: 0.9375rem;
}

.accordion__body {
  padding-bottom: 2rem;
}

.accordion__body > a {
  margin-top: 1.75rem;
}

/* ---------- Card grids of insights and events ---------- */
.insights--cards {
  row-gap: 3.5rem;
}

.insight__meta {
  color: var(--earth-soft);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- Lead story ---------- */
/* The lead story: one large photograph with the story set over it. */
.feature {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 22.5rem;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--shamrock);
  font-family: "Barlow", Arial, sans-serif;
}

.feature::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgb(15 42 23 / 0) 25%,
    rgb(15 42 23 / 0.55) 60%,
    rgb(15 42 23 / 0.92)
  );
  content: "";
}

.feature__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow) var(--ease-out);
}

.feature:hover .feature__image img {
  transform: scale(1.03);
}

.feature__body {
  display: flex;
  max-width: 44rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

main .feature :is(.eyebrow, .display, .lead, .insight__meta, .text-link) {
  color: white !important;
}

main .feature :is(.lead, .insight__meta) {
  opacity: 0.85;
}

.feature .lead {
  display: block;
  max-width: 34rem;
  font-family: "Source Serif 4", Georgia, serif;
}

@media (min-width: 768px) {
  .feature {
    aspect-ratio: 1.83;
  }
}

/* On phones the copy fills most of the card, so the shade starts higher. */
@media (max-width: 767px) {
  .feature {
    min-height: 28rem;
  }

  .feature::before {
    background: linear-gradient(
      to bottom,
      rgb(15 42 23 / 0.1),
      rgb(15 42 23 / 0.7) 45%,
      rgb(15 42 23 / 0.94)
    );
  }
}

@media (max-width: 1099px) {
  .pillars--four,
  .insights--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .photo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-row figure:first-child {
    grid-column: 1 / -1;
  }

  /* Each category reads as its own block once the columns run out of room */
  .tier-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .tier-table :is(tbody, tr, th, td) {
    display: block;
  }

  .tier-table tbody tr {
    padding-block: 1.5rem;
    border-bottom: 1px solid var(--stone);
  }

  .tier-table tbody tr:first-child {
    border-top: 1px solid var(--stone);
  }

  .tier-table tbody :is(th, td) {
    padding: 0 0 0.75rem;
    border: 0;
    text-align: left !important;
  }

  .tier-table tbody td:last-child {
    padding-bottom: 0;
  }
}

@media (max-width: 639px) {
  .pillars--four,
  .insights--cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.25rem;
  }

  /* Long names and titles wrap inside the narrow two-column grid. */
  .team h3 {
    font-size: 1.125rem;
    overflow-wrap: anywhere;
  }

  main .team li p {
    letter-spacing: 0.1em;
    overflow-wrap: anywhere;
  }

  .rule-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .rule-list--compact > * {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Reviewed navigation, homepage and supporting-page refinements. */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: white;
  color: var(--shamrock);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
main[id], main section[id], main ul[id] { scroll-margin-top: 9rem; }
main[tabindex="-1"]:focus { outline: none; }
.site-nav-bar { height: 84px; }
.site-nav-bar .brand-logo { flex: none; }
header nav[aria-label="Primary"] > .group[data-open] > div { display: block; }
header nav[aria-label="Primary"] > .group > div[hidden] { display: none; }
header nav[aria-label="Primary"] > .group[data-open] > button svg { transform: rotate(180deg); }
#mobile-navigation[data-open] { display: flex; }
#mobile-navigation[hidden] { display: none; }
#mobile-navigation { max-height: calc(100dvh - 9rem); }
#mobile-navigation > div:first-child { min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
#mobile-navigation > div:first-child a { display: flex; min-height: 44px; align-items: center; padding: 0.35rem 0.25rem; border-radius: 0.5rem; touch-action: manipulation; }
#mobile-navigation > div:first-child a:focus-visible { outline: 2px solid var(--shamrock); outline-offset: 2px; }

@media (max-width: 359px) {
  .hero-carousel__controls { gap: 0.5rem; }
  .hero-carousel__place { min-width: 3.5rem; }
}
@media (min-width: 900px) {
  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
  .hero-carousel__dots button { width: 2rem; }
}

#members .community-intro { gap: 1.5rem 3rem; }
#members .display { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem) !important; }
#members .lead { font-size: clamp(1.125rem, 1rem + 0.3vw, 1.25rem) !important; }
@media (max-width: 1099px) {
  .supporters__group:not(.supporters__group--partners) .supporters__logos {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 899px) {
  .supporters {
    grid-template-areas: "supported founding" "emerald emerald" "partners partners";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .supporters {
    grid-template-areas: "supported" "founding" "emerald" "partners";
    grid-template-columns: minmax(0, 1fr);
  }
  .supporters__logos--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supporters__logos > li { min-height: 6rem; }
}

/* Keep a single yellow focus outline: no competing Tailwind ring. */
footer input[type="email"]:focus-visible {
  outline: 2px solid #f2da4a !important;
  outline-offset: 3px;
  box-shadow: none !important;
}

main > section.contact-hero {
  min-height: 0;
  padding-top: 11rem;
  padding-bottom: 3rem;
}
.contact-hero .contact-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--shamrock);
  color: white;
}
.contact-hero .contact-details dt { color: white; }
@media (max-width: 767px) {
  main > section.contact-hero { padding-top: 10.5rem; padding-bottom: 2rem; }
  .contact-hero > img { object-position: 70% center; }
  .contact-hero h1 { font-size: 2.25rem !important; }
  .contact-hero .contact-details { gap: 1rem; }
  .contact-hero .mt-10 { margin-top: 1.5rem; }
}

.gateway-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.gateway-routes a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  background: white;
  color: var(--shamrock);
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.35;
}
.gateway-routes a:hover { background: var(--linen); }
@media (max-width: 479px) {
  .gateway-routes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  .tier-table tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
    color: var(--leaf);
    font-family: "Barlow", Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
  }
  .tier-table tbody td[data-label] { padding-block: 0.375rem 0.75rem; }
}
