:root {
  --bg: #050505;
  --ink: #f6f3ec;
  --muted: #a39c92;
  --line: rgba(246, 243, 236, 0.16);
  --red: #ff1a1a;
  --ticker-h: 46px;
  --header-h: 78px;
  --chrome: calc(var(--ticker-h) + var(--header-h));
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --wrap: min(1180px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 35;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 3px;
}

::selection {
  background: var(--red);
  color: white;
}

.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 80;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: #111;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--ticker-h);
  overflow: hidden;
  background: var(--red);
  color: #140000;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 18s linear infinite;
}

.ticker__group {
  display: flex;
  flex-shrink: 0;
  margin: 0;
}

.ticker__group span {
  display: inline-block;
  padding: 12px 0 6px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__group span::after {
  content: "  /  ";
  font-weight: 700;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

header {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 0 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}

header.is-solid {
  background: rgba(7, 7, 7, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header__side {
  display: flex;
  align-items: center;
}

.header__side--right {
  justify-content: flex-end;
}

.logo {
  justify-self: center;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav-desktop {
  display: none;
  gap: 22px;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-desktop a:hover {
  color: var(--red);
}

.menu-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  align-content: center;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 8px 0 8px 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}

.cart-btn__label {
  display: none;
}

.count {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

header.has-items .count {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.hero {
  position: relative;
  min-height: 100svh;
  background:
    #000 url("https://i.ytimg.com/vi/6hAPpzeQWH0/maxresdefault.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 72%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 22%, rgba(0, 0, 0, 0.28) 68%, #050505 100%);
}

.hero__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: min(980px, 120%);
  height: 78%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, transparent 74%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--chrome) + 12px) 20px 88px;
}

.hero__logo {
  width: min(820px, 88vw);
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.85));
}

.hero__line {
  margin: 18px 0 26px;
  max-width: 28ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 12px 22px 10px;
  border: 0;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--ink);
  color: #111;
}

.shop,
.brand {
  scroll-margin-top: calc(var(--chrome) + 8px);
}

.shop {
  position: relative;
  z-index: 3;
  padding: 8px 0 72px;
}

.shop__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 3px solid var(--red);
  padding-bottom: 8px;
}

.shop__head h1,
.brand h2,
.card__meta h2,
.quick__info h2,
.cart__head h2,
.menu__nav a {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.86;
}

.shop__head h1 {
  margin: 0;
  font-size: clamp(72px, 12vw, 140px);
}

.shop__head p {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--red);
}

.lede {
  max-width: 46ch;
  margin: 18px 0 28px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 14px;
}

.card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #d5d5d5;
  overflow: hidden;
  color: #111;
}

.card__media img {
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

.card__media:hover img {
  transform: scale(1.025);
}

.card__no {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 10px 2px;
  background: var(--red);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.card__quick {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.card__media:hover .card__quick,
.card__media:focus-visible .card__quick {
  transform: translateY(0);
}

.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-top: 12px;
}

.card__meta h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
}

.card__variant {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card__price {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  color: var(--red);
  line-height: 0.9;
}

.brand {
  padding: 28px 0 88px;
  border-top: 1px solid var(--line);
}

.brand .eyebrow {
  margin-bottom: 12px;
}

.brand h2 {
  margin: 0 0 28px;
  padding-top: 0.28em;
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.95;
}

.brand__copy {
  display: grid;
  gap: 16px;
  max-width: 68ch;
  margin-bottom: 36px;
}

.brand__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.specs div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.specs dd {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
}

.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.foot__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.foot__row img {
  width: min(280px, 70vw);
  height: auto;
}

.foot__row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dialog {
  padding: 0;
  border: 0;
  background: #0c0c0c;
  color: var(--ink);
  max-width: none;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-x {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
  padding: 4px 8px;
}

#menu[open] {
  z-index: 80;
  display: flex;
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  background: #070707;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 18px 22px 40px;
}

#menu .dialog-x {
  position: absolute;
  top: 14px;
  right: 14px;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
  padding-bottom: 8vh;
}

.menu__nav a {
  text-decoration: none;
  font-size: clamp(64px, 16vw, 108px);
}

.menu__nav a:hover {
  color: var(--red);
}

#quick[open] {
  z-index: 80;
  width: min(1040px, calc(100vw - 20px));
  max-height: calc(100dvh - 24px);
  margin: 12px auto;
  overflow: auto;
  border: 1px solid var(--line);
}

#quick .dialog-x {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
}

.quick__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.quick__photo {
  background: #d5d5d5;
}

.quick__photo img {
  width: 100%;
  max-height: 42dvh;
  object-fit: contain;
  object-position: center;
}

.quick__info {
  padding: 22px 20px 24px;
}

.quick__info h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 64px);
}

.quick__variant {
  margin: 6px 0 0;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.quick__price {
  margin: 14px 0;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.quick__blurb {
  margin: 0 0 18px;
  color: var(--muted);
}

.label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sizes button {
  min-width: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
}

.sizes button[aria-checked="true"] {
  background: var(--ink);
  color: #111;
  border-color: var(--ink);
}

.hint {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.btn-fill {
  width: 100%;
  border: 0;
  background: var(--ink);
  color: #111;
  padding: 15px 16px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-fill:hover {
  background: var(--red);
  color: white;
}

.btn-fill:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.btn-fill:disabled:hover {
  background: var(--ink);
  color: #111;
}

#cart[open] {
  z-index: 80;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  margin: 0;
  width: min(440px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  background: #0c0c0c;
  border-left: 1px solid var(--line);
}

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
}

.cart__head h2 {
  margin: 0;
  font-size: 40px;
}

.cart__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 18px 18px;
  overscroll-behavior: contain;
}

.cart__empty {
  margin: 28px 0;
  color: var(--muted);
}

.cart__empty a {
  color: var(--ink);
}

.line {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.line img {
  width: 84px;
  height: 56px;
  object-fit: contain;
  background: #d5d5d5;
}

.line h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.9;
}

.line p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.line__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 18px;
}

.qty span {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
}

.line__price {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.remove {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.remove:hover {
  color: var(--red);
}

.cart__foot {
  padding: 14px 18px 20px;
  border-top: 1px solid var(--line);
}

.totals {
  margin: 0 0 12px;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
}

.totals .grand {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ship-note,
.draft-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

@media (hover: none) {
  .card__quick {
    transform: none;
  }
}

@media (min-width: 720px) {
  .specs {
    grid-template-columns: 1fr 1fr;
  }

  .specs div:nth-child(odd) {
    padding-right: 28px;
  }

  .foot__row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 860px) {
  :root {
    --header-h: 86px;
  }

  header {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 28px;
  }

  .menu-btn {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .logo img {
    height: 58px;
  }

  .cart-btn__label {
    display: inline;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
  }

  .quick__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .quick__photo img {
    max-height: none;
    height: 100%;
    min-height: 100%;
  }

  .quick__info {
    padding: 36px 28px 28px;
  }

}

@media (max-height: 740px) and (min-width: 860px) {
  .hero__logo {
    width: min(640px, 70vw);
  }

  .hero__line {
    margin: 12px 0 16px;
  }
}

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

  .ticker__track {
    animation: none;
  }

  .ticker__group[aria-hidden="true"] {
    display: none;
  }

  .hero__media {
    display: none;
  }

  .card__media img,
  .card__quick {
    transition: none;
  }
}
