:root {
  --bg: #faf8f2;
  --text: #171715;
  --muted: #efede5;
  --line: rgba(23, 23, 21, 0.14);

  --hero-text: #fffdf7;
  --accent: #171715;
  --seed: #C30F16;

  --contact-bg: #171715;
  --contact-text: #fffdf7;

  --shell: 1180px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --radius: 0.85rem;

  --step--1: clamp(0.82rem, 0.78rem + 0.18vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.22vw, 1.15rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --step-2: clamp(1.8rem, 1.35rem + 2.1vw, 3.2rem);
  --step-3: clamp(2.8rem, 1.65rem + 5.5vw, 6.7rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;

  font-size: var(--step-0);
  line-height: 1.55;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: var(--step-3);
  font-weight: 700;
}

h2 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: var(--step-2);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: var(--step-1);
}

.shell {
  width: min(100% - (2 * var(--pad-x)), var(--shell));
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.15fr);

  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}

.prose {
  max-width: 42rem;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
}

.prose > *:last-child,
.card > *:last-child {
  margin-bottom: 0;
}

.brand {
  position: absolute;
  z-index: 2;

  top: clamp(1.25rem, 3vw, 2.5rem);
  right: var(--pad-x);

  gap: 0.6rem;
}

.brand--text {
  display: inline-flex;
  flex-direction: row;
  align-items: center;

  gap: 0.6rem;

  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 760;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.brand__logo {
  display: block;
  flex-shrink: 0;

  width: 1.5rem;
  height: 1.5rem;
}

.hero {
  position: relative;
  isolation: isolate;

  display: grid;
  align-items: end;

  min-height: 88svh;
  overflow: hidden;

  color: var(--hero-text);

  background:
    linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("assets/earth.jpeg") center top / cover no-repeat,
    radial-gradient(
      circle at 77% 23%,
      rgba(255, 255, 255, 0.13),
      transparent 0 18%,
      transparent 19%
    ),
    radial-gradient(
      circle at 22% 34%,
      rgba(255, 255, 255, 0.07),
      transparent 0 13%,
      transparent 14%
    ),
    linear-gradient(
      135deg,
      #0e1110 0%,
      #20251f 48%,
      #3b352e 100%
    );
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -2;

  opacity: 0.34;

  background-image:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.65) 0 1px,
      transparent 1.2px
    ),
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.35) 0 1px,
      transparent 1.2px
    );

  background-size:
    91px 91px,
    137px 137px;

  background-position:
    0 0,
    33px 57px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.05) 10%,
      rgba(0, 0, 0, 0.55) 100%
    );
}

.hero__content {
  padding-block:
    clamp(7rem, 18vh, 13rem)
    clamp(3rem, 8vh, 6rem);
}

.hero__intro {
  max-width: 46rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.35rem);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 3.1rem;
  padding: 1rem 2.8rem;

  border: 1px solid currentColor;
  border-radius: 999px;

  font-weight: 650;
  text-decoration: none;

  transition:
    transform 160ms ease,
    opacity 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 18px rgba(255, 243, 176, .22),
    0 0 36px rgba(255, 217, 0, .08);
}

.button--primary {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.button--light {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.button--primary:hover,
.button--light:hover {
  background: #fffdf5;
  color: #111;
  border-color: #fff3b0;
}

.button--ghost:hover {
  background: rgba(255, 243, 176, .12);
  color: #fff3b0;
  border-color: #fff3b0;
}

.section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
}

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

.section--vision {
  background: #f5f0e7;
}

.section--contact {
  background: var(--contact-bg);
  color: var(--contact-text);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1px;
  margin-top: clamp(2rem, 5vw, 4rem);

  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 20rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--muted);
}

.card__number {
  display: inline-block;
  margin-bottom: 5rem;
  font-size: var(--step--1);
  opacity: 0.55;
}

.card__seed {
  color: var(--seed);
}

.section-note {
  max-width: 48rem;
  margin: 2rem 0 0;
  font-size: var(--step--1);
  opacity: 0.72;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.trust-list span {
  padding: 0.6rem 0.85rem;

  border: 1px solid var(--line);
  border-radius: 999px;

  font-size: var(--step--1);
}

.contact {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 2rem;
  align-items: end;
}

.contact > div:first-child {
  max-width: 46rem;
}

.contact__actions {
  justify-content: flex-end;
}

.text-link {
  font-size: var(--step--1);
}

.footer {
  padding-block: 1.4rem;
  font-size: var(--step--1);
}

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

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 82svh;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

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

  .card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 78svh;
  }

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

  .contact__actions {
    justify-content: flex-start;
  }

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

  .card:last-child {
    grid-column: auto;
  }

  .card {
    min-height: 0;
  }

  .card__number {
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --pad-x: 1.1rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__content {
    padding-bottom: 2rem;
  }

  .hero__actions,
  .contact__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1440px) {
  :root {
    --shell: 1280px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
