@font-face {
  font-family: "LGT Maxi";
  src: url("fonts/NaNJauneMaxi-Var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LGT Midi";
  src: url("fonts/NaNJaune-Midi-Var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

.page { margin: 0; background: var(--lgt-forest); color: var(--lgt-ink); overflow-x: clip; }
.page__main { display: block; }
.page__wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: clamp(16px, 5vw, 64px); }

:where(.page) a { color: inherit; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
:where(.page) a:hover { text-decoration-thickness: 0.14em; }
:where(.page) :focus-visible { outline: 3px solid var(--lgt-accent, var(--lgt-fireweed-deep)); outline-offset: 3px; }
:where(.page) :where(p, h1, h2, h3, ul) { margin: 0; }

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

.hero { padding-block: clamp(48px, 8vw, 112px) clamp(56px, 9vw, 120px); overflow-x: clip; }
.hero__primer { font-weight: var(--lgt-weight-strong); font-size: var(--lgt-size-l); line-height: 1.25; text-wrap: balance; }
.hero__logo {
  display: block;
  width: min(100%, calc(var(--lgt-logo-hero) * 9.714)); 
  height: auto;
  margin-block: clamp(10px, 1.6vw, 24px) clamp(10px, 1.5vw, 22px); 
  color: var(--lgt-text);
}
.hero__title { max-width: 18ch; }
.hero__subhead {
  max-width: 32ch;
  margin-top: 0.75em;
  font-size: var(--lgt-size-xl);
  line-height: 1.3;
}
.hero__body { max-width: var(--lgt-measure); margin-top: 1.1em; }
.hero__note { margin-top: 1rem; font-size: var(--lgt-size-s); line-height: var(--lgt-leading-ui); }
.hero__note + .hero__note { margin-top: 0.35rem; }
.join--hero { margin-top: 2rem; }

.join {
  --join-inset: calc(var(--lgt-size-m) * 1.25); 
  max-width: 60rem;
}

.join__fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.join__field { display: flex; flex-direction: column; gap: 0.45rem; flex: 1000 1 15rem; min-width: 0; }
.join__field--wide { flex: 1350 1 18rem; }

.join__label { padding-inline-start: calc(var(--join-inset) + 1.5px); color: var(--lgt-text); }
.join__input {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8em var(--join-inset);
  border: 1.5px solid #8AA086;
  border: 1.5px solid color-mix(in srgb, var(--lgt-cream) 50%, var(--lgt-forest));
  border-radius: 999px;
  background: #325F44;
  background: color-mix(in srgb, var(--lgt-cream) 9%, var(--lgt-forest));
  color: var(--lgt-cream);
  font: inherit;
  font-size: var(--lgt-size-m);
  line-height: 1.3;
}
.join__input:focus-visible { outline: 3px solid var(--lgt-fireweed); outline-offset: 2px; border-color: var(--lgt-cream); }
.join__input:-webkit-autofill,
.join__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--lgt-cream);
  -webkit-box-shadow: 0 0 0 100px #325F44 inset;
  caret-color: var(--lgt-cream);
}
.join__trap, .join__trap[hidden] { display: none; } 
.join__button {
  flex: 1 0 auto;
  min-height: 3.25rem;
  padding: calc(0.75em - 2px) calc(1.6em - 2px);
  border: 2px solid transparent; 
  border-radius: 999px;
  background: var(--lgt-button-bg);
  color: var(--lgt-button-text);
  font-family: var(--lgt-font-display);
  font-weight: var(--lgt-weight-display);
  font-size: var(--lgt-size-m);
  line-height: 1.2;
  cursor: pointer;
  font-synthesis: none;
}
.join__button:hover { background: var(--lgt-white); }
.join__button:focus-visible { outline: 3px solid var(--lgt-fireweed); outline-offset: 3px; }
.join__button:disabled { cursor: progress; opacity: 0.75; }
.join__error {
  display: none;
  margin-top: 0.85rem;
  font-weight: var(--lgt-weight-strong);
  font-size: var(--lgt-size-s);
  line-height: var(--lgt-leading-ui);
}
.join__error.is-shown, .join__error:target { display: block; }
.join__done { display: none; align-items: center; gap: 0.9rem; min-height: 3.25rem; }
.join__icon { flex: 0 0 auto; width: 3.25rem; height: 3.25rem; }
.join__done-text {
  font-family: var(--lgt-font-display);
  font-weight: var(--lgt-weight-display);
  font-size: var(--lgt-size-xl);
  line-height: var(--lgt-leading-heading);
  letter-spacing: var(--lgt-tracking-heading);
  font-synthesis: none;
}
.join__done-text:focus { outline: none; }

.join.is-joined .join__form { display: none; }
.join:has(.join__done:target) .join__form { display: none; }
.join.is-joined .join__done, .join__done:target { display: flex; }

.problem { padding-block: clamp(56px, 8vw, 112px); }
.problem__text { max-width: 36ch; font-size: var(--lgt-size-xl); line-height: var(--lgt-leading-ui); }
.problem__proof { margin-top: 1rem; max-width: 36ch; font-size: var(--lgt-size-xl); line-height: var(--lgt-leading-ui); }
.problem__sign {
  margin-top: 1.4rem;
  font-weight: var(--lgt-weight-strong);
  font-size: var(--lgt-size-l);
  line-height: 1.25;
}
.problem__about { margin-top: 0.35rem; font-size: var(--lgt-size-m); line-height: var(--lgt-leading-ui); }

.wall { padding-block: clamp(56px, 8vw, 112px); }
.wall__title { max-width: 22ch; }
.wall__subhead { margin-top: 0.7rem; font-weight: var(--lgt-weight-strong); font-size: var(--lgt-size-l); line-height: 1.25; }
.wall__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 clamp(24px, 4vw, 56px);
  margin-top: clamp(28px, 4vw, 44px);
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .wall__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wall__item {
  position: relative;
  padding: 1.1rem 0 1.2rem 1.6rem;
  border-top: 1px solid color-mix(in srgb, var(--lgt-ink) 16%, transparent);
  max-width: var(--lgt-measure);
}
.wall__item::before { 
  content: "";
  position: absolute;
  left: 0;
  top: calc(1.1rem + 0.5em);
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--lgt-accent);
  translate: 0 -50%;
}

