/* =====================================================================
   Meridian - Curated Modern Essentials
   Single-file CSS, mobile-first, no framework deps
   ===================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul { list-style: none; }

/* ----- Tokens ----- */
:root {
  --ink: #1A1410;
  --ink-2: #2A201A;
  --bone: #FAF6F0;
  --bone-2: #F2EBDE;
  --sand: #EFE7DA;
  --clay: #B85C2C;
  --clay-2: #9A4A20;
  --clay-3: #5C2D14;
  --amber: #D9A24A;
  --amber-2: #C2892D;
  --stone: #8A7B6C;
  --smoke: #C9BFB1;
  --line: rgba(26,20,16,.08);
  --shadow-1: 0 1px 2px rgba(26,20,16,.04), 0 6px 24px -12px rgba(26,20,16,.16);
  --shadow-2: 0 1px 2px rgba(26,20,16,.04), 0 24px 48px -24px rgba(26,20,16,.18);
  --shadow-3: 0 32px 80px -32px rgba(26,20,16,.28);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
  --container: 1280px;
}

/* ----- Typography ----- */
.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
}
.lede {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 50ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--clay);
}
.eyebrow__dash { width: 24px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--amber); }

em { font-style: italic; }

/* ----- Skip link ----- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--bone);
  padding: 8px 12px;
  border-radius: 4px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
  z-index: 50;
  flex-shrink: 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee__group {
  display: flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee__group span:not(.dot) {
  padding: 0 18px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 40px;
}
.marquee__group .dot {
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  align-self: center;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 246, 240, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand__mark { width: 26px; height: 26px; }
.brand__word {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand--light { color: var(--bone); }
.brand--light .brand__word { color: var(--bone); }

.nav { display: flex; justify-content: center; }
.nav ul { display: flex; gap: 36px; }
.nav a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 2px;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--light { color: var(--ink); }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--clay);
  color: var(--bone);
  font-size: 0.66rem;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--bone);
}

.header__burger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.header__burger span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease-2), opacity .3s var(--ease-2);
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.btn--primary {
  background: var(--ink);
  color: var(--bone);
  box-shadow: var(--shadow-1);
}
.btn--primary:hover { background: var(--clay); box-shadow: var(--shadow-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bone); }

.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-2); color: var(--ink); }

.btn--link {
  background: transparent;
  color: var(--clay);
  padding: 14px 4px;
  box-shadow: none;
  border-radius: 0;
}
.btn--link:hover { color: var(--clay-2); transform: translateY(-1px); }

.btn--block { width: 100%; }
.btn--wide { padding: 16px 28px; }
.btn__price {
  padding-left: 14px;
  margin-left: 8px;
  border-left: 1px solid currentColor;
  opacity: .8;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 400;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 9vw, 140px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__bg-grain {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(217, 162, 74, .14), transparent 70%),
    radial-gradient(ellipse 50% 50% at 100% 80%, rgba(184, 92, 44, .10), transparent 70%),
    radial-gradient(circle at 70% 30%, rgba(154, 74, 32, .06), transparent 40%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 350;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--clay);
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--clay); }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.hero__shape--blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(217, 162, 74, .35), rgba(184, 92, 44, .15) 40%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
  animation: blobRotate 24s linear infinite;
}
@keyframes blobRotate { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #F2EBDE 0%, #EFE7DA 100%);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform .8s var(--ease);
}
.hero__card:hover { transform: rotate(0deg) translateY(-6px); }
.hero__illust {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__chip {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bone);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-1);
  z-index: 2;
}
.hero__chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(184,92,44,.18);
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184,92,44,.18); }
  50% { box-shadow: 0 0 0 8px rgba(184,92,44,0); }
}

.hero__price {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bone);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  z-index: 2;
}
.hero__price-label {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
}
.hero__price-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--clay);
}

.hero__floater {
  position: absolute;
  z-index: 2;
  background: var(--bone);
  border-radius: var(--r-md);
  padding: 12px;
  box-shadow: var(--shadow-2);
  color: var(--ink);
}
.hero__floater svg { width: 22px; height: 22px; color: var(--amber); }
.hero__floater--star { top: -8px; right: -10px; animation: float 6s ease-in-out infinite; }
.hero__floater--circ { bottom: 60px; left: -16px; animation: float 7s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--stone);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--stone), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
  background: var(--clay);
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot {
  from { transform: translateY(0); }
  to { transform: translateY(50px); }
}

/* =====================================================================
   BRANDS STRIP
   ===================================================================== */
