@font-face {
  font-family: "Love";
  src: url("fonts/Love-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Love";
  src: url("fonts/Love-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Love";
  src: url("fonts/Love-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #050505;
  --white: #ffffff;
  --paper: #f7f7f4;
  --ink: #161616;
  --muted: #606060;
  --line: #d7d7d1;
  --blue: #3e71e2;
  --plum: #71227e;
  --green: #238200;
  --orange: #f27303;
  --red: #f10703;
  --pink: #da01b7;
  --focus: #ffbf47;
  --max: 1180px;
  --header-height: 54px;
  --footer-tabs-height: 100px;
  --foundation-bar-height: 54px;
  --fixed-footer-height: calc(var(--footer-tabs-height) + var(--foundation-bar-height));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Love", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.48;
  padding-bottom: var(--fixed-footer-height);
}

body.home {
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  transform: translateY(-160%);
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.site-header .wrap {
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #000000;
  border-bottom: 1px solid #2a2a2a;
}

.home .site-header {
  border-bottom: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--header-height);
  gap: 18px;
  padding: 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  filter: invert(1) grayscale(1) brightness(1.4);
  opacity: 0.92;
}

.nav-toggle,
.menu-toggle {
  display: none;
}

.top-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  font-weight: 700;
}

.top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-height);
  text-decoration: none;
  color: #d7d7d7;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 6px;
  background: var(--white);
  opacity: 0;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: var(--white);
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  opacity: 1;
}

.hero {
  min-height: calc(100vh - var(--header-height) - var(--fixed-footer-height));
  display: grid;
  align-items: center;
  padding: 0;
}

.home .hero {
  height: calc(100vh - var(--header-height) - var(--fixed-footer-height));
  min-height: 0;
  text-align: center;
  overflow: hidden;
}

.home .hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: min(44vw, calc(100vh - var(--header-height) - var(--fixed-footer-height) - 64px));
  min-width: 180px;
  max-width: 520px;
  margin: 0 auto 16px;
  display: block;
  filter: brightness(0);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.home h1 {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.subhero {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.25;
}

.support {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--black);
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.learn-more {
  width: 120px;
  min-width: 120px;
  min-height: 32px;
  height: 32px;
  padding: 0 10px;
  border-color: var(--blue);
  background: var(--blue);
  font-size: 0.84rem;
  line-height: 1;
}

.activation-button {
  width: 120px;
  min-width: 120px;
  min-height: 32px;
  height: 32px;
  padding: 0 8px;
  border-color: var(--pink);
  background: var(--pink);
  font-size: 0.65rem;
  line-height: 1;
}

.button.secondary {
  background: transparent;
  color: var(--black);
}

.button:hover {
  transform: translateY(-1px);
}

p + .button,
.statement + .button,
.lede + .button {
  margin-top: 10pt;
}

.tool-preview {
  margin: 28px 0 16px;
}

.left-preview {
  margin-top: 0;
}

.tool-preview a {
  display: block;
}

.tool-preview img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.tool-preview figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-preview {
  max-width: 640px;
  margin-top: 22px;
}

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.home .hero + .section {
  border-top: 0;
}

main [id] {
  scroll-margin-top: var(--header-height);
}

.section.white {
  background: var(--white);
}

.section.black {
  background: var(--black);
  color: var(--white);
  border-top: 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.statement {
  margin-bottom: 4px;
  max-width: 900px;
  font-size: clamp(1.55rem, 3.6vw, 4rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

.lede {
  max-width: 780px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.24;
}

.muted {
  color: var(--muted);
}

.black .muted {
  color: #bcbcbc;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tile,
.path-card,
.person-card,
.tool-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
}

.tile h3,
.path-card h3,
.person-card h3,
.tool-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.tile p,
.path-card p,
.person-card p,
.tool-card p {
  margin-bottom: 0;
  font-weight: 300;
  line-height: 1.18;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.activity-panel {
  min-height: 310px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.activity-panel:last-child {
  border-right: 0;
}

.activity-panel h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.activity-panel p {
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.activity-panel .num {
  display: block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.activity-panel.discover {
  border-top: 8px solid var(--plum);
}

.activity-panel.connect {
  border-top: 8px solid var(--blue);
}

.activity-panel.prepare {
  border-top: 8px solid var(--red);
}

.activity-panel.practice {
  border-top: 8px solid var(--green);
}

.activity-panel.sustain {
  border-top: 8px solid var(--orange);
}

.cascade {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.cascade span {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: 700;
}

.contrast-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

.contrast-table th,
.contrast-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.contrast-table th {
  background: var(--black);
  color: var(--white);
}

.page-hero {
  padding: 56px 0 72px;
}

.page-hero .eyebrow {
  display: none;
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.75rem, 5.1vw, 3.875rem);
  line-height: 0.88;
}

.page-hero .lede {
  max-width: 840px;
  line-height: 1.1;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.split p {
  font-weight: 300;
  line-height: 1.18;
}

.callout {
  padding: 34px;
  border-left: 8px solid var(--blue);
  background: var(--white);
}

.callout p {
  line-height: 1.18;
}

.plain-list {
  margin: 0;
  padding-left: 1.1em;
}

.plain-list li + li {
  margin-top: 8px;
}

.staff {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.meta-line {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--fixed-footer-height);
  z-index: 1000;
  overflow: visible;
}

.action-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--foundation-bar-height);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  min-height: 80px;
  pointer-events: none;
}

.action-rail a {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  padding: 14px 14px;
  color: var(--white);
  text-decoration: none;
  pointer-events: auto;
  transition: min-height 160ms ease, border-radius 160ms ease;
}

.action-rail a:hover {
  min-height: 100px;
  border-radius: 4px 4px 0 0;
}

.action-rail a:focus-visible {
  outline-offset: -4px;
}

.action-rail strong {
  display: block;
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 1;
}

.action-rail span {
  display: block;
  max-width: 18ch;
  font-size: 0.92rem;
  line-height: 1.1;
}

.rail-discover {
  background: var(--plum);
}

.rail-connect {
  background: var(--blue);
}

.rail-prepare {
  background: var(--red);
}

.rail-practice {
  background: var(--green);
}

.rail-sustain {
  background: var(--orange);
}

.rail-impact {
  background: var(--pink);
}

.foundation-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: var(--foundation-bar-height);
  min-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.94);
  color: var(--white);
  transition: height 180ms ease;
}

.foundation-bar.is-open,
.foundation-bar:focus-within {
  height: min(340px, calc(100vh - var(--header-height)));
}

.foundation-collapsed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--foundation-bar-height);
  padding: 8px 18px;
}

.foundation-expanded {
  position: relative;
  min-height: 260px;
  height: calc(100% - var(--foundation-bar-height));
  margin-bottom: var(--foundation-bar-height);
  padding: 18px 34px 18px calc(20vw + 24px);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.86));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.foundation-bar.is-open .foundation-expanded,
.foundation-bar:focus-within .foundation-expanded {
  opacity: 1;
  transform: translateY(0);
}

.foundation-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 24px;
  max-width: 980px;
}

.mission-menu-list p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.15;
}

