/* ==========================================================================
   UNA NUEVA CREACIÓN — base styles
   Palette: black / bone / camo sage. Type: Bootzy Condensed (display) + Archivo (text).
   ========================================================================== */

:root {
  /* Semantic colour tokens (raw values come from theme settings in theme.liquid) */
  --bg: var(--c-bone);
  --surface: var(--c-bone-2);
  --ink: var(--c-black);
  --ink-soft: color-mix(in srgb, var(--c-black) 72%, var(--c-bone));
  --line: color-mix(in srgb, var(--c-black) 16%, transparent);
  --accent: var(--c-sage);
  --accent-ink: var(--c-sage-ink);
  --photo-bg: var(--surface); /* product photos have this panel colour as their background, so they look cut out */
  --on-accent: var(--c-black);
  --on-dark: var(--c-bone);

  /* Type */
  --f-display: 'Bootzy Condensed', 'Impact', 'Arial Narrow Bold', sans-serif;
  --f-text: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing (8pt rhythm) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --gutter: clamp(16px, 3vw, 40px);
  --section-y: clamp(64px, 9vw, 128px);
  --max: 1520px;

  /* Layers */
  --z-header: 40;
  --z-drawer: 100;
  --z-overlay: 90;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 600ms;

  --radius-pill: 999px;
  --header-h: 72px;
}

/* Brand display font (assets/bootzy-condensed.otf) */
@font-face {
  font-family: 'Bootzy Condensed';
  src: url('bootzy-condensed.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
.main:focus { outline: none; }
[hidden] { display: none !important; }

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: var(--s-4); z-index: 1000;
  padding: var(--s-3) var(--s-4); background: var(--ink); color: var(--on-dark);
  transform: translateY(-200%); transition: transform var(--t-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--c-bone); }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(56px, 11vw, 200px); }