.closing { padding-block: clamp(56px, 9vw, 120px); }
.closing__limit { margin-top: 0.9rem; font-size: var(--lgt-size-l); line-height: var(--lgt-leading-ui); max-width: 40ch; }
.join--closing { margin-top: 1.75rem; }
.closing__note { margin-top: 1rem; font-size: var(--lgt-size-s); line-height: var(--lgt-leading-ui); }

.questions { padding-block: clamp(56px, 8vw, 104px); }
.questions__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem clamp(24px, 4vw, 56px);
  margin-top: clamp(24px, 3.5vw, 40px);
}
@media (min-width: 760px) { .questions__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.questions__q { font-weight: var(--lgt-weight-strong); font-size: var(--lgt-size-l); line-height: 1.25; text-wrap: balance; }
.questions__a { margin-top: 0.5rem; max-width: var(--lgt-measure); }

.bio { padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px); }
.bio__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; }
@media (min-width: 760px) { .bio__inner { grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); } }
.bio__photo { display: block; width: min(15rem, 70%); height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
@media (min-width: 760px) { .bio__photo { width: 100%; } }
.bio__text { max-width: var(--lgt-measure); font-size: var(--lgt-size-l); line-height: var(--lgt-leading-body); }

.bio__cta {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  margin-top: 1.5rem;
  padding: calc(0.75em - 2px) calc(1.6em - 2px);
  border: 2px solid transparent; 
  border-radius: 999px;
  background: var(--lgt-button-bg);
  color: var(--lgt-button-text);
  font-family: var(--lgt-font-display);
  font-weight: var(--lgt-weight-display);
  font-size: var(--lgt-size-m);
  line-height: 1.2;
  text-decoration: none;
  font-synthesis: none;
}
.bio__cta:hover { background: var(--lgt-night); }
.bio__cta:focus-visible { outline: 3px solid var(--lgt-fireweed-deep); outline-offset: 3px; }

:is(.hero__subhead, .hero__body, .hero__note, .problem__text, .problem__proof, .problem__sign, .problem__about, .wall__subhead, .wall__item,
    .closing__limit, .closing__note, .questions__a, .bio__text) { text-wrap: pretty; }

@media (forced-colors: active) {
  .wall__item::before { forced-color-adjust: none; background: CanvasText; }
}

@media (max-width: 640px) {
  
  .hero { padding-top: 20px; }
  .join--hero { margin-top: 1.25rem; }
  .hero__primer { font-size: var(--lgt-size-m); } 
  .hero__subhead { font-size: var(--lgt-size-l); }
  .problem__text, .problem__proof { font-size: var(--lgt-size-l); }
  .join__field, .join__field--wide, .join__button { flex: 1 1 100%; }
  .bio__text { font-size: var(--lgt-size-m); }
}
