:root {
  --bg: #f7f7f2;
  --ink: #101010;
  --muted: #66645d;
  --line: rgba(16, 16, 16, 0.14);
  --accent: #136f63;
  --max: 1040px;
  --hero-max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

::selection {
  background: rgba(19, 111, 99, 0.18);
}

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(16, 16, 16, 0.035) 1px, transparent 1px), var(--bg);
  background-size: 72px 72px;
}

a {
  color: inherit;
  text-decoration: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 48px);
  backdrop-filter: blur(18px);
}

.mark {
  display: inline-flex;
  width: 76px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  outline: none;
}

.mark-sequence {
  position: relative;
  display: block;
  width: 72px;
  height: 20px;
}

.mark-dot,
.mark-limit {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.mark-dot {
  background: currentColor;
  transition: left 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mark-dot:nth-child(1) {
  left: 4px;
  width: 5px;
  height: 5px;
}

.mark-dot:nth-child(2) {
  left: 29px;
  width: 4.5px;
  height: 4.5px;
}

.mark-dot:nth-child(3) {
  left: 47px;
  width: 4px;
  height: 4px;
}

.mark-dot:nth-child(4) {
  left: 59px;
  width: 3.5px;
  height: 3.5px;
}

.mark-limit {
  left: 69px;
  width: 9px;
  height: 9px;
  border: 1.25px solid currentColor;
}

.mark:hover .mark-dot:nth-child(1),
.mark:focus-visible .mark-dot:nth-child(1) {
  left: 10px;
}

.mark:hover .mark-dot:nth-child(2),
.mark:focus-visible .mark-dot:nth-child(2) {
  left: 33px;
}

.mark:hover .mark-dot:nth-child(3),
.mark:focus-visible .mark-dot:nth-child(3) {
  left: 49px;
}

.mark:hover .mark-dot:nth-child(4),
.mark:focus-visible .mark-dot:nth-child(4) {
  left: 60px;
}

.mark:focus-visible {
  outline: 1px solid rgba(16, 16, 16, 0.45);
  outline-offset: 5px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

nav a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.hero {
  min-height: 58svh;
  display: flex;
  align-items: center;
  padding: 112px clamp(20px, 5vw, 72px) 56px;
  text-align: center;
}

.hero-inner {
  width: min(100%, var(--hero-max));
  margin: 0 auto;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: none;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 9vw, 7.4rem);
  font-weight: 400;
  line-height: 0.92;
}

.hero-copy {
  max-width: 760px;
  margin: 28px auto 0;
  color: #2d2d29;
  font-size: clamp(1rem, 1.6vw, 1.26rem);
}

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

.section {
  padding: 32px 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.04;
}

.activity-grid {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.activity {
  position: relative;
}

.activity--source {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
  padding: 34px 0 32px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.activity--source::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(16, 16, 16, 0.42);
  border-radius: 50%;
  background: var(--bg);
  transform: translateX(-50%);
}

.activity--source h2 {
  margin: 0;
}

.activity--source p {
  max-width: 720px;
}

.activity p,
.transaction-note p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.flow-branch {
  position: relative;
  height: 74px;
}

.flow-branch::before,
.flow-branch::after,
.flow-arrow {
  position: absolute;
  background: rgba(16, 16, 16, 0.38);
}

.flow-branch::before {
  content: "";
  top: 0;
  left: 50%;
  width: 1px;
  height: 31px;
}

.flow-branch::after {
  content: "";
  top: 30px;
  left: 25%;
  width: 50%;
  height: 1px;
}

.flow-arrow {
  top: 30px;
  width: 1px;
  height: 40px;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(16, 16, 16, 0.6);
  border-bottom: 1px solid rgba(16, 16, 16, 0.6);
  transform: rotate(45deg);
}

.flow-arrow--venture {
  left: 25%;
}

.flow-arrow--philanthropy {
  left: 75%;
}

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

.activity-outcomes .activity {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 178px;
  padding: 16px clamp(26px, 4vw, 48px) 32px;
  text-align: center;
}

.activity-outcomes .activity + .activity {
  border-left: 1px solid var(--line);
}

.activity-outcomes h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.activity-outcomes p {
  max-width: 350px;
  margin: 16px auto 0;
}

.transaction-note {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.transaction-note p {
  max-width: none;
  margin: 0;
  font-size: 0.82rem;
}

.transaction-note span {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  padding: 54px 0 76px;
  text-align: center;
}

.contact-inner {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.contact-note {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.contact-inner a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  margin-right: auto;
  margin-left: auto;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(19, 111, 99, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.contact-inner a:hover,
.contact-inner a:focus-visible {
  text-decoration-color: var(--accent);
  outline: none;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  text-align: center;
}

@media (min-width: 980px) {
  h1 {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px;
  }

  nav {
    gap: 16px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 58svh;
    padding: 96px 20px 44px;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5.8rem);
  }

  .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .section {
    padding: 24px 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .activity--source {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 24px 0 26px;
    text-align: center;
  }

  .activity--source::after {
    left: 50%;
  }

  .activity--source h2 {
    padding-right: 0;
  }

  .activity--source p {
    margin-right: auto;
    margin-left: auto;
    padding-top: 0;
  }

  .flow-branch {
    height: 62px;
  }

  .flow-branch::before {
    left: 50%;
    height: 25px;
  }

  .flow-branch::after {
    top: 24px;
  }

  .flow-arrow {
    top: 24px;
    height: 34px;
  }

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

  .activity-outcomes .activity {
    min-height: 176px;
    padding: 12px 10px 24px;
    text-align: center;
  }

  .activity-outcomes .activity + .activity {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .activity-outcomes h2 {
    font-size: clamp(1.08rem, 5.2vw, 1.5rem);
    white-space: normal;
  }

  .activity-outcomes p {
    max-width: 170px;
    margin: 10px auto 0;
    font-size: clamp(0.86rem, 3.8vw, 0.96rem);
  }

  .transaction-note {
    gap: 6px;
    justify-content: stretch;
    justify-items: center;
    text-align: center;
  }

  .activity-outcomes .transaction-note p {
    max-width: none;
    margin: 0;
    font-size: 0.78rem;
  }

  .contact {
    padding: 42px 0 64px;
    text-align: center;
  }

  .contact-note {
    margin-right: auto;
    margin-left: auto;
  }

  .contact-inner a {
    margin-right: auto;
    margin-left: auto;
  }

}

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

  nav a {
    transition: none;
  }

  .mark-dot {
    transition: none;
  }
}
