/* K1T — editorial site styles.
   Layout reference: full-bleed photo cards with serif headlines, fixed header,
   full-screen menu, dark footer. Brand: strictly black & white. */

:root {
  --black: #0a0a0a;
  --ink: #111;
  --paper: #f4f4f1;
  --white: #fff;
  --grey: #8c8c8c;
  --line: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(0, 0, 0, 0.14);

  --f-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --f-serif: "Source Serif 4", Charter, "Bitstream Charter", Georgia, serif;
  --f-mono: "Space Mono", ui-monospace, Menlo, Consolas, monospace;

  --container: 800px;
  --gutter: 40px;
  /* left edge of the centred content column, used to align text on full-bleed cards */
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--black);
  font-family: var(--f-mono); font-size: 13px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Shared bits ---------- */

.label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--white); color: var(--black);
  border: 1px solid var(--white);
  transition: background 0.2s, color 0.2s;
}
.button:hover { background: transparent; color: var(--white); }
.button--ghost { background: transparent; color: var(--white); }
.button--ghost:hover { background: var(--white); color: var(--black); }
.button--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.button--dark:hover { background: transparent; color: var(--black); }
.button svg { width: 14px; height: 14px; }

.icon { width: 24px; height: 24px; display: block; }

/* ---------- Media: photos, videos and kit-pattern placeholders ---------- */

.media { position: absolute; inset: 0; overflow: hidden; background: #151515; }
.media img,
.media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}
.mono-images .media img,
.mono-images .media video { filter: grayscale(1) contrast(1.08); }