.brands {
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}
.brands__head {
  margin-bottom: 18px;
  text-align: center;
}
.brands__strip {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.brands__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: brands 50s linear infinite;
}
.brands__track img,
.brand-wordmark {
  height: 28px;
  width: auto;
  min-width: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) opacity(.55);
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brands__track img { height: 32px; width: auto; object-fit: contain; }
.brands__track img:hover,
.brand-wordmark:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-2px);
}
@keyframes brands {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================================
   SECTION HEAD
   ===================================================================== */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
  max-width: 760px;
}
.section-head--row {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 100%;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head--row > div:not(.filters) { display: flex; flex-direction: column; gap: 12px; }
.section-foot {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.display { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }

/* =====================================================================
   CATEGORIES / BENTO
   ===================================================================== */
.categories { padding: clamp(80px, 10vw, 140px) 0; }
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.bento__tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  cursor: pointer;
}
.bento__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

.bento__tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento__tile:nth-child(2),
.bento__tile:nth-child(3) { grid-column: span 2; }

.bento__tile--clay {
  background: linear-gradient(135deg, var(--clay) 0%, var(--clay-3) 100%);
  color: var(--bone);
}
.bento__tile--sand {
  background: var(--sand);
  color: var(--ink);
}
.bento__tile--amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-2) 100%);
  color: var(--ink);
}
.bento__tile--soft {
  background: var(--bone-2);
  color: var(--ink);
  border: 1px solid var(--line);
}

.bento__media {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60%;
  opacity: .95;
  transition: transform .6s var(--ease);
  z-index: 0;
  overflow: hidden;
  border-radius: var(--r-md);
}
.bento__tile--clay .bento__media { width: 70%; top: 10%; }
.bento__tile:hover .bento__media { transform: scale(1.08) rotate(-3deg); }
.bento__photo {
  width: 100%; height: auto;
  display: block;
  border-radius: var(--r-md);
}
.bento__photo--small {
  width: 88px; height: 88px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: var(--r-md);
  transition: transform .5s var(--ease);
}
.bento__tile:hover .bento__photo--small { transform: scale(1.06) rotate(-3deg); }

.bento__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento__tile--clay h3,
.bento__tile--amber h3 { color: var(--bone); }
.bento__tile--amber h3 { color: var(--ink); }

.bento__iconwrap {
  width: 56px; height: 56px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .4);
  color: var(--clay);
  transition: transform .5s var(--ease);
}
.bento__tile--clay .bento__iconwrap { background: rgba(0,0,0,.2); color: var(--bone); }
.bento__tile--amber .bento__iconwrap { background: rgba(0,0,0,.08); color: var(--ink); }
.bento__tile:hover .bento__iconwrap { transform: scale(1.06) rotate(-3deg); }
.bento__iconwrap svg { width: 32px; height: 32px; }

.bento__tile h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  letter-spacing: -0.015em;
  margin-top: 4px;
}
.bento__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  opacity: .85;
  transition: opacity .2s var(--ease), gap .2s var(--ease);
}
.bento__tile:hover .bento__cta { opacity: 1; gap: 10px; }
.bento__cta svg { width: 14px; height: 14px; }

/* =====================================================================
   FEATURED
   ===================================================================== */
.featured { padding: clamp(60px, 8vw, 120px) 0; background: var(--bone-2); }
.feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature--right { grid-template-columns: 0.9fr 1.1fr; }
.feature--right .feature__media { order: 2; }

