/* ================================================================
   KIN & MISCHIEF — Main Stylesheet
   The Terracotta Palette · The Warm Heirloom Hybrid
   ================================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --ink-night:    #1F1A2E;
  --raspberry:    #8B3A52;
  --terracotta:   #C17A4A;
  --cream:        #F5EDE0;
  --teal-wink:    #4AADA8;
  --white:        #FDFAF9;

  /* Semantic Aliases */
  --color-text:         var(--ink-night);
  --color-text-light:   var(--cream);
  --color-bg-light:     var(--cream);
  --color-bg-dark:      var(--ink-night);
  --color-accent:       var(--terracotta);
  --color-drama:        var(--raspberry);
  --color-surprise:     var(--teal-wink);
  --color-base:         var(--white);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-hand:    'Caveat', cursive;

  /* Sizing & Layout */
  --nav-h:           72px;
  --container-max:   1240px;
  --container-pad:   clamp(1.5rem, 5vw, 4rem);
  --section-py:      clamp(5rem, 10vw, 9rem);
  --radius-sm:       4px;
  --radius-md:       8px;
  --radius-lg:       16px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    200ms;
  --dur-base:    420ms;
  --dur-slow:    700ms;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(31,26,46,0.08);
  --shadow-md:  0 8px 32px rgba(31,26,46,0.12);
  --shadow-lg:  0 20px 60px rgba(31,26,46,0.18);
}

/* ── RESET & BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-base);
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--teal-wink);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* ── ADA: SKIP LINK ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--teal-wink);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 1rem; }

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

/* ── CONTAINER ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--teal-wink); }

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-night);
  margin-bottom: 1.5rem;
}

.caveat { font-family: var(--font-hand); font-size: 1.1em; font-weight: 400; }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition:
    background-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--ink-night);
  color: var(--cream);
  border-color: var(--ink-night);
}
.btn--primary:hover {
  background-color: var(--raspberry);
  border-color: var(--raspberry);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background-color: transparent;
  color: var(--cream);
  border-color: rgba(245,237,224,0.5);
}
.btn--ghost:hover {
  background-color: rgba(245,237,224,0.12);
  border-color: var(--cream);
}

.btn--secondary {
  background-color: transparent;
  color: var(--ink-night);
  border-color: var(--ink-night);
}
.btn--secondary:hover {
  background-color: var(--ink-night);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  background-color: var(--cream);
  color: var(--ink-night);
  border-color: var(--cream);
}
.btn--light:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--dark {
  background-color: var(--ink-night);
  color: var(--cream);
  border-color: var(--ink-night);
}
.btn--dark:hover {
  background-color: var(--raspberry);
  border-color: var(--raspberry);
  box-shadow: var(--shadow-md);
}

.btn--teal {
  background-color: var(--teal-wink);
  color: var(--white);
  border-color: var(--teal-wink);
}
.btn--teal:hover { filter: brightness(1.08); box-shadow: var(--shadow-sm); }

/* ── SCROLL REVEAL ──────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="150"] { transition-delay: 150ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }

/* ── NAVIGATION ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.site-header.scrolled {
  background-color: var(--cream);
  box-shadow: 0 1px 0 rgba(31,26,46,0.1), var(--shadow-sm);
}

.nav { width: 100%; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--nav-h);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav__mark {
  width: 40px;
  height: 40px;
  transition: opacity var(--dur-fast);
}
.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream);
  transition: color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.nav__amp { color: var(--terracotta); }
.site-header.scrolled .nav__wordmark { color: var(--ink-night); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-inline: auto;
}
.nav__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,237,224,0.85);
  transition: color var(--dur-fast);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-base), border-color var(--dur-fast);
}
.nav__link:hover { color: var(--cream); border-bottom-color: var(--terracotta); }
.site-header.scrolled .nav__link { color: rgba(31,26,46,0.7); }
.site-header.scrolled .nav__link:hover { color: var(--ink-night); }
.nav__link--etsy { color: var(--terracotta); }
.site-header.scrolled .nav__link--etsy { color: var(--terracotta); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
  transition: color var(--dur-base) var(--ease-out),
              transform var(--dur-fast);
  border-radius: var(--radius-sm);
}
.nav__cart-btn:hover { transform: scale(1.08); }
.site-header.scrolled .nav__cart-btn { color: var(--ink-night); }

.nav__cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background-color: var(--raspberry);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  display: none;
}
.nav__cart-count.has-items { display: block; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--cream);
  transition: color var(--dur-base);
}
.site-header.scrolled .nav__hamburger { color: var(--ink-night); }
.nav__hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-base);
  transform-origin: center;
}
.nav__hamburger.is-open .nav__hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open .nav__hamburger-bar:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open .nav__hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  max-height: 0;
  overflow: hidden;
  background-color: var(--cream);
  transition: max-height var(--dur-slow) var(--ease-out);
  border-top: 1px solid rgba(31,26,46,0.1);
}
.nav__mobile.is-open { max-height: 400px; }
.nav__mobile ul { padding: 1.5rem var(--container-pad) 1rem; }
.nav__mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-night);
  border-bottom: 1px solid rgba(31,26,46,0.08);
  transition: color var(--dur-fast);
}
.nav__mobile-link:hover { color: var(--terracotta); }
.nav__mobile-social {
  padding: 1rem var(--container-pad) 1.5rem;
  display: flex;
  gap: 1.5rem;
}
.nav__mobile-social a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  text-transform: uppercase;
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -20%;
  z-index: 0;
  will-change: transform;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(31,26,46,0.82) 0%,
    rgba(31,26,46,0.65) 60%,
    rgba(139,58,82,0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: calc(var(--nav-h) + 3rem) var(--container-pad) 6rem;
}
.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-wink);
  margin-bottom: 1.5rem;
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.hero__line-1 { display: block; }
.hero__line-2 {
  display: block;
  font-style: italic;
  color: rgba(245,237,224,0.88);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245,237,224,0.8);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,237,224,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color var(--dur-fast);
  animation: scrollBob 2.4s var(--ease-in-out) infinite;
}
.hero__scroll:hover { color: var(--cream); }
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(245,237,224,0.6), transparent);
}
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── BRAND STORY ─────────────────────────────────────────────────── */
.brand-story {
  background-color: var(--cream);
  padding: var(--section-py) 0;
}
.brand-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.brand-story__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink-night);
  margin-bottom: 1.75rem;
}
.brand-story__body {
  font-size: 1.05rem;
  color: rgba(31,26,46,0.8);
  margin-bottom: 1.25rem;
  line-height: 1.78;
}
.brand-story__pull {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-style: italic;
  font-weight: 400;
  color: var(--raspberry);
  line-height: 1.35;
  padding-left: 1.25rem;
  border-left: 3px solid var(--terracotta);
  margin-top: 2rem;
}
.brand-story__img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.brand-story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.brand-story__img-frame:hover .brand-story__img { transform: scale(1.04); }
.brand-story__caption {
  margin-top: 1rem;
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--terracotta);
  text-align: center;
}

