/* ==========================================================================
   SEEHWA Green Foundation — design system
   Palette derived from the foundation logo: forest #1B372E, gold #EDD62F
   ========================================================================== */

:root {
  /* Brand */
  --forest:        #1B372E;
  --gold:          #EDD62F;

  /* Grounds */
  --ink:           #0C1A14;
  --ink-soft:      #12241C;
  --paper:         #FBFAF8;
  --paper-warm:    #F3F1EB;
  --white:         #FFFFFF;

  /* Text */
  --text:          #0C1A14;
  --text-muted:    #5A6560;
  --text-on-dark:  #FBFAF8;
  --muted-on-dark: #9AA8A1;
  --gold-deep:     #6B5D06;   /* gold's legible counterpart on light grounds */

  /* Lines */
  --line:          #E2E5E1;
  --line-strong:   #CDD3CE;
  --line-on-dark:  rgba(251, 250, 248, .16);

  /* Type */
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Metrics */
  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --pad-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 4px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px; left: 1rem;
  z-index: 200;
  padding: .8rem 1.2rem;
  background: var(--ink);
  color: var(--text-on-dark);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- typography ---------- */

.display {
  font-size: clamp(2.6rem, 6.6vw, 6rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 600;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.028em;
  font-weight: 600;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 600;
}

.lede {
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
}

.label {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.label--gold { color: var(--gold-deep); }
.on-dark .label,
.dark .label { color: var(--muted-on-dark); }
.dark .label--gold { color: var(--gold); }

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--pad-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.dark .lede { color: var(--muted-on-dark); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: -.005em;
  border: 1.5px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn--gold:hover { background: #F7E14A; border-color: #F7E14A; }

.btn--ghost-light {
  color: var(--text-on-dark);
  border-color: rgba(251, 250, 248, .45);
}
.btn--ghost-light:hover {
  background: rgba(251, 250, 248, .12);
  border-color: var(--text-on-dark);
}

.btn--dark {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
}
.btn--dark:hover { background: var(--forest); border-color: var(--forest); }

.btn--ghost-dark {
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost-dark:hover { border-color: var(--ink); background: var(--white); }

.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo img {
  width: 168px;
  transition: filter .3s var(--ease);
  /* logo artwork is dark; invert to sit on the photographic hero */
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}
.nav a {
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: -.005em;
  opacity: .82;
  transition: opacity .2s var(--ease);
  position: relative;
}
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
}

.nav__cta-mobile { display: none; }
.header__cta { display: inline-flex; }
.header__cta .btn { min-height: 42px; padding: 0 1.15rem; font-size: .88rem; }

/* scrolled / solid state */
.header.is-solid {
  background: rgba(251, 250, 248, .88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.header.is-solid .header__logo img { filter: none; }
.header.is-solid .btn--ghost-light {
  color: var(--ink);
  border-color: var(--line-strong);
}
.header.is-solid .btn--ghost-light:hover { border-color: var(--ink); background: var(--white); }

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: background .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(12, 26, 20, .58) 0%,
      rgba(12, 26, 20, .20) 32%,
      rgba(12, 26, 20, .55) 68%,
      rgba(12, 26, 20, .88) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(3rem, 7vh, 6rem) clamp(2.5rem, 5vh, 4rem);
}

.hero .label { color: rgba(251, 250, 248, .78); }

.hero__title {
  margin-top: 1.4rem;
  max-width: 17ch;
  color: var(--text-on-dark);
  text-shadow: 0 2px 30px rgba(12, 26, 20, .35);
}

.hero__lede {
  margin-top: 1.6rem;
  max-width: 52ch;
  color: rgba(251, 250, 248, .88);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.4rem;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.5rem, 5vh, 4rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(251, 250, 248, .7);
}
.hero__scroll i {
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(251,250,248,.7), transparent);
  animation: scroll-cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0%, 100% { transform: scaleY(.35); opacity: .4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ---------- credential band ---------- */

.creds {
  background: var(--forest);
  color: var(--text-on-dark);
}
.creds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(251, 250, 248, .14);
}
.creds__item {
  background: var(--forest);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.1rem, 2vw, 1.8rem);
}
.creds__value {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--gold);
}
.creds__label {
  margin-top: .55rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  line-height: 1.45;
}

/* ---------- statement ---------- */

.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.statement__body {
  display: grid;
  gap: 1.2rem;
  padding-top: .5rem;
}
.statement__body p { color: var(--text-muted); }
.statement__body strong { color: var(--text); font-weight: 600; }

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: var(--forest);
  border-bottom: 1.5px solid var(--line-strong);
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color .2s var(--ease);
}
.inline-link:hover { border-color: var(--forest); }
.dark .inline-link { color: var(--gold); border-color: rgba(237, 214, 47, .4); }
.dark .inline-link:hover { border-color: var(--gold); }

/* ---------- focus areas ---------- */

.focus__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.focus__head .h2 { max-width: 18ch; }

.focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.75rem, 1.4vw, 1.15rem);
}

.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(300px, 32vw, 400px);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text-on-dark);
  isolation: isolate;
}
.fcard--wide { grid-column: span 2; }