.feature__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-1);
}
.feature__illust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F2EBDE, #EFE7DA);
  transition: transform 1s var(--ease);
  overflow: hidden;
}
.feature__illust svg { width: 80%; height: 80%; }
.feature__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}
.feature__media:hover .feature__illust,
.feature__media:hover .feature__photo { transform: scale(1.04); }

.feature__mini {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 1;
}
.feature__mini-tile {
  width: 64px; height: 64px;
  background: var(--bone);
  border-radius: var(--r-sm);
  border: 2px solid var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--stone);
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), color .2s var(--ease);
  cursor: pointer;
}
.feature__mini-tile:hover { transform: translateY(-4px); color: var(--ink); }
.feature__mini-tile--active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.feature__body { display: flex; flex-direction: column; gap: 22px; }
.feature__body h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.feature__row { display: flex; align-items: center; gap: 22px; padding-top: 6px; }
.price {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
}
.rating svg { width: 14px; height: 14px; color: var(--amber); }
.rating span { margin-left: 6px; color: var(--stone); }
.feature__cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* =====================================================================
   TRENDING GRID
   ===================================================================== */
.trending { padding: clamp(80px, 10vw, 140px) 0; }

.filters {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--sand);
  border-radius: var(--r-pill);
}
.filter {
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bone); }
.filter:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  display: block;
  cursor: pointer;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.card__body { margin-top: 14px; }
.card.is-hidden { display: none; }
.card:hover { transform: translateY(-6px); }

.card__media {
  position: relative;
  background: var(--sand);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 100%;
}

.card__art {
  position: absolute;
  inset: 0;
  display: block;
  transition: transform .8s var(--ease), background .35s var(--ease);
  overflow: hidden;
}
.card__media img,
.card__art img,
.card__art svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }

