:root {
  --ink: #11211f;
  --ink-2: #1d302d;
  --deep: #0d1b19;
  --deep-2: #132724;
  --cream: #f4f0e7;
  --sand: #e7dfd0;
  --paper: #fbfaf6;
  --green: #9fbc83;
  --green-2: #bfd0a9;
  --line: rgba(17, 33, 31, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --muted: #61706d;
  --white: #ffffff;
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
strong,
.brand-text,
.proof-wordmark {
  font-weight: 650;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4vw, 4.7rem);
  line-height: 1;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.38rem;
  line-height: 1.1;
}

p {
  margin-bottom: 1rem;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  width: 100%;
  color: var(--cream);
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 108px;
  gap: 32px;
  border-bottom: 1px solid var(--line-light);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-text {
  font-size: 0.95rem;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
}

.desktop-nav a {
  text-decoration: none;
  opacity: 0.82;
}

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

.nav-wrap > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.82rem;
}

.button-primary {
  background: var(--green-2);
  color: var(--deep);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d4dfc5;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  backdrop-filter: blur(8px);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--cream);
  color: var(--deep);
}

.text-link {
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  font-size: 0.95rem;
}

.hero {
  min-height: 810px;
  padding: 178px 0 72px;
  background:
    radial-gradient(circle at 85% 25%, rgba(159, 188, 131, 0.18), transparent 32%),
    linear-gradient(135deg, var(--deep), #10231f 58%, #1c322c);
  color: var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(350px, 0.6fr);
  align-items: stretch;
  gap: clamp(38px, 6vw, 90px);
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.section-kicker,
.visual-label,
.proof-label,
.proof-location {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--green-2);
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(244, 240, 231, 0.76);
  font-size: clamp(1.1rem, 1.7vw, 1.42rem);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 550px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.court-lines,
.proof-court {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.court-lines::before,
.court-lines::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(191, 208, 169, 0.24);
}

.court-lines::after {
  inset: 14% 48%;
  border-top: 0;
  border-bottom: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 14%;
  right: 14%;
  height: 1px;
  background: rgba(191, 208, 169, 0.24);
}

.visual-label {
  position: relative;
  z-index: 1;
  color: var(--green-2);
}

.visual-sequence {
  position: relative;
  z-index: 1;
  display: grid;
  margin: auto 0;
  gap: 10px;
}

.visual-sequence div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.visual-sequence span {
  grid-row: 1 / 3;
  color: var(--green-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
}

.visual-sequence strong {
  font-size: 1.5rem;
}

.visual-sequence small {
  margin-top: 3px;
  color: rgba(244, 240, 231, 0.58);
}

.visual-footer {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(244, 240, 231, 0.62);
  font-size: 0.84rem;
}

.section {
  padding: 120px 0;
}

.section-dark {
  padding: 96px 0;
  background: var(--ink);
  color: var(--cream);
}

.statement-grid,
.purpose-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 52px;
}

.statement-grid h2 {
  max-width: 920px;
  font-size: clamp(2.6rem, 5vw, 5.8rem);
}

.statement-grid > div > p {
  max-width: 720px;
  color: rgba(244, 240, 231, 0.67);
  font-size: 1.22rem;
}

.section-kicker {
  color: #60746e;
}

.section-kicker.light {
  color: var(--green-2);
}

.section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0 42px;
  margin-bottom: 56px;
}

.section-head h2,
.section-head > p:last-child {
  grid-column: 2;
  max-width: 810px;
}

.section-head > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-head.narrow h2 {
  max-width: 680px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-card {
  min-height: 310px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-number {
  margin-bottom: 72px;
  color: #72817d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.capability-card p:last-child {
  max-width: 520px;
  color: var(--muted);
}

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

.partner-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
}

.partner-intro {
  position: sticky;
  top: 40px;
  align-self: start;
}

.partner-intro p:last-child {
  max-width: 500px;
  color: #5b6562;
  font-size: 1.08rem;
}

.partner-list {
  border-top: 1px solid rgba(17, 33, 31, 0.24);
}

.partner-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(17, 33, 31, 0.24);
}

.partner-list article > span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #6c7975;
  font-size: 0.72rem;
}

.partner-list h3 {
  font-size: 1.7rem;
}

.partner-list p {
  max-width: 600px;
  margin-bottom: 0;
  color: #5a6562;
}

.value-section {
  background: #f6f3ec;
}

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

.value-flow > div {
  min-height: 230px;
  padding: 24px 20px 24px 0;
  border-right: 1px solid var(--line);
}

.value-flow > div:not(:first-child) {
  padding-left: 20px;
}

.value-flow > div:last-child {
  border-right: 0;
}

.value-flow span {
  display: block;
  margin-bottom: 68px;
  color: #74817d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.value-flow strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.value-flow p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-section {
  background: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 90px;
}

.proof-panel {
  position: relative;
  min-height: 560px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--deep-2);
  color: var(--cream);
  overflow: hidden;
}

.proof-label,
.proof-location {
  position: relative;
  z-index: 1;
}

.proof-location {
  color: var(--green-2);
}

.proof-wordmark {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 1;
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.72;
}

.proof-court::before {
  content: "";
  position: absolute;
  top: 14%;
  right: -15%;
  width: 72%;
  height: 72%;
  border: 1px solid rgba(191, 208, 169, 0.22);
  transform: rotate(18deg);
}

.proof-court::after {
  content: "";
  position: absolute;
  top: 45%;
  right: -18%;
  width: 78%;
  height: 1px;
  background: rgba(191, 208, 169, 0.22);
  transform: rotate(18deg);
}

.proof-copy p:not(.section-kicker) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
}

.purpose-section {
  background: var(--green-2);
}

.purpose-grid blockquote {
  max-width: 900px;
  margin-bottom: 34px;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.95;
  font-weight: 650;
  letter-spacing: -0.055em;
}

.purpose-grid > div > p {
  max-width: 720px;
  color: #40504c;
  font-size: 1.14rem;
}

.contact-section {
  padding: 110px 0;
  background: var(--deep);
  color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 80px;
}

.contact-grid h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.contact-action p {
  margin-bottom: 24px;
  color: rgba(244, 240, 231, 0.68);
}

.site-footer {
  padding: 38px 0;
  background: #081310;
  color: rgba(244, 240, 231, 0.67);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 24px;
  font-size: 0.82rem;
}

.footer-brand {
  color: var(--cream);
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-right {
  text-align: right;
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 1180px);
  }

  .desktop-nav {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-grid,
  .partner-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
  }

  .partner-intro {
    position: static;
  }

  .value-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid var(--line);
  }

  .value-flow > div,
  .value-flow > div:not(:first-child) {
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }

  .proof-grid,
  .partner-grid,
  .contact-grid {
    gap: 52px;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 82px 0;
  }

  .site-header .button-small {
    display: none;
  }

  .nav-wrap {
    min-height: 86px;
  }

  .hero {
    min-height: 0;
    padding: 130px 0 58px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.9rem);
  }

  .statement-grid,
  .purpose-grid,
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head h2,
  .section-head > p:last-child {
    grid-column: 1;
  }

  .capability-grid,
  .value-flow {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
  }

  .card-number,
  .value-flow span {
    margin-bottom: 36px;
  }

  .proof-panel {
    min-height: 470px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-right {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
