/* ==========================================================================
   Solstice Impact — Phase 1
   Design tokens

   Palette is drawn from a solstice sunrise over Chester County farmland:
   pre-dawn indigo, weathered sarsen grey, marigold light, ember, and the
   green of the Brandywine watershed. Deliberately NOT a cream-and-terracotta
   scheme — the warmth here comes from marigold against indigo, with the
   meadow green doing the "people and place" work.
   ========================================================================== */

:root {
  /* colour */
  --night-900:      #0C1229;
  --night-800:      #141B34;
  --night-700:      #1F2A50;
  --sarsen:         #7E7A88;
  --marigold:       #F5B335;
  --marigold-soft:  #FFD98A;
  --ember:          #C9503C;
  --meadow:         #2F6B4F;
  --meadow-soft:    #DCE8DF;
  --parchment:      #FCF8F0;
  --parchment-deep: #F4EBD9;
  --ink:            #1A1D28;
  --ink-soft:       #565B6E;
  --rule-light:     rgba(255, 255, 255, .16);
  --rule-dark:      rgba(26, 29, 40, .14);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --step--1: clamp(.82rem, .78rem + .18vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .22vw, 1.12rem);
  --step-1:  clamp(1.16rem, 1.08rem + .42vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.32rem + .9vw, 2.1rem);
  --step-3:  clamp(2rem, 1.66rem + 1.7vw, 3.1rem);
  --step-4:  clamp(2.7rem, 2.0rem + 3.4vw, 5.1rem);

  /* space */
  --shell:      min(1180px, 100% - 2.5rem);
  --pad-block:  clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --gap:        clamp(1.5rem, 1rem + 2vw, 3rem);
  --radius:     14px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
svg { display: block; }

a { color: inherit; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 999;
  padding: .7rem 1.1rem;
  background: var(--marigold);
  color: var(--night-900);
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

.shell { width: var(--shell); margin-inline: auto; }

.tm {
  font-size: .42em;
  vertical-align: super;
  letter-spacing: 0;
  font-family: var(--body);
  font-weight: 500;
}

/* ==========================================================================
   Typographic roles
   ========================================================================== */

.eyebrow {
  margin-bottom: 1rem;
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--meadow);
}
.eyebrow--light  { color: var(--marigold); }
.eyebrow--accent { color: var(--ember); }

.h2 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 100;
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.h2--light { color: var(--parchment); }

.lede {
  margin-top: 1.15rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
}
.lede--light { color: rgba(252, 248, 240, .9); }

.body {
  margin-top: 1.1rem;
  color: var(--ink-soft);
}
.body--light { color: rgba(252, 248, 240, .68); }

.measure { max-width: 62ch; }
.measure--center { max-width: 58ch; margin-inline: auto; text-align: center; }

/* ==========================================================================
   Buttons & links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  padding: .95rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease,
              border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: var(--marigold);
  color: var(--night-900);
}
.btn--solid:hover { background: var(--marigold-soft); }

.btn--dark {
  background: var(--night-800);
  color: var(--parchment);
}
.btn--dark:hover { background: var(--night-700); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: var(--parchment);
}
.btn--ghost:hover { border-color: var(--marigold); color: var(--marigold); }

.btn--block { width: 100%; justify-content: center; margin-top: 1.5rem; }

.link-arrow {
  font-weight: 700;
  color: var(--meadow);
  text-decoration: none;
  border-bottom: 2px solid var(--meadow-soft);
  padding-bottom: 2px;
  transition: border-color .16s ease;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-color: var(--meadow); }

/* ==========================================================================
   Masthead
   ========================================================================== */

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.masthead.is-stuck {
  background: rgba(12, 18, 41, .92);
  backdrop-filter: blur(10px);
  padding-block: .65rem;
  box-shadow: 0 1px 0 var(--rule-light);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--parchment);
  flex: 0 0 auto;
}
.wordmark__img {
  display: block;
  width: auto;
  height: clamp(46px, 3.4vw, 62px);
  transition: height .3s ease;
}
.masthead.is-stuck .wordmark__img { height: clamp(38px, 2.6vw, 46px); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, .4rem + 1.3vw, 2rem);
}
.nav__link {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  color: rgba(252, 248, 240, .82);
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav__link:hover { color: var(--marigold); }
.nav__link.is-current { color: var(--parchment); border-bottom-color: var(--marigold); }

.nav__link--cta {
  padding: .5rem 1.05rem;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
}
.nav__link--cta:hover { border-color: var(--marigold); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  padding: .5rem .9rem;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: var(--parchment);
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 16px; height: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -5px; }
.nav-toggle__bars::after  { position: absolute; top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   Hero — Stonehenge sunrise, logo, headline, phone
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  padding-block: clamp(9rem, 7rem + 9vw, 13rem) clamp(3.5rem, 2rem + 5vw, 6rem);
  overflow: hidden;
  background: var(--night-900);
  isolation: isolate;
}

/* --- Background photograph --------------------------------------------- */
.hero__media { position: absolute; inset: 0; z-index: 0; }

.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 100% 56%;
  display: block;
  filter: brightness(.62) saturate(.92);
  animation: heroDawn 2.8s cubic-bezier(.22,.61,.36,1) .15s forwards;
}
@keyframes heroDawn {
  to { filter: brightness(1) saturate(1); }
}