.display--lg { font-size: clamp(44px, 7vw, 120px); }
.display--md { font-size: clamp(32px, 4.4vw, 72px); }
.display--sm { font-size: clamp(24px, 2.4vw, 36px); }
.label {
  font-family: var(--f-text);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.label--sm { font-size: 12px; }
.accent-text { color: var(--accent-ink); }
.rte { max-width: 68ch; }
.rte p + p, .rte p + ul, .rte ul + p { margin-top: 1em; }
.rte h2, .rte h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; line-height: 1; margin: 1.4em 0 .5em; }
.rte h2 { font-size: 32px; }
.rte h3 { font-size: 24px; }
.rte a { text-underline-offset: 3px; }
.rte ul { padding-left: 1.2em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--surface { background: var(--surface); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: var(--s-5);
  margin-bottom: clamp(24px, 4vw, 56px);
}
.section-head__kicker { display: block; margin-bottom: var(--s-3); color: var(--accent-ink); }
.section--dark .section-head__kicker { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border: 2px solid var(--btn-bg); border-radius: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-text); font-stretch: 75%; font-weight: 800; font-size: 15px;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.btn:active { transform: scale(.98); }
.btn--black { --btn-bg: var(--ink); --btn-fg: var(--on-dark); }
.btn--black:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--bone { --btn-bg: var(--c-bone); --btn-fg: var(--ink); }
.btn--bone:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.on-dark .btn--ghost:hover { background: var(--c-bone); color: var(--ink); border-color: var(--c-bone); }
.btn--full { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__text { opacity: .5; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Brand star (replaces ★ in titles via snippets/star-text) ---------- */
.star {
  display: inline-block; width: .82em; height: .82em; margin: 0 .06em; vertical-align: -.04em;
  background: currentColor;
  -webkit-mask: url('una-star.svg') center / contain no-repeat;
  mask: url('una-star.svg') center / contain no-repeat;
}

/* ---------- Logo ---------- */
.logo-img { width: auto; height: 100%; object-fit: contain; }
.logo-img--light { filter: invert(1) sepia(.18) brightness(.95); }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--ink); color: var(--on-dark);
  overflow: hidden; white-space: nowrap;
}
.announcement__track {
  display: inline-flex; gap: var(--s-7); padding: 10px 0;
  animation: marquee 38s linear infinite;
}
.announcement__item { display: inline-flex; align-items: center; gap: var(--s-7); }
.announcement__item::after { content: ''; width: .9em; height: .9em; background: var(--accent); -webkit-mask: url('una-star.svg') center / contain no-repeat; mask: url('una-star.svg') center / contain no-repeat; }

/* ---------- Header (floating pill) ---------- */
.section-header {
  position: sticky; top: 0; z-index: var(--z-header);
  height: 0; /* the pill floats over content and stays pinned while scrolling */
}
.site-header { position: relative; height: 0; }
.site-header__bar {
  position: absolute; left: 0; right: 0; top: var(--s-3);
  display: flex; justify-content: center; padding-inline: var(--gutter);
  pointer-events: none;
}
.pill {
  pointer-events: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(12px, 2vw, 28px);
  width: min(100%, 1040px); height: 56px; padding: 0 var(--s-2);
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  transition: transform var(--t-med) var(--ease-out);
}
.pill__menu-btn, .pill__nav { grid-column: 1; grid-row: 1; justify-self: start; }
.pill__logo { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; height: 28px; text-decoration: none; }
.pill__cart { grid-column: 3; grid-row: 1; justify-self: end; }
.pill__nav { padding-left: var(--s-4); display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.pill__link {
  position: relative; padding: var(--s-2) 2px; text-decoration: none; white-space: nowrap;
}
.pill__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.pill__link:hover::after, .pill__link[aria-current='page']::after { transform: scaleX(1); }
.pill__cart {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; padding: 0 var(--s-4);
  border: 0; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--on-accent); text-decoration: none;
  transition: background var(--t-fast) var(--ease-out);
}
.pill__cart:hover { background: var(--c-bone); }
.pill__menu-btn {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 var(--s-3);
  background: none; border: 0; color: inherit;
}
.cart-count { font-variant-numeric: tabular-nums; }

@media (max-width: 899px) {
  .pill { gap: var(--s-2); max-width: 560px; }
  .pill__nav { display: none; }
  .pill__menu-btn { display: inline-flex; }
  .pill__logo { height: 20px; }
}
@media (max-width: 420px) { .pill__cart-label { display: none; } }

/* Mobile menu */
.menu-drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column;
  padding: var(--s-4) var(--gutter) var(--s-7);
  transform: translateY(-100%); visibility: hidden;
  transition: transform var(--t-med) var(--ease-in), visibility 0s linear var(--t-med);
}
.menu-drawer.is-open {
  transform: none; visibility: visible;
  transition: transform var(--t-slow) var(--ease-out), visibility 0s;
}
.menu-drawer__top { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.menu-drawer__logo { height: 18px; display: flex; }
.menu-drawer__nav { margin-top: auto; display: grid; gap: var(--s-2); }
.menu-drawer__link {
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(44px, 13vw, 72px);
  line-height: 1; text-decoration: none;
}
.menu-drawer__link:hover { color: var(--accent); }
.menu-drawer__social { display: flex; gap: var(--s-5); margin-top: var(--s-7); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; background: none; border: 0; color: inherit;
}

/* ---------- Hero slideshow ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px; max-height: 1200px;
  overflow: hidden; background: var(--ink); color: var(--on-dark);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 900ms var(--ease-out), visibility 0s linear 900ms;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 900ms var(--ease-out), visibility 0s; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active .hero__media--image { animation: kenburns 9s var(--ease-out) both; }
.hero__slide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 46%),
    linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 38%);
}
/* Rolling headline list on the left (inspired by a vertical "now showing" index) */
.hero__index {
  position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%);
  display: grid; gap: 2px; max-width: min(60vw, 560px);
}
.hero__index-btn {
  all: unset; cursor: pointer; display: block;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(22px, 2.6vw, 40px); line-height: 1.05;
  color: color-mix(in srgb, var(--c-bone) 42%, transparent);
  transition: color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.hero__index-btn:hover { color: var(--c-bone); }
.hero__index-btn:focus-visible { outline: 3px solid var(--c-bone); outline-offset: 4px; }
.hero__index-btn[aria-current='true'] { color: var(--c-bone); transform: translateX(10px); }
.hero__index-btn[aria-current='true']::before {
  content: ''; display: inline-block; width: .8em; height: .8em; margin-right: .3em; vertical-align: -.02em;
  background: var(--accent); -webkit-mask: url('una-star.svg') center / contain no-repeat; mask: url('una-star.svg') center / contain no-repeat;
}
.hero__cta { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.hero__bottom {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: var(--s-5);
  display: flex; align-items: center; gap: var(--s-4);
}
.hero__caption { margin-right: auto; max-width: 46ch; }
.hero__progress { display: flex; gap: var(--s-2); flex: 0 1 320px; }
.hero__bar { flex: 1; height: 2px; background: color-mix(in srgb, var(--c-bone) 30%, transparent); overflow: hidden; }
.hero__bar span { display: block; height: 100%; background: var(--c-bone); transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done span { transform: scaleX(1); }
.hero__bar.is-active span { animation: progress var(--slide-duration, 6s) linear forwards; }
.hero.is-paused .hero__bar.is-active span { animation-play-state: paused; }
.hero__counter { font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }
.hero__pause {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--c-bone) 55%, transparent);
  background: transparent; color: var(--c-bone);
}
.hero__pause:hover { background: var(--c-bone); color: var(--ink); }

@media (max-width: 749px) {
  .hero__index { top: auto; bottom: 120px; transform: none; }
  .hero__cta { top: auto; bottom: 64px; right: auto; left: var(--gutter); transform: none; }
  .hero__caption { display: none; }
  .hero__bottom { bottom: var(--s-4); justify-content: flex-end; }
  .hero__progress { flex: 1; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 62%); }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; border-block: 2px solid var(--ink); background: var(--bg); }
