:root {
  --paper: #080807;
  --ink: #f6f1e8;
  --muted: rgba(246, 241, 232, 0.68);
  --dim: rgba(246, 241, 232, 0.42);
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  overflow-x: hidden;
}

body::selection {
  color: var(--paper);
  background: var(--ink);
}

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

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 48px), 1180px);
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transform: translateX(-50%);
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: -12px -18px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition:
    opacity 0.55s ease,
    background 0.55s ease,
    box-shadow 0.55s ease;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.brand {
  width: 124px;
  justify-self: start;
}

.brand img {
  width: 112px;
  height: auto;
}

nav {
  grid-column: 2;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(25, 25, 23, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
}

nav a {
  min-height: 34px;
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
  outline: 0;
}

.hero {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: clamp(120px, 18vh, 190px) 24px clamp(88px, 13vh, 138px);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.hero-image,
.hero-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.08) contrast(0.98) brightness(1.05);
  transform: scale(1.01);
}

.hero-fade {
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 7, 0) 0%,
      rgba(8, 8, 7, 0.08) 44%,
      rgba(8, 8, 7, 0.78) 82%,
      var(--paper) 100%
    ),
    linear-gradient(
      90deg,
      rgba(8, 8, 7, 0.16),
      rgba(8, 8, 7, 0) 38%,
      rgba(8, 8, 7, 0.2)
    );
}

.hero-copy {
  width: min(100%, 560px);
  margin-top: 30vh;
}

h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  width: min(100%, 500px);
  margin: 0 auto;
  color: var(--muted);
  font-family: 'Inter', 'Trebuchet MS', Verdana, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.55;
}

.products {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: clamp(38px, 7vw, 78px) 0 clamp(76px, 10vw, 126px);
  scroll-margin-top: 96px;
  text-align: center;
}

.section-kicker {
  margin-bottom: clamp(24px, 4.5vw, 44px);
  color: var(--dim);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 5vw, 62px);
  align-items: center;
}

.product-logo {
  min-height: 68px;
  display: grid;
  place-items: center;
  color: rgba(246, 241, 232, 0.32);
  opacity: 0.68;
  border-radius: 8px;
  cursor: pointer;
  transition:
    opacity 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.product-logo span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.product-logo.alpha span {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  font-style: italic;
}

.product-logo.alpha span::before {
  content: '';
  width: 0.58em;
  height: 0.58em;
  margin-right: 0.22em;
  border: 0.12em solid currentColor;
  border-radius: 50%;
}

.product-logo.beta span {
  font-size: clamp(1.45rem, 3.2vw, 2.65rem);
  text-transform: uppercase;
}

.product-logo.beta span::before,
.product-logo.beta span::after {
  content: '';
  width: 0.5em;
  height: 0.5em;
  margin: 0 0.18em;
  border-radius: 2px;
  background:
    linear-gradient(
      45deg,
      transparent 42%,
      currentColor 43% 57%,
      transparent 58%
    ),
    linear-gradient(
      -45deg,
      transparent 42%,
      currentColor 43% 57%,
      transparent 58%
    );
}

.product-logo.gamma span {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.65rem, 3.8vw, 3.1rem);
}

.product-logo.gamma span::before {
  content: '';
  width: 0.7em;
  height: 0.48em;
  margin-right: 0.18em;
  border: 0.12em solid currentColor;
  border-left-color: transparent;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-18deg);
}

.product-logo:hover,
.product-logo:focus-visible {
  color: rgba(246, 241, 232, 0.72);
  opacity: 1;
  transform: translateY(-2px);
  outline: 0;
}

footer {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 0 0 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

footer * {
  margin: 0;
  color: rgba(246, 241, 232, 0.3);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.68rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
}

footer h2 {
  color: rgba(246, 241, 232, 0.4);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 720px) {
  .site-header {
    top: 0;
    width: 100%;
    min-height: 64px;
    padding: 12px 14px;
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .site-header::before {
    inset: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  }

  .brand {
    width: 108px;
  }

  .brand img {
    width: 100px;
  }

  nav {
    grid-column: auto;
    justify-self: end;
  }

  .hero {
    min-height: 78svh;
    padding: 104px 18px 78px;
  }

  .hero-copy {
    margin-top: 26vh;
  }

  .logo-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-logo {
    min-height: 74px;
  }
}

@media (max-width: 430px) {
  .site-header {
    width: 100%;
  }

  .brand {
    width: 92px;
  }

  .brand img {
    width: 88px;
  }

  nav a {
    padding-inline: 10px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.2rem);
  }
}

