/*
  Off Retail. One family (Archivo) used across its width axis: expanded for the
  wordmark and headings, normal for reading. White ground, black type, warm grey
  product tiles, and a single oxblood used only for reduced prices.
*/
:root {
  --bg: #FFFFFF;
  --ink: #000000;
  --sub: #6B6966;
  --tile: #F2F1EE;
  --line: #E5E3DF;
  --sale: #8A1C2B;
  --sale-soft: #F7EEEE;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1320px;
  --gut: clamp(16px, 3.2vw, 40px);
}

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.5 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Utility line: the reliability promise, always visible */
.util {
  background: var(--ink); color: #fff; font-size: 12.5px; text-align: center;
  padding: 8px var(--gut); padding-top: calc(8px + env(safe-area-inset-top));
  display: flex; justify-content: center; gap: 6px 18px; flex-wrap: wrap;
}
.util #sampleNote { color: #E9C9CD; }

/* Header */
.wordmark {
  font-weight: 800; font-stretch: 125%; font-size: 19px; letter-spacing: 0.01em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap; line-height: 1;
}
.head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 60px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.sections { display: flex; justify-content: center; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.sections::-webkit-scrollbar { display: none; }
.sections a { font-size: 14px; text-decoration: none; white-space: nowrap; padding: 20px 0 18px; border-bottom: 2px solid transparent; }
.sections a:hover, .sections a[aria-current="true"] { border-bottom-color: var(--ink); }
.head-tools { display: flex; gap: 4px; }
.tool { position: relative; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.tool:hover { background: var(--tile); }
.tool svg { width: 21px; height: 21px; }
.count { position: absolute; top: 4px; right: 3px; background: var(--sale); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px; }
@media (max-width: 900px) {
  .head-inner { grid-template-columns: 1fr auto; height: auto; padding-top: 12px; row-gap: 0; }
  .sections { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 22px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .sections a { padding: 12px 0 10px; }
}

main { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Intro: promise on the left, today's biggest drops on the right */
.intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px);
  padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); align-items: start;
}
.intro h1 {
  font-weight: 700; font-stretch: 112%; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02;
  letter-spacing: -0.02em; margin: 0 0 22px; max-width: 14ch; text-wrap: balance;
}
.intro-copy > p { font-size: 17px; color: #33312F; max-width: 44ch; margin: 0 0 32px; }
.proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 46ch; }
.proof li { font-size: 14px; color: var(--sub); padding-left: 26px; position: relative; }
.proof li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 8px;
  border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg);
}
.proof strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