.marquee--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.marquee--sage { background: var(--accent); color: var(--on-accent); border-color: var(--ink); }
.marquee__track { display: inline-flex; animation: marquee var(--marquee-speed, 30s) linear infinite; }
.marquee__group { display: inline-flex; align-items: center; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(16px, 2vw, 32px); padding-right: clamp(16px, 2vw, 32px);
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(28px, 4vw, 56px); line-height: 1.25;
}
.marquee__item::after { content: ''; width: .6em; height: .6em; background: currentColor; -webkit-mask: url('una-star.svg') center / contain no-repeat; mask: url('una-star.svg') center / contain no-repeat; }

/* ---------- Page loading animation: three brand stars sliding across ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c-bone) 94%, transparent);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 200ms var(--ease-out), visibility 0s linear 200ms;
}
/* Short delay so very fast page loads don't flash the loader */
.page-loader.is-active { opacity: 1; visibility: visible; transition: opacity 240ms var(--ease-out) 120ms, visibility 0s linear 0s; }
.page-loader__track { position: relative; width: 280px; max-width: 80vw; height: 48px; overflow: hidden; }
.page-loader__star {
  position: absolute; top: 2px; left: 0; width: 44px; height: 44px;
  background: var(--accent);
  -webkit-mask: url('una-star.svg') center / contain no-repeat;
  mask: url('una-star.svg') center / contain no-repeat;
  opacity: 0;
  animation: loader-slide 1.5s cubic-bezier(.45, 0, .55, 1) infinite;
}
.page-loader__star:nth-child(2) { animation-delay: .2s; }
.page-loader__star:nth-child(3) { animation-delay: .4s; }
@keyframes loader-slide {
  0% { transform: translateX(-48px) rotate(-18deg); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(min(284px, 80vw)) rotate(18deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader__track { display: flex; justify-content: center; gap: 12px; }
  .page-loader__star { position: static; animation: none; opacity: 1; }
}

/* ---------- Modals (native <dialog>) ---------- */
html:has(dialog.modal[open]) { overflow: hidden; }
.modal {
  border: 0; padding: 0; margin: auto;
  width: min(100% - 32px, 760px); max-width: none; max-height: calc(100dvh - 32px);
  background: var(--bg); color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}
.modal::backdrop { background: rgba(14, 14, 12, .62); }
.modal[open] { animation: modal-in 320ms var(--ease-out); }
.modal[open]::backdrop { animation: fade-in 320ms var(--ease-out); }
.modal__inner { min-height: 100%; }
.modal__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4);
  padding: var(--s-5) var(--s-5) var(--s-4); background: var(--bg); border-bottom: 2px solid var(--ink);
}
.modal__head .display { margin-top: var(--s-1); }
.modal__body { display: grid; gap: var(--s-5); padding: var(--s-5); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade-in { from { opacity: 0; } }

/* Side sheet on desktop, bottom sheet on phones */
.modal--sheet { width: min(100%, 520px); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; overflow-y: auto; overscroll-behavior: contain; }
.modal--sheet[open] { animation: sheet-in 420ms var(--ease-out); }
@keyframes sheet-in { from { transform: translateX(100%); } }
@media (max-width: 749px) {
  .modal--sheet { width: 100%; height: auto; max-height: 88dvh; margin: auto 0 0; }
  .modal--sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
}

/* ---------- Size guide ---------- */
.link-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--accent);
}
.link-btn:hover { color: var(--accent-ink); }
.option__legend { align-items: center; }
.size-table { overflow-x: auto; border: 2px solid var(--ink); }
.size-table:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.size-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 12px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--ink); color: var(--on-dark); font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; }
.size-table tbody tr:nth-child(even) { background: var(--surface); }
.size-table tbody tr:last-child > * { border-bottom: 0; }
.size-table tbody th { font-weight: 700; }
.size-table__caption { margin-top: calc(var(--s-3) * -1); font-size: 13px; color: var(--ink-soft); }
.size-guide__notes { font-size: 15px; }
.size-guide__image img { width: 100%; height: auto; background: var(--photo-bg); }

