:root {
  --red: #C8102E;
  --ink: #111111;
  --paper: #ECE7DE;
  --line: rgba(17, 17, 17, 0.16);
  --head: "Anton", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;
  --gutter: clamp(16px, 4vw, 48px);

  /* Ink wear: mostly solid with small random holes, like a worn screen print */
  --wear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 -5 0 0 0 3.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  /* Rough torn edge, tiled along the top/bottom of dark bands */
  --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='14'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.09 .5' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='9'/%3E%3C/filter%3E%3Crect x='-10' y='-10' width='420' height='17' fill='%23111' filter='url(%23r)'/%3E%3C/svg%3E");
  --edge-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='14'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.09 .5' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='9'/%3E%3C/filter%3E%3Crect x='-10' y='-10' width='420' height='17' fill='%23C8102E' filter='url(%23r)'/%3E%3C/svg%3E");
  --edge-big: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='22'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.12 .6' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3C/filter%3E%3Crect x='-10' y='-10' width='420' height='22' fill='%23111' filter='url(%23r)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

/* Warm paper + faint running-bond brick from the hanger shot */
body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='64'%3E%3Cg fill='%238a3b20' fill-opacity='.025'%3E%3Crect x='2' y='2' width='92' height='28'/%3E%3Crect x='146' y='34' width='44' height='28'/%3E%3C/g%3E%3Cg fill='%23111' fill-opacity='.018'%3E%3Crect x='50' y='34' width='92' height='28'/%3E%3C/g%3E%3Cpath d='M0 1H192M0 33H192M1 1V33M97 1V33M49 33V64M145 33V64' fill='none' stroke='%23111' stroke-opacity='.04' stroke-width='2'/%3E%3C/svg%3E");
}

/* Grain + scattered ink specks over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 0 0 0 -5.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='.35'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

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

h1, h2 {
  margin: 0 0 0.4em;
  font-family: var(--head);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* Ink-worn headings */
h1, h2, .price, .logo-text { -webkit-mask-image: var(--wear); mask-image: var(--wear); }

/* Red highlight box with slanted white text, as on the print. Rough edge sits on a layer behind the text. */
.box {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 0.12em 0.3em;
  color: #fff;
  font-family: var(--body);
  font-weight: 800;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
.box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  filter: url(#rough-sm);
}

/* Buttons */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 1em 1.8em;
  border: 0;
  background: none;
  color: #fff;
  font: 600 0.85rem/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  filter: url(#rough-sm);
  transition: background 0.15s;
}
.btn:hover::before, .btn:focus-visible::before { background: var(--red); }
.btn-sm { padding: 0.8em 1.2em; font-size: 0.75rem; }
.btn-block { display: block; width: 100%; padding: 1.3em; font-size: 0.95rem; letter-spacing: 0.2em; }
.btn-red::before { background: var(--red); filter: url(#rough); }
.btn-red:hover::before, .btn-red:focus-visible::before { background: var(--ink); }

/* Torn edges on dark/red bands */
.torn-b, .torn-t { position: relative; }
.torn-b::after, .torn-t::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--edge) repeat-x;
  pointer-events: none;
}
.torn-b::after { top: 100%; margin-top: -6px; }
.torn-t::before { bottom: 100%; margin-bottom: -6px; transform: scaleY(-1); }
.ticker.torn-b::after, .ticker.torn-t::before { background-image: var(--edge-red); }
.strip.torn-b::after { height: 22px; margin-top: -10px; background-image: var(--edge-big); }

/* Top strip + header */
.strip {
  z-index: 60;
  padding: 9px var(--gutter);
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter) 12px;
  background: rgba(236, 231, 222, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px dashed var(--line);
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 46px; height: 46px; border-radius: 50%; }

.logo-text {
  font-family: var(--head);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.logo-text .box { font-size: 0.8em; margin-left: 0.15em; }

.nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); }
.nav a:not(.btn) {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--red); }

/* Hero wrapper: product centred, collage strips in the side margins */
.hero { position: relative; }

.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(56px, 6vw, 96px);
}

