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

:root {
  --paper: #fafafa;
  --ink: #141414;
  --muted: #565656;
  --line: #dedede;
  --gap: clamp(1.125rem, 3.8vw, 4.5rem);
  --radius: 1rem;
  color-scheme: light;
  font-family: Geist, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.wrap { width: min(91.6667%, 80rem); margin-inline: auto; }
:where(section, article)[id] { scroll-margin-block-start: 1.5rem; }

.skip {
  position: absolute;
  z-index: 20;
  top: .65rem;
  left: .65rem;
  padding: .65rem 1rem;
  color: #fff;
  background: #141414;
  clip-path: inset(50%);
}
.skip:focus { clip-path: none; }

.masthead, .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: .55rem;
}
.masthead { min-height: 5.25rem; padding-block: .8rem; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 625;
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: -.055em;
  text-decoration: none;
  white-space: nowrap;
}
.brandmark { display: block; flex-shrink: 0; border-radius: 22%; }
.masthead nav { display: flex; flex-wrap: wrap; gap: clamp(.85rem, 3vw, 2rem); }
.masthead nav a {
  padding-block: .75rem;
  font-size: .94rem;
  font-weight: 510;
  text-decoration: none;
}
.masthead nav a:hover { text-decoration: underline; text-underline-offset: .26em; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(30rem, 48vw, 39.5rem);
  overflow: hidden;
  border-radius: var(--radius);
  background: #141414;
  color: #fff;
}
.hero-art, .hero-art picture, .hero-art img { display: block; }
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: center; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #121212 3%, #121212eb 21%, #121212a6 44%, #12121225 64%, transparent 82%);
}
.hero-copy { padding: clamp(2.5rem, 7vw, 6.1rem); }
.hero h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5.1vw, 4.65rem);
  font-weight: 540;
  line-height: 1.025;
  letter-spacing: -.055em;
}
.hero p {
  max-width: 33rem;
  width: min(100%, 38ch);
  margin: 1.4rem 0 1.85rem;
  color: #e5e5e5;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  line-height: 1.58;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.95rem;
  padding: .68rem 1.25rem;
  border: 1px solid #151515;
  border-radius: 99rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  background: #151515;
  color: #fff;
}
.button:hover { background: #343434; }
.hero .button { border-color: #fff; background: #fff; color: #151515; }
.hero .button:hover { border-color: #ddd; background: #ddd; }
.hero .button:focus-visible { outline-color: #fff; }

.products { padding-block: clamp(3.75rem, 8vw, 7rem); }
.products h2, .not-found h1 {
  margin: 0 0 clamp(1.4rem, 3.25vw, 2.65rem);
  font-size: clamp(2.25rem, 4.35vw, 4rem);
  line-height: 1.07;
  font-weight: 530;
  letter-spacing: -.052em;
}
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.2vw, 1.8rem); }
.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(15rem, 23vw, 20rem);
  padding: clamp(1.35rem, 4vw, 3.15rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.product.video { background: #f0f0f0; }
.product h3 {
  margin: .68rem 0 .85rem;
  font-size: clamp(1.66rem, 2.7vw, 2.75rem);
  line-height: 1.12;
  font-weight: 565;
  letter-spacing: -.048em;
}
.product p {
  max-width: 41ch;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.58;
  color: var(--muted);
}
.product p.product-meta { font-size: .88rem; font-weight: 565; }
.textlink {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  line-height: 1.45;
  font-weight: 570;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}
.textlink:hover { color: #4a4a4a; text-decoration-thickness: 2px; }
.product .textlink { margin-top: auto; padding-top: 1.45rem; }

.foot { padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line); }
.small { font-size: 1.28rem; }
.foot .textlink { color: var(--muted); font-size: .9rem; }
.not-found { padding-block: clamp(3rem, 7vw, 7rem); }
.not-found p { margin: 0 0 1.45rem; color: var(--muted); }
.not-found .textlink { margin-left: 1.25rem; }

@media (max-width: 56rem) {
  .masthead { min-height: 4.6rem; }
  .hero { display: grid; grid-template-rows: auto auto; min-height: 0; align-items: start; }
  .hero-art { position: relative; grid-row: 1; aspect-ratio: 1.43; }
  .hero-art img { object-position: center; }
  .hero-art::after { background: linear-gradient(0deg, #141414, #14141400 32%); }
  .hero-copy { grid-row: 2; padding: 1.75rem clamp(1.25rem, 5vw, 2.4rem) 2.4rem; }
  .hero h1 { font-size: clamp(2.1rem, 7vw, 3.45rem); }
  .hero p { margin: 1rem 0 1.25rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 0; }
}

@media (max-width: 25rem) {
  .masthead .wordmark { font-size: 1.45rem; gap: .45rem; }
  .masthead .brandmark { width: 2.25rem; height: 2.25rem; }
  .masthead nav a { font-size: .88rem; }
  .hero h1 { font-size: clamp(1.7rem, 8.15vw, 2.1rem); }
  .not-found .textlink { display: flex; margin: .4rem 0 0; }
}
