@font-face {
  font-family: 'Gabarito';
  src: url('/fonts/gabarito-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}

:root {
  --black: #111111;
  --ivory: #F3EEE6;
  --white: #FFFFFF;
  --grey: #C8C2B8;
  --green: #A6B77A;

  --hairline: rgba(243, 238, 230, 0.14);
  --shell: 1320px;
  --gutter: clamp(20px, 5vw, 64px);

  --display: 'Gabarito', 'Trebuchet MS', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, p { margin: 0; }

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

/* Zero radius everywhere — brand rule. */
input, button, a, div, section, img { border-radius: 0; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  background: var(--green);
  color: var(--black);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Wordmark ---------- */

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--ivory);
  line-height: 1;
  display: inline-block;
}

.wordmark--sm { font-size: 20px; }

.stop { color: var(--green); }

/* ---------- Nav ---------- */

.nav {
  position: relative;
  z-index: 3;
  padding-block: clamp(22px, 3.4vw, 34px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__link {
  font-size: 15px;
  color: var(--grey);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--ivory); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(28px, 6vw, 76px) clamp(72px, 10vw, 132px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  align-items: stretch;
  gap: clamp(32px, 4.4vw, 64px);
}

.hero__text { position: relative; z-index: 2; align-self: center; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: clamp(20px, 2.6vw, 30px);
}

.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 3.75vw, 53px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
}

.lede {
  margin-top: clamp(20px, 2.4vw, 28px);
  max-width: 43ch;
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: 1.65;
  color: var(--grey);
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.2vw, 40px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--fill {
  background: var(--green);
  color: var(--black);
  border: 1px solid var(--green);
}
.btn--fill:hover { background: #b7c78e; border-color: #b7c78e; }

.btn--line {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(243, 238, 230, 0.3);
}
.btn--line:hover { border-color: var(--ivory); }

/* ---------- Waitlist ---------- */

.signup {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: clamp(28px, 3.4vw, 38px);
  border-top: 1px solid var(--hairline);
  max-width: 470px;
  scroll-margin-top: 90px;
}

.label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.field {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(243, 238, 230, 0.22);
  background: rgba(243, 238, 230, 0.03);
  transition: border-color 0.2s ease;
}
.field:focus-within { border-color: var(--green); }

.input {
  flex: 1 1 auto;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--text);
  font-size: 15.5px;
}
.input::placeholder { color: #8e8981; }
.input:focus { outline: none; }

/* Honeypot — off-screen, never shown, not announced. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit {
  flex: 0 0 auto;
  width: 56px;
  border: 0;
  background: var(--green);
  color: var(--black);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.submit:hover { background: #b7c78e; }
.submit[disabled] { opacity: 0.55; cursor: default; }

.status {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  min-height: 0;
}
.status:empty { display: none; }
.status[data-state="ok"] { color: var(--green); }
.status[data-state="error"] { color: #d9a08a; }

.fineprint {
  margin-top: 14px;
  font-size: 12.5px;
  color: #918b83;
}

/* ---------- Hero media ---------- */

.hero__media {
  position: relative;
  min-height: 440px;
  margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--shell)) / 2)));
}

.hero__media picture {
  display: block;
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Blend the plate into the page black so it reads as one scene. */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 14%, #000 38%),
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 62%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 14%, #000 38%),
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* ---------- Pillars ---------- */

.pillars {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(52px, 6.6vw, 84px);
}

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

.pillar {
  padding-inline: clamp(24px, 3.4vw, 46px);
  border-left: 1px solid var(--hairline);
}
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar:last-child { padding-right: 0; }

.pillar__icon {
  width: 30px;
  height: 30px;
  color: var(--green);
  margin-bottom: 22px;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.pillar__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.5vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 10px;
}

.pillar__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 30ch;
}

/* ---------- Footer ---------- */

.foot {
  border-top: 1px solid var(--hairline);
  padding-block: clamp(28px, 3.4vw, 38px);
}

.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.foot__soon {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
}

.foot__legal {
  font-size: 13px;
  color: #918b83;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(36px, 7vw, 56px);
  }

  /* Text first on mobile. */
  .hero__text { order: 1; }
  .hero__media {
    order: 2;
    min-height: 0;
    margin-inline: calc(var(--gutter) * -1);
  }

  .hero__media picture { position: static; }

  .hero__media img {
    height: auto;
    aspect-ratio: 16 / 11;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 66%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 66%, transparent 100%);
  }

  .signup { max-width: 100%; }

  .pillars__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .pillar {
    padding-inline: 0;
    padding-block: 30px;
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }
  .pillar:first-child { padding-top: 0; border-top: 0; }
  .pillar:last-child { padding-bottom: 0; }

  .foot__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 460px) {
  .eyebrow { font-size: 10.5px; letter-spacing: 0.15em; }

  .actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

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