/* --- Sunrise glow through the central opening --------------------------- */
.hero__glow {
  position: absolute;
  left: 68%; top: 60%;
  width: min(62vw, 720px); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle closest-side,
              rgba(255,226,160,.72) 0%,
              rgba(245,179,53,.34) 38%,
              rgba(245,179,53,0) 72%);
  opacity: 0;
  scale: .55;
  animation: heroGlow 3.2s cubic-bezier(.22,.61,.36,1) .3s forwards;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes heroGlow {
  60%  { opacity: 1; }
  to   { opacity: .92; scale: 1; }
}

/* --- Scrim: headline legibility wherever the light falls ---------------- */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgba(8,12,28,.90) 0%,
      rgba(8,12,28,.72) 28%,
      rgba(8,12,28,.28) 52%,
      rgba(8,12,28,.10) 72%),
    linear-gradient(to bottom,
      rgba(8,12,28,.78) 0%,
      rgba(8,12,28,0) 26%);
  pointer-events: none;
}

/* --- Layout ------------------------------------------------------------- */
.hero__inner {
  position: relative; z-index: 2;
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.hero__copy { max-width: none; }

.hero__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 28, "WONK" 1;
  font-weight: 500;
  font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -.022em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(6,10,24,.55);
}
.hero__title .tm {
  font-size: .30em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: .06em;
  font-weight: 400;
}

.hero__rule {
  display: block;
  width: 84px; height: 3px;
  margin-block: clamp(1.4rem, 1rem + 1.2vw, 2.1rem) clamp(1.2rem, .9rem + 1vw, 1.7rem);
  background: var(--marigold);
  border-radius: 2px;
}

.hero__lede {
  font-size: clamp(1.02rem, .95rem + .35vw, 1.24rem);
  line-height: 1.62;
  color: rgba(255,255,255,.90);
  margin: 0;
  max-width: 42ch;
  text-shadow: 0 1px 16px rgba(6,10,24,.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
}

/* --- Buttons ------------------------------------------------------------ */
.btn--gold {
  background: var(--marigold);
  color: var(--night-900);
  border: 2px solid var(--marigold);
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  font-size: .82rem;
  padding: 1.02rem 1.9rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px -12px rgba(245,179,53,.7);
}
.btn--gold:hover { background: var(--marigold-soft); border-color: var(--marigold-soft); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  font-size: .82rem;
  padding: 1.02rem 1.9rem;
  border-radius: 999px;
}
.btn--ghost:hover { border-color: var(--marigold); color: var(--marigold); }

/* --- Phone -------------------------------------------------------------- */
.hero__phone {
  justify-self: end;
  width: clamp(150px, 17vw, 232px);
  translate: clamp(0px, 1.4vw, 30px) 0;
  filter: drop-shadow(-18px 34px 56px rgba(4,8,20,.66));
  opacity: 0;
  transform: perspective(1400px) rotateY(-13deg) rotateZ(1.2deg) translateY(22px);
  transform-origin: 60% 50%;
  animation: heroPhone 1.5s cubic-bezier(.22,.61,.36,1) 1.15s forwards;
}
.hero__phone img { width: 100%; height: auto; display: block; }
@keyframes heroPhone {
  to { opacity: 1; transform: perspective(1400px) rotateY(-13deg) rotateZ(1.2deg) translateY(0); }
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { align-items: flex-start; }
  .hero__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: clamp(2.2rem, 1rem + 6vw, 3rem);
  }
  .hero__copy { max-width: none; }
  .hero__img { object-position: 78% 58%; }
  .hero__phone {
    justify-self: center;
    width: clamp(150px, 38vw, 210px);
    translate: none;
  }
  .hero__glow { width: min(115vw, 560px); left: 50%; top: 40%; }
}

