/* ============================================================
   OWNGAME stylesheet
   Shared across every page.

   Bold editorial colour-block layout. Light and dark alternate
   deliberately, with electric cobalt as the single accent.

   Display: Anton (heavy condensed). UI and body: Manrope.
   Self-hosted, no external requests at runtime.
   ============================================================ */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/anton.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/manrope.woff2') format('woff2');
}

/* ---------------------------------------------------------------
   Tokens
   --------------------------------------------------------------- */
:root {
  --bone: #edebe4;
  --bone-deep: #e2dfd6;
  --ink: #0c0d0f;
  --ink-soft: #16181c;
  --white: #ffffff;

  --blue: #2340f5;
  --blue-bright: #3d59ff;

  --on-light-1: var(--ink);
  --on-light-2: rgba(12, 13, 15, 0.62);
  --on-light-3: rgba(12, 13, 15, 0.42);
  --on-dark-1: #f2f1ec;
  --on-dark-2: rgba(242, 241, 236, 0.66);
  --on-dark-3: rgba(242, 241, 236, 0.42);

  --line-light: rgba(12, 13, 15, 0.14);
  --line-dark: rgba(242, 241, 236, 0.16);

  --font-display: 'Anton', 'Haettenschweiler', 'Arial Narrow', sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 3.4vw, 46px);
  --max: 1560px;

  --r-pill: 999px;
  --r-card: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;
  --dur-slow: 1s;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--on-light-1);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  background: var(--ink); color: var(--bone);
  padding: 12px 20px; z-index: 400; font-size: 13px;
  border-radius: var(--r-pill);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ---------------------------------------------------------------
   Type
   --------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.86;
}

.d-xl { font-size: clamp(3.4rem, 13.5vw, 12rem); }
.d-lg { font-size: clamp(2.6rem, 8.5vw, 7rem); }
.d-md { font-size: clamp(2rem, 5vw, 3.9rem); }
.d-sm { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }

.micro {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-light-3);
}
.micro--dark { color: var(--on-dark-3); }

.lede {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--on-light-2);
  max-width: 52ch;
}
.lede--dark { color: var(--on-dark-2); }

.prose p { margin-top: 18px; color: var(--on-light-2); line-height: 1.78; }
.prose p:first-child { margin-top: 0; }
.prose--dark p { color: var(--on-dark-2); }

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 14px; height: 14px; }

.btn--ink { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--ink:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.btn--bone { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--bone:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.btn--blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--blue:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }

.btn--ghost-light { color: var(--ink); border-color: var(--line-light); }
.btn--ghost-light:hover { border-color: var(--ink); }

.btn--ghost-dark { color: var(--on-dark-1); border-color: var(--line-dark); }
.btn--ghost-dark:hover { border-color: var(--on-dark-1); }

.btn--wide { width: 100%; }

/* ---------------------------------------------------------------
   Contour backdrop
   --------------------------------------------------------------- */
.contour { position: relative; isolation: isolate; }

.contour::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-radial-gradient(ellipse 130% 90% at 18% 26%,
      transparent 0 46px, var(--contour-c, rgba(12, 13, 15, 0.055)) 46px 47px),
    repeating-radial-gradient(ellipse 110% 120% at 88% 74%,
      transparent 0 54px, var(--contour-c, rgba(12, 13, 15, 0.055)) 54px 55px);
}
.contour--dark { --contour-c: rgba(242, 241, 236, 0.06); }

/* ---------------------------------------------------------------
   Media
   Real <img> slots. Swap the file, keep the aspect ratio.
   --------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--bone-deep);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--tall { aspect-ratio: 4 / 5; }
.media--land { aspect-ratio: 16 / 9; }
.media--flat { aspect-ratio: 2 / 1; }

.hoverzoom:hover .media img,
.hoverzoom:focus-visible .media img { transform: scale(1.045); }

/* ---------------------------------------------------------------
   Floating chrome
   --------------------------------------------------------------- */
