/* Fresh Grooves — "first tee at six": morning fog, fairway green, flag yellow. */
:root {
  --fog: #E9ECE8;
  --fog-2: #DCE1DC;
  --ink: #17201C;
  --ink-2: #4A5650;
  --fairway: #2E5A44;
  --sand: #CDBF9E;
  --flag: #E2B93B;
  --line: #C3CBC5;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --font: 'Archivo', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--fairway); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--ink); color: var(--fog); padding: 8px 12px; z-index: 50; }

main, .footer { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--fog) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em;
  text-decoration: none; font-size: 1.15rem; white-space: nowrap;
}
.topbar { flex-wrap: wrap; }
.mainnav { display: flex; gap: 28px; margin-right: auto; margin-left: 24px; font-weight: 600; font-size: 0.95rem; }
.mainnav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.mainnav a:hover { border-bottom-color: var(--line); }
.mainnav a[aria-current="page"] { border-bottom-color: var(--flag); }
@media (max-width: 720px) {
  .mainnav { order: 3; width: 100%; margin: 4px 0 0; overflow-x: auto; scrollbar-width: none; }
}
.aud-switch { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px; }
.aud-switch button {
  border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
}
.aud-switch button[aria-pressed="true"] { background: var(--ink); color: var(--fog); }

/* Audience filtering: unisex shows to everyone. */
[data-show="women"], [data-show="men"] { display: none; }
html[data-aud] [data-show="all"] { display: none; }
html[data-aud="women"] [data-show="women"], html[data-aud="men"] [data-show="men"] { display: revert; }
html[data-aud="women"] [data-g="men"], html[data-aud="men"] [data-g="women"] { display: none; }

/* Image with brand fallback */
.shot { position: relative; overflow: hidden; background: var(--fog-2); aspect-ratio: 4 / 5; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-brand {
  position: absolute; inset: 0; display: none; align-items: flex-end; padding: 14px;
  font-weight: 800; font-stretch: 125%; font-size: clamp(1.1rem, 3vw, 1.8rem); line-height: 1;
  color: var(--fog);
  background:
    repeating-linear-gradient(180deg, transparent 0 22px, rgb(233 236 232 / 0.09) 22px 26px),
    var(--fairway);
}
.shot.is-missing img { display: none; }
.shot.is-missing .shot-brand { display: flex; }

/* Home */
.intro { padding: clamp(40px, 8vw, 96px) 0 clamp(28px, 5vw, 56px); max-width: 58rem; }
.intro h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.025em;
}
.intro p { margin: 18px 0 0; color: var(--ink-2); max-width: 36rem; font-size: 1.125rem; }

.days { display: grid; gap: clamp(48px, 8vw, 96px); padding-bottom: 72px; }
.day-link { display: grid; gap: 16px; text-decoration: none; }