/* ---------- Email pop-up ---------- */
.popup { width: min(100% - 32px, 820px); overflow: hidden; }
.popup__grid { position: relative; display: grid; grid-template-columns: 5fr 6fr; }
.popup__grid--text { grid-template-columns: 1fr; }
.popup__grid--text .popup__media { display: none; }
.popup__media { position: relative; min-height: 100%; background: var(--ink); }
.popup__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.popup__body { position: relative; padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px) clamp(24px, 4vw, 40px); overflow-y: auto; max-height: calc(100dvh - 32px); }
.popup__close { position: absolute; z-index: 2; top: var(--s-2); right: var(--s-2); background: var(--bg); }
.popup__fields, .popup__form [data-popup-state] { display: grid; gap: var(--s-4); }
.popup__form h2 { padding-right: var(--s-6); }
.popup__form .btn { width: 100%; }
.popup__decline {
  justify-self: center; min-height: 44px; padding: 0 var(--s-3);
  background: none; border: 0; color: var(--ink-soft); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.popup__decline:hover { color: var(--ink); }
@media (max-width: 749px) {
  .popup__grid { grid-template-columns: 1fr; }
  .popup__media { height: 160px; min-height: 0; }
  .popup__body { max-height: calc(100dvh - 32px - 160px); }
  .popup__grid--text .popup__body { max-height: calc(100dvh - 32px); }
}

/* ---------- Product grid & card ---------- */
.product-grid {
  display: grid; gap: clamp(12px, 1.6vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 990px) {
  .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card { position: relative; display: flex; flex-direction: column; gap: var(--s-3); }
.card__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--photo-bg);
}
.card__media--square { aspect-ratio: 1; }
.card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  padding: 8%;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.card__img--cover { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.card__img--hover { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__img--hover { opacity: 1; }
  .card:hover .card__img--has-hover { opacity: 0; }
  .card:hover .card__img:only-of-type, .card:hover .card__img--single { transform: scale(1.04); }
}
.card__badge {
  position: absolute; left: var(--s-3); top: var(--s-3); z-index: 1;
  padding: 4px 8px; background: var(--ink); color: var(--on-dark);
}
.card__badge--sale { background: var(--accent); color: var(--on-accent); }
.card__info { display: flex; justify-content: space-between; gap: var(--s-3); align-items: start; }
.card__title { font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; }
.card__title::after { content: ''; position: absolute; inset: 0; } /* whole card is clickable */
.card__vendor { color: var(--ink-soft); font-size: 13px; }
.card__price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__price s { font-weight: 400; color: var(--ink-soft); margin-right: 6px; }
.card--placeholder .card__media { display: grid; place-items: center; }
.card--placeholder svg { width: 60%; height: 60%; fill: color-mix(in srgb, var(--ink) 18%, transparent); }

/* ---------- Framed feature (photo inside photo) ---------- */
.framed { position: relative; overflow: hidden; color: var(--on-dark); background: var(--ink); }
.framed__bg { position: absolute; inset: 0; }
.framed__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transform: scale(1.08); }
.framed__bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.framed__inner {
  position: relative; display: grid; place-items: center;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}
.framed__window {
  position: relative; width: min(420px, 78vw); aspect-ratio: 3 / 4.4;
  border: 2px solid var(--c-bone); background: var(--c-bone);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  display: flex; flex-direction: column;
}
.framed__window-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-3) var(--s-3); color: var(--ink); background: var(--c-bone);
}
.framed__window-logo { height: 12px; display: flex; }
.framed__window-media { position: relative; flex: 1; overflow: hidden; }
.framed__window-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.framed__window-text {
  position: absolute; left: 0; right: 0; bottom: var(--s-5);
  display: grid; justify-items: center; gap: var(--s-4); text-align: center; padding: 0 var(--s-4);
}
.framed__window-text .display { text-shadow: 0 2px 20px rgba(0,0,0,.35); }