.chrome-btn {
  position: fixed;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bone);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(242, 241, 236, 0.22);
  box-shadow: 0 6px 22px rgba(12, 13, 15, 0.18);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.chrome-btn:hover { background: var(--blue); transform: translateY(-1px); }
.chrome-btn svg { width: 13px; height: 13px; }

.chrome-shop { top: 16px; left: var(--gutter); }

.chrome-menu {
  position: fixed;
  z-index: 300;
  top: 16px;
  right: var(--gutter);
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  border-radius: 12px;
  border: 1px solid rgba(242, 241, 236, 0.22);
  box-shadow: 0 6px 22px rgba(12, 13, 15, 0.18);
  transition: background-color var(--dur) var(--ease);
}
.chrome-menu:hover { background: var(--blue); }

.chrome-menu span {
  position: absolute;
  width: 16px; height: 1.6px;
  background: var(--bone);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.chrome-menu span:nth-child(1) { transform: translateY(-4px); }
.chrome-menu span:nth-child(2) { transform: translateY(4px); }
.chrome-menu[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.chrome-menu[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

.chrome-card {
  position: fixed;
  z-index: 300;
  left: var(--gutter);
  bottom: 16px;
  background: var(--ink);
  color: var(--on-dark-1);
  border-radius: var(--r-card);
  padding: 12px 15px;
  min-width: 132px;
  border: 1px solid rgba(242, 241, 236, 0.22);
  box-shadow: 0 6px 22px rgba(12, 13, 15, 0.2);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.chrome-card:hover { transform: translateY(-2px); }
.chrome-card .micro { color: var(--on-dark-3); display: block; }
.chrome-card strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--on-dark-1);
}
.chrome-card em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--blue-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.chrome-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* ---------------------------------------------------------------
   Menu overlay
   --------------------------------------------------------------- */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: var(--ink);
  color: var(--on-dark-1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px var(--gutter) 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
  overflow-y: auto;
}
.menu-panel.is-open { opacity: 1; pointer-events: auto; }

.menu-panel a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6.4vw, 4.2rem);
  text-transform: uppercase;
  line-height: 1.06;
  letter-spacing: -0.01em;
  padding: 4px 0;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
  transform-origin: left center;
  width: fit-content;
}
.menu-panel a:hover { color: var(--blue-bright); transform: translateX(10px); }
.menu-panel a[aria-current="page"] { color: var(--blue-bright); }

.menu-foot {
  margin-top: 40px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.menu-foot a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--on-dark-3);
  padding: 0;
}
.menu-foot a:hover { color: var(--on-dark-1); transform: none; }

/* ---------------------------------------------------------------
   Reveal on scroll
   Only hidden when JS is running, so the page still reads
   if the script fails to load.
   --------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .stagger.is-visible > * { opacity: 1; transform: none; }
.js .stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.js .stagger.is-visible > *:nth-child(2) { transition-delay: 0.07s; }
.js .stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.js .stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.js .stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.js .stagger.is-visible > *:nth-child(6) { transition-delay: 0.35s; }
.js .stagger.is-visible > *:nth-child(7) { transition-delay: 0.42s; }
.js .stagger.is-visible > *:nth-child(8) { transition-delay: 0.49s; }

/* ---------------------------------------------------------------
   HOME: hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(74px, 9vh, 104px);
  overflow: hidden;
  background: var(--bone);
}

.hero-mark { width: 26px; height: 26px; color: var(--ink); }
.hero-mark svg { width: 100%; height: 100%; }

.hero-lockup {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.4vw, 5.1rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  text-align: center;
}
.hero-lockup .own {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-tag { margin-top: 12px; text-align: center; }

.hero-figure {
  position: relative;
  width: min(880px, 88vw);
  flex: 1;
  margin-top: clamp(18px, 3vh, 34px);
  min-height: 260px;
  border-radius: var(--r-card) var(--r-card) 0 0;
  overflow: hidden;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-actions {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 40px);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- hero entrance choreography ---------------------------------
   Runs once on load. Each element rises through a clipped mask so
   the lockup assembles rather than simply fading.               */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-anim {
    opacity: 0;
    animation: riseIn 1s var(--ease) forwards;
  }
  .js .hero-anim--1 { animation-delay: 0.05s; }
  .js .hero-anim--2 { animation-delay: 0.16s; }
  .js .hero-anim--3 { animation-delay: 0.27s; }
  .js .hero-anim--4 { animation-delay: 0.36s; }
  .js .hero-anim--5 { animation-delay: 0.62s; }

  .js .hero-figure.hero-anim {
    animation-name: riseScale;
    animation-duration: 1.25s;
  }

  @keyframes riseIn {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes riseScale {
    from { opacity: 0; transform: translateY(34px) scale(0.985); }
    to   { opacity: 1; transform: none; }
  }
}