@media (max-width: 460px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
    padding-inline: 1.2rem;
    letter-spacing: .03em;
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img   { animation: none; filter: brightness(1) saturate(1); }
  .hero__glow  { animation: none; opacity: .9; scale: 1; }
  .hero__phone { animation: none; opacity: 1; transform: perspective(1400px) rotateY(-13deg) rotateZ(1.2deg); }
}

/* ==========================================================================
   Value band — "Together, we create more impact."
   ========================================================================== */

.value-band {
  background: var(--parchment);
  padding-block: clamp(3rem, 2rem + 4vw, 4.6rem);
}

.value-band__title {
  font-family: var(--body);
  font-size: clamp(.95rem, .88rem + .3vw, 1.12rem);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--night-900);
  margin: 0 0 .9rem;
}

.value-band__rule {
  width: 62px; height: 2px;
  margin: 0 auto clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  background: var(--marigold);
  border-radius: 2px;
}

.value-band__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, .4rem + 2vw, 2.2rem);
}

.value-item { display: flex; gap: .9rem; align-items: flex-start; }
.value-band__list > li + li { border-left: 1px solid rgba(12,18,41,.13); padding-left: clamp(1rem, .4rem + 2vw, 2.2rem); }

.value-item__icon { flex: 0 0 auto; color: var(--marigold); margin-top: .1rem; }
.value-item__icon svg { display: block; width: 34px; height: 34px; }

.value-item__name {
  font-family: var(--body);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--night-900);
  margin: 0 0 .34rem;
  line-height: 1.25;
}
.value-item__text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 1000px) {
  .value-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.8rem; }
  .value-band__list > li + li { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .value-band__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: var(--pad-block); }

.section--dawn {
  padding-bottom: calc(var(--pad-block) * .7);
  background: linear-gradient(180deg,
    #0C1229 0%,
    #1D2447 30%,
    #3D3157 54%,
    #6A4759 74%,
    #91594F 88%,
    #CB9C82 96%,
    #FCF8F0 100%);
}
.section--parchment      { background: var(--parchment); }
.section--parchment-deep { background: var(--parchment-deep); }
.section--night          { background: var(--night-900); }
.section--network        { background: var(--night-800); }
.section--contact {
  background: var(--parchment);
  border-top: 3px solid var(--marigold);
}

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

.split {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 1rem + 5vw, 6rem); }
  .split--wide { grid-template-columns: 1fr 1fr; }
  .split--form { grid-template-columns: 1fr 1fr; align-items: start; }
  .split--reverse .split__body  { order: 2; }
  .split--reverse .split__aside { order: 1; }
}

/* --- Tally (stats) ------------------------------------------------------ */

.tally {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--rule-light);
}
.tally__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #FFE9C7;
}
.tally__value {
  margin: .35rem 0 .3rem;
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 100;
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.05;
  color: var(--parchment);
}
.tally__note {
  margin: 0;
  font-size: var(--step--1);
  color: rgba(255, 250, 242, .8);
}

/* --- Steps -------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  background: var(--meadow-soft);
  border-radius: var(--radius);
}
.steps__item { display: flex; gap: 1rem; align-items: flex-start; }
.steps__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  background: var(--meadow);
  border-radius: 50%;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
}
.steps__text { color: var(--ink-soft); font-size: var(--step-0); line-height: 1.55; }
.steps__text strong { color: var(--ink); font-weight: 700; }

/* --- Commitments -------------------------------------------------------- */

.commitments {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.commitment {
  padding: 2rem 1.8rem;
  background: var(--parchment);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
}
.commitment__arc {
  display: block;
  width: 56px; height: 28px;
  margin-bottom: 1.4rem;
  border-radius: 56px 56px 0 0;
  border: 3px solid var(--marigold);
  border-bottom: none;
  opacity: .35;
}
.commitment__arc--mid  { opacity: .65; }
.commitment__arc--full { opacity: 1; }
.commitment__arc span {
  display: block;
  width: 10px; height: 10px;
  margin: 12px auto 0;
  background: var(--marigold);
  border-radius: 50%;
}
.commitment__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 60;
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.1;
}
.commitment__text { margin-top: .7rem; color: var(--ink-soft); }