.fcard__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.fcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.fcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top,
    rgba(12, 26, 20, .90) 0%,
    rgba(12, 26, 20, .55) 42%,
    rgba(12, 26, 20, .12) 100%);
  transition: background .35s var(--ease);
}
.fcard:hover .fcard__media img { transform: scale(1.05); }
.fcard:hover::after {
  background: linear-gradient(to top,
    rgba(12, 26, 20, .94) 0%,
    rgba(12, 26, 20, .70) 52%,
    rgba(12, 26, 20, .30) 100%);
}

.fcard__index {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: .7rem;
}
.fcard__title {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.18;
}
.fcard__text {
  margin-top: .6rem;
  font-size: .94rem;
  line-height: 1.5;
  color: rgba(251, 250, 248, .8);
  max-width: 44ch;
}
.fcard__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--gold);
}
.fcard__more .arrow { transition: transform .2s var(--ease); }
.fcard:hover .fcard__more .arrow { transform: translateX(4px); }

/* ---------- feature band ---------- */

.feature {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 72vh, 720px);
  color: var(--text-on-dark);
  overflow: hidden;
}
.feature__media { position: absolute; inset: 0; z-index: 0; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(12, 26, 20, .93) 0%,
    rgba(12, 26, 20, .80) 42%,
    rgba(12, 26, 20, .35) 100%);
}
.feature__inner { position: relative; z-index: 1; }
.feature__card { max-width: 40rem; }
.feature .h2 { margin-top: 1.2rem; }
.feature__text {
  margin-top: 1.3rem;
  color: rgba(251, 250, 248, .84);
  max-width: 48ch;
}
.feature__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .9rem .45rem .7rem;
  border: 1px solid rgba(237, 214, 47, .45);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- two-door CTA ---------- */

.doors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.75rem, 1.4vw, 1.15rem);
}
.door {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.door:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(12, 26, 20, .07);
}
.door--dark {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--text-on-dark);
}
.door--dark:hover { box-shadow: 0 20px 50px rgba(12, 26, 20, .22); }
.door__title { margin-top: 1rem; }
.door__text {
  margin-top: .9rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 40ch;
}
.door--dark .door__text { color: var(--muted-on-dark); }
.door__list {
  margin-top: 1.5rem;
  display: grid;
  gap: .55rem;
  font-size: .94rem;
}
.door__list li {
  display: flex;
  gap: .65rem;
  color: var(--text-muted);
}
.door--dark .door__list li { color: rgba(251, 250, 248, .82); }
.door__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px; height: 5px;
  margin-top: .62em;
  border-radius: 50%;
  background: var(--forest);
}
.door--dark .door__list li::before { background: var(--gold); }
.door__action { margin-top: auto; padding-top: 2rem; }

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr .9fr 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.footer__logo img {
  width: 176px;
  filter: brightness(0) invert(1);
}
.footer__brand p {
  margin-top: 1.25rem;
  color: var(--muted-on-dark);
  font-size: .97rem;
  max-width: 34ch;
}
.footer__col h2 {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a {
  font-size: .97rem;
  color: rgba(251, 250, 248, .88);
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--gold); }
.footer__col p { color: var(--muted-on-dark); font-size: .97rem; }