/* --- scroll-driven parallax on the hero image --------------------
   Uses native scroll-driven animation where supported, so no
   scroll listener is needed. Browsers without it simply hold
   the image still, which is a fine fallback.                    */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-figure img {
      animation: heroDrift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes heroDrift {
      from { transform: scale(1.12) translateY(-2.5%); }
      to   { transform: scale(1.12) translateY(2.5%); }
    }
  }
}

/* ---------------------------------------------------------------
   MARQUEE (one per page)
   --------------------------------------------------------------- */
.marquee-band {
  background: var(--ink);
  color: var(--on-dark-1);
  padding: clamp(56px, 8vw, 108px) 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  padding-right: 0.35em;
  white-space: nowrap;
}
.marquee span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--on-dark-2);
}

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

.marquee-band:hover .marquee { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}

.statement { margin-top: clamp(40px, 6vw, 80px); text-align: center; }
.statement .lede { margin: 16px auto 0; }

/* ---------------------------------------------------------------
   Product grids
   --------------------------------------------------------------- */
.edit {
  background: var(--ink);
  color: var(--on-dark-1);
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 130px);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 4.4vw, 60px);
}

/* scattered rhythm, used on the home page only */
.scatter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 30px);
  align-items: start;
}
.scatter > *:nth-child(4n+2) { margin-top: clamp(24px, 4vw, 62px); }
.scatter > *:nth-child(4n+3) { margin-top: clamp(10px, 1.6vw, 26px); }
.scatter > *:nth-child(4n+4) { margin-top: clamp(34px, 5.4vw, 84px); }

/* even grid, used on collection pages */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 34px) clamp(14px, 1.6vw, 26px);
}

.card-cap {
  display: block;
  margin-bottom: 9px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.card-cap--light { color: var(--on-light-3); }

.product-card { display: block; }

.product-meta {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.product-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.product-sub { margin-top: 2px; font-size: 11.5px; color: var(--on-dark-3); }
.product-sub--light { color: var(--on-light-3); }
.product-price {
  font-size: 13.5px; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---------------------------------------------------------------
   HOME: categories
   --------------------------------------------------------------- */
.cats { padding: clamp(64px, 9vw, 130px) 0; }
.cats-head { margin-bottom: clamp(28px, 3.6vw, 48px); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 22px);
}

.cat-card {
  position: relative;
  display: block;
  border-radius: var(--r-card);
  overflow: hidden;
  color: var(--white);
  transition: transform var(--dur) var(--ease);
}
.cat-card:hover { transform: translateY(-4px); }

.cat-card .media {
  border-radius: var(--r-card);
  aspect-ratio: 3 / 4;
}
.cat-card .media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.cat-card--light .media::after {
  background: linear-gradient(to bottom, transparent 45%, rgba(237, 235, 228, 0.82));
}

.cat-body {
  position: absolute;
  left: 0; bottom: 0;
  padding: clamp(18px, 2vw, 28px);
  z-index: 2;
}
.cat-body .d-sm { margin-top: 6px; }
.cat-index {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
}
.cat-body p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28ch;
}
.cat-card--light { color: var(--ink); }
.cat-card--light .cat-body p { color: var(--on-light-2); }
.cat-card--light .cat-index { color: var(--blue); }

/* ---------------------------------------------------------------
   CTA band
   --------------------------------------------------------------- */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: clamp(60px, 8vw, 118px) 0;
  text-align: center;
}
.cta-band .d-lg { margin-top: 12px; }
.cta-band p {
  margin: 16px auto 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}