/* ---------- Lookbook ---------- */
.lookbook { display: grid; gap: clamp(8px, 1.2vw, 16px); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.lookbook__item { position: relative; overflow: hidden; background: var(--surface); grid-column: span 12; margin: 0; }
.lookbook__item img, .lookbook__item video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ratio, 4 / 5); }
.lookbook__item figcaption {
  position: absolute; left: var(--s-3); bottom: var(--s-3);
  padding: 4px 8px; background: var(--c-bone); color: var(--ink);
}
@media (min-width: 750px) {
  .lookbook__item--small { grid-column: span 4; }
  .lookbook__item--medium { grid-column: span 6; }
  .lookbook__item--large { grid-column: span 8; }
  .lookbook__item--full { grid-column: span 12; }
  .lookbook__item--offset { margin-top: clamp(32px, 6vw, 96px); }
}
@media (max-width: 749px) {
  .lookbook__item--small, .lookbook__item--medium { grid-column: span 6; }
}
.lookbook__item img { transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .lookbook__item:hover img { transform: scale(1.03); } }

/* ---------- About / story ---------- */
.story { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 990px) { .story { grid-template-columns: 1.1fr 1fr; } .story--reverse .story__media { order: 2; } }
.story__media { position: relative; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story__stamp {
  position: absolute; right: -12px; bottom: -12px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center; text-align: center;
  transform: rotate(-12deg);
}
.story__body { display: grid; gap: var(--s-5); }
.story__meaning { display: grid; gap: var(--s-2); border-left: 4px solid var(--accent); padding-left: var(--s-4); }

/* ---------- Drop countdown ---------- */
.drop { text-align: center; }
.drop__name { margin-top: var(--s-3); }
.countdown {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 24px);
  max-width: 900px; margin: clamp(32px, 5vw, 56px) auto;
}
.countdown__unit { border: 2px solid color-mix(in srgb, var(--c-bone) 25%, transparent); padding: clamp(12px, 2vw, 24px) var(--s-2); }
.countdown__num {
  display: block; font-family: var(--f-display); font-size: clamp(44px, 9vw, 128px); line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--c-bone);
}
.countdown__label { display: block; margin-top: var(--s-2); color: var(--accent); }
.drop__live { font-family: var(--f-display); font-size: clamp(48px, 10vw, 140px); line-height: 1; margin: var(--s-7) 0; color: var(--accent); }