.social {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.social svg {
  width: 17px; height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: .87rem;
  color: var(--muted-on-dark);
}
.footer__bottom a { color: var(--muted-on-dark); transition: color .2s var(--ease); }
.footer__bottom a:hover { color: var(--gold); }
.footer__legal { display: inline-flex; align-items: center; gap: .9rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 2.75rem; }
  .creds__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: var(--ink);
    color: var(--text-on-dark);
    border-bottom: 1px solid var(--line-on-dark);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: .95rem 0;
    font-size: 1.15rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line-on-dark);
    opacity: 1;
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav__cta-mobile { display: block; color: var(--gold); font-weight: 600; }
  .nav a[aria-current="page"] { color: var(--gold); }

  .statement__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .focus__grid { grid-template-columns: repeat(2, 1fr); }
  .fcard--wide { grid-column: span 2; }
  .doors__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }

  .hero { min-height: 92svh; }
  .hero__title { max-width: 100%; }
  .hero__actions { margin-top: 2rem; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero__scroll { display: none; }

  .creds__grid { grid-template-columns: 1fr; }
  .creds__item { padding: 1.2rem 1.25rem; display: flex; align-items: baseline; gap: 1rem; }
  .creds__value { font-size: 1.35rem; flex: 0 0 auto; }
  .creds__label { margin-top: 0; }

  .focus__grid { grid-template-columns: 1fr; }
  .fcard--wide { grid-column: span 1; }
  .fcard { min-height: 340px; }

  .feature { min-height: auto; padding-block: clamp(4rem, 12vw, 6rem); }
  .feature__actions .btn { flex: 1 1 100%; justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Reduced motion
   Note: SMIL <animate> inside SVG is NOT affected by CSS. site.js strips it.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .door:hover { transform: none; }
  .fcard:hover .fcard__media img { transform: none; }
}

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */

.phero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 60svh, 620px);
  padding-top: var(--header-h);
  color: var(--text-on-dark);
  overflow: hidden;
}
.phero__media { position: absolute; inset: 0; z-index: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.phero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(12, 26, 20, .62) 0%,
    rgba(12, 26, 20, .34) 40%,
    rgba(12, 26, 20, .82) 100%);
}
.phero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.5rem, 6vh, 4.5rem);
}
.phero .label { color: rgba(251, 250, 248, .78); }
.phero__title {
  margin-top: 1.1rem;
  max-width: 16ch;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.032em;
  font-weight: 600;
  text-wrap: balance;
}
.phero__lede {
  margin-top: 1.35rem;
  max-width: 54ch;
  color: rgba(251, 250, 248, .87);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}

/* compact hero for utility pages (no photograph) */
.phero--compact {
  min-height: 0;
  background: var(--ink);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.phero--compact .phero__title { max-width: 20ch; }

/* ==========================================================================
   Split heading + body
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.split__head .h2 { margin-top: 1.1rem; max-width: 16ch; }
.split__body { display: grid; gap: 1.15rem; padding-top: .4rem; }
.split__body p { color: var(--text-muted); }
.split__body strong { color: var(--text); font-weight: 600; }
.dark .split__body p { color: var(--muted-on-dark); }
.dark .split__body strong { color: var(--text-on-dark); }

/* ==========================================================================
   Chip navigation (work page focus jumps)
   ========================================================================== */

.chipnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(251, 250, 248, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}
.chipnav__scroll {
  display: flex;
  gap: .5rem;
  padding-block: .85rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.chipnav__scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 38px;
  padding: 0 .95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip b {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  color: var(--gold-deep);
}
.chip:hover { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
.chip:hover b { color: var(--gold); }

/* ==========================================================================
   Work detail sections
   ========================================================================== */

.wsection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 70px);
}
.wsection:last-of-type { border-bottom: 0; }
.wsection--reverse .wsection__copy { order: 2; }
.wsection--reverse .wsection__media { order: 1; }

.wsection__index {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.wsection__index::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  max-width: 90px;
}
.wsection__copy .h2 {
  margin-top: 1.15rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  max-width: 20ch;
}
.wsection__copy > p {
  margin-top: 1.15rem;
  color: var(--text-muted);
  max-width: 52ch;
}
.wsection__list {
  margin-top: 1.5rem;
  display: grid;
  gap: .7rem;
}
.wsection__list li {
  display: flex;
  gap: .8rem;
  font-size: .98rem;
  color: var(--text-muted);
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
}
.wsection__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.wsection__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px; height: 5px;
  margin-top: .62em;
  border-radius: 50%;
  background: var(--forest);
}
.wsection__media { margin: 0; }
.wsection__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.wsection__media figcaption {
  margin-top: .85rem;
  font-size: .88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Tiles — auto-fit so a 3-item row never leaves an empty cell
   ========================================================================== */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 28vw, 300px), 1fr));
  gap: clamp(.75rem, 1.4vw, 1.15rem);
}
.tile {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(12, 26, 20, .07);
}
.tile__title { margin-top: .9rem; }
.tile__text { margin-top: .7rem; font-size: .96rem; color: var(--text-muted); }
.tile__action { margin-top: auto; padding-top: 1.5rem; }
.tile .inline-link { font-size: .92rem; }