/* --- Beneficiaries ------------------------------------------------------ */

.beneficiaries__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--marigold);
}
.beneficiaries { margin-top: 1.2rem; }
.beneficiaries li {
  padding: .95rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 40;
  font-size: var(--step-1);
  color: rgba(252, 248, 240, .88);
}
.beneficiaries li:first-child { border-top: 1px solid var(--rule-light); }

/* --- Team cards --------------------------------------------------------- */

.teams {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.team-card {
  padding: 1.7rem 1.5rem;
  background: #fff;
  border: 1px solid var(--rule-dark);
  border-left: 4px solid var(--ember);
  border-radius: 6px;
}
.team-card--cta { border-left-color: var(--meadow); }
.team-card__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 40;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.2;
}
.team-card__text { margin-top: .6rem; font-size: var(--step--1); color: var(--ink-soft); }

.focus__foot { margin-top: 2.4rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem; background: var(--night-900); color: var(--parchment); }

.footer__inner {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer__inner { grid-template-columns: 1.4fr 1fr; } }

.footer__wordmark {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 60;
  font-size: var(--step-2);
  font-weight: 400;
}
.footer__wordmark strong { font-weight: 700; }
.footer__tag { margin-top: .3rem; color: var(--marigold); font-weight: 700; }
.footer__note { margin-top: .9rem; max-width: 40ch; color: rgba(252, 248, 240, .58); font-size: var(--step--1); }

.footer__heading {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--marigold);
  margin-bottom: .9rem;
}
.footer__nav li { margin-bottom: .55rem; }
.footer__nav a {
  color: rgba(252, 248, 240, .78);
  text-decoration: none;
  font-size: var(--step--1);
}
.footer__nav a:hover { color: var(--marigold); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-light);
  font-size: var(--step--1);
  color: rgba(252, 248, 240, .5);
}
.footer__mission { color: var(--marigold); font-weight: 700; letter-spacing: .04em; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.68,.3,1), transform .7s cubic-bezier(.22,.68,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Mobile navigation
   ========================================================================== */

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    padding: 5.5rem 1.5rem 2rem;
    background: rgba(12, 18, 41, .98);
    backdrop-filter: blur(12px);
    transform: translateY(-102%);
    transition: transform .32s cubic-bezier(.22,.68,.3,1);
    visibility: hidden;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
  }
  .nav__list li { width: 100%; }
  .nav__link {
    display: block;
    width: 100%;
    padding: .9rem 0;
    font-size: var(--step-1);
    border-bottom: 1px solid var(--rule-light);
  }
  .nav__link--cta {
    margin-top: 1rem;
    padding: .9rem 1.4rem;
    text-align: center;
    border: 1.5px solid var(--marigold);
    color: var(--marigold);
  }
  .nav__link.is-current { border-bottom-color: var(--rule-light); }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .henge__sun  { transform: none; opacity: 1; }
  .henge__beam { transform: none; opacity: 1; }
  .folk        { opacity: .5; }
  .hero__scroll span { animation: none; }
  .reveal      { opacity: 1; transform: none; }
}

/* ==========================================================================
   /network — The Solstice Network
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- Page head ---------------------------------------------------------- */

.netro {
  padding-block: clamp(4.8rem, 4.2rem + 1.8vw, 5.8rem) clamp(.8rem, .6rem + .7vw, 1.2rem);
  background: linear-gradient(180deg, #0C1229 0%, #141B34 100%);
  color: var(--parchment);
}

.netro__title {
  margin-block: .3rem 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 144;
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--parchment);
}

.netro__lede {
  margin-top: 1.05rem;
  max-width: 92ch;
  font-size: var(--step-0);
  line-height: 1.55;
  color: rgba(252, 248, 240, .8);
}

/* The opening paragraph runs wider than the standard measure */
.netro .measure { max-width: none; }

.netro__body {
  margin-top: 1.15rem;
  font-size: var(--step-0);
  line-height: 1.68;
  color: rgba(252, 248, 240, .68);
}

.netro__tag {
  margin-top: 1.9rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--marigold);
}

/* --- Layout ------------------------------------------------------------- */

.puzzlebed { padding-top: clamp(.6rem, .4rem + .8vw, 1.2rem); }