.day-date { display: flex; flex-direction: column; }
.day-weekday { font-size: 1rem; font-weight: 600; color: var(--fairway); letter-spacing: 0.01em; }
.day-num {
  font-size: clamp(3rem, 11vw, 8.5rem); font-weight: 900; font-stretch: 125%;
  letter-spacing: -0.035em; line-height: 0.9;
}
.day-summary { margin: 0; color: var(--ink-2); max-width: 44rem; }
.day-cta { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.day-link:hover .day-cta { text-decoration-color: var(--flag); }

/* Lookbook collage */
.collage { display: grid; gap: 6px; }
.collage .shot { aspect-ratio: auto; min-height: 0; }
.collage-1 { grid-template-columns: 1fr; height: clamp(320px, 60vw, 640px); }
.collage-2 { grid-template-columns: 3fr 2fr; height: clamp(320px, 60vw, 640px); }
.collage-3 {
  grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr;
  height: clamp(380px, 70vw, 700px);
}
.collage-3 .shot:first-child { grid-row: 1 / 3; }
.day-link:hover .collage img { transform: scale(1.02); }
.collage img { transition: transform 0.6s ease; }

/* Day page */
.day-head { padding: clamp(36px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.day-date-lg .day-num { font-size: clamp(3.4rem, 13vw, 10rem); }
.drop-group { padding: 8px 0 40px; }
.group-title {
  font-size: 1.05rem; font-weight: 700; padding: 0 0 12px; margin-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.drop-list { display: grid; }
.drop-row a {
  display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: clamp(16px, 3vw, 40px);
  padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start;
}
.drop-row .shot { aspect-ratio: 4 / 5; }
.drop-brand { margin: 0; font-weight: 600; color: var(--fairway); font-size: 0.95rem; }
.drop-title { font-size: clamp(1.4rem, 3.4vw, 2.4rem); font-weight: 800; font-stretch: 115%; letter-spacing: -0.02em; margin: 4px 0 10px; }
.drop-row a:hover .drop-title { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--flag); text-underline-offset: 5px; }
.drop-summary { margin: 0 0 12px; color: var(--ink-2); max-width: 40rem; }
.drop-meta { margin: 0; font-size: 0.9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.tag-limited { background: var(--flag); color: var(--ink); font-weight: 700; padding: 1px 8px; border-radius: 3px; font-size: 0.8rem; }
.drop-release { font-weight: 600; color: var(--ink); }

@media (max-width: 560px) {
  .drop-row a { grid-template-columns: 112px 1fr; }
  .drop-summary { display: none; }
}

.day-nav {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 24px 0 64px; font-weight: 600;
}
.day-nav a { text-underline-offset: 4px; }

/* Drop page */
.drop {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px); padding: clamp(24px, 5vw, 56px) 0 40px; align-items: start;
}
.gallery { position: sticky; top: 76px; }
.gallery-main { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-main:disabled { cursor: default; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; margin-top: 6px; }
.thumbs button { padding: 0; border: 0; background: none; width: 100%; }
.thumbs .shot { aspect-ratio: 1; }
.thumbs .shot-brand { font-size: 0.6rem; padding: 6px; }

.drop-h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; margin: 6px 0 12px; }
.lede { font-size: 1.2rem; line-height: 1.5; margin: 18px 0 0; max-width: 34rem; }

.style-note { margin: 28px 0 0; padding: 18px 20px; background: var(--fog-2); border-left: 4px solid var(--fairway); }
.style-note h2, .buy h2, .items h2 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.style-note p { margin: 0; }

.buy { margin-top: 32px; }
.buy ul { display: grid; gap: 8px; margin-top: 10px; }
.buy-when { margin: 0; color: var(--ink-2); }
.btn {
  display: block; text-align: center; text-decoration: none; font-weight: 700;
  padding: 14px 18px; border: 2px solid var(--ink); border-radius: 999px;
}
.btn:hover { background: var(--fog-2); }
.btn-primary { background: var(--ink); color: var(--fog); }
.btn-primary:hover { background: var(--fairway); border-color: var(--fairway); }

.items { margin-top: 32px; }
.item-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px 12px; margin-top: 12px; }
.item-cards a, .item-cards div { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.item-cards .shot { aspect-ratio: 1; margin-bottom: 6px; }
.item-cards .shot-brand { font-size: 0.9rem; }
.item-cards .item-name { line-height: 1.25; }
.item-cards a:hover .item-name { text-decoration: underline; text-decoration-color: var(--flag); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.item-shop { font-weight: 700; font-size: 0.875rem; margin-top: 2px; }
.item-rows { margin-top: 8px; }
.item-rows li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.item-rows a.item-name { text-underline-offset: 3px; }
.item-name { font-weight: 600; }
.item-detail { color: var(--ink-2); font-size: 0.95rem; }

.caveat { margin: 20px 0 0; font-size: 0.95rem; color: var(--ink-2); }
.sources { margin: 24px 0 0; font-size: 0.875rem; color: var(--ink-2); }

.more { padding: 24px 0 8px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px 12px; margin-top: 12px; }
.more-grid a { display: grid; gap: 6px; text-decoration: none; }
.more-grid .shot-brand { font-size: 1rem; }
.more-title { font-weight: 700; line-height: 1.25; }

@media (max-width: 820px) {
  .drop { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

/* Full-screen viewer */
.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--fog);
}
.viewer::backdrop { background: var(--ink); }
.viewer-track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.viewer-track::-webkit-scrollbar { display: none; }
.viewer figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 56px 12px; }
.viewer figure img { max-height: 100%; width: auto; object-fit: contain; }
.viewer-close {
  position: fixed; top: 12px; right: 12px; background: var(--fog); color: var(--ink);
  border: 0; border-radius: 999px; padding: 8px 16px; font-weight: 700;
}
.viewer-hint { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; margin: 0; font-size: 0.9rem; opacity: 0.75; }

/* Pin High */
.pin-teaser {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: center;
  padding: 20px; margin: 0 0 clamp(48px, 8vw, 80px); background: var(--fairway); color: var(--fog); text-decoration: none;
}
.pin-teaser .drop-brand { color: var(--flag); }
.pin-teaser .drop-title { margin-bottom: 12px; }
.pin-teaser:hover .day-cta { text-decoration-color: var(--flag); }
.pin-teaser-strip, .edition-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pin-teaser-strip .shot, .edition-strip .shot { aspect-ratio: 3 / 4; }
.pin-teaser-strip .shot-brand, .edition-strip .shot-brand { font-size: 0.75rem; padding: 8px; }
@media (max-width: 640px) {
  .pin-teaser { grid-template-columns: 1fr; }
}

.editions { display: grid; padding-bottom: 64px; }
.edition-row a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px);
  padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center;
}
.edition-row a:hover .drop-title { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--flag); text-underline-offset: 5px; }
@media (max-width: 640px) { .edition-row a { grid-template-columns: 1fr; } }
.empty { color: var(--ink-2); padding-bottom: 64px; }