/* ── MEET DOT ────────────────────────────────────────────────────── */
.meet-dot {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}
.meet-dot__bg {
  position: absolute;
  inset: -20%;
  z-index: 0;
  will-change: transform;
}
.meet-dot__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.meet-dot__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(31,26,46,0.88) 0%,
    rgba(31,26,46,0.72) 50%,
    rgba(193,122,74,0.25) 100%
  );
}
.meet-dot { background-color: var(--ink-night); }
.meet-dot .container { position: relative; z-index: 1; }
.meet-dot__content {
  max-width: 660px;
}
.meet-dot__heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.meet-dot__accent {
  font-family: var(--font-hand);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--terracotta);
  margin-bottom: 2.5rem;
  display: block;
}
.meet-dot__body p {
  font-size: 1.05rem;
  color: rgba(245,237,224,0.82);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.meet-dot__note {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(245,237,224,0.5);
  text-transform: uppercase;
}
.meet-dot__note .caveat {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.1rem;
  color: var(--terracotta);
}

/* ── HOW IT WORKS ────────────────────────────────────────────────── */
.how-it-works {
  background-color: var(--white);
  padding: var(--section-py) 0;
  text-align: center;
}
.how-it-works .eyebrow,
.how-it-works .section-heading { text-align: center; }
.how-it-works .section-heading { margin-bottom: 4rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.step {
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--cream);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--terracotta);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.step__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-night);
  margin-bottom: 0.85rem;
}
.step__desc {
  font-size: 0.96rem;
  color: rgba(31,26,46,0.7);
  line-height: 1.75;
}
.how-it-works__note {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2.5rem 3rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.how-it-works__note p {
  font-size: 1.02rem;
  color: rgba(31,26,46,0.75);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.how-it-works__note .caveat { color: var(--raspberry); }

/* ── SHOP ─────────────────────────────────────────────────────────── */
.shop {
  background-color: var(--cream);
  padding: var(--section-py) 0;
}
.shop .eyebrow,
.shop .section-heading { text-align: center; }
.shop__sub {
  text-align: center;
  font-size: 1.05rem;
  color: rgba(31,26,46,0.65);
  max-width: 560px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}
.shop__etsy-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: rgba(31,26,46,0.55);
}
.shop__etsy-link {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--dur-fast);
}
.shop__etsy-link:hover { text-decoration-color: var(--terracotta); }