.cta-band .btn { margin-top: 30px; }
.cta-band .micro { color: rgba(255, 255, 255, 0.7); }

/* ---------------------------------------------------------------
   Stockists
   --------------------------------------------------------------- */
.stockists {
  padding: clamp(48px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--line-light);
}
.stockists .micro { display: block; text-align: center; }

.stockist-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 5vw, 70px);
  flex-wrap: wrap;
}
.stockist-row span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--on-light-3);
  transition: color var(--dur) var(--ease);
}
.stockist-row span:hover { color: var(--ink); }

/* ---------------------------------------------------------------
   Social
   --------------------------------------------------------------- */
.social { padding: clamp(60px, 8vw, 110px) 0 0; }
.social-head { text-align: center; margin-bottom: clamp(24px, 3vw, 40px); }
.social-head .d-md { margin-top: 10px; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding-inline: 4px;
}
.social-grid .media { border-radius: 8px; }
.social-grid a:hover .media img { transform: scale(1.06); }

/* ---------------------------------------------------------------
   Signup
   --------------------------------------------------------------- */
.signup { padding: clamp(64px, 9vw, 130px) 0; text-align: center; }
.signup-inner { max-width: 540px; margin-inline: auto; }
.signup .d-md { margin-top: 10px; }
.signup .lede { margin: 14px auto 0; max-width: 42ch; }

.signup-form {
  margin-top: 30px;
  display: flex;
  gap: 9px;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 20px;
  border: 1px solid var(--line-light);
}
.signup-field { flex: 1; display: flex; align-items: center; }
.signup-field label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.signup-field input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 14.5px;
  padding: 10px 0;
}
.signup-field input::placeholder { color: var(--on-light-3); }
.signup-field input:focus-visible { outline: none; }
.signup-form:focus-within { border-color: var(--ink); }

.signup-note { margin-top: 14px; font-size: 11.5px; color: var(--on-light-3); }

.form-error {
  display: none;
  margin-top: 12px;
  font-size: 12.5px;
  color: #b3211c;
}
.form-error.is-visible { display: block; }

.form-success {
  display: none;
  margin-top: 28px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14.5px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 16px; height: 16px; color: var(--blue); }

/* ---------------------------------------------------------------
   INNER PAGES: banner
   --------------------------------------------------------------- */
.page-banner {
  position: relative;
  min-height: clamp(340px, 52vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 13, 15, 0.35) 0%, transparent 40%, rgba(12, 13, 15, 0.72) 100%);
}
.page-banner-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(26px, 4vw, 52px);
}
.page-banner .d-lg { margin-top: 8px; }
.page-banner p.lede {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}
.page-banner--light { color: var(--ink); }
.page-banner--light::after {
  background: linear-gradient(to bottom, rgba(237, 235, 228, 0.2) 0%, transparent 38%, rgba(237, 235, 228, 0.86) 100%);
}
.page-banner--light p.lede { color: var(--on-light-2); }

/* breadcrumb */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.crumb a { opacity: 0.7; transition: opacity var(--dur) var(--ease); }
.crumb a:hover { opacity: 1; }

/* ---------------------------------------------------------------
   Collection pages
   --------------------------------------------------------------- */
.collection { padding: clamp(48px, 6vw, 88px) 0 clamp(70px, 9vw, 120px); }

.filter-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 4vw, 52px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}
.chip {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-light);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-light-2);
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.collection-count {
  margin-left: auto;
  align-self: center;
  font-size: 11.5px;
  color: var(--on-light-3);
}

/* ---------------------------------------------------------------
   Product detail
   --------------------------------------------------------------- */
