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

@font-face {
  font-family: "Space Mono";
  src: url("./space-mono.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Geist, Arial, sans-serif;
  color: #151515;
  background: #f4f4f2;
  --paper: #f4f4f2;
  --black: #111;
  --line: #d7d7d4;
  --inset: clamp(1.25rem, 5vw, 5.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 1.25rem; }

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus { position: absolute; z-index: 2; background: #fff; padding: .75rem; }
.shell { width: min(100%, 90rem); padding-inline: var(--inset); margin-inline: auto; }
.mono { font: 400 .75rem/1.5 "Space Mono", monospace; letter-spacing: .065em; }

.site-header { position: relative; color: #f6f6f4; background: var(--black); border-bottom: 1px solid #343434; }
.header-inner { min-height: 4.55rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.wordmark { width: max-content; font: 400 1.875rem/.9 Geist, Arial, sans-serif; letter-spacing: -.065em; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.75rem); }
nav a, .footer-inner a:last-child { font-size: .875rem; text-decoration: none; }
nav a:hover, .footer-inner a:last-child:hover { text-decoration: underline; text-underline-offset: .3em; }


.hero { color: #f6f6f4; background: var(--black); }
.hero-inner { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(1.5rem, 5vw, 5rem); min-height: clamp(34rem, 55vw, 48rem); }
.hero-content { align-self: center; padding-block: 4rem 5rem; }
.hero-kicker { color: #b9b9b6; margin-bottom: clamp(1.2rem, 3vw, 2rem); }
h1 { font-weight: 400; font-size: clamp(3.65rem, 7.5vw, 7.25rem); letter-spacing: -.079em; line-height: .91; }
.hero-copy { margin-top: 1.65rem; max-width: 22rem; color: #c8c8c5; font-size: 1.0625rem; line-height: 1.5; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; padding-inline: 1.25rem; margin-top: 1.75rem; border: 1px solid #f4f4f2; text-decoration: none; font-size: .9rem; font-weight: 500; color: #151515; background: #f4f4f2; transition: background .16s, color .16s; }
.button:hover { background: transparent; color: #f4f4f2; }
.hero-figure { position: relative; align-self: stretch; overflow: hidden; min-width: 0; }
.hero-figure img { height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 46%; }
.hero-figure figcaption { position: absolute; bottom: 1.25rem; left: 1.25rem; max-width: calc(100% - 2.5rem); padding: .35rem .6rem; color: #e4e4e1; background: #111; }

.collection { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(2.45rem, 5.2vw, 5rem); letter-spacing: -.072em; font-weight: 400; line-height: 1; }
.section-heading p, .contact p { color: #565654; font-size: 1rem; line-height: 1.5; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; padding-block: 1.1rem; }
.filters button { min-height: 2.75rem; padding-inline: 1rem; border: 1px solid #c8c8c4; background: transparent; color: var(--black); cursor: pointer; font-size: .875rem; }
.filters button:hover { border-color: var(--black); }
.filters button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; outline-color: var(--black); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.filters:not([hidden]) + .sr-only + .products { margin-top: 0; }
.product { min-width: 0; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); }
.product-image { height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 56%; background: #dededb; }
.product-copy { padding: clamp(1.15rem, 3vw, 2.1rem); display: flex; flex-direction: column; }
.product-compact { grid-template-rows: 1fr; }
.product-meta { color: #535351; }
h3 { margin: .4rem 0 1rem; font-size: clamp(1.55rem, 3vw, 2.5rem); line-height: 1.06; font-weight: 400; letter-spacing: -.055em; }
details { margin-top: auto; border-top: 1px solid var(--line); padding-top: .6rem; }
summary { cursor: pointer; padding: .4rem 0; font-size: .875rem; font-weight: 500; }
details p { max-width: 40ch; color: #4e4e4c; padding-block: .35rem .2rem; line-height: 1.5; }
.product:target { outline: 2px solid var(--black); outline-offset: 4px; }

.brand { background: #1b1b1b; color: #f4f4f2; }
.brand-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(3.5rem, 8vw, 7rem); }
.brand h2 { margin-top: 1rem; }
.brand .mono, .brand-copy { color: #c8c8c5; }
.brand-copy { max-width: 31rem; font-size: 1.0625rem; line-height: 1.6; }
.brand-copy p + p { margin-top: .9rem; }
.contact { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-block: clamp(3.5rem, 8vw, 6.75rem); }
.contact h2 { font-size: clamp(2.4rem, 4.2vw, 4rem); }
.contact h2 + p { margin-top: .85rem; }
.contact-detail .mono { color: #535351; }
.contact .handle { margin-top: .25rem; color: var(--black); font-size: 1.4rem; letter-spacing: -.04em; }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner p { color: #535351; font-size: .875rem; }

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; gap: .75rem; min-height: 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; min-height: auto; }
  .hero-content { padding-block: 3.25rem 2.5rem; }
  h1 { font-size: clamp(3rem, 13.5vw, 6.2rem); }
  .hero-figure { min-height: clamp(15rem, 75vw, 26rem); margin-inline: calc(-1 * var(--inset)); }
  .section-heading { display: block; }
  .section-heading p { margin-top: .65rem; }
  .brand-inner { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (max-width: 490px) {
  nav { gap: .85rem; }
  nav a { font-size: .82rem; }
  .wordmark { font-size: 1.65rem; }
  .products { grid-template-columns: 1fr; }
  .contact { align-items: start; flex-direction: column; }
  .footer-inner { flex-wrap: wrap; padding-block: 1.25rem; }
  .footer-inner p { order: 2; flex-basis: 100%; }
}

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

.header-shop {
  justify-self: end;
  font-size: .875rem;
  color: #f4f4f2;
  text-underline-offset: .3em;
}
.product-description { color: #4e4e4c; line-height: 1.55; margin-bottom: 1rem; max-width: 44ch; }
.product-link, .shop-link { color: #1b1b1b; font-size: .9rem; text-underline-offset: .3em; }
.product-link {
  align-content: center;
  border-top: 1px solid var(--line);
  font-weight: 500;
  margin-top: auto;
  min-height: 2.75rem;
}
.shop-link { display: inline-block; margin-top: .75rem; }
.product-page { min-height: 70vh; padding-block: 2rem clamp(4rem, 8vw, 8rem); }
.breadcrumb { gap: .55rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 6vw, 6rem); font-size: .875rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: .25em; }
.breadcrumb > span { color: #535351; }
.product-layout { display: grid; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.product-layout.with-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.product-summary { max-width: 40rem; }
.product-page h1 { font-size: clamp(2.65rem, 6vw, 5.3rem); line-height: .96; margin-block: .65rem 1.25rem; }
.product-intro { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.5; color: #4e4e4c; }
.fit-note { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.fit-note h2 { font-size: 1.35rem; letter-spacing: -.04em; margin-bottom: .55rem; }
.fit-note p { color: #4e4e4c; line-height: 1.55; }
.product-buy { background: var(--black); border-color: var(--black); color: #fff; }
.product-buy:hover { color: var(--black); }
.product-layout .product-image { aspect-ratio: auto; }
.contact-detail { min-width: 10rem; }

@media (max-width: 850px) {
  .header-shop { display: none; }
}
@media (max-width: 760px) {
  .product-layout.with-image { grid-template-columns: 1fr; }
}

.product-image { object-fit: contain; }
@media (min-width: 1000px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .header-inner { grid-template-columns: 1fr auto; }
}

.hero-shop { display: none; }
#calibrated-click-tamper .product-image,
#dosing-ring .product-image,
#wdt-flick .product-image { object-fit: cover; }
@media (max-width: 850px) {
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 1.75rem; }
  .hero-actions .button { margin-top: 0; }
  .hero-shop { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; text-underline-offset: .3em; }
}

.product-gallery { min-width: 0; }
.gallery-photo { aspect-ratio: 1; object-fit: contain; background: #ececea; }
.gallery-controls { display: grid; gap: .75rem; margin-top: .75rem; }
.gallery-nav { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.gallery-nav button, .gallery-thumbnails button { cursor: pointer; background: transparent; color: #181818; border: 1px solid #b5b5b2; }
.gallery-nav button { padding: .6rem .8rem; min-height: 44px; }
.gallery-thumbnails { display: flex; flex-wrap: wrap; gap: .5rem; }
.gallery-thumbnails button { width: 54px; padding: 2px; }
.gallery-thumbnails button[aria-pressed="true"] { border: 2px solid #151515; padding: 1px; }
.gallery-thumbnails img { aspect-ratio: 1; object-fit: contain; }
@media (max-width: 760px) {
  .product-gallery { grid-row: 1; }
}

.affiliate-note { margin-top: .65rem; color: #5d5d58; font-size: .8rem; line-height: 1.45; }