/* Short viewports: trim the hero further so the puzzle still clears the fold */
@media (min-width: 700px) and (max-height: 800px) {
  .netro { padding-block: 3.9rem .5rem; }
  .netro__lede { margin-top: .8rem; }
}

.netgrid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .netgrid { grid-template-columns: 1.05fr .95fr; }
}

.puzzlewrap {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
}
.bigpuzzle { width: 100%; height: auto; overflow: visible; }

.puzzlewrap__hint {
  max-width: 34ch;
  margin: 1.4rem auto 0;
  text-align: center;
  font-size: var(--step--1);
  color: rgba(252, 248, 240, .55);
}

/* --- Pieces ------------------------------------------------------------- */

.piece { cursor: pointer; }

.piece__shape {
  fill: rgba(245, 179, 53, .07);
  stroke: rgba(245, 179, 53, .55);
  stroke-width: 2;
  transition: fill .2s ease, stroke .2s ease;
}
.piece__label {
  fill: rgba(252, 248, 240, .9);
  font-family: var(--body);
  font-size: 20px;
  font-weight: 700;
  pointer-events: none;
}
.piece__role {
  fill: rgba(252, 248, 240, .5);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  pointer-events: none;
  transition: fill .2s ease;
}
.piece__core-label {
  fill: var(--parchment);
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 60;
  font-size: 34px;
  font-weight: 600;
  pointer-events: none;
}

.piece:hover .piece__shape { fill: rgba(245, 179, 53, .18); }

.piece.is-selected .piece__shape {
  fill: rgba(245, 179, 53, .28);
  stroke: var(--marigold);
  stroke-width: 3;
}
.piece.is-selected .piece__role { fill: rgba(252, 248, 240, .78); }

/* core pieces read as a different material to the outer ring */
.piece--core .piece__shape {
  fill: rgba(47, 107, 79, .34);
  stroke: rgba(220, 232, 223, .5);
}
.piece--core:hover .piece__shape { fill: rgba(47, 107, 79, .5); }
.piece--core.is-selected .piece__shape {
  fill: rgba(47, 107, 79, .62);
  stroke: var(--meadow-soft);
}

.piece:focus { outline: none; }
.piece:focus-visible .piece__shape {
  stroke: var(--marigold);
  stroke-width: 4;
  stroke-dasharray: 8 5;
}

/* --- Tooltip ------------------------------------------------------------ */

.tip {
  position: absolute;
  z-index: 3;
  padding: .45rem .8rem;
  transform: translate(-50%, -145%);
  background: var(--parchment);
  border-radius: 999px;
  color: var(--night-900);
  font-size: var(--step--1);
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.tip[hidden] { display: none; }

@media (max-width: 620px) { .tip { display: none; } }

/* --- Detail panel ------------------------------------------------------- */

.orgpanel {
  padding: clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--rule-light);
  border-left: 4px solid var(--marigold);
  border-radius: var(--radius);
}

.orgpanel__role {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--marigold);
}
.orgpanel__name {
  margin-top: .5rem;
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 90;
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.1;
  color: var(--parchment);
}
.orgpanel__text {
  margin-top: 1rem;
  color: rgba(252, 248, 240, .74);
}
.orgpanel__points { margin-top: 1.2rem; display: grid; gap: .55rem; }
.orgpanel__points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--step--1);
  color: rgba(252, 248, 240, .82);
}
.orgpanel__points li::before {
  position: absolute;
  left: 0; top: .52em;
  width: 7px; height: 7px;
  background: var(--marigold);
  border-radius: 50%;
  content: "";
}
.orgpanel__cta[hidden] { display: none; }

.orgpanel.is-swapping { animation: panelIn .32s cubic-bezier(.22,.68,.3,1); }
@keyframes panelIn {
  from { opacity: .35; transform: translateY(6px); }
  to   { opacity: 1;   transform: none; }
}

/* --- Organization cards ------------------------------------------------- */

.orgcards {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.orgcard {
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.7rem;
  background: #fff;
  border: 1px solid var(--rule-dark);
  border-top: 4px solid var(--marigold);
  border-radius: 8px;
}
.orgcard__role {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--meadow);
}
.orgcard__name {
  margin-top: .45rem;
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 50;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.18;
}
.orgcard__text { margin-top: .75rem; font-size: var(--step--1); color: var(--ink-soft); }
.orgcard__points { margin-top: 1rem; display: grid; gap: .4rem; }
.orgcard__points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.orgcard__points li::before {
  position: absolute;
  left: 0; top: .55em;
  width: 5px; height: 5px;
  background: var(--ember);
  border-radius: 50%;
  content: "";
}
.orgcard__cta { margin-top: auto; padding-top: 1.4rem; align-self: flex-start; }