/* ==========================================================================
   Panels, accordion, forms
   ========================================================================== */

.panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.panel--dark {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--text-on-dark);
}

.accordion { display: grid; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: 0 0 auto;
  width: .55rem; height: .55rem;
  border-right: 1.6px solid var(--text-muted);
  border-bottom: 1.6px solid var(--text-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.accordion details p { padding-bottom: 1.15rem; color: var(--text-muted); max-width: 58ch; }

.placeholder {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 1.5rem;
  margin-block: 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.panel--dark .placeholder {
  border-color: rgba(251, 250, 248, .28);
  color: var(--muted-on-dark);
}

.form { display: grid; gap: .85rem; max-width: 30rem; }
.form label { font-weight: 600; font-size: .95rem; }
.form__row { display: flex; gap: .6rem; }
.form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 1.1rem;
  font: inherit;
  font-size: .98rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s var(--ease);
}
.form input:focus { border-color: var(--forest); }
.form__note { font-size: .88rem; color: var(--text-muted); }
.panel--dark .form input { border-color: rgba(251, 250, 248, .3); }
.panel--dark .form__note { color: var(--muted-on-dark); }

/* ==========================================================================
   People
   ========================================================================== */

.founder {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.founder__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius);
}
.founder__name {
  margin-top: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 600;
}
.founder__role { margin-top: .9rem; color: var(--text-muted); font-size: 1.05rem; }

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 24vw, 270px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.person { background: var(--white); padding: clamp(1.25rem, 2.2vw, 1.75rem); }
.person__name { font-weight: 600; font-size: 1.05rem; letter-spacing: -.015em; }
.person__role {
  margin-top: .4rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Contact details
   ========================================================================== */

.contact-list { display: grid; gap: 1.5rem; }
.contact-list > div { display: grid; gap: .35rem; }
.contact-list a,
.contact-list address {
  font-style: normal;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -.015em;
  transition: color .2s var(--ease);
}
.contact-list a:hover { color: var(--forest); }

/* ==========================================================================
   Prose (policy pages)
   ========================================================================== */

.prose { max-width: 68ch; display: grid; gap: 1.1rem; }
.prose h2 {
  margin-top: 1.75rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); }
.prose a { color: var(--forest); font-weight: 500; border-bottom: 1.5px solid var(--line-strong); }
.prose a:hover { border-color: var(--forest); }

/* ==========================================================================
   Interior-page responsive
   ========================================================================== */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  .founder { grid-template-columns: 1fr; }
  .founder__media img { aspect-ratio: 3 / 2; object-position: center 20%; }
  .wsection { grid-template-columns: 1fr; gap: 1.75rem; }
  .wsection--reverse .wsection__copy,
  .wsection--reverse .wsection__media { order: initial; }
  .wsection__media { order: -1; }
  .chipnav { top: var(--header-h); }
}

@media (max-width: 620px) {
  .phero { min-height: clamp(380px, 54svh, 480px); }
  .phero__title { max-width: 100%; }
  .wsection__copy .h2 { max-width: 100%; }
  .form__row { flex-direction: column; }
  .form input { border-radius: var(--radius); }
  .form .btn { justify-content: center; }
}

/* ==========================================================================
   Partners
   Source logos are inconsistent: most sit on white, two carry their own
   coloured background, one is transparent. Each is centred inside a white
   card so the wall reads as one set regardless of what the file contains.
   ========================================================================== */

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 22vw, 260px), 1fr));
  gap: clamp(.75rem, 1.4vw, 1.15rem);
}

.partner {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.partner:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(12, 26, 20, .07);
}

.partner__mark {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
}
.partner__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* logos are supplied at wildly different densities; cap the optical size
     so a 200px mark and a 1080px mark read at the same weight */
  max-height: 100px;
  max-width: 82%;
}

/* logos that carry their own coloured background need less breathing room,
   otherwise the colour block reads as a stray swatch inside the card */
.partner--bleed .partner__mark { padding: clamp(1rem, 2vw, 1.4rem); }
.partner--bleed .partner__mark img { max-height: 118px; max-width: 92%; }

.partner__name {
  padding: 1rem clamp(1rem, 2vw, 1.35rem) 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.35;
  text-wrap: balance;
}

@media (max-width: 620px) {
  .partners { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .partner__mark { padding: 1.1rem; aspect-ratio: 4 / 3; }
  .partner__mark img { max-height: 68px; }
  .partner--bleed .partner__mark img { max-height: 80px; }
  .partner__name { padding: .8rem .85rem 1rem; font-size: .86rem; }
}
