:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #6e6e6e;
  --line: #e4e4e4;
  --tile: #f2f2f2;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2 { margin: 0; letter-spacing: -0.035em; line-height: 1; font-weight: 800; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.mono { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--text);
  border-radius: 2px;
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: #2a2a2a; }
.btn-light { border-color: #fff; background: #fff; color: var(--text); }
.btn-light:hover { background: #e9e9e9; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); background: none; color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn:disabled { border-color: #dcdcdc; background: #dcdcdc; color: #7a7a7a; cursor: default; }

/* Top of every page */
.announce {
  margin: 0;
  padding: 8px 16px;
  background: var(--text);
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  text-align: center;
}
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.top-link { font-size: 14px; font-weight: 600; text-decoration: none; }
.logo { font-size: 19px; font-weight: 800; letter-spacing: -0.045em; text-decoration: none; }
.top-social { display: flex; gap: 14px; justify-self: end; }
.top-social a { display: flex; }
.top-social svg { width: 20px; height: 20px; fill: currentColor; }

/* Home: the shirt close-up */
.hero {
  position: relative;
  height: min(calc(100svh - 90px), 150vw);
  min-height: 460px;
  max-height: 940px;
  overflow: hidden;
  background: #111;
  color: #fff;
}
.hero picture { display: block; height: 100%; animation: settle 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes settle { from { transform: scale(1.07); opacity: 0.4; } }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 28px;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 14px;
}
.hero-copy .mono { opacity: 0.7; }
.hero-copy h1 { font-size: clamp(38px, 10vw, 84px); }

/* Home: the drop */
.shop { padding: 44px 16px 56px; scroll-margin-top: 56px; }
.shop-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.shop-head h2 { font-size: 30px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
.shop .grid .card:first-child { grid-column: 1 / -1; }

.card { display: block; text-decoration: none; }
.card-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--tile); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease, transform 0.6s ease; }
.card-img .alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img .alt { opacity: 1; }
  .card:hover .card-img img { transform: scale(1.03); }
}
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 8px;
  background: var(--text);
  color: #fff;
  font-size: 11px;
}
.card-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 14.5px; font-weight: 600; }
.card-sub { display: block; margin-top: 2px; color: var(--muted); }

/* Home: follow */
.follow { padding: 72px 16px; background: var(--text); color: #fff; }
.follow .mono { opacity: 0.6; }
.follow-title { max-width: 14ch; margin: 12px 0 26px; font-size: clamp(36px, 9vw, 76px); }
.follow-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

.notify { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; margin-top: 14px; }
.notify input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(128, 128, 128, 0.55);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
}
.notify-status { flex-basis: 100%; min-height: 1.4em; margin: 4px 0 0; font-size: 14px; }

/* Footer */
.foot { padding: 40px 16px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot p { max-width: 560px; margin: 0 0 12px; }
.foot-logo { color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: -0.045em; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--text); font-weight: 600; }

/* Product page */
.gallery { position: relative; }
.track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--tile);
}
.track::-webkit-scrollbar { display: none; }
.track img { flex: 0 0 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.9);
}
.count:empty { display: none; }

.info { padding: 22px 16px 44px; }
.info h1 { margin-top: 8px; font-size: 30px; }
.price { margin: 8px 0 0; font-size: 18px; font-weight: 600; }
.line { margin: 6px 0 22px; color: var(--muted); }
.pick { margin-bottom: 18px; }
.pick-label { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.pick-label span { color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-width: 52px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  background: none;
  font-size: 14px;
  font-weight: 600;
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: #fff; }
.btn-wide { width: 100%; min-height: 54px; margin-top: 6px; }
.buy-note { min-height: 1.4em; margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.buy-note a { color: var(--text); font-weight: 600; }

.acc { border-top: 1px solid var(--line); }
.acc:first-of-type { margin-top: 24px; }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 400; }
.acc[open] summary::after { content: "−"; }
.acc p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }

.more { padding: 36px 16px 56px; border-top: 1px solid var(--line); }
.more h2 { margin-bottom: 18px; font-size: 24px; }

/* 404 */
.lost { display: grid; justify-items: start; gap: 16px; padding: 18vh 16px; }
.lost h1 { font-size: clamp(38px, 9vw, 76px); }
.lost p { margin: 0; color: var(--muted); }

@media (min-width: 900px) {
  .top { height: 64px; padding: 0 32px; }
  .logo, .foot-logo { font-size: 23px; }
  .hero { height: calc(100svh - 98px); }
  .hero-img { object-position: 50% 40%; }
  .hero-copy { left: 40px; bottom: 44px; }
  .shop { padding: 72px 32px 88px; scroll-margin-top: 64px; }
  .shop-head h2 { font-size: 40px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 16px; }
  .shop .grid .card:first-child { grid-column: span 2; grid-row: span 2; }
  .shop .grid .card:first-child .card-row { font-size: 17px; }
  .follow { padding: 110px 40px; }
  .foot { padding: 48px 32px 56px; }

  .pdp {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 56px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px;
  }
  .track { display: grid; gap: 12px; overflow: visible; background: none; }
  .track img { background: var(--tile); }
  .count { display: none; }
  .info { position: sticky; top: 96px; align-self: start; max-width: 460px; padding: 12px 0 0; }
  .info h1 { font-size: 40px; }
  .more { max-width: 1440px; margin: 0 auto; padding: 56px 32px 88px; }
  .lost { padding: 22vh 40px; }
}