/* --- Visitor pathways --------------------------------------------------- */

.paths {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.path {
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.6rem;
  background: var(--parchment);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
}
.path__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 50;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}
.path__text { margin-top: .7rem; font-size: var(--step--1); color: var(--ink-soft); }
.path .link-arrow { margin-top: auto; padding-top: 1.3rem; align-self: flex-start; }

/* Small screens: drop the role line and enlarge names so the puzzle stays
   readable. The organization cards below carry the same content in full. */
@media (max-width: 620px) {
  .piece__role { display: none; }
  .piece__label { font-size: 23px; }
  .piece__core-label { font-size: 38px; }
  .puzzlewrap__hint { max-width: 28ch; }
}


/* Inline arrow links on dark sections */
.link-arrow--light {
  color: var(--marigold);
  border-bottom-color: rgba(245, 179, 53, .45);
}
.link-arrow--light:hover { border-color: var(--marigold); }

/* ==========================================================================
   Solstice Network — interactive puzzle
   ========================================================================== */

.npz {
  position: relative;
  /* The 58vh term keeps the whole puzzle in view on short screens without
     forcing a scroll; the artwork's own ratio still governs its shape. */
  width: min(100%, 620px, 55vh);
  margin: 0 auto;
  isolation: isolate;
}

/* The core layer sits in normal flow and sets the height, so the puzzle's
   proportions come from the artwork rather than from a declared ratio. */
.npz__base {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.npz__piece img,
.npz__faith img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.npz__base { z-index: 0; filter: drop-shadow(0 18px 40px rgba(4, 8, 20, .5)); }

/* Each wedge is clipped to its own outline, so only the piece itself is clickable */
.npz__piece {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: var(--clip);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1),
              filter    .3s cubic-bezier(.22, .61, .36, 1);
  transform: translate(0, 0) scale(1);
  filter: drop-shadow(0 14px 26px rgba(4, 8, 20, .42));
  -webkit-tap-highlight-color: transparent;
}

.npz__piece:hover,
.npz__piece:focus-visible,
.npz__piece.is-tapped {
  transform: translate(calc(var(--ux) * 7px), calc(var(--uy) * 7px)) scale(1.03);
  filter: drop-shadow(0 20px 34px rgba(4, 8, 20, .55))
          drop-shadow(0 0 16px rgba(245, 179, 53, .55));
  z-index: 3;
}

.npz__piece:focus-visible { outline: 3px solid var(--marigold); outline-offset: 4px; }

.npz__piece:active {
  transform: translate(calc(var(--ux) * 3px), calc(var(--uy) * 3px)) scale(.995);
  transition-duration: .1s;
}

.npz__hint {
  text-align: center;
  margin: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem) 0 0;
  font-size: var(--step--1);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(252, 248, 240, .56);
}

/* --- Organization cards --------------------------------------------------- */
.npzcards {
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, .6rem + 1.4vw, 1.6rem);
}
@media (max-width: 900px) { .npzcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .npzcards { grid-template-columns: 1fr; } }

.npzcard {
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--rule-light);
  border-top: 3px solid var(--org, var(--marigold));
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: background-color .2s ease, transform .2s ease;
}
.npzcard:hover { background: rgba(255, 255, 255, .075); transform: translateY(-3px); }