.pdp {
  padding: clamp(84px, 10vh, 130px) 0 clamp(60px, 8vw, 110px);
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}

.pdp-gallery { display: grid; gap: 10px; }
.pdp-gallery .media { aspect-ratio: 3 / 4; }
.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pdp-thumbs .media { aspect-ratio: 1 / 1; }

.pdp-info { position: sticky; top: 84px; }
.pdp-info .d-md { margin-top: 8px; }

.pdp-price {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pdp-actions { margin-top: 26px; display: grid; gap: 10px; }

.pdp-options { margin-top: 24px; }
.pdp-options .micro { display: block; margin-bottom: 10px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--bone), 0 0 0 3.5px var(--ink);
}

.spec-list { margin-top: 30px; border-top: 1px solid var(--line-light); }
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 13.5px;
}
.spec-list dt { color: var(--on-light-3); }
.spec-list dd { margin: 0; text-align: right; }

/* ---------------------------------------------------------------
   Story page
   --------------------------------------------------------------- */
.story-intro { padding: clamp(56px, 7vw, 104px) 0; }
.story-intro .lede { margin-top: 16px; }

/* The inner .wrap uses display:contents so its children become grid
   items, which means the gutter has to live on .split itself. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(46px, 6vw, 92px) var(--gutter);
}
.split--flip .split-media { order: 2; }
.split .d-md { margin-top: 10px; }
.split-body .prose { margin-top: 16px; }

.pillars {
  padding: clamp(56px, 7vw, 104px) 0;
  border-top: 1px solid var(--line-light);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 66px);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pillar p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--on-light-2); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}

/* ---------------------------------------------------------------
   Contact page
   --------------------------------------------------------------- */
.contact { padding: clamp(84px, 10vh, 130px) 0 clamp(60px, 8vw, 110px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-light-3);
}
.field input,
.field textarea,
.field select {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14.5px;
  transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: none; border-color: var(--ink); }
.field .hint { font-size: 11.5px; color: var(--on-light-3); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #b3211c; }

.contact-block { margin-bottom: 30px; }
.contact-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-block p { margin-top: 8px; font-size: 14.5px; color: var(--on-light-2); line-height: 1.7; }
.contact-block a { border-bottom: 1px solid var(--line-light); }
.contact-block a:hover { border-color: var(--ink); }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-2);
  padding: clamp(54px, 6vw, 84px) 0 24px;
}

.footer-word {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 13vw, 11rem);
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--on-dark-1);
  margin-bottom: clamp(34px, 5vw, 64px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--on-dark-3);
  max-width: 32ch;
}

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.footer-social a:hover { border-color: var(--blue-bright); background: var(--blue); color: var(--white); }
.footer-social svg { width: 14px; height: 14px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-1);
}
.footer-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--on-dark-3); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--on-dark-1); }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--on-dark-3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--on-dark-1); }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .scatter { grid-template-columns: repeat(3, 1fr); }
  .scatter > *:nth-child(4n+2),
  .scatter > *:nth-child(4n+3),
  .scatter > *:nth-child(4n+4) { margin-top: 0; }
  .scatter > *:nth-child(3n+2) { margin-top: clamp(20px, 3.4vw, 48px); }

  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .pillar-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 14.5px; }

  .chrome-card { display: none; }
  .chrome-btn { padding: 10px 15px; font-size: 10px; }
  .chrome-menu { width: 38px; height: 38px; }

  .hero { min-height: 92dvh; padding-top: 72px; }
  .hero-figure { width: 92vw; }
  .hero-actions { position: static; transform: none; margin: 18px auto 22px; }

  .scatter, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .scatter > *:nth-child(3n+2) { margin-top: 0; }
  .scatter > *:nth-child(2n) { margin-top: clamp(18px, 5vw, 34px); }

  .signup-form {
    flex-direction: column;
    border-radius: var(--r-card);
    padding: 14px;
    gap: 12px;
  }
  .signup-field input { text-align: center; }

  .collection-count { display: none; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
