@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --surface: #f1f0ec;
  --surface-strong: #e7e5df;
  --text: #151513;
  --muted: #62615b;
  --line: rgb(21 21 19 / 16%);
  --accent: #c83220;
  --accent-hover: #a92518;
  --button-text: #fffaf7;
  --focus: #9e2418;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #151513;
    --surface-strong: #24231f;
    --text: #f4f1e9;
    --muted: #aaa79e;
    --line: rgb(244 241 233 / 18%);
    --accent: #e04a36;
    --accent-hover: #f05a45;
    --button-text: #151513;
    --focus: #ff8877;
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface);
}

body {
  min-height: 100dvh;
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Geist", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

p,
h1,
figure {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: var(--button-text);
}

.page-shell {
  width: min(1380px, calc(100% - 64px));
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 26px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -0.055em;
}

.wordmark span {
  color: var(--accent);
}

.site-header p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

main {
  display: grid;
  align-items: center;
}

.launch-hero {
  min-height: min(710px, calc(100dvh - 152px));
  padding: clamp(42px, 6vw, 84px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(52px, 7vw, 112px);
}

.launch-copy {
  max-width: 590px;
}

.eyebrow {
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(50px, 5.4vw, 78px);
  line-height: 0.98;
  font-weight: 590;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.intro {
  max-width: 500px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.contact-link {
  width: max-content;
  min-height: 52px;
  margin-top: 36px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--button-text);
  font-size: 14px;
  line-height: 1;
  font-weight: 680;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease;
}

.contact-link:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.contact-link:active {
  transform: translateY(1px);
}

.contact-link:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.hero-visual {
  min-width: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
}

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

@media (prefers-reduced-motion: no-preference) {
  .launch-copy > * {
    opacity: 0;
    transform: translateY(18px);
    animation: enter 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .launch-copy > :nth-child(2) {
    animation-delay: 70ms;
  }

  .launch-copy > :nth-child(3) {
    animation-delay: 140ms;
  }

  .launch-copy > :nth-child(4) {
    animation-delay: 210ms;
  }

  .hero-visual {
    opacity: 0;
    transform: translateX(22px);
    animation: enter 760ms 120ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes enter {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 40px, 680px);
  }

  .launch-hero {
    min-height: auto;
    padding: 54px 0;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .launch-copy {
    max-width: 620px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(48px, 10vw, 70px);
  }

  .hero-visual img {
    max-height: 340px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .site-header,
  .site-footer {
    min-height: 66px;
  }

  .site-header p {
    max-width: 145px;
    text-align: right;
    font-size: 10px;
  }

  .launch-hero {
    padding: 38px 0;
    gap: 36px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .intro {
    margin-top: 22px;
    font-size: 16px;
  }

  .contact-link {
    width: 100%;
    margin-top: 28px;
    justify-content: center;
  }

  .hero-visual img {
    height: clamp(190px, 31vh, 260px);
  }
}