.npzcard--innovation { --org: #0A376E; }
.npzcard--impact     { --org: #5F6414; }
.npzcard--team       { --org: #CD4616; }
.npzcard--festivals  { --org: #0A5A6E; }
.npzcard--waykool    { --org: #D2820A; }

.npzcard__name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--parchment);
  margin: 0;
  line-height: 1.15;
}
.npzcard__text {
  margin: 0;
  color: rgba(252, 248, 240, .74);
  font-size: var(--step--1);
  line-height: 1.6;
  flex: 1;
}
.npzcard__cta {
  align-self: flex-start;
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--marigold);
  text-decoration: none;
  border-bottom: 2px solid rgba(245, 179, 53, .38);
  padding-bottom: 2px;
  transition: border-color .16s ease;
}
.npzcard__cta::after { content: " \2192"; }
.npzcard__cta:hover { border-color: var(--marigold); }

@media (prefers-reduced-motion: reduce) {
  .npz__piece, .npzcard { transition: none; }
  .npz__piece:hover, .npz__piece:focus-visible, .npz__piece.is-tapped {
    transform: none;
    filter: drop-shadow(0 0 14px rgba(245, 179, 53, .7));
  }
  .npzcard:hover { transform: none; }
}

/* Narrative that follows the network puzzle */
.npz__after { margin: clamp(2.4rem, 1.8rem + 2vw, 3.6rem) auto 0; }
.npz__after .netro__body:first-child { margin-top: 0; }

/* --- Faith at the centre: lights up on hover ------------------------------ */
.npz__faith {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* The hit area is the circle itself */
.npz__faith::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18.5%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: auto;
  cursor: help;
}

.npz__faith img {
  transition: filter .42s ease, transform .42s cubic-bezier(.22,.61,.36,1);
  transform: scale(1);
  transform-origin: 50% 50%;
}

/* Light behind the circle */
.npz__shine {
  position: absolute;
  left: 50%; top: 50%;
  width: 26%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle closest-side,
              rgba(255, 244, 206, .95) 0%,
              rgba(255, 214, 120, .70) 30%,
              rgba(245, 179, 53, .34) 52%,
              rgba(245, 179, 53, 0) 76%);
  opacity: 0;
  transition: opacity .42s ease, width .55s cubic-bezier(.22,.61,.36,1);
  mix-blend-mode: screen;
  pointer-events: none;
}

.npz__faith:hover .npz__shine,
.npz__faith.is-lit .npz__shine { opacity: 1; width: 54%; }

.npz__faith:hover img,
.npz__faith.is-lit img {
  transform: scale(1.05);
  filter: brightness(1.22) drop-shadow(0 0 14px rgba(255, 205, 105, .85));
}

@media (prefers-reduced-motion: reduce) {
  .npz__faith img { transition: filter .3s ease; }
  .npz__faith:hover img, .npz__faith.is-lit img { transform: none; }
  .npz__shine { transition: opacity .3s ease; width: 54%; }
}

/* ==========================================================================
   Team Solstice Impact page
   ========================================================================== */

.tsi-hero {
  background: linear-gradient(180deg, #0C1229 0%, #141B34 100%);
  color: var(--parchment);
  padding-block: clamp(5rem, 4.2rem + 2.4vw, 6.6rem) clamp(2.6rem, 2rem + 2.4vw, 4rem);
}

.tsi-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
}

.tsi-hero__title {
  margin: .3rem 0 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 144;
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.024em;
  color: var(--parchment);
  text-wrap: balance;
}

.tsi-rule {
  display: block;
  width: 74px; height: 3px;
  margin-block: 1.3rem 1.2rem;
  background: var(--marigold);
  border-radius: 2px;
}

.tsi-hero__lede {
  margin: 0 0 1rem;
  font-size: var(--step-0);
  line-height: 1.6;
  color: rgba(252, 248, 240, .86);
  max-width: 62ch;
}
.tsi-hero__body {
  margin: 0 0 1rem;
  font-size: var(--step--1);
  line-height: 1.65;
  color: rgba(252, 248, 240, .7);
  max-width: 62ch;
}
.tsi-hero__copy .btn { margin-top: 1.1rem; }

.tsi-hero__phone {
  justify-self: center;
  width: clamp(160px, 20vw, 300px);
  filter: drop-shadow(0 30px 54px rgba(4, 8, 20, .6));
}
.tsi-hero__phone img { width: 100%; height: auto; display: block; }

/* --- Partner block ------------------------------------------------------- */
.tsi-partner {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, .8rem + 1.6vw, 2rem);
  flex-wrap: wrap;
  margin-top: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  padding: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  background: rgba(201, 80, 60, .06);
  border: 1px solid rgba(201, 80, 60, .22);
  border-radius: var(--radius);
}
.tsi-partner__logo { width: 150px; height: auto; flex: 0 0 auto; display: block; }
.tsi-partner__text { margin: 0 0 .7rem; max-width: 56ch; }

/* --- Opportunities ------------------------------------------------------- */
.tsi-opp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  align-items: center;
  gap: clamp(1.5rem, 1rem + 3vw, 3.4rem);
  margin-top: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid var(--rule);
}
.tsi-opp--solo { grid-template-columns: minmax(0, 1fr); }