/* Shop family filters */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}
.shop-filter {
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31,26,46,0.55);
  border: 1.5px solid rgba(31,26,46,0.2);
  border-radius: 2px;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.shop-filter:hover,
.shop-filter--active {
  color: var(--ink-night);
  border-color: var(--terracotta);
  background-color: rgba(193,122,74,0.08);
}
.shop-filter--prestige {
  color: var(--raspberry);
  border-color: rgba(139,58,82,0.35);
}
.shop-filter--prestige:hover {
  background-color: rgba(139,58,82,0.08);
  border-color: var(--raspberry);
  color: var(--raspberry);
}

/* Game family sections */
.shop-family {
  margin-bottom: 5rem;
}
.shop-family:last-child { margin-bottom: 0; }
.shop-family__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(31,26,46,0.12);
}
.shop-family__name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink-night);
  margin-bottom: 0.35rem;
}
.shop-family__tagline {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  color: var(--terracotta);
}

/* Prestige family header */
.shop-family--prestige .shop-family__name { color: var(--raspberry); }
.shop-family--prestige .shop-family__header {
  border-color: rgba(139,58,82,0.2);
}
.shop-family--prestige .shop-family__tagline { color: var(--raspberry); }

/* Prestige product card variant */
.product-card--prestige {
  border: 1.5px solid rgba(139,58,82,0.25);
  background: linear-gradient(160deg, var(--white) 0%, rgba(139,58,82,0.04) 100%);
}
.product-card--prestige .product-card__badge {
  background-color: var(--raspberry);
}
.product-card--prestige .product-card__name { color: var(--raspberry); }
.product-card--prestige .product-card__theme { color: var(--raspberry); opacity: 0.75; }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
}

/* Product cards — rendered and styled by JS, base styles here */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.product-card:hover .product-card__img { transform: scale(1.06); }
.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  background-color: var(--teal-wink);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}
.product-card__badge--coming { background-color: var(--raspberry); }
.product-card__badge--prestige { background-color: var(--raspberry); }
.product-card__body {
  padding: 1.5rem 1.5rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__theme {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-night);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.product-card__tagline {
  font-family: var(--font-hand);
  font-size: 0.98rem;
  color: var(--raspberry);
  margin-bottom: 0.75rem;
}
.product-card__desc {
  font-size: 0.88rem;
  color: rgba(31,26,46,0.65);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(31,26,46,0.08);
  gap: 1rem;
}
.product-card__price-wrap {}
.product-card__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink-night);
  line-height: 1;
}
.product-card__format {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(31,26,46,0.45);
  margin-top: 2px;
}
.product-card__add-btn {
  padding: 0.7rem 1.4rem;
  background-color: var(--ink-night);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast), transform var(--dur-fast);
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.product-card__add-btn:hover { background-color: var(--raspberry); transform: scale(1.04); }
.product-card__add-btn:disabled { background-color: rgba(31,26,46,0.25); cursor: not-allowed; transform: none; }
.product-card__add-btn.added { background-color: var(--teal-wink); }