.gallery { position: relative; }
.gallery-main {
  position: relative;
  margin: 0;
  padding: 10px;
  background: var(--ink);
  filter: url(#rough-sm);
}
.gallery-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Red tape cross pinned to the photo corner */
.tape {
  position: absolute;
  top: -22px;
  left: -26px;
  z-index: 2;
  width: 92px;
  height: 92px;
  pointer-events: none;
  filter: url(#rough);
  opacity: 0.92;
}
.tape::before, .tape::after { content: ""; position: absolute; background: var(--red); }
.tape::before { left: 30px; top: 0; width: 30px; height: 92px; transform: rotate(-3deg); }
.tape::after { left: 0; top: 34px; width: 92px; height: 26px; transform: rotate(2deg); }

/* Graph-paper patch under the photo */
.grid-patch {
  position: absolute;
  left: -56px;
  bottom: -40px;
  z-index: -1;
  width: 180px;
  height: 130px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 12px 12px;
}

.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-thumbs button {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.7;
  filter: grayscale(0.4);
  transition: opacity 0.15s, filter 0.15s;
}
.gallery-thumbs button:hover, .gallery-thumbs button[aria-pressed="true"] { opacity: 1; filter: none; outline: 2px solid var(--ink); outline-offset: -2px; }
.gallery-thumbs button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.gallery-thumbs[hidden] { display: none; }

.buybox { position: sticky; top: 104px; align-self: start; }

.eyebrow {
  margin: 4px 0 18px;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.title { font-size: clamp(2.8rem, 5.4vw, 4.6rem); margin-bottom: 0.15em; }
.title .box { font-size: 0.6em; vertical-align: 0.14em; }

.price { margin: 0 0 12px; font-family: var(--head); font-size: 2.1rem; line-height: 1; }

.lede {
  margin: 0 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 0.98rem;
  line-height: 1.55;
}

.picker fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.picker legend {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.picker legend .picked { font-family: var(--mono); color: rgba(17, 17, 17, 0.65); }
.picker legend a { text-decoration: none; }
.picker legend a::after { content: " →"; }

.picker input { position: absolute; opacity: 0; pointer-events: none; }

.swatches { display: flex; gap: 12px; }
.swatch { padding: 3px; cursor: pointer; outline: 1px solid var(--line); }
.swatch:has(input:checked) { outline: 2px solid var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--red); }
.swatch span {
  display: block;
  width: 48px;
  height: 48px;
  background: var(--c);
  font-size: 0;
  -webkit-mask-image: var(--wear);
  mask-image: var(--wear);
}

.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sizes span {
  display: block;
  padding: 15px 0;
  text-align: center;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.sizes input:checked + span { background: var(--ink); color: #fff; }
.sizes input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.btn:disabled { cursor: progress; opacity: 0.75; }
.form-error { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--red); background: rgba(200, 16, 46, 0.08); font-size: 0.9rem; }
.form-error[hidden] { display: none; }

.facts { margin: 26px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 0.95rem; }
.facts li { display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.facts svg { flex: none; width: 22px; height: 22px; }

/* Registration crosshair, a screen-printer's alignment mark */
.reg {
  position: absolute;
  width: 46px;
  height: 46px;
  pointer-events: none;
  opacity: 0.75;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
}
.reg::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.product > .reg { right: 8px; bottom: 28px; }

/* Ticker */
.ticker { overflow: visible; background: var(--red); color: #fff; }
.ticker-inner { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.ticker span {
  padding: 15px 28px;
  font-family: var(--head);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.ticker span::after { content: "✕"; margin-left: 56px; font-size: 0.7em; vertical-align: 0.15em; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Lookbook */
.lookbook { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--ink); padding: 6px 0; }
.lookbook img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Details + size guide */
.details {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 96px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
}
.details > .reg { left: var(--gutter); top: 24px; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 7rem 1fr; padding: 12px 0; border-top: 1px dashed var(--line); }
.spec dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding-top: 3px; }
.spec dd { margin: 0; font-family: var(--mono); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, 0.4); }
th, td { padding: 12px 10px; text-align: center; border-bottom: 1px dashed var(--line); white-space: nowrap; }
thead th { background: var(--ink); color: #fff; font-family: var(--body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
tbody th { text-align: left; font-family: var(--body); font-weight: 600; }
.note { margin: 12px 0 0; font-family: var(--mono); font-size: 0.82rem; color: rgba(17, 17, 17, 0.65); }

/* Story */
.story {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(64px, 8vw, 120px) max(var(--gutter), calc((100% - 1180px) / 2));
  background: var(--ink);
  color: #fff;
}
.story { position: relative; }
.story .badge { width: clamp(180px, 26vw, 340px); border-radius: 50%; transform: rotate(-4deg); }
.story h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.story p { max-width: 34rem; margin: 0 0 30px; font-family: var(--mono); font-size: 1.1rem; color: rgba(255, 255, 255, 0.82); }
.story .btn:hover::before { background: #fff; }
.story .btn:hover { color: var(--ink); }
.story .tagline { font-family: var(--head); font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; color: #fff; letter-spacing: 0.02em; }

/* Steps */
.steps { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter); }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--ink); font-family: var(--mono); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--head); font-size: 2.6rem; color: var(--red); line-height: 1; }
.steps strong { display: block; margin: 10px 0 4px; font-family: var(--head); font-weight: 400; font-size: 1.45rem; text-transform: uppercase; }

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px var(--gutter);
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--red); }
.footer small { font-family: var(--mono); color: rgba(255, 255, 255, 0.6); }

/* Mobile */
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .logo-text { font-size: 1.15rem; }
  .product, .details { grid-template-columns: minmax(0, 1fr); }
  .buybox { position: static; }
  .tape { left: -10px; top: -14px; transform: scale(0.75); transform-origin: top left; }
  .grid-patch, .reg { display: none; }
  .lookbook { grid-template-columns: 1fr 1fr; }
  .lookbook img:last-child { display: none; }
  .story { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .story p { margin-inline: auto; }
  .steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .logo img { display: none; }
}

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(56px, 8vw, 104px); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.legal h2 { margin-top: 1.6em; font-size: 1.5rem; }
.legal p, .legal li { font-family: var(--mono); font-size: 1rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal-updated { color: rgba(17, 17, 17, 0.6); font-size: 0.85rem !important; }

.footer .company { flex-basis: 100%; margin: 0; font-family: var(--mono); font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }

/* Order confirmation page */
.thanks {
  display: grid;
  justify-items: center;
  gap: 4px;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  text-align: center;
}
.thanks-badge { width: 180px; margin-bottom: 24px; border-radius: 50%; transform: rotate(-4deg); }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
.thanks h1 .box { font-size: 0.6em; vertical-align: 0.14em; }
.thanks p { margin: 0 0 12px; font-family: var(--mono); font-size: 1.05rem; }
.thanks .btn { margin-top: 20px; }