/* Placeholders: monochrome football-kit patterns with a faint K1T watermark */
.ph { position: absolute; inset: 0; background-color: #121212; transition: transform 0.8s var(--ease); }
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: url("../img/logo-white.png") center / min(46%, 420px) auto no-repeat;
  opacity: 0.07;
}
.ph--stripes    { background-image: repeating-linear-gradient(90deg, #1d1d1d 0 9%, #0e0e0e 9% 18%); }
.ph--pinstripes { background-image: repeating-linear-gradient(90deg, #121212 0 26px, #2c2c2c 26px 28px); }
.ph--hoops      { background-image: repeating-linear-gradient(0deg, #1d1d1d 0 12%, #0e0e0e 12% 24%); }
.ph--halves     { background-image: linear-gradient(90deg, #1e1e1e 50%, #0d0d0d 50%); }
.ph--quarters   { background-image: conic-gradient(#1e1e1e 0 25%, #0d0d0d 0 50%, #1e1e1e 0 75%, #0d0d0d 0); }
.ph--sash       { background-image: linear-gradient(120deg, #0e0e0e 0 40%, #2a2a2a 40% 56%, #0e0e0e 56%); }
.ph--chevron {
  background-image:
    linear-gradient(35deg, transparent 0 46%, #2a2a2a 46% 58%, transparent 58%),
    linear-gradient(-35deg, transparent 0 46%, #2a2a2a 46% 58%, transparent 58%);
  background-size: 50% 100%;
  background-position: left top, right top;
  background-repeat: no-repeat;
  background-color: #0e0e0e;
}
.ph--plain { background-image: radial-gradient(circle at 70% 30%, #262626, #0c0c0c 70%); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--white);
  transition: background 0.35s, backdrop-filter 0.35s;
}
.site-header::before {
  /* soft shade so the white icons stay readable over light photos */
  content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, 0.45), transparent);
  transition: opacity 0.35s;
}
.site-header.is-scrolled,
.is-menu-open .site-header,
.is-search-open .site-header {
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header.is-scrolled::before,
.is-menu-open .site-header::before,
.is-search-open .site-header::before { opacity: 0; }

.site-header__inner {
  position: relative;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 50px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.site-header__group { display: flex; align-items: center; gap: 22px; }
.site-header__group--end { justify-content: flex-end; }
.site-header__btn { display: grid; place-items: center; width: 32px; height: 32px; }
.site-header__btn .icon { width: 26px; height: 26px; }
.site-header__social .icon { width: 22px; height: 22px; }

.site-header__badge {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 6px; padding: 5px 8px 4px; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.site-header__badge:hover { background: var(--white); color: var(--black); }

.logo { position: relative; display: block; width: 120px; height: 50px; }
.logo img {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  transition: opacity 0.35s, width 0.35s var(--ease), top 0.35s var(--ease);
}
.logo__full { width: 150px; opacity: 1; }
.logo__mark { width: 52px; top: 16px !important; opacity: 0; }
.site-header.is-scrolled .logo__full,
.is-menu-open .logo__full,
.is-search-open .logo__full { opacity: 0; width: 100px; }
.site-header.is-scrolled .logo__mark,
.is-menu-open .logo__mark,
.is-search-open .logo__mark { opacity: 1; }

/* the burger turns into a close button while any overlay is open */
.burger .icon-close,
.is-locked .burger .icon-menu { display: none; }
.is-locked .burger .icon-close { display: block; }

/* ---------- Overlays: menu & search ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 40;
  background: var(--black);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

.menu__inner {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  align-items: end;
  gap: 24px;
  padding: 120px 40px 40px;
}
.menu__nav {
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.menu__links a {
  display: block;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.22;
  transition: opacity 0.2s, transform 0.3s var(--ease);
}
.menu__links:hover a { opacity: 0.45; }
.menu__links a:hover { opacity: 1; transform: translateX(6px); }

.socials { display: flex; gap: 16px; }
.socials a { opacity: 0.85; transition: opacity 0.2s; }
.socials a:hover { opacity: 1; }
.socials .icon { width: 22px; height: 22px; }

.menu__trending h2 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mini-card { position: relative; display: block; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mini-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 14px; }
.mini-card__title {
  font-size: 16px; font-weight: 400; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-card:hover .media img,
.mini-card:hover .ph { transform: scale(1.05); }
.mini-card:hover .media img { filter: none; }

.search__inner { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 130px var(--gutter) 60px; }
.search__field {
  width: 100%;
  padding: 8px 0 14px;
  font: 400 clamp(30px, 4vw, 52px) / 1.1 var(--f-serif);
  color: var(--white); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  outline: none;
}
.search__field::placeholder { color: rgba(255, 255, 255, 0.35); }
.search__field::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search__field:focus { border-bottom-color: var(--white); }
.search__meta { margin: 18px 0 8px; color: var(--grey); }
.search__results li a {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.search__results .mini-card__media { margin: 0; }
.search__results h3 { font-size: 22px; font-weight: 400; line-height: 1.2; margin-top: 6px; }
.search__results li a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Intro: liquid-glass logo reveal (home page) ---------- */

.intro {
  position: relative;
  height: 100vh; height: 100svh; min-height: 420px;
  overflow: hidden;
  background: #0a0a0a; color: var(--white);
}
.intro--light { background: var(--paper); color: var(--ink); }
.intro__stage { position: absolute; inset: 0; } /* the WebGL canvas goes in here */
.intro__caption {
  position: absolute; left: 0; right: 0; bottom: max(18%, 150px);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  animation: intro-in 0.9s var(--ease) 3.3s forwards; /* after the glass lets go of the logo */
}

/* Scroll button: a round button whose arrow keeps nudging down and whose ring keeps
   pulsing outward, so it reads as "press me / there's more below". */
.intro__cue {
  position: absolute; left: 0; right: 0; bottom: 28px;
  width: max-content; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0;
  animation: intro-in 0.9s var(--ease) 2.8s forwards;
}
.intro__cue-btn {
  position: relative;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border: 1px solid currentColor; border-radius: 50%;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.intro__cue-btn svg { width: 22px; height: 22px; animation: cue-nudge 1.6s var(--ease) infinite; }
.intro__cue-ring {
  position: absolute; inset: -1px;
  border: 1px solid currentColor; border-radius: 50%;
  pointer-events: none;
  animation: cue-ring 2s ease-out infinite;
}
.intro__cue:hover .intro__cue-btn,
.intro__cue:focus-visible .intro__cue-btn { background: var(--white); color: var(--black); transform: scale(1.08); }
.intro--light .intro__cue:hover .intro__cue-btn,
.intro--light .intro__cue:focus-visible .intro__cue-btn { background: var(--ink); color: var(--paper); }
.intro__cue:hover .intro__cue-ring { animation-play-state: paused; opacity: 0; }
.intro__cue:focus-visible { outline: none; }

@keyframes intro-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cue-nudge { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
@keyframes cue-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes cue-glow { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.9; } }

/* The intro already shows the logo: keep the header logo hidden until the page scrolls. */
html:not(.is-locked) .has-intro .site-header:not(.is-scrolled) .logo { opacity: 0; pointer-events: none; }
html:not(.is-locked) .has-intro--light .site-header:not(.is-scrolled) { color: var(--ink); }
html:not(.is-locked) .has-intro--light .site-header:not(.is-scrolled)::before { opacity: 0; }
.logo { transition: opacity 0.35s; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; isolation: isolate;
}
.hero::after,
.card::after,
.article-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 70%);
}
.hero__body {
  position: absolute; z-index: 2;
  left: var(--edge); right: var(--gutter); bottom: clamp(40px, 7vh, 80px);
  max-width: 820px;
}
.hero__title {
  font-weight: 400;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 18px 0 28px;
}
.hero__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.4s var(--ease); }
.hero__title a:hover { background-size: 100% 2px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.scroll-cue {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(40px, 7vh, 80px);
  writing-mode: vertical-rl; color: rgba(255, 255, 255, 0.7);
}

/* ---------- Feed of big cards ---------- */

.feed { display: grid; grid-template-columns: 1fr 1fr; }
.feed__row { display: contents; }
.feed__row[hidden] { display: none; }

.card {
  position: relative; grid-column: span 2;
  height: clamp(420px, 60vh, 600px);
  overflow: hidden; isolation: isolate;
}
.card--half { grid-column: span 1; }
.card__body {
  position: absolute; z-index: 2;
  left: var(--edge); right: var(--gutter); bottom: 44px;
  max-width: 560px;
}
.card--half .card__body { left: 28px; right: 28px; max-width: 420px; }
.card__label { margin-bottom: 16px; }
.card__title { font-weight: 400; font-size: clamp(30px, 3.1vw, 46px); line-height: 1.05; }
.card--half .card__title { font-size: clamp(26px, 2.5vw, 38px); }
.card__mega {
  font: 400 clamp(64px, 8vw, 118px) / 0.88 var(--f-display);
  text-transform: uppercase; letter-spacing: -0.005em;
}
.card__dek { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.2; margin-top: 22px; max-width: 580px; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* whole card clickable */
.card:hover .media img,
.card:hover .media video,
.card:hover .ph { transform: scale(1.04); }
.card:hover .media img { filter: none; }

.feed-more { display: flex; justify-content: center; padding: 28px var(--gutter); }
.feed-more .button { width: min(100%, var(--container)); }
.feed-empty { padding: 120px var(--gutter); text-align: center; color: var(--grey); }

/* ---------- Instagram prompt ---------- */

.insta {
  position: fixed; z-index: 45; right: 24px; bottom: 24px;
  width: min(360px, calc(100vw - 32px));
  padding: 28px 26px 26px;
  background: var(--white); color: var(--black);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(calc(100% + 40px));
  transition: transform 0.6s var(--ease);
}
.insta.is-visible { transform: none; }
.is-locked .insta { visibility: hidden; } /* never cover the menu or search */
.insta__close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; }
.insta__close .icon { width: 20px; height: 20px; }
.insta__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 24px; }
.insta__head .icon { width: 28px; height: 28px; flex: none; }
.insta__title { font: 400 30px / 0.95 var(--f-display); text-transform: uppercase; }
.insta__text { font-size: 16px; line-height: 1.4; margin-bottom: 18px; }
.insta .button { width: 100%; }

/* ---------- Teaser lightbox ---------- */

.lightbox {
  width: min(1100px, 92vw); max-height: 92vh; padding: 0; border: 0;
  background: #000; color: var(--white); overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.lightbox video { width: 100%; max-height: 86vh; background: #000; }
.lightbox__close {
  position: absolute; top: -46px; right: 0;
  display: flex; align-items: center; gap: 8px;
}
.lightbox__close .icon { width: 22px; height: 22px; }

/* ---------- Article page ---------- */

.article-hero {
  position: relative;
  height: 82vh; height: 82svh; min-height: 520px;
  overflow: hidden; isolation: isolate;
}
.article-hero__body {
  position: absolute; z-index: 2;
  left: var(--edge); right: var(--gutter); bottom: clamp(36px, 6vh, 64px);
  max-width: 900px;
}
.article-hero__title {
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 18px 0 20px;
}
.article-hero__mega {
  font: 400 clamp(72px, 10vw, 150px) / 0.86 var(--f-display);
  text-transform: uppercase;
  margin: 18px 0 16px;
}
.article-hero__title--sub { font-size: clamp(26px, 2.8vw, 40px); margin-top: 0; }
.article-hero__meta { color: rgba(255, 255, 255, 0.8); }

.article-body { background: var(--paper); color: var(--ink); padding: 72px var(--gutter) 96px; }
.prose { max-width: 680px; margin: 0 auto; font-size: 20px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-child { font-size: 25px; line-height: 1.45; }
.prose h2 {
  font: 400 clamp(32px, 3.4vw, 44px) / 1 var(--f-display);
  text-transform: uppercase;
  margin-top: 1.8em;
}
.prose h2 + p { margin-top: 0.7em; }
.prose blockquote {
  margin: 1.6em 0;
  padding-left: 24px;
  border-left: 4px solid var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 2em 0; }
.prose figure video,
.prose figure img { width: 100%; background: #000; }
.prose figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; color: #666; }

.share {
  max-width: 680px; margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
}
.share a, .share button { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.share a:hover, .share button:hover { text-decoration: underline; text-underline-offset: 4px; }
.share .eyebrow { color: #666; }

.related { padding: 64px var(--gutter) 72px; }
.related__inner { max-width: 1200px; margin: 0 auto; }
.related h2 { margin-bottom: 22px; }

.not-found {
  min-height: 80vh; display: grid; place-content: center; gap: 24px; text-align: center;
  padding: 140px var(--gutter) 80px;
}
.not-found h1 { font: 400 clamp(56px, 10vw, 140px) / 0.9 var(--f-display); text-transform: uppercase; }

/* ---------- Category page ---------- */

.page-head {
  padding: 170px var(--gutter) 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font: 400 clamp(64px, 12vw, 180px) / 0.86 var(--f-display);
  text-transform: uppercase;
  margin: 20px 0 22px;
}
.page-head p { max-width: 560px; margin: 0 auto; font-size: 20px; color: rgba(255, 255, 255, 0.82); }
.page-head__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.page-head__nav a { opacity: 0.55; transition: opacity 0.2s; }
.page-head__nav a:hover,
.page-head__nav a[aria-current="page"] { opacity: 1; }

/* ---------- Shop: light pages (shop.html, product.html) ---------- */

.page--light { background: #fff; color: var(--ink); }
.page--light main { padding-top: 50px; }
/* no hero photo under the header here: keep it solid with the compact logo */
.page--light .site-header { background: rgba(10, 10, 10, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.page--light .site-header::before { opacity: 0; }
.page--light .logo__full { opacity: 0; width: 100px; }
.page--light .logo__mark { opacity: 1; }
.page--light :focus-visible { outline-color: var(--ink); }

.bag-toggle { position: relative; }
.bag-count {
  position: absolute; top: -1px; right: -5px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px;
  background: var(--white); color: var(--black);
  font: 700 10px/17px var(--f-mono); text-align: center;
}
.bag-count[hidden] { display: none; }

.link-button {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-button:hover { text-decoration-thickness: 2px; }

.button:disabled { opacity: 0.4; cursor: not-allowed; }
.button--dark:disabled:hover { background: var(--black); color: var(--white); }

/* Shop header + filters */
.shop-head { max-width: 1360px; margin: 0 auto; padding: 64px 40px 40px; }
.shop-head h1 { font: 400 clamp(56px, 9vw, 132px) / 0.86 var(--f-display); text-transform: uppercase; margin: 14px 0 18px; }
.shop-head__intro { max-width: 520px; font-size: 19px; color: #444; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.shop-filters .label { opacity: 0.5; transition: opacity 0.2s, background 0.2s, color 0.2s; }
.shop-filters .label:hover { opacity: 1; }
.shop-filters .label[aria-pressed="true"] { opacity: 1; background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Product grid + cards */
.pgrid {
  max-width: 1360px; margin: 0 auto; padding: 0 40px 96px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px;
}
.pcard { display: block; }
.pcard[hidden] { display: none; }
.pcard__media { position: relative; aspect-ratio: 4 / 5; background: #eeeeec; overflow: hidden; }
.pcard__img { position: absolute; inset: 0; transition: opacity 0.45s var(--ease), transform 0.8s var(--ease); }
.pcard__img > * { width: 100%; height: 100%; display: block; object-fit: cover; }
.pcard__img--alt { opacity: 0; }
.pcard:hover .pcard__img--alt,
.pcard:focus-visible .pcard__img--alt { opacity: 1; }
.pcard:hover .pcard__img { transform: scale(1.03); }
.pcard__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 8px 4px;
  background: var(--ink); color: var(--white);
  font: 400 10px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.pcard__info { padding-top: 14px; font-family: var(--f-mono); }
.pcard__name { font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; }
.pcard__price { font-size: 13px; margin-top: 4px; }
.pcard__colors { font-size: 11px; color: #777; margin-top: 4px; }

/* Product page: gallery left, sticky purchase panel right, accordions under the gallery */
.product {
  max-width: 1360px; margin: 0 auto;
  padding: 40px 40px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  grid-template-areas: "gallery panel" "info panel";
  column-gap: 72px;
  align-items: start;
}
.product__gallery { grid-area: gallery; }
.product__panel { grid-area: panel; position: sticky; top: 82px; padding-top: 8px; }
.product__info { grid-area: info; margin-top: 48px; }

.pgallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pimg { margin: 0; background: #eeeeec; aspect-ratio: 4 / 5; overflow: hidden; }
.pimg--main { grid-column: span 2; aspect-ratio: 6 / 5; }
.pimg > * { width: 100%; height: 100%; display: block; object-fit: cover; }

.product__eyebrow { color: #777; font-size: 11px; }
.product__name { font: 400 clamp(36px, 3.4vw, 52px) / 0.95 var(--f-display); text-transform: uppercase; margin: 12px 0 14px; }
.product__price { font-family: var(--f-mono); font-size: 17px; letter-spacing: 0.04em; }
.product__badge { display: inline-block; margin-top: 10px; padding: 4px 8px 3px; border: 1px solid currentColor; font-size: 10px; }
.product__rule { border: 0; border-top: 1px solid var(--line-dark); margin: 26px 0 4px; }
.product__label { font: 700 12px / 1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; margin: 24px 0 12px; }
.product__details li { font-size: 16px; line-height: 1.55; }
.product__desc { font-size: 16px; line-height: 1.6; color: #333; }

.buy { margin-top: 8px; }
.opt { border: 0; padding: 0; margin: 26px 0 0; min-width: 0; }
.opt__legend { padding: 0; margin-bottom: 12px; font: 400 12px / 1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.opt__static { margin-top: 26px; }
.opt__list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-box {
  display: grid; place-items: center;
  min-width: 52px; height: 46px; padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font: 400 13px / 1 var(--f-mono);
  cursor: pointer; user-select: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.size-box:hover { border-color: var(--ink); }
input:checked + .size-box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
input:disabled + .size-box {
  color: #b5b5b5; border-color: rgba(0, 0, 0, 0.1); cursor: not-allowed;
  background: linear-gradient(to top right, transparent calc(50% - 0.6px), #c8c8c8 calc(50% - 0.6px), #c8c8c8 calc(50% + 0.6px), transparent calc(50% + 0.6px));
}
input:focus-visible + .size-box,
input:focus-visible + .swatch { outline: 2px solid var(--ink); outline-offset: 3px; }
.swatch {
  display: block; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2); cursor: pointer;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px transparent;
  transition: box-shadow 0.15s;
}
input:checked + .swatch { box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--ink); }
.buy .link-button { margin-top: 14px; }

.buy__row { margin-top: 26px; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(0, 0, 0, 0.2); height: 48px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; }
.qty button svg { width: 16px; height: 16px; }
.qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.qty input {
  width: 44px; height: 100%; border: 0; text-align: center;
  font: 400 14px var(--f-mono); color: inherit; background: transparent;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-inner-spin-button,
.qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 34px; margin-top: 10px; }
.qty--sm button { width: 34px; }
.qty--sm span { min-width: 26px; text-align: center; font: 400 13px var(--f-mono); }

.buy__error { min-height: 18px; margin-top: 12px; font: 400 12px / 1.4 var(--f-mono); color: #b3261e; }
.buy__add { width: 100%; min-height: 56px; margin-top: 4px; font-size: 13px; }
.buy__notes { margin-top: 18px; display: grid; gap: 6px; font: 400 11px / 1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #555; }
.buy__notes li::before { content: "— "; }

.acc { border-top: 1px solid var(--line-dark); }
.acc:last-child { border-bottom: 1px solid var(--line-dark); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 400 12px / 1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; line-height: 1; }
.acc[open] summary::after { content: "\2212"; }
.acc__body { padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: #333; max-width: 640px; }

.shop-related { border-top: 1px solid var(--line-dark); padding-top: 56px; }
.shop-related h2 { max-width: 1360px; margin: 0 auto 24px; padding: 0 40px; }

/* Bag drawer + modal dialogs */
.bag {
  margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(440px, 100vw); max-width: none;
  height: 100vh; height: 100dvh; max-height: none;
  background: #fff; color: var(--ink);
  flex-direction: column;
}
.bag[open] { display: flex; animation: bag-in 0.4s var(--ease); }
.bag::backdrop { background: rgba(0, 0, 0, 0.5); }
@keyframes bag-in { from { transform: translateX(100%); } to { transform: none; } }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-dark); }
.bag__head button,
.modal__head button { width: 36px; height: 36px; display: grid; place-items: center; }
.bag__ship { padding: 16px 22px; border-bottom: 1px solid var(--line-dark); }
.bag__ship .eyebrow { font-size: 11px; }
.bag__bar { height: 3px; background: #e6e6e3; margin-top: 10px; }
.bag__bar span { display: block; height: 100%; background: var(--ink); transition: width 0.4s var(--ease); }
.bag__body { flex: 1; overflow-y: auto; padding: 0 22px; }
.bag-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.bag-line__img { display: block; aspect-ratio: 4 / 5; background: #eeeeec; overflow: hidden; }
.bag-line__img > * { width: 100%; height: 100%; display: block; object-fit: cover; }
.bag-line__name { font: 400 12px / 1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.bag-line__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.bag-line__meta { margin-top: 4px; font: 400 12px / 1.4 var(--f-mono); color: #777; }
.bag-line__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.bag-line__price { font: 400 13px var(--f-mono); }
.bag__foot { padding: 18px 22px 24px; border-top: 1px solid var(--line-dark); }
.bag__subtotal { display: flex; justify-content: space-between; font: 400 14px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.bag__small { margin-top: 6px; font: 400 11px / 1.4 var(--f-mono); color: #777; }
.bag__checkout { width: 100%; margin-top: 16px; min-height: 54px; }
.bag__msg:not(:empty) { margin-top: 12px; padding: 12px 14px; background: var(--paper); font: 400 12px / 1.5 var(--f-mono); }
.bag__empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 20px; padding: 40px 22px; text-align: center; }

.modal {
  width: min(560px, 92vw); padding: 24px 28px 28px; border: 0;
  background: #fff; color: var(--ink);
}
.modal::backdrop { background: rgba(0, 0, 0, 0.5); }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.size-table { width: 100%; border-collapse: collapse; font: 400 13px var(--f-mono); }
.size-table th,
.size-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line-dark); }
.size-table thead th { font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.modal__note { margin-top: 16px; font-size: 14px; color: #555; }

/* ---------- Footer ---------- */

.site-footer { background: #000; color: var(--white); border-top: 1px solid var(--line); }
.footer__grid {
  max-width: 1200px; margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr 1fr;
  gap: 40px;
}
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { font-family: var(--f-mono); font-size: 12px; color: var(--grey); }
.footer__brand .socials { margin-top: 22px; }
.footer__col h2 { margin-bottom: 18px; color: var(--grey); font-weight: 400; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { font-size: 16px; line-height: 1.3; transition: opacity 0.2s; }
.footer__col a:hover { opacity: 0.6; }
.footer__col--mono a { font-family: var(--f-mono); font-size: 13px; }
.footer__bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a:hover { color: var(--white); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .mini-grid > :nth-child(n + 7) { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product { column-gap: 40px; grid-template-columns: minmax(0, 1fr) 360px; }
}

@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; grid-template-areas: "gallery" "panel" "info"; }
  .product__panel { position: static; padding-top: 28px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu__inner { grid-template-columns: 1fr; align-items: start; padding: 100px 24px 32px; }
  .menu__nav { border-right: 0; padding-right: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); gap: 28px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .mini-grid > :nth-child(n + 5) { display: none; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }

  .site-header__inner { height: 56px; padding: 0 14px; }
  .site-header__group { gap: 12px; }
  .site-header__social { display: none; }
  .site-header__badge { font-size: 9px; padding: 4px 6px 3px; }
  .logo { width: 90px; height: 56px; }
  .logo__full { width: 104px; }
  .logo__mark { width: 46px; top: 19px !important; }

  .card, .card--half { grid-column: span 2; height: 72vh; height: 72svh; min-height: 400px; max-height: 560px; }
  .card__body, .card--half .card__body { left: 20px; right: 20px; bottom: 32px; }
  .card__title, .card--half .card__title { font-size: 31px; }
  .card__mega { font-size: 64px; }
  .card__dek { font-size: 19px; }

  .hero__title { font-size: 42px; }
  .scroll-cue { display: none; }

  .article-hero__title { font-size: 38px; }
  .article-body { padding: 48px 20px 72px; }
  .prose { font-size: 19px; }
  .prose > p:first-child { font-size: 22px; }

  .search__results li a { grid-template-columns: 88px 1fr; gap: 14px; }
  .search__results h3 { font-size: 19px; }

  .page-head { padding: 130px 20px 48px; }
  .page-head p { font-size: 18px; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }

  .page--light main { padding-top: 56px; }
  .shop-head { padding: 40px 20px 28px; }
  .shop-head__intro { font-size: 17px; }
  .pgrid { padding: 0 12px 64px; gap: 32px 12px; }
  .pcard__info { padding: 10px 2px 0; }
  .product { padding: 0 0 56px; }
  .product__panel, .product__info { padding-left: 20px; padding-right: 20px; }
  /* swipeable gallery; the next image peeks in to show there's more */
  .pgallery { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pgallery::-webkit-scrollbar { display: none; }
  .pimg, .pimg--main { flex: 0 0 88%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .shop-related { padding-top: 40px; }
  .shop-related h2 { padding: 0 20px; }

  .insta { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .insta__head { margin-bottom: 8px; }
  .insta__head .icon { width: 24px; height: 24px; }
  .insta__title { font-size: 24px; }
  .insta__text { font-size: 15px; margin-bottom: 14px; }
  .insta .button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
  /* Keep the scroll button alive without movement: the ring glows in and out instead. */
  .intro__cue-btn svg { animation: none !important; }
  .intro__cue-ring { inset: -7px; animation: cue-glow 2.2s ease-in-out infinite !important; }
}