/* ── INSTAGRAM ───────────────────────────────────────────────────── */
.instagram-section {
  background-color: var(--ink-night);
  padding: var(--section-py) 0;
}
.instagram-section__header { text-align: center; margin-bottom: 3rem; }
.instagram-section__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.instagram-section__handle {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--terracotta);
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 3rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.instagram-grid__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
}
.instagram-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.4s;
  filter: brightness(0.92) saturate(0.9);
}
.instagram-grid__item:hover img { transform: scale(1.08); filter: brightness(1) saturate(1.1); }
.instagram-grid__hover {
  position: absolute;
  inset: 0;
  background: rgba(31,26,46,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-base);
  color: var(--cream);
}
.instagram-grid__item:hover .instagram-grid__hover { opacity: 1; }
.instagram-section__cta { text-align: center; }

/* ── NEWSLETTER ──────────────────────────────────────────────────── */
.newsletter {
  background: linear-gradient(135deg, var(--raspberry) 0%, #6B2A40 100%);
  padding: var(--section-py) 0;
}
.newsletter__content { text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter__heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}
.newsletter__sub {
  font-size: 1.02rem;
  color: rgba(245,237,224,0.8);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.newsletter__fields { display: flex; flex-direction: column; gap: 0.5rem; }
.newsletter__field-group {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.newsletter__input {
  flex: 1;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: none;
  background: var(--cream);
  color: var(--ink-night);
  outline: none;
  min-width: 0;
}
.newsletter__input::placeholder { color: rgba(31,26,46,0.45); }
.newsletter__input:focus { background: var(--white); }
.newsletter__submit {
  border-radius: 0;
  border: none;
  padding: 1rem 1.75rem;
  white-space: nowrap;
  background-color: var(--ink-night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur-fast);
}
.newsletter__submit:hover { background-color: var(--terracotta); }
.newsletter__error {
  font-size: 0.82rem;
  color: #ffc4c4;
  text-align: center;
  padding: 0.25rem 0;
}
.newsletter__success {
  background: rgba(245,237,224,0.15);
  border-radius: var(--radius-sm);
  padding: 1.25rem 2rem;
  color: var(--cream);
  font-size: 1rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background-color: var(--ink-night);
  padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,237,224,0.1);
  margin-bottom: 2rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer__mark { width: 56px; height: 56px; }
.footer__tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(245,237,224,0.65);
  line-height: 1.5;
}
.footer__nav-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}
.footer__nav ul, .footer__connect ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__link {
  font-size: 0.9rem;
  color: rgba(245,237,224,0.6);
  transition: color var(--dur-fast);
}
.footer__link:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__legal {
  font-size: 0.78rem;
  color: rgba(245,237,224,0.35);
  letter-spacing: 0.04em;
}
.footer__made {
  font-size: 1rem;
  color: var(--terracotta);
}

/* ── CART SIDEBAR ────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(31,26,46,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.cart-overlay.is-open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  width: min(420px, 92vw);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: -8px 0 48px rgba(31,26,46,0.18);
}
.cart-sidebar.is-open { transform: translateX(0); }

.cart-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(31,26,46,0.1);
  background: var(--cream);
}
.cart-sidebar__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-night);
}
.cart-sidebar__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-night);
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.cart-sidebar__close:hover { background: rgba(31,26,46,0.08); }

.cart-sidebar__body { flex: 1; overflow-y: auto; padding: 1.5rem 1.75rem; }
.cart-sidebar__footer {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid rgba(31,26,46,0.1);
  background: var(--cream);
}

.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.cart-empty__icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-empty p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(31,26,46,0.5);
  line-height: 1.6;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(31,26,46,0.07);
}
.cart-item__img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-item__name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-night);
  margin-bottom: 0.25rem;
}
.cart-item__format {
  font-size: 0.72rem;
  color: rgba(31,26,46,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(31,26,46,0.2);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--ink-night);
  cursor: pointer;
  transition: background-color var(--dur-fast);
  font-family: var(--font-body);
}
.cart-item__qty-btn:hover { background: var(--cream); }
.cart-item__qty-num { font-size: 0.9rem; font-weight: 600; min-width: 1.5rem; text-align: center; }
.cart-item__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-night);
  white-space: nowrap;
}
.cart-item__remove {
  display: block;
  font-size: 0.65rem;
  color: rgba(31,26,46,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  cursor: pointer;
  transition: color var(--dur-fast);
  background: none;
  border: none;
  font-family: var(--font-body);
}
.cart-item__remove:hover { color: var(--raspberry); }

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
  padding-top: 0.5rem;
}
.cart-total__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31,26,46,0.55);
}
.cart-total__amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ink-night);
}
.cart-checkout-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: var(--ink-night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--dur-fast), transform var(--dur-fast);
  margin-bottom: 0.75rem;
}
.cart-checkout-btn:hover { background-color: var(--raspberry); transform: translateY(-1px); }
.cart-continue {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(31,26,46,0.45);
  cursor: pointer;
  transition: color var(--dur-fast);
  background: none;
  border: none;
  width: 100%;
  font-family: var(--font-body);
}
.cart-continue:hover { color: var(--ink-night); }

/* ── CHECKOUT MODAL ──────────────────────────────────────────────── */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.checkout-modal.is-open { opacity: 1; pointer-events: all; }
.checkout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31,26,46,0.65);
}
.checkout-modal__panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(90vh, 800px);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--dur-slow) var(--ease-out);
}
.checkout-modal.is-open .checkout-modal__panel { transform: translateY(0) scale(1); }
.checkout-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-night);
  border-radius: var(--radius-sm);
  background: rgba(245,237,224,0.8);
  transition: background-color var(--dur-fast);
}
.checkout-modal__close:hover { background: var(--cream); }