.card__art--hp  { background: linear-gradient(135deg, #F2EBDE, #EAD9C2); }
.card__art--lp  { background: linear-gradient(135deg, #EFE7DA, #DCD0BC); }
.card__art--wt  { background: linear-gradient(135deg, #F2EBDE, #E8DDC9); }
.card__art--ie  { background: linear-gradient(135deg, #EFE7DA, #D9CFB8); }
.card__art--lm  { background: linear-gradient(135deg, #FAF6F0, #F2E8D2); }
.card__art--kb  { background: linear-gradient(135deg, #F2EBDE, #DCD0BC); }
.card__art--sp  { background: linear-gradient(135deg, #EFE7DA, #D9CFB8); }
.card__art--mg  { background: linear-gradient(135deg, #FAF6F0, #F2EBDE); }

/* Neutralize the cool/lavender cast on two source photos so the grid reads as one warm set */
.card__art--ie img { filter: saturate(0.45) contrast(1.03); }
.card__art--sp img { filter: saturate(0.75) contrast(1.02); }

.card:hover .card__media img,
.card:hover .card__art { transform: scale(1.05); }

.card__tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--bone);
  border-radius: var(--r-pill);
  color: var(--ink);
  z-index: 1;
}
.card__tag--sold { background: var(--amber); }

.card__body { padding: 2px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.card__cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone);
}
.card__title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.add-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { background: var(--clay); transform: rotate(90deg); }

/* =====================================================================
   PROMO BAND
   ===================================================================== */
.promo {
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
  color: var(--bone);
}
.promo__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.promo__bg svg { width: 100%; height: 100%; display: block; }
.promo__inner {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 48px;
  align-items: center;
  position: relative;
}
.promo__title {
  color: var(--bone);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  max-width: 14ch;
}
.promo__lede {
  color: rgba(250,246,240,.8);
  max-width: 36ch;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(250,246,240,.12);
  border-radius: var(--r-md);
  backdrop-filter: blur(8px);
}
.countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}
.countdown__num {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--bone);
}
.countdown__lab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,246,240,.6);
  margin-top: 4px;
}
.countdown__sep {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: rgba(250,246,240,.4);
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { padding: clamp(80px, 10vw, 140px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-2);
}
.about__art {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.about__art svg { width: 100%; height: 100%; display: block; }
.about__sticker {
  position: absolute;
  top: -28px; right: -28px;
  width: 130px; height: 130px;
  color: var(--ink);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about__body { display: flex; flex-direction: column; gap: 22px; }
.about__body p { max-width: 50ch; color: var(--ink-2); line-height: 1.7; }
.about__sig {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  padding-top: 4px;
}
.about__sig svg { width: 160px; height: 50px; color: var(--clay); }
.about__sig-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--stone);
}

/* =====================================================================
   STATS
   ===================================================================== */
.stats {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--ink);
  color: var(--bone);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 12px 0;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px; top: 12%; bottom: 12%;
  width: 1px;
  background: rgba(250,246,240,.12);
}
.stat__num {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: var(--amber);
  font-variation-settings: "opsz" 144;
}
.stat__lab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,246,240,.65);
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials { padding: clamp(80px, 10vw, 140px) 0; background: var(--bone-2); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  position: relative;
  background: var(--bone);
  padding: 36px 32px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.quote--accent { background: var(--ink); color: var(--bone); }
.quote--accent figcaption small { color: rgba(250,246,240,.6); }
.quote__mark {
  width: 38px; height: 38px;
  color: var(--clay);
}
.quote--accent .quote__mark { color: var(--amber); }
.quote blockquote {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: inherit;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
}
.quote__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote__avatar--1 { background: linear-gradient(135deg, var(--amber), var(--clay)); color: var(--bone); }
.quote__avatar--2 { background: linear-gradient(135deg, var(--clay), var(--clay-3)); color: var(--bone); }
.quote__avatar--3 { background: linear-gradient(135deg, #EFE7DA, #D9CFB8); color: var(--ink); }
.quote--accent .quote__avatar { background: rgba(255,255,255,.1); color: var(--bone); }
.quote figcaption span { display: flex; flex-direction: column; gap: 2px; }
.quote figcaption strong { font-size: 0.96rem; }
.quote figcaption small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}

/* =====================================================================
   INSTAGRAM
   ===================================================================== */
.instagram { padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.instagram__head {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}
.instagram__head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.instagram__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.instagram__tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: transform .5s var(--ease);
  cursor: pointer;
  isolation: isolate;
  background: var(--sand);
}
.instagram__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s var(--ease), filter .3s var(--ease);
}
.instagram__tile:hover .instagram__photo { transform: scale(1.06); filter: saturate(1.1); }
.instagram__tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 50%, rgba(26,20,16,.34) 0%, rgba(26,20,16,.16) 45%, transparent 75%),
    linear-gradient(180deg, rgba(26,20,16,.30) 0%, transparent 35%, rgba(26,20,16,.78) 100%);
  z-index: 1;
  pointer-events: none;
  transition: background .3s var(--ease);
}
.instagram__tile:hover::after {
  background:
    radial-gradient(120% 80% at 50% 50%, rgba(26,20,16,.30) 0%, rgba(26,20,16,.12) 45%, transparent 75%),
    linear-gradient(180deg, rgba(26,20,16,.22) 0%, transparent 30%, rgba(26,20,16,.88) 100%);
}

.tile-monogram {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--bone);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(26,20,16,.75), 0 0 22px rgba(26,20,16,.5);
  position: relative;
  z-index: 1;
}
.tile-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FAF6F0;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(26,20,16,.85), 0 0 12px rgba(26,20,16,.65);
}

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.newsletter {
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--sand);
}
.newsletter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.newsletter__copy { display: flex; flex-direction: column; gap: 14px; }
.newsletter__copy h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.newsletter__copy p { max-width: 40ch; color: var(--ink-2); }

.newsletter__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.newsletter__form input {
  flex: 1;
  min-width: 200px;
  padding: 16px 22px;
  border: 1px solid var(--smoke);
  background: var(--bone);
  border-radius: var(--r-pill);
  outline: 0;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.newsletter__form input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(217,162,74,.18); }
.form-success {
  display: none;
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  color: var(--clay);
  align-items: center;
  gap: 8px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(64px, 8vw, 110px) 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer__brand p { color: rgba(250,246,240,.65); max-width: 32ch; }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(250,246,240,.06);
  color: var(--bone);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: var(--clay); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.footer__col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  color: rgba(250,246,240,.7);
  font-size: 0.94rem;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer__col a:hover { color: var(--bone); padding-left: 4px; }

.footer__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(250,246,240,.1);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bot p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(250,246,240,.5);
}
.payments {
  display: flex;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,246,240,.5);
}

/* =====================================================================
   DRAWER (Cart)
   ===================================================================== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.drawer.is-open { pointer-events: auto; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(26,20,16,.4);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  box-shadow: var(--shadow-3);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.3rem;
}
.drawer__count {
  margin-left: 6px;
  padding: 2px 8px;
  background: var(--sand);
  border-radius: var(--r-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--ink-2);
}
.drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 4px 24px;
}
.drawer__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.drawer__item:last-child { border-bottom: none; }
.drawer__thumb {
  grid-row: 1 / span 2;
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  background: var(--sand);
  overflow: hidden;
  position: relative;
}
.drawer__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.drawer__item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drawer__item-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.drawer__item-name { font-weight: 500; font-size: 0.94rem; line-height: 1.25; }
.drawer__item-price { font-family: 'Fraunces', serif; font-size: 1.05rem; white-space: nowrap; }
.drawer__item-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--stone);
}
.drawer__item-controls {
  display: flex; align-items: center; gap: 12px;
  margin-top: 8px;
}
.drawer__qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bone);
  overflow: hidden;
}
.drawer__qty button {
  width: 28px; height: 28px;
  border: 0; background: transparent;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s var(--ease);
}
.drawer__qty button:hover { background: var(--sand); }
.drawer__qty-val {
  min-width: 22px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  color: var(--ink);
}
.drawer__remove {
  border: 0; background: transparent;
  font: inherit; font-size: 0.78rem;
  color: var(--stone);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 4px 0;
  transition: color .15s var(--ease);
}
.drawer__remove:hover { color: var(--clay); }

.drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  gap: 8px;
  color: var(--ink-2);
}
.drawer__empty[hidden] { display: none; }
.drawer__items[hidden] { display: none; }
.drawer__empty svg { width: 48px; height: 48px; color: var(--stone); opacity: .7; margin-bottom: 8px; }
.drawer__empty-title { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--ink); margin: 0; }
.drawer__empty-lede { font-size: 0.92rem; color: var(--stone); margin: 0 0 16px; }

.drawer__foot {
  padding: 22px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--bone-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.drawer__total span { font-size: 0.94rem; color: var(--stone); }
.drawer__total strong { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.6rem; }
.drawer__ship-note {
  margin: 0 0 8px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-align: center;
}
.drawer__foot[hidden] { display: none; }

/* =====================================================================
   MOBILE MENU
   ===================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__head .brand__word { font-size: 1.25rem; }
.mobile-menu nav { padding: 32px 24px; flex: 1; }
.mobile-menu nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  display: block;
  padding: 18px 0;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__cta { padding: 24px; border-top: 1px solid var(--line); }

/* =====================================================================
   PRODUCT MODAL (clean / seamless)
   ===================================================================== */
.pmodal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pmodal.is-open { pointer-events: auto; }
.pmodal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(26,20,16,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.pmodal.is-open .pmodal__scrim { opacity: 1; }

.pmodal__panel {
  position: relative;
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: var(--bone);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 120px -32px rgba(26,20,16,.4);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(.97);
  transition: opacity .35s var(--ease), transform .4s var(--ease);
}
.pmodal.is-open .pmodal__panel { opacity: 1; transform: translateY(0) scale(1); }

.pmodal__close {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  width: 40px; height: 40px;
  background: rgba(250,246,240,.92);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.pmodal__close:hover { background: var(--ink); color: var(--bone); transform: rotate(90deg); }
.pmodal__close svg { width: 18px; height: 18px; }

.pmodal__media {
  position: relative;
  background: var(--sand);
  overflow: hidden;
}
.pmodal__art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bone-2);
}
.pmodal__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* match the card colour corrections so a product looks identical in both places */
.pmodal__art img[src*="ie.jpg"] { filter: saturate(0.45) contrast(1.03); }
.pmodal__art img[src*="sp.jpg"] { filter: saturate(0.75) contrast(1.02); }

.pmodal__body {
  padding: 28px 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.pmodal__head { display: flex; flex-direction: column; gap: 10px; }
.pmodal__eyebrow { color: var(--clay); }
.pmodal__title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.pmodal__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--stone);
}
.pmodal__stars { display: inline-flex; gap: 2px; color: var(--amber); }
.pmodal__stars svg { width: 13px; height: 13px; fill: currentColor; }
.pmodal__stock { color: var(--clay); }

.pmodal__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

.pmodal__divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

.pmodal__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.pmodal__price {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pmodal__ship {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--clay);
}

.pmodal__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.pmodal__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bone);
  overflow: hidden;
}
.pmodal__qty-btn {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ink);
  transition: background .2s var(--ease);
}
.pmodal__qty-btn:hover { background: var(--sand); }
.pmodal__qty-val {
  min-width: 30px;
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--ink);
}
.pmodal__add { width: 100%; }
.pmodal__add svg { width: 16px; height: 16px; margin-right: 6px; }