/* ---------- Forms ---------- */
.field { display: grid; gap: var(--s-2); text-align: left; }
.field__label { font-weight: 600; font-size: 14px; }
.input {
  width: 100%; min-height: 52px; padding: 0 var(--s-4);
  border: 2px solid currentColor; border-radius: 0; background: transparent;
  font-size: 16px;
}
.input::placeholder { color: color-mix(in srgb, currentColor 55%, transparent); }
.input:focus-visible { outline-offset: 0; }
.signup { display: grid; gap: var(--s-3); max-width: 560px; margin-inline: auto; }
.signup__row { display: flex; gap: 0; }
.signup__row .input { border-right: 0; }
.signup__row .btn { flex: none; }
.signup__help { font-size: 13px; opacity: .8; }
.form-message { padding: var(--s-3) var(--s-4); font-weight: 600; }
.form-message--success { background: var(--accent); color: var(--on-accent); }
.form-message--error { background: #B3261E; color: #fff; }
@media (max-width: 479px) {
  .signup__row { flex-direction: column; gap: var(--s-2); }
  .signup__row .input { border-right: 2px solid currentColor; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: clamp(12px, 1.6vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review {
  display: flex; flex-direction: column; gap: var(--s-4); padding: clamp(20px, 2.4vw, 32px);
  background: var(--bg); border: 2px solid var(--ink);
}
.section--dark .review { background: transparent; border-color: color-mix(in srgb, var(--c-bone) 30%, transparent); }
.review__stars { display: flex; gap: 2px; color: var(--accent-ink); }
.section--dark .review__stars { color: var(--accent); }
.review__stars svg { width: 18px; height: 18px; }
.review__quote { font-size: 18px; line-height: 1.5; }
.review__meta { margin-top: auto; display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.review__product { color: var(--ink-soft); }
.section--dark .review__product { color: color-mix(in srgb, var(--c-bone) 70%, transparent); }
.review--placeholder { border-style: dashed; }
.review--placeholder .review__quote { color: var(--ink-soft); }

/* ---------- Social ---------- */
.social-grid { display: grid; gap: clamp(12px, 1.6vw, 24px); }
@media (min-width: 750px) { .social-grid { grid-template-columns: 1fr 1fr; } }
.social-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(260px, 32vw, 440px); padding: clamp(20px, 3vw, 40px);
  text-decoration: none; overflow: hidden; color: var(--on-dark); background: var(--ink);
}
.social-tile__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1s var(--ease-out), opacity var(--t-med); }
.social-tile:hover .social-tile__bg { transform: scale(1.04); opacity: .7; }
.social-tile > *:not(.social-tile__bg) { position: relative; }
.social-tile__top { display: flex; justify-content: space-between; align-items: center; }
.social-tile__icon { width: 40px; height: 40px; }
.social-tile__handle { font-family: var(--f-display); font-size: clamp(32px, 4.6vw, 72px); line-height: 1; text-transform: lowercase; word-break: break-word; }
.social-tile__cta { display: inline-flex; align-items: center; gap: var(--s-2); }

/* ---------- Accordions (returns, product details) ---------- */
.accordion { border-top: 2px solid var(--ink); }
.accordion__item { border-bottom: 2px solid var(--ink); }
.accordion__summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding: var(--s-3) 0; cursor: pointer; list-style: none;
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::after {
  content: '+'; font-family: var(--f-text); font-weight: 400; font-size: 28px; line-height: 1;
  transition: transform var(--t-med) var(--ease-out);
}
.accordion__item[open] > .accordion__summary::after { transform: rotate(45deg); }
.accordion__content { padding: 0 0 var(--s-5); }
.accordion--compact .accordion__summary { font-family: var(--f-text); font-stretch: 75%; font-weight: 700; font-size: 15px; letter-spacing: .06em; min-height: 56px; }
.accordion--compact, .accordion--compact .accordion__item { border-width: 1px; border-color: var(--line); }

.policy-layout { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 990px) { .policy-layout { grid-template-columns: 1fr 1.4fr; align-items: start; } .policy-layout__aside { position: sticky; top: 100px; } }
.policy-summary { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.policy-summary__item { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-4); background: var(--surface); }
.policy-summary__item strong { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1; min-width: 72px; }
.notice { padding: var(--s-3) var(--s-4); border: 2px dashed var(--accent-ink); color: var(--accent-ink); font-size: 14px; }

/* ---------- Page header ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(32px, 5vw, 64px); }
.page-hero--dark { background: var(--ink); color: var(--on-dark); }
.page-hero__text { margin-top: var(--s-5); max-width: 60ch; font-size: 18px; }

/* ---------- Product page ---------- */
.product { padding-top: calc(var(--header-h) + var(--s-6)); padding-bottom: var(--section-y); }
.product__grid { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 990px) { .product__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.product__gallery { display: grid; gap: var(--s-3); }
@media (min-width: 990px) { .product__gallery { grid-template-columns: 1fr 1fr; } .product__media:first-child { grid-column: 1 / -1; } }
.product__media { margin: 0; background: var(--photo-bg); aspect-ratio: 4 / 5; overflow: hidden; }
.product__media img, .product__media video { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.product__media--cover img { object-fit: cover; padding: 0; }
@media (max-width: 989px) {
  .product__gallery {
    grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none;
  }
  .product__gallery::-webkit-scrollbar { display: none; }
  .product__media { scroll-snap-align: start; }
}
.product__info { display: grid; gap: var(--s-5); align-content: start; }
@media (min-width: 990px) { .product__info { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }
.product__title { font-size: clamp(40px, 4.6vw, 72px); }
.product__price { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product__price s { font-weight: 400; color: var(--ink-soft); margin-right: var(--s-2); }
.product__tax { font-size: 13px; color: var(--ink-soft); }
.option { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.option__legend { display: flex; justify-content: space-between; width: 100%; padding: 0; }
.option__values { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.option__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option__label {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; min-height: 48px; padding: 0 var(--s-4);
  border: 2px solid var(--line); cursor: pointer; font-weight: 700;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.option__label:hover { border-color: var(--ink); }
.option__input:checked + .option__label { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.option__input:focus-visible + .option__label { outline: 3px solid var(--accent); outline-offset: 2px; }
.option__input.is-unavailable + .option__label { color: var(--ink-soft); text-decoration: line-through; }
.qty { display: inline-flex; align-items: stretch; border: 2px solid var(--ink); height: 48px; }
.qty button { width: 44px; background: none; border: 0; font-size: 20px; }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; font-weight: 700; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product__buy { display: grid; gap: var(--s-3); }
.product__buy-row { display: flex; gap: var(--s-3); }
.product__buy-row .btn { flex: 1; }
.product__error { color: #B3261E; font-weight: 600; font-size: 14px; }
.shopify-payment-button__button { border-radius: 0 !important; min-height: 48px !important; }

/* ---------- Collection page ---------- */
.collection-bar {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap;
  padding-block: var(--s-4); margin-bottom: var(--s-5); border-block: 2px solid var(--ink);
}
.select { min-height: 44px; padding: 0 var(--s-6) 0 var(--s-3); border: 2px solid var(--ink); background: transparent; border-radius: 0; }
.pagination { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-7); }
.pagination a, .pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 2px solid var(--ink); text-decoration: none; font-weight: 700; }
.pagination .is-current { background: var(--ink); color: var(--on-dark); }
.empty-state { padding: var(--s-8) 0; text-align: center; display: grid; gap: var(--s-4); justify-items: center; }

/* ---------- Cart (page and drawer) ---------- */
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); align-items: start; }
.cart-item__media { aspect-ratio: 4 / 5; background: var(--photo-bg); }
.cart-item__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.cart-item__title { font-weight: 700; text-decoration: none; }
.cart-item__variant { font-size: 14px; color: var(--ink-soft); }
.cart-item__actions { display: flex; gap: var(--s-3); align-items: center; margin-top: var(--s-3); }
.cart-item__remove { background: none; border: 0; text-decoration: underline; font-size: 14px; padding: var(--s-2) 0; min-height: 44px; }
.cart-item__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-totals { display: grid; gap: var(--s-3); padding-top: var(--s-5); }

/* Bag lines on narrow phones: price drops under the title so nothing is cut off */
@media (max-width: 479px) {
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item__price { grid-column: 2; }
  .cart-item__actions { flex-wrap: wrap; }
}
.cart-totals__row { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; }

.drawer-overlay {
  position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(14,14,12,.5);
  opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility 0s linear var(--t-med);
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-med), visibility 0s; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(460px, 100%); background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--t-med) var(--ease-in), visibility 0s linear var(--t-med);
}
.cart-drawer.is-open { transform: none; visibility: visible; transition: transform 420ms var(--ease-out), visibility 0s; }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: var(--s-3) var(--s-5); border-bottom: 2px solid var(--ink); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 0 var(--s-5); overscroll-behavior: contain; }
.cart-drawer__foot { padding: var(--s-5); border-top: 2px solid var(--ink); display: grid; gap: var(--s-3); }
.cart-drawer__note { font-size: 13px; color: var(--ink-soft); }
.cart-drawer .is-updating { opacity: .5; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding-top: var(--section-y); overflow: hidden; }
.footer__grid { display: grid; gap: var(--s-7); }
@media (min-width: 990px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__heading { color: var(--accent); margin-bottom: var(--s-4); }
.footer__links { display: grid; gap: var(--s-2); }
.footer__links a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer__links a:hover { color: var(--accent); }
.footer__news p { margin-bottom: var(--s-4); max-width: 40ch; }
.footer__wordmark { margin-top: var(--s-8); padding-bottom: var(--s-4); }
.footer__wordmark img { width: 100%; height: auto; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4);
  padding-block: var(--s-5); border-top: 1px solid color-mix(in srgb, var(--c-bone) 20%, transparent);
  font-size: 13px;
}
.footer__social { display: flex; gap: var(--s-2); }
.footer__social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--c-bone) 30%, transparent); border-radius: 50%; }
.footer__social a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.payment-icons { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.payment-icons svg { width: 38px; height: 24px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track, .announcement__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
.signup--left { margin: 0; }

/* First section on a page clears the floating header (the hero and page heroes handle this themselves) */
.main > .shopify-section:first-child > .section { padding-top: calc(var(--header-h) + var(--section-y)); }
.lookbook { align-items: start; }
@media (max-width: 599px) {
  .card__info { flex-direction: column; gap: var(--s-1); }
  .card__title { font-size: 14px; }
}
