@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  --ink: #0b1f3a;
  --paper: #f3f7fc;
  --acid: #76d6ff;
  --blue: #124e96;
  --line: rgba(11, 31, 58, 0.2);
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.page-shell {
  overflow: hidden;
}

.site-header,
.hero,
.product,
.about-hero,
.about-story,
.site-footer {
  padding-inline: clamp(1.25rem, 4vw, 4.75rem);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  border-bottom: 1px solid var(--line);
  animation: fade-down 700ms ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-nav,
.eyebrow,
.product-label,
.site-footer {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.site-nav a {
  position: relative;
  padding-block: 0.5rem;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 104px);
  padding-top: clamp(3.5rem, 8vh, 7rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: reveal-up 700ms 100ms ease-out both;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
}

h1 {
  max-width: 1220px;
  margin: clamp(2.5rem, 7vh, 5.5rem) 0 0;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 7.5vw, 8.1rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
  animation: reveal-up 850ms 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

h1 span {
  display: block;
  margin-left: clamp(0rem, 9vw, 9rem);
  color: var(--blue);
  font-style: italic;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  margin-top: auto;
  padding-top: clamp(3rem, 9vh, 7rem);
  animation: reveal-up 800ms 340ms ease-out both;
}

.intro {
  width: min(100%, 440px);
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.intro strong {
  font-weight: 600;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 16px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(4rem, 1fr) minmax(0, 4.8fr);
  min-height: 86vh;
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: clamp(4rem, 9vw, 8rem);
  color: var(--paper);
  background: var(--blue);
}

.product::before {
  position: absolute;
  top: -68px;
  right: -70px;
  width: 360px;
  height: 136px;
  border: 1px solid rgba(118, 214, 255, 0.4);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.product-index {
  padding-top: 0.5rem;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-top: 1px solid rgba(243, 247, 252, 0.32);
}

.product-label {
  padding-top: 1rem;
  color: var(--acid);
}

.product-content {
  align-self: center;
  padding-block: 4rem;
}

h2 {
  margin: 0 0 clamp(2rem, 5vw, 4.5rem);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10.5vw, 10rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.065em;
}

.product-content p {
  max-width: 780px;
  margin: 0 0 0 auto;
  font-size: clamp(1.25rem, 2.4vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.about-page {
  background: var(--paper);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 4.8fr);
  min-height: calc(100vh - 104px);
  padding-top: clamp(3.5rem, 8vh, 7rem);
  padding-bottom: clamp(4rem, 8vh, 7rem);
}

.about-hero .eyebrow {
  align-self: start;
  padding-top: 0.55rem;
}

.about-title {
  grid-column: 2;
  margin: 0;
  font-size: clamp(5rem, 13vw, 13rem);
  line-height: 0.75;
}

.about-title span {
  margin-top: 0.14em;
  margin-left: clamp(0rem, 8vw, 8rem);
}

.about-lede {
  grid-column: 2;
  align-self: end;
  width: min(100%, 820px);
  margin: clamp(5rem, 10vh, 9rem) 0 0 auto;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.42;
  letter-spacing: -0.035em;
  animation: reveal-up 800ms 340ms ease-out both;
}

.about-story {
  color: var(--paper);
  background: var(--blue);
}

.story-block {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 4.8fr);
  padding-block: clamp(4rem, 9vw, 8rem);
  border-bottom: 1px solid rgba(243, 247, 252, 0.25);
}

.story-block:last-child {
  border-bottom: 0;
}

.story-number {
  padding-top: 0.45rem;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.story-block h2 {
  max-width: 780px;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  font-size: clamp(3rem, 7vw, 7.25rem);
  line-height: 0.88;
}

.story-block p {
  max-width: 780px;
  margin: 0 0 0 auto;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: rgba(243, 247, 252, 0.7);
  background: var(--ink);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@media (max-width: 700px) {
  .site-header {
    height: 78px;
  }

  .hero {
    min-height: calc(100svh - 78px);
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 5.6rem);
    line-height: 0.9;
  }

  h1 span {
    margin-top: 0.08em;
    margin-left: 0;
  }

  .hero-bottom {
    display: block;
  }

  .scroll-cue {
    display: none;
  }

  .product {
    grid-template-columns: 1fr;
    min-height: 80svh;
  }

  .product-index {
    margin-bottom: 2rem;
  }

  .product-content p {
    margin-left: 0;
  }

  .about-hero {
    display: block;
    min-height: calc(100svh - 78px);
  }

  .about-title {
    margin-top: 3rem;
    font-size: clamp(5rem, 26vw, 8rem);
  }

  .about-title span {
    margin-left: 0;
  }

  .about-lede {
    margin-top: 5rem;
  }

  .story-block {
    grid-template-columns: 1fr;
  }

  .story-number {
    margin-bottom: 2.5rem;
  }

  .story-block p {
    margin-left: 0;
  }

  .site-footer {
    flex-direction: column;
    line-height: 1.5;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
