:root {
  --bg: #070c0c;
  --bg-deep: #0b2526;
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.68);
  --line: rgba(244, 241, 234, 0.16);
  --banner: #e0fbcf;
  --banner-ink: #102016;
  --accent: #d8f5b8;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Syne", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--banner);
  color: var(--banner-ink);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* Banner */
.banner {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  background: var(--banner);
  color: var(--banner-ink);
  text-align: center;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(0.72rem, 2.4vw, 0.9rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: filter 180ms ease;
}

.banner:hover {
  filter: brightness(0.97);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 44px);
  display: grid;
  align-content: space-between;
  padding: var(--pad);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(120% 80% at 50% 20%, transparent 30%, rgba(0, 0, 0, 0.35) 100%);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.hero__tagline {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.25;
  text-wrap: balance;
}

.hero__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__nav a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  padding-bottom: 0.1rem;
}

.hero__nav a:hover {
  opacity: 0.8;
}

.hero__brand {
  margin: 0;
  width: 100%;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.4rem, calc((100vw - 2.5rem) / 7.5), 10.5rem);
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero__meta-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social {
  display: inline-flex;
  gap: 0.55rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  opacity: 0.9;
}

.social a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.social svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--pad);
}

.section--deep {
  background: var(--bg-deep);
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section__head {
  max-width: 18ch;
  margin: 0 0 1.75rem;
}

.section__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.section__sub {
  margin: 0.85rem 0 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.media {
  position: relative;
  margin: 0 0 2rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #041010;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat__value {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat__label {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.product img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Footer */
.site-footer {
  padding: clamp(3rem, 8vw, 5rem) var(--pad) 2rem;
  border-top: 1px solid var(--line);
}

.footer__grid {
  width: min(100%, var(--max));
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer__label {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 1.15rem;
}

.footer__list a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer__list a:hover {
  border-bottom-color: currentColor;
}

.footer__cta {
  width: min(100%, var(--max));
  margin: 0 auto 1.75rem;
}

.footer__cta a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.footer__brand {
  width: min(100%, var(--max));
  margin: 0 auto;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.2rem, calc((100vw - 2.5rem) / 7.5), 8rem);
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.footer__bottom {
  width: min(100%, var(--max));
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Legal */
.legal-page {
  min-height: 100svh;
  background: #f6f2ea;
  color: #121212;
}

.legal-page .banner {
  position: relative;
}

.legal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem var(--pad);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-top a {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.legal {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--pad) 5rem;
}

.legal h1 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
}

.legal .lede {
  margin: 0 0 2rem;
  color: rgba(0, 0, 0, 0.6);
}

.legal h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal p {
  margin: 0 0 0.9rem;
  line-height: 1.65;
}

.legal p.clause {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin: 1.5rem 0 0.4rem;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .hero__brand {
    animation: brand-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  @keyframes brand-in {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Responsive */
@media (max-width: 720px) {
  .hero__top {
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero__nav {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .hero__tagline {
    max-width: 28ch;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.78rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

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

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