.tsi-opp__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .8rem;
  color: var(--ink);
}
.tsi-opp__copy p { margin: 0 0 .9rem; max-width: 58ch; line-height: 1.65; }

.tsi-opp__label {
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--meadow);
  margin-bottom: .45rem !important;
}
.tsi-opp__list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.tsi-opp__note { color: var(--ink-soft); font-size: var(--step--1); }

.tsi-opp__commit {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .3rem 0 0 !important;
  font-size: var(--step--1);
  color: var(--ink);
}
.tsi-opp__commit span {
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--marigold-ink, #9a6b12);
}

.tsi-opp__phone {
  justify-self: center;
  width: clamp(150px, 22vw, 250px);
  filter: drop-shadow(0 22px 40px rgba(12, 18, 41, .28));
}
.tsi-opp__phone img { width: 100%; height: auto; display: block; }

/* --- Join form ----------------------------------------------------------- */
.btn--block { width: 100%; justify-content: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


@media (max-width: 900px) {
  .tsi-hero__grid { grid-template-columns: 1fr; }
  .tsi-hero__phone { width: clamp(160px, 46vw, 240px); }
  .tsi-opp { grid-template-columns: 1fr; }
  .tsi-opp__phone { width: clamp(150px, 44vw, 230px); }
}

/* Role checkboxes on the join form */
.checks { border: 0; padding: 0; margin: 0 0 1.15rem; }
.checks legend { padding: 0; margin-bottom: .55rem; }
.check {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .34rem 0;
  font-size: var(--step--1);
  color: var(--ink);
  cursor: pointer;
}
.check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--marigold);
  flex: 0 0 auto;
  cursor: pointer;
}
.check input:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }

/* Hero without a phone: single column */
.tsi-hero--solo .tsi-hero__copy { max-width: 68ch; }

/* Contact section: points at the Team Solstice Impact form */
.contact-cta { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-cta__text { margin: 0; line-height: 1.65; color: var(--ink-soft); }


/* ==========================================================================
   Forms
   ========================================================================== */

.form {
  padding: clamp(1.7rem, 1.1rem + 2.4vw, 2.8rem);
  background: #fff;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -28px rgba(12, 18, 41, .38);
}

.field { margin-bottom: 1.35rem; }

.field__label {
  display: block;
  margin-bottom: .45rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field__label .req { color: var(--ember); margin-left: .15em; }

.field__hint {
  display: block;
  margin: -.2rem 0 .5rem;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  opacity: .82;
}

.field__input {
  width: 100%;
  padding: .92rem 1.05rem;
  background: var(--parchment);
  border: 1.5px solid var(--rule-dark);
  border-radius: 10px;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field__input::placeholder { color: rgba(26, 29, 40, .38); }
.field__input:hover { border-color: rgba(12, 18, 41, .3); }
.field__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--marigold);
  box-shadow: 0 0 0 3px rgba(245, 179, 53, .26);
}
textarea.field__input { resize: vertical; min-height: 132px; }
.field__input--area { resize: vertical; min-height: 132px; }
.field__input[aria-invalid="true"] { border-color: var(--ember); background: rgba(201, 80, 60, .04); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(201, 80, 60, .2); }

.field__error {
  margin: .42rem 0 0;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ember);
}

.form-status {
  margin: 1rem 0 0;
  font-size: var(--step--1);
  line-height: 1.5;
  font-weight: 600;
}
.form-status:empty { margin: 0; }
.form-status.is-ok    { color: var(--meadow); }
.form-status.is-error { color: var(--ember); }

/* --- Role checkboxes ----------------------------------------------------- */
.checks { border: 0; padding: 0; margin: 0 0 1.35rem; }
.checks legend { padding: 0; margin-bottom: .55rem; }

.check {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  margin-bottom: .45rem;
  background: var(--parchment);
  border: 1.5px solid var(--rule-dark);
  border-radius: 10px;
  font-size: var(--step--1);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.check:last-child { margin-bottom: 0; }
.check:hover { border-color: var(--marigold); background: rgba(245, 179, 53, .07); }
.check:has(input:checked) { border-color: var(--marigold); background: rgba(245, 179, 53, .12); }

.check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--marigold);
  flex: 0 0 auto;
  cursor: pointer;
}
.check:focus-within { border-color: var(--marigold); box-shadow: 0 0 0 3px rgba(245, 179, 53, .22); }

.btn--block { width: 100%; justify-content: center; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