.pmodal__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pmodal__spec {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pmodal__spec:not(:nth-child(3n)) { padding-right: 14px; border-right: 1px solid var(--line); }
.pmodal__spec:nth-child(3n+1) { padding-left: 0; }
.pmodal__spec:not(:nth-child(3n+1)) { padding-left: 14px; }
.pmodal__spec-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.pmodal__spec-val {
  font-family: 'Fraunces', serif;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.2;
}

.pmodal__reassure {
  margin: 0;
  padding: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}
.pmodal__reassure li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pmodal__reassure svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--clay); }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 24px);
  background: var(--ink);
  color: var(--bone);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-2);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--amber); }

/* =====================================================================
   REVEAL ANIMATIONS
   ===================================================================== */
.reveal {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: transform, opacity;
}
.reveal[data-reveal="up"]    { transform: translateY(36px); }
.reveal[data-reveal="left"]  { transform: translateX(-36px); }
.reveal[data-reveal="right"] { transform: translateX(36px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes .quote:nth-child(3) { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col:last-child { display: none; }
  .promo__inner { grid-template-columns: 1fr; }
  .countdown { justify-content: center; }
}

@media (max-width: 900px) {
  .header__inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .header__burger { display: flex; order: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { min-height: 380px; max-width: 360px; margin: 0 auto; }
  .hero__title { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero__scroll { display: none; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .filters { flex-wrap: wrap; }

  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento__tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .bento__tile:nth-child(2),
  .bento__tile:nth-child(3) { grid-column: span 1; }
  .bento__tile:nth-child(n+4) { grid-column: span 1; }

  .feature,
  .feature--right { grid-template-columns: 1fr; }
  .feature--right .feature__media { order: 0; }

  .grid { grid-template-columns: repeat(2, 1fr); }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .stat:nth-child(2)::after { display: none; }

  .quotes { grid-template-columns: 1fr; }
  .quotes .quote:nth-child(3) { grid-column: span 1; }

  .newsletter__grid { grid-template-columns: 1fr; }
  .instagram__grid { grid-template-columns: repeat(3, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col:last-child { display: block; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .header__inner { padding: 14px 20px; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .bento__tile,
  .bento__tile:nth-child(1),
  .bento__tile:nth-child(2),
  .bento__tile:nth-child(3) { grid-column: span 1; grid-row: span 1; }

  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card__title { font-size: 1rem; }
  .price { font-size: 1.2rem; }

  .pmodal__panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 38vh) 1fr;
    max-height: calc(100vh - 16px);
  }
  .pmodal__media { padding: 22px; }
  .pmodal__thumbs { bottom: 10px; }
  .pmodal__body { padding: 22px 22px 24px; gap: 12px; }
  .pmodal__title { font-size: 1.4rem; }
  .pmodal__actions { grid-template-columns: 1fr; }
  .pmodal__qty { justify-self: start; }

  .promo__inner { gap: 24px; }
  .countdown { padding: 12px 16px; gap: 6px; }
  .countdown__cell { min-width: 44px; }
  .countdown__sep { font-size: 1.2rem; }

  .hero__trust { font-size: 0.8rem; gap: 12px 16px; }
  .hero__cta { gap: 10px; }
  .btn { padding: 12px 18px; font-size: 0.9rem; }
  .btn--wide { padding: 14px 22px; }

  .instagram__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bot { flex-direction: column; align-items: flex-start; }
  .payments { flex-wrap: wrap; }

  .about__sticker { width: 100px; height: 100px; top: -16px; right: -16px; }
}

@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat::after { display: none !important; }
}

/* =====================================================================
   A11Y
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .brands__track,
  .marquee__track,
  .hero__chip-dot,
  .hero__scroll-line::after,
  .about__sticker { animation: none !important; }
}

::selection { background: var(--amber); color: var(--ink); }

/* ============================================================
   ACCOUNT MODAL (login / sign up)
   ============================================================ */
.amodal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.amodal.is-open { pointer-events: auto; opacity: 1; }
.amodal__scrim {
  position: absolute; inset: 0;
  background: rgba(26,20,16,.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.amodal.is-open .amodal__scrim { opacity: 1; }
.amodal__panel {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  background: var(--bone);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 90px -28px rgba(26,20,16,.45);
  padding: 36px 36px 32px;
  transform: translateY(14px) scale(.98);
  transition: transform .35s var(--ease);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.amodal.is-open .amodal__panel { transform: translateY(0) scale(1); }
.amodal__close { position: absolute; top: 14px; right: 14px; }
.amodal__inner > .eyebrow { margin-bottom: 10px; }
.amodal__title { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.08; margin-bottom: 8px; }
.amodal__lede { color: var(--ink-2); margin-bottom: 22px; font-size: .95rem; }
.amodal__form { display: flex; flex-direction: column; gap: 14px; }
.amodal__field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--ink-2); }
.amodal__field[hidden] { display: none; }
.amodal__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(26,20,16,.15);
  border-radius: var(--r-md);
  background: #FFFCF7;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.amodal__field input:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(184,92,44,.15);
}
.amodal__field input::placeholder { color: rgba(26,20,16,.35); }
.amodal__form .btn { margin-top: 4px; }
.amodal__sep {
  margin: 22px 0 14px;
  display: flex; align-items: center; gap: 12px;
  color: rgba(26,20,16,.45);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.amodal__sep::before, .amodal__sep::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(26,20,16,.12);
}
.amodal__terms { margin-top: 18px; font-size: .78rem; color: rgba(26,20,16,.55); }
.amodal__terms a { color: var(--clay); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

.amodal__signed { text-align: left; }
.amodal__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--clay);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.amodal__avatar svg { width: 28px; height: 28px; }
.amodal__menu {
  list-style: none; padding: 0; margin: 16px 0 22px;
  border-top: 1px solid rgba(26,20,16,.08);
}
.amodal__menu li { border-bottom: 1px solid rgba(26,20,16,.08); }
.amodal__menu a {
  display: block; padding: 12px 0;
  color: var(--ink); font-size: .95rem;
  text-decoration: none;
}
.amodal__menu a:hover { color: var(--clay); }

/* ============================================================
   SEARCH MODAL
   ============================================================ */
.searchmodal {
  position: fixed; inset: 0; z-index: 80;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.searchmodal.is-open { pointer-events: auto; opacity: 1; }
.searchmodal__scrim {
  position: absolute; inset: 0;
  background: rgba(26,20,16,.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.searchmodal.is-open .searchmodal__scrim { opacity: 1; }
.searchmodal__panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  max-width: 760px;
  margin: 64px auto 0;
  background: var(--bone);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 30px 90px -28px rgba(26,20,16,.45);
  transform: translateY(-30px);
  transition: transform .35s var(--ease);
  max-height: calc(100vh - 80px);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.searchmodal.is-open .searchmodal__panel { transform: translateY(0); }
.searchmodal__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(26,20,16,.08);
}
.searchmodal__icon { width: 22px; height: 22px; color: var(--ink-2); flex-shrink: 0; }
.searchmodal__bar input {
  flex: 1; border: none; background: transparent;
  font: inherit; font-size: 1.05rem;
  color: var(--ink);
  padding: 6px 0;
}
.searchmodal__bar input:focus { outline: none; }
.searchmodal__bar input::placeholder { color: rgba(26,20,16,.35); }
.searchmodal__close { flex-shrink: 0; }

.searchmodal__body {
  padding: 18px 22px 24px;
  overflow-y: auto;
  flex: 1;
}
.searchmodal__hint-label {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(26,20,16,.5);
  margin-bottom: 10px;
}
.searchmodal__chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.searchmodal__chip {
  padding: 8px 14px;
  border: 1px solid rgba(26,20,16,.12);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .86rem;
  cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.searchmodal__chip:hover { background: var(--sand); border-color: var(--clay); }
.searchmodal__chip.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.searchmodal__results { display: flex; flex-direction: column; gap: 10px; }
.searchmodal__result {
  display: flex; align-items: center; gap: 14px;
  padding: 10px;
  border-radius: var(--r-md);
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  transition: background .15s var(--ease), border-color .15s var(--ease);
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}
.searchmodal__result:hover { background: var(--sand); border-color: rgba(26,20,16,.06); }
.searchmodal__result-img {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: var(--sand);
  object-fit: cover;
  flex-shrink: 0;
}
.searchmodal__result-meta { flex: 1; min-width: 0; }
.searchmodal__result-title { font-size: .96rem; color: var(--ink); margin-bottom: 2px; font-weight: 500; }
.searchmodal__result-cat { font-size: .76rem; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }
.searchmodal__result-price { font-family: 'JetBrains Mono', monospace; font-size: .86rem; color: var(--ink); }
.searchmodal__empty {
  text-align: center; padding: 30px 0;
  color: rgba(26,20,16,.5); font-size: .9rem;
}

/* ============================================================
   INFO MODAL (makers, repair, press, shipping, returns, etc.)
   ============================================================ */
.infomodal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.infomodal.is-open { pointer-events: auto; opacity: 1; }
.infomodal__scrim {
  position: absolute; inset: 0;
  background: rgba(26,20,16,.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.infomodal.is-open .infomodal__scrim { opacity: 1; }
.infomodal__panel {
  position: relative;
  width: min(540px, calc(100vw - 32px));
  background: var(--bone);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 90px -28px rgba(26,20,16,.45);
  padding: 40px 40px 32px;
  transform: translateY(14px) scale(.98);
  transition: transform .35s var(--ease);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.infomodal.is-open .infomodal__panel { transform: translateY(0) scale(1); }
.infomodal__close { position: absolute; top: 14px; right: 14px; }
.infomodal__title { font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.1; margin: 10px 0 18px; }
.infomodal__body {
  color: var(--ink-2);
  font-size: .96rem;
  line-height: 1.6;
}
.infomodal__body p { margin-bottom: 12px; }
.infomodal__body p:last-child { margin-bottom: 0; }
.infomodal__body ul {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}
.infomodal__body li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: .92rem;
}
.infomodal__body li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 1px;
  background: var(--clay);
}
.infomodal__cta { margin-top: 24px; }

@media (max-width: 540px) {
  .amodal__panel, .infomodal__panel { padding: 28px 22px 22px; }
}