.mission-menu-list a,
.foundation-donate {
  color: var(--white);
  text-decoration: none;
}

.mission-menu-list a:hover,
.mission-menu-list a:focus-visible,
.foundation-donate:hover,
.foundation-donate:focus-visible {
  text-decoration: underline;
}

.foundation-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 170px;
}

.foundation-mark img {
  width: 150px;
  height: auto;
  display: block;
}

.incubated {
  justify-self: end;
  text-align: right;
  color: #cfcfcf;
  font-size: 0.84rem;
}

.foundation-donate {
  position: absolute;
  right: 34px;
  top: 22px;
  font-weight: 700;
}

.foundation-copyright {
  max-width: 980px;
  margin: 22px 0 0;
  color: #9e9e9e;
  font-size: 0.72rem;
  line-height: 1.1;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

@media (max-width: 980px) {
  :root {
    --footer-tabs-height: 30pt;
    --foundation-bar-height: 64px;
  }

  body {
    padding-bottom: var(--fixed-footer-height);
    font-size: 17px;
  }

  .section-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .tiles,
  .staff {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-panel {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .activity-panel:last-child {
    border-bottom: 0;
  }

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

  .action-rail {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    min-height: 30pt;
  }

  .action-rail a {
    min-height: 30pt;
    padding: 6px 8px;
    transition: border-radius 160ms ease;
  }

  .action-rail a:hover {
    min-height: 30pt;
  }

  .action-rail span {
    display: none;
  }

  .foundation-mark {
    justify-content: flex-start;
    min-width: 0;
  }

  .foundation-collapsed {
    gap: 14px;
  }

  .foundation-expanded {
    padding: 16px 20px;
  }

  .foundation-menu-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 18px;
  }

  .foundation-donate {
    right: 20px;
    top: 16px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .home .hero {
    height: calc(100vh - var(--header-height) - var(--fixed-footer-height));
    min-height: 0;
    padding: 0;
  }

  .home .hero-logo {
    width: min(34vw, calc(100vh - var(--header-height) - var(--fixed-footer-height) - 56px));
    min-width: 150px;
    margin-bottom: 12px;
  }

  .home .actions {
    margin-top: 0;
  }
}

@media (max-height: 520px) {
  .home .hero-logo {
    width: min(30vw, calc(100vh - var(--header-height) - var(--fixed-footer-height) - 48px));
    min-width: 120px;
    margin-bottom: 8px;
  }

  .home .actions {
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: var(--header-height);
    gap: 16px;
    padding: 0 12px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #5b5b5b;
    border-radius: 4px;
    color: var(--white);
    cursor: pointer;
    list-style: none;
    margin-left: auto;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 2px;
  }

  .top-nav {
    position: absolute;
    top: var(--header-height);
    right: 12px;
    width: min(82vw, 320px);
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #070707;
    border: 1px solid #303030;
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  }

  .nav-toggle:checked ~ .top-nav {
    display: flex;
  }

  .top-nav a {
    height: auto;
    padding: 12px 14px;
    border-radius: 4px;
  }

  .top-nav a::after {
    display: none;
  }

  .top-nav a:hover,
  .top-nav a:focus-visible,
  .top-nav a[aria-current="page"] {
    background: #1b1b1b;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: var(--fixed-footer-height);
  }

  .wrap {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero {
    padding-top: 0;
  }

  .section {
    padding: 58px 0;
  }

  .actions {
    align-items: stretch;
    flex-direction: row;
  }

  .button {
    width: 120px;
  }

  .action-rail strong {
    font-size: 0.92rem;
  }

  .action-rail {
    min-height: 30pt;
  }

  .action-rail a {
    min-height: 30pt;
  }

  .action-rail a:hover {
    min-height: 30pt;
  }

  .foundation-collapsed {
    grid-template-columns: auto 1fr;
    padding: 8px 12px;
  }

  .foundation-mark img {
    width: 132px;
  }

  .incubated {
    font-size: 0.68rem;
    line-height: 1.05;
  }

  .foundation-bar.is-open,
  .foundation-bar:focus-within {
    height: min(420px, calc(100vh - var(--header-height)));
  }

  .foundation-menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .mission-menu-list p {
    font-size: 0.78rem;
  }

  .foundation-copyright {
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