.drops { border-top: 2px solid var(--ink); }
.drops-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; gap: 12px; }
.drops-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.drops-head span { font-size: 12.5px; color: var(--sub); }
.drops-list { list-style: none; margin: 0; padding: 0; counter-reset: drop; }
.drop {
  display: grid; grid-template-columns: 26px 56px minmax(0, 1fr) 84px auto; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; counter-increment: drop;
}
.drop::before { content: counter(drop); font-weight: 700; font-stretch: 112%; font-size: 15px; }
.drop:hover .drop-name { text-decoration: underline; text-underline-offset: 3px; }
.drop .tile { width: 56px; aspect-ratio: 1; }
.drop .tile svg { width: 26px; height: 26px; }
.drop-shop { display: block; font-size: 12px; color: var(--sub); }
.drop-name { display: block; font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop .spark { width: 84px; height: 28px; }
.drop .prices { text-align: right; }
@media (max-width: 520px) {
  .drop { grid-template-columns: 20px 48px minmax(0, 1fr) auto; gap: 10px; }
  .drop .spark { display: none; }
  .drop .tile { width: 48px; }
}

/* Prices: oxblood marks a reduction, nothing else */
.now { font-weight: 600; font-size: 15px; color: var(--sale); font-variant-numeric: tabular-nums; white-space: nowrap; }
.now.plain { color: var(--ink); }
.was { font-size: 13px; color: var(--sub); text-decoration: line-through; text-decoration-thickness: 1px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pct { font-size: 13px; color: var(--sale); white-space: nowrap; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.drop .price-line { justify-content: flex-end; }
.drop .pct { display: block; text-align: right; }

.spark { display: block; overflow: visible; }
.spark path { stroke: var(--ink); stroke-width: 1.25; }
.spark circle { fill: var(--sale); stroke: none; }

/* Product tiles and placeholder drawings */
.tile { background: var(--tile); border-radius: 2px; display: grid; place-items: center; overflow: hidden; color: #A9A59E; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tile svg { width: 34%; height: 34%; stroke-width: 1; }

/* Shop bar */
.shop { border-top: 1px solid var(--line); padding-top: 8px; }
.shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 10px 0 14px; }
.tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 14px; color: var(--sub); white-space: nowrap; border-bottom: 1.5px solid transparent; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tab:hover { color: var(--ink); }
.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-field { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 2px; padding: 0 12px; height: 40px; width: 240px; }
.search-field:focus-within { border-color: var(--ink); }
.search-field svg { width: 16px; height: 16px; flex: none; color: var(--sub); }
.search-field input { border: 0; outline: 0; background: none; width: 100%; font-size: 16px; }
@media (min-width: 700px) { .search-field input { font-size: 14px; } }
.select { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 2px; height: 40px; padding: 0 4px 0 12px; font-size: 13px; color: var(--sub); }
.select select { border: 0; background: none; font-size: 14px; color: var(--ink); padding: 8px 4px; cursor: pointer; }
@media (max-width: 700px) { .controls { width: 100%; } .search-field { width: 100%; } .select { flex: 1; } .select select { width: 100%; } }
.result-line { font-size: 13px; color: var(--sub); margin: 0 0 18px; }

/* Grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 18px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
.card { position: relative; }
.card.is-target .tile { outline: 2px solid var(--sale); outline-offset: 4px; }
.card-link { display: block; text-decoration: none; }
.card .tile { aspect-ratio: 4 / 5; margin-bottom: 12px; }
.card-link:hover .card-name { text-decoration: underline; text-underline-offset: 3px; }
.card-shop { font-size: 12.5px; color: var(--sub); margin: 0 0 3px; }
.card-name { font-size: 14px; line-height: 1.35; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-note { font-size: 12.5px; color: var(--sub); margin: 4px 0 0; }
.flag {
  position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--sale);
  font-size: 11.5px; font-weight: 600; padding: 5px 8px; border-radius: 2px; line-height: 1;
}
.card-tools { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; }
.mini {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 0; display: grid; place-items: center; cursor: pointer;
}
.mini svg { width: 17px; height: 17px; }
.mini[aria-pressed="true"] svg { fill: var(--sale); stroke: var(--sale); }
.mini:hover { box-shadow: 0 0 0 1px var(--line); }
.empty { grid-column: 1 / -1; color: var(--sub); padding: 40px 0; }

.more, .btn {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 2px; cursor: pointer;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.more { display: flex; margin: 40px auto 0; background: none; color: var(--ink); }
.more:hover { background: var(--ink); color: #fff; }
.btn.ghost { background: none; color: var(--ink); }

/* Blocks below the grid */
.block { padding-top: clamp(56px, 7vw, 96px); }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.block-head h2 { margin: 0; font-weight: 700; font-stretch: 112%; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.01em; }
.block-head p { margin: 0; color: var(--sub); font-size: 14px; }

.codes, .cal { list-style: none; margin: 0; padding: 0; }
.code { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.code-shop { font-weight: 600; }
.code-what { margin: 0; }
.code-when { margin: 2px 0 0; font-size: 13px; color: var(--sub); }
.code-when .soon { color: var(--sale); }
.code-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 16px; border: 1px solid var(--ink);
  border-radius: 2px; background: none; cursor: pointer; font-weight: 600; font-stretch: 112%; letter-spacing: 0.04em;
}
.code-btn span { background: var(--ink); color: #fff; font-size: 12.5px; font-stretch: 100%; letter-spacing: 0; padding: 7px 10px; border-radius: 2px; font-weight: 600; }
.code-btn:hover span { background: var(--sale); }
@media (max-width: 640px) { .code { grid-template-columns: 1fr; } }

.cal-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cal-date { font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-item.is-now .cal-date { color: var(--sale); }
.cal-item h3 { margin: 0; font-size: 15px; font-weight: 600; }
.cal-item p { margin: 2px 0 0; color: var(--sub); font-size: 14px; max-width: 60ch; }
@media (max-width: 640px) { .cal-item { grid-template-columns: 1fr; } }

.install { margin-top: clamp(56px, 7vw, 96px); border: 1px solid var(--line); padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.install h2 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.install p { margin: 0; color: var(--sub); font-size: 14px; }

.disclosure { font-size: 12.5px; color: var(--sub); max-width: 80ch; margin: 48px 0 0; }

/* Footer */
.foot { background: var(--ink); color: #fff; margin-top: 56px; padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: #A8A6A2; font-size: 14px; max-width: 34ch; margin: 14px 0 0; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-col h3 { font-size: 13px; color: #A8A6A2; font-weight: 400; margin: 0 0 4px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
@media (max-width: 720px) { .foot-inner { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Saved drawer */
.drawer { border: 0; padding: 0; margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(420px, 100%); background: #fff; color: var(--ink); }
.drawer::backdrop { background: rgba(0, 0, 0, 0.35); }
.drawer[open] { animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer-note { font-size: 13px; color: var(--sub); margin: 0; padding: 16px 24px 4px; }
.saved-list { list-style: none; margin: 0; padding: 0 24px; }
.saved-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.saved-item .tile { width: 64px; aspect-ratio: 4 / 5; }
.saved-item p { margin: 0; font-size: 13.5px; }
.saved-item a { text-decoration: none; }
.saved-item .drop-note { color: var(--sale); font-weight: 600; }
.drawer-foot { padding: 20px 24px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); background: var(--ink); color: #fff; padding: 11px 18px; font-size: 14px; border-radius: 2px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Content pages */
.page { max-width: 66ch; padding: 48px 0 24px; }
.page h1 { font-weight: 700; font-stretch: 112%; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 24px; }
.page h2 { font-size: 18px; font-weight: 700; margin: 36px 0 8px; }
.page p { color: #33312F; font-size: 16px; }

/* Fixes after review */
.count[hidden] { display: none; }
.sections a, .tab { flex: none; }
.card-name { font-weight: 400; }
@media (hover: hover) {
  .card-tools [data-share] { opacity: 0; transition: opacity .15s; }
  .card:hover [data-share], .card-tools [data-share]:focus-visible { opacity: 1; }
}
@media (max-width: 600px) { .util .long { display: none; } }