/* Checkout step content (injected by JS) */
.checkout-step { padding: 2.5rem 2.5rem 2rem; }
.checkout-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.checkout-progress__dot {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: rgba(31,26,46,0.12);
  transition: background-color var(--dur-base);
}
.checkout-progress__dot.active { background: var(--terracotta); }
.checkout-step__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-night);
  margin-bottom: 0.35rem;
}
.checkout-step__sub {
  font-size: 0.9rem;
  color: rgba(31,26,46,0.55);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.form-field { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(31,26,46,0.6);
  margin-bottom: 0.5rem;
}
.form-label .form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  font-family: var(--font-hand);
  color: rgba(31,26,46,0.4);
}
.form-input,
.form-textarea,
.form-select {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-night);
  background: var(--white);
  border: 1.5px solid rgba(31,26,46,0.18);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(193,122,74,0.15);
  outline: none;
}
.form-textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; gap: 1rem; margin-top: 1.75rem; align-items: center; }
.form-actions .btn { flex: 1; justify-content: center; }
.form-back {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(31,26,46,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color var(--dur-fast);
}
.form-back:hover { color: var(--ink-night); }
.checkout-summary {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.checkout-summary h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31,26,46,0.5);
  margin-bottom: 0.75rem;
}
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--ink-night);
  margin-bottom: 0.5rem;
}
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(31,26,46,0.1);
  margin-top: 0.5rem;
  font-weight: 700;
}
.checkout-success {
  padding: 3rem 2.5rem;
  text-align: center;
}
.checkout-success__mark { font-size: 4rem; margin-bottom: 1.5rem; }
.checkout-success__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink-night);
  margin-bottom: 0.75rem;
}
.checkout-success__sub {
  font-size: 1rem;
  color: rgba(31,26,46,0.65);
  line-height: 1.75;
  max-width: 400px;
  margin: 0 auto 2rem;
}
.checkout-success__order {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--terracotta);
  margin-bottom: 2rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: block; }
  .brand-story__inner { grid-template-columns: 1fr; }
  .brand-story__media { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
  .instagram-grid__item--hide-mobile { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: clamp(3.5rem, 8vw, 6rem); }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 280px; justify-content: center; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-step { padding: 2rem 1.5rem 1.5rem; }
  .newsletter__field-group { flex-direction: column; border-radius: var(--radius-sm); overflow: visible; box-shadow: none; }
  .newsletter__input { border-radius: var(--radius-sm); padding: 1rem; box-shadow: var(--shadow-sm); }
  .newsletter__submit { border-radius: var(--radius-sm); padding: 1rem; justify-content: center; }
  .how-it-works__note { padding: 1.75rem 1.5rem; }
}

@media (max-width: 480px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
}

/* ── REDUCED MOTION (ADA) ────────────────────────────────────────── */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__bg,
  .meet-dot__bg { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ── PRINT ───────────────────────────────────────────────────────── */
@media print {
  .site-header, .cart-sidebar, .checkout-modal, .cart-overlay { display: none !important; }
  body { background: white; color: black; }
}