.edition-intro { font-size: 1.2rem; max-width: 38rem; margin: 18px 0 8px; }
.pick-list { display: grid; padding-bottom: 32px; }
.pick {
  display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: clamp(16px, 3vw, 40px);
  padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.pick .drop-title a { text-decoration: none; }
.pick .drop-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--flag); text-underline-offset: 5px; }
.pick-note { margin: 10px 0 18px; font-size: 1.1rem; max-width: 36rem; }
.pick-shop { display: inline-block; }
@media (max-width: 560px) { .pick { grid-template-columns: 112px 1fr; } .pick-shop { padding: 10px 16px; font-size: 0.9rem; } }
.more-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-weight: 600; }

/* The Groove Guide */
.guide-list { display: grid; padding-bottom: 64px; }
.guide-row a {
  display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: clamp(16px, 3vw, 40px);
  padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start;
}
.guide-row a:hover .drop-title { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--flag); text-underline-offset: 5px; }
.guide-row .shot { aspect-ratio: 4 / 3; }
@media (max-width: 560px) { .guide-row a { grid-template-columns: 112px 1fr; } }

.guide { max-width: 44rem; padding: clamp(36px, 7vw, 80px) 0 24px; }
.guide-h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; margin: 6px 0 14px; text-wrap: balance; }
.guide .lede { margin-top: 0; }
.guide-cover { margin: 28px 0 8px; }
.guide-cover .shot { aspect-ratio: 16 / 9; }
.guide-body { font-size: 1.125rem; line-height: 1.65; }
.guide-body h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; margin: 40px 0 10px; }
.guide-body p, .guide-body ul { margin: 0 0 16px; }
.guide-body ul { list-style: disc; padding-left: 1.2em; }
.guide-body a { text-underline-offset: 3px; text-decoration-color: var(--fairway); }

/* Ranked product list in guides (the order is the ranking) */
.ranked { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 16px; margin-top: 16px; }
.ranked-item { position: relative; display: grid; gap: 8px; align-content: start; }
.ranked-item .shot { aspect-ratio: 1; }
.ranked-n {
  position: absolute; top: 8px; left: 8px; z-index: 1; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px;
  background: var(--ink); color: var(--fog); display: grid; place-items: center; font-weight: 800; font-variant-numeric: tabular-nums;
}
.ranked-text { display: grid; gap: 4px; }
.ranked-text h3 { margin: 0; font-size: 1.05rem; }
.ranked-verdict { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.ranked-shop { display: inline-block; justify-self: start; padding: 8px 18px; font-size: 0.9rem; margin-top: 4px; }

.draft-banner { margin: 16px 0 0; padding: 10px 14px; background: var(--flag); color: #17201C; font-weight: 700; border-radius: 4px; }

/* Prose */
.prose { max-width: 38rem; padding: clamp(36px, 7vw, 80px) 0 64px; }
.prose h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; margin-bottom: 20px; }
.prose h2 { font-size: 1.3rem; font-weight: 800; margin: 32px 0 8px; }
.prose p { margin: 0 0 14px; }

/* Footer */
.footer { border-top: 2px solid var(--ink); padding-top: 24px; padding-bottom: 48px; font-size: 0.9rem; color: var(--ink-2); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer p { margin: 0 0 6px; max-width: 40rem; }

/* First-visit gate */
.gate {
  position: fixed; inset: 0; z-index: 40; background: var(--fairway); color: var(--fog);
  display: grid; place-items: center; padding: var(--gutter);
}
.gate[hidden] { display: none; }
.gate-inner { width: 100%; max-width: 46rem; }
.gate-wordmark { font-weight: 800; font-stretch: 125%; margin: 0 0 28px; }
.gate h1 { font-size: clamp(2.2rem, 7vw, 4.4rem); font-weight: 900; font-stretch: 115%; letter-spacing: -0.03em; }
.gate p { margin: 16px 0 0; max-width: 30rem; }
.gate-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.gate-choices button {
  background: var(--fog); color: var(--ink); border: 0; border-radius: 6px;
  padding: clamp(22px, 5vw, 40px) 16px; text-align: left;
  font-size: clamp(1.6rem, 6vw, 3rem); font-weight: 900; font-stretch: 125%; letter-spacing: -0.03em;
}
.gate-choices button:hover { background: var(--flag); }
.gate :focus-visible { outline-color: var(--flag); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
