/* ============================================================
   NUNZIO ORSINI — Design Tokens & Component Styles
   Palette: Deep onyx surfaces, aged parchment text, antique gold accent
   Typography: Cormorant Garamond (display) + Switzer (body)
   ============================================================ */

/* ---- FONT IMPORT ---- */
@import url('https://api.fontshare.com/v2/css?f[]=switzer@300,400,500,600&display=swap');

:root {
  /* Topbar height — nav offsets from this */
  --topbar-h: 34px;
  --nav-h: 82px;
  --header-total-h: calc(var(--topbar-h) + var(--nav-h));

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1280px;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- LIGHT MODE (Parchment + Onyx + Gold) ---- */
:root, 

/* ---- DARK MODE (Deep Onyx + Warm Cream + Gold) ---- */
[data-theme="dark"] {
  --color-bg:              #080f1a;
  --color-surface:         #0d1624;
  --color-surface-2:       #122030;
  --color-surface-offset:  #172840;
  --color-divider:         #1e3050;
  --color-border:          #253a60;

  --color-text:            #e0e8f4;
  --color-text-muted:      #7a92b8;
  --color-text-faint:      #3a5070;
  --color-text-inverse:    #080f1a;

  --color-primary:         #4a9ee0;
  --color-primary-hover:   #5aaeee;
  --color-primary-active:  #6abef8;
  --color-primary-highlight: #0f2040;

  --color-gold:            #c9a84c;
  --color-onyx:            #e0e8f4;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #080f1a;
    --color-surface:         #0d1624;
    --color-surface-2:       #122030;
    --color-surface-offset:  #172840;
    --color-divider:         #1e3050;
    --color-border:          #253a60;
    --color-text:            #e0e8f4;
    --color-text-muted:      #7a92b8;
    --color-text-faint:      #3a5070;
    --color-text-inverse:    #080f1a;
    --color-primary:         #4a9ee0;
    --color-primary-hover:   #5aaeee;
    --color-primary-active:  #6abef8;
    --color-primary-highlight: #0f2040;
    --color-gold:            #c9a84c;
    --color-onyx:            #e0e8f4;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  }
}

/* ============================================================
   GLOBAL
   ============================================================ */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  padding-top: var(--header-total-h);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-8);
  background: color-mix(in oklab, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in oklab, var(--color-border) 60%, transparent);
  transition: background var(--transition-interactive), box-shadow var(--transition-interactive);
}

.nav--scrolled {
  background: color-mix(in oklab, var(--color-bg) 96%, transparent);
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.nav__logo-img {
  height: 64px;
  width: auto;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(26, 110, 192, 0.18);
}

.nav__logo-wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__links a {
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__cta {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-inverse);
  background: var(--color-text);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-sm);
}

.nav__cta:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.nav__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  color: var(--color-text);
}

.nav__menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition-interactive), opacity var(--transition-interactive);
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 103;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-24) var(--space-8);
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.nav__mobile-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--color-text);
}
.nav__mobile-sub a {
  font-size: var(--text-base) !important;
  opacity: 0.7;
  letter-spacing: 0.06em;
  display: inline-block;
  padding: 0 0.15em;
  overflow: visible;
}

.nav__mobile-close {
  position: absolute;
  top: 5rem;
  right: var(--space-8);
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: var(--space-24) var(--space-8);
  padding-bottom: 18vh;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-total-h));
}

@media (max-width: 600px) {
  .hero {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    padding-bottom: var(--space-8);
  }
  .hero__content {
    margin-bottom: 14vh;
  }
  .hero__title .handcrafted-line {
    font-size: 0.4em;
  }
}

.hero__title .handcrafted-line {
  font-size: 0.5em;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--color-onyx);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}



.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 15, 26, 0.55) 0%,
    rgba(8, 15, 26, 0.25) 40%,
    rgba(8, 15, 26, 0) 65%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin: 0 auto;
  width: 100%;
}

.hero__overline {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  display: block;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #f5f1eb;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  max-width: 22ch;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.4);
}

.hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(245,241,235,0.75);
  max-width: 46ch;
  margin-bottom: var(--space-10);
  letter-spacing: 0.01em;
  line-height: 1.7;
  text-shadow: 0 0 18px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.9);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: rgba(245,241,235,0.9);
  border: 1px solid rgba(245,241,235,0.35);
}

.btn--outline:hover {
  border-color: rgba(245,241,235,0.75);
  color: #f5f1eb;
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline-dark:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) var(--space-8);
}

@media (max-width: 600px) {
  .section {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

.section--dark {
  background: var(--color-surface-offset);
}

.section--onyx {
  background: var(--color-onyx);
  color: var(--color-text-inverse);
}

[data-theme="dark"] .section--onyx {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.container {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.container--narrow {
  max-width: var(--content-default);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

@media (max-width: 600px) {
  .container,
  .container--narrow {
    padding: 0 var(--space-4);
  }
  .gallery-thumbs {
    display: none !important;
  }
  .shoe-detail__name {
    padding-top: 1.2em;
    margin-bottom: var(--space-3);
    line-height: 2;
  }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header--center {
  text-align: center;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-12);
}

.overline {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 58ch;
}

/* ============================================================
   BRAND PILLARS (Homepage)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
  margin-top: 0;
}

.pillar {
  padding: var(--space-10) var(--space-8);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.pillar__icon {
  width: 36px;
  height: 36px;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
}

.pillar__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.pillar__body {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 38ch;
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ============================================================
   SPLIT SECTION
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.split__image:hover img {
  transform: scale(1.03);
}

.split__content {
  padding: var(--space-8) 0;
}

.split__content .section-title {
  margin-bottom: var(--space-5);
}

.split__content p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: var(--space-8); }
  .split--reverse { direction: ltr; }
}

/* ============================================================
   CINEMATIC FEATURE
   ============================================================ */
.cinematic-feature {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.cinematic-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.cinematic-feature__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--space-8, 2rem) clamp(1rem, 3vw, 2rem);
  background: linear-gradient(
    to bottom,
    rgba(8,15,26,0.72) 0%,
    rgba(8,15,26,0.05) 40%,
    rgba(8,15,26,0.75) 85%
  );
}
.cinematic-feature__top {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cinematic-feature__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}
.cinematic-feature__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 1rem;
}
.cinematic-feature__headline {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: #f5f1eb;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.cinematic-feature__sub {
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(245,241,235,0.75);
  margin: 0;
  max-width: 48ch;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
@media (max-width: 768px) {
  .cinematic-feature {
    aspect-ratio: 4/3;
  }
  .cinematic-feature__overlay {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .cinematic-feature__sub--hide-mobile {
    display: none;
  }
  .cinematic-feature__bottom .btn {
    margin-top: 0 !important;
  }
}

/* ============================================================
   COLLECTION GRID
   ============================================================ */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.collection-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
}

.collection-card:hover .collection-card__image img {
  transform: scale(1.04);
}

.collection-card__image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #ffffff;
}

.collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card__body {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.collection-card__style {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.collection-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.collection-card__desc {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.collection-card__price {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-top: var(--space-2);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .collection-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CRAFT STEPS
   ============================================================ */
.craft-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  margin-top: var(--space-12);
}

.craft-step {
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  position: relative;
}

.craft-step__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-primary);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.craft-step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: 0.03em;
}

.craft-step__body {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .craft-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .craft-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   QUOTE / MANIFESTO
   ============================================================ */
.manifesto {
  text-align: center;
  padding: clamp(var(--space-8), 4vw, var(--space-12)) var(--space-8);
  background: var(--color-onyx);
  color: #f5f1eb;
}

@media (max-width: 600px) {
  .manifesto {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

[data-theme="dark"] .manifesto {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.manifesto__quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.3;
  max-width: 22ch;
  margin: 0 auto var(--space-6);
  color: inherit;
}

.manifesto__attribution {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text);
  width: 100%;
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: var(--space-24) var(--space-8) var(--space-16);
  overflow: hidden;
}

@media (max-width: 600px) {
  .about-hero {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

.about-hero__bg {
  position: absolute;
  inset: 0;
}

.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,13,11,0.9) 0%, rgba(14,13,11,0.3) 100%);
}

.about-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin: 0 auto;
  width: 100%;
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: #f5f1eb;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  margin: var(--space-12) 0;
}

.stat-item {
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: center;
}

.stat-item__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-primary);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

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

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  padding: var(--space-12) var(--space-8) var(--space-8);
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

@media (max-width: 600px) {
  .page-hero {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

.page-hero__overline {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-3);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--color-text);
  line-height: 1.1;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__subtitle {
  margin-top: var(--space-4);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FULL BLEED IMAGE
   ============================================================ */
.full-bleed {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  position: relative;
}

.full-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .full-bleed { aspect-ratio: 4/3; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-onyx);
  color: rgba(245,241,235,0.65);
  padding: var(--space-16) var(--space-8) var(--space-8);
}

@media (max-width: 600px) {
  .footer {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

[data-theme="dark"] .footer {
  background: var(--color-surface-2);
  color: var(--color-text-muted);
}

.footer__grid {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(245,241,235,0.1);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f1eb;
  margin-bottom: var(--space-3);
}

[data-theme="dark"] .footer__brand-name {
  color: var(--color-text);
}

.footer__brand-tagline {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: var(--space-5);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,235,0.4);
  margin-bottom: var(--space-4);
}

[data-theme="dark"] .footer__col-title {
  color: var(--color-text-faint);
}

.footer__col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col-links a {
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(245,241,235,0.6);
  text-decoration: none;
}

.footer__col-links a:hover {
  color: rgba(245,241,235,0.95);
}

[data-theme="dark"] .footer__col-links a {
  color: var(--color-text-muted);
}

[data-theme="dark"] .footer__col-links a:hover {
  color: var(--color-text);
}

.footer__bottom {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(245,241,235,0.35);
}

[data-theme="dark"] .footer__copy {
  color: var(--color-text-faint);
}

.footer__pplx {
  font-size: var(--text-xs);
  color: rgba(245,241,235,0.35);
  text-decoration: none;
}

.footer__pplx:hover {
  color: rgba(245,241,235,0.65);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 48px;
  height: 1px;
  background: var(--color-primary);
  margin: var(--space-5) 0;
}

.divider--center { margin-left: auto; margin-right: auto; }

/* ============================================================
   NOTIFICATION BANNER
   ============================================================ */
.topbar {
  background: var(--color-onyx);
  color: rgba(245,241,235,0.75);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 102;
}

[data-theme="dark"] .topbar {
  background: var(--color-surface-offset);
  color: #ffffff;
}

.topbar strong {
  color: var(--color-primary);
  font-weight: 500;
}

/* ============================================================
   COLLECTION CARD — COLOR SWATCHES & SIZES
   ============================================================ */
.collection-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.collection-card__swatches {
  display: flex;
  gap: 6px;
  align-items: center;
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  display: inline-block;
  flex-shrink: 0;
}

[data-theme="dark"] .swatch {
  border-color: rgba(255,255,255,0.2);
}

.swatch--navy    { background: #1B2D4F; }
.swatch--burgundy { background: #6B1F2A; }
.swatch--cognac  { background: #8B5A2B; }
.swatch--black   { background: #1A1714; }

.collection-card__sizes {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

/* Signature shoe — special card treatment */
.collection-card--signature {
  position: relative;
}

.collection-card:hover {
  border-color: var(--color-primary);
}

.collection-card--signature::before {
  content: 'SIGNATURE';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #fff;
  background: var(--color-primary);
  padding: 4px 8px;
  z-index: 2;
}

/* ============================================================
   SIGNATURE FEATURES SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
}

.feature-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface-offset);
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-card__image img {
  transform: scale(1.04);
}

.feature-card__body {
  padding: 1.75rem var(--space-6) var(--space-6);
  display: grid;
  grid-template-rows: 4.5rem auto;
  gap: var(--space-3);
  align-items: start;
}

@media (max-width: 600px) {
  .feature-card__body {
    grid-template-rows: auto auto;
    gap: var(--space-2);
    padding: var(--space-5);
  }
  .feature-card__num,
  .feature-card__title {
    font-size: var(--text-lg) !important;
  }
}

.feature-card__num {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: 0.08em;
  display: inline;
  margin-right: 0.3em;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: inline;
}

.feature-card__heading {
  display: block;
  align-self: start;
  white-space: nowrap;
}

.feature-card__desc {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.75;
  display: block;
}

@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ============================================================
   LOGO INTEGRATION — HERO & FOOTER
   ============================================================ */

/* Hero logo lockup */
.hero__logo-lockup {
  margin-bottom: var(--space-5);
}

.hero__logo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(26, 110, 192, 0.35), 0 2px 12px rgba(0,0,0,0.3);
  border: 2px solid rgba(201, 168, 76, 0.5);
}

/* Footer logo */
.footer__logo {
  width: 160px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: var(--space-4);
  box-shadow: 0 4px 20px rgba(26, 110, 192, 0.25);
  border: 1.5px solid rgba(201, 168, 76, 0.4);
}

/* Gold accent on overlines and dividers — replace old brown with logo gold */
.overline {
  color: var(--color-gold, #c9a84c) !important;
}

.divider {
  background: var(--color-gold, #c9a84c) !important;
}

/* Topbar — dark navy matching site header */
.topbar {
  background: #1a6ec0 !important;
  color: #ffffff !important;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar strong {
  color: #c9a84c !important;
}

.topbar__short { display: none; }
.topbar__full  { display: inline; }

@media (max-width: 600px) {
  :root { --topbar-h: 34px; }
  .topbar__full  { display: none; }
  .topbar__short { display: inline; }
  .topbar {
    white-space: nowrap !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.06em !important;
    line-height: 1.35;
    height: var(--topbar-h);
    padding: 6px 12px !important;
    overflow: hidden;
  }
}


/* Primary button — royal blue fill */
.btn--primary {
  background: #1a6ec0 !important;
  color: #fff !important;
  border-color: #1a6ec0 !important;
}

.btn--primary:hover {
  background: #155aa0 !important;
  border-color: #155aa0 !important;
}

.shoe-preorder-dynamic {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted, #aaa);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.shoe-preorder-dynamic svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #c9a84c;
}
.shoe-preorder-dynamic strong {
  color: #c9a84c;
}

/* Pre-order state — gold instead of blue */
.btn--preorder {
  background: #c9a84c !important;
  color: #080f1a !important;
  border-color: #c9a84c !important;
}
.btn--preorder:hover {
  background: #b8973e !important;
  border-color: #b8973e !important;
}

/* Nav CTA button */
.nav__cta {
  background: #1a6ec0 !important;
  color: #fff !important;
}

.nav__cta:hover {
  background: #155aa0 !important;
}

/* Feature card number — use logo gold */
.feature-card__num {
  color: #c9a84c !important;
}

/* Collection card style label — use logo blue */
.collection-card__style {
  color: #1a6ec0 !important;
}

[data-theme="dark"] .collection-card__style {
  color: #4a9ee0 !important;
}

/* Section--dark uses rich navy matching logo */
.section--dark {
  background: #0d1a2e !important;
}

/* Manifesto section */
.manifesto {
  background: #1a6ec0 !important;
}

/* ─── CRAFTSMANSHIP VIDEO SECTION ─────────────────────────────────────── */
.craft-video-section {
  background: var(--color-bg, #080f1a);
  padding: 6rem 0;
}

.craft-video-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: center;
}

.craft-video-text {
  color: var(--text-primary);
}

.craft-video-text .section-title {
  color: #f4f6fa;
}

.craft-video-text p {
  color: rgba(244,246,250,0.75);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.craft-video-frame {
  display: flex;
  justify-content: center;
}

.craft-video-frame video {
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  display: block;
  object-fit: contain;
  height: auto;
}

@media (max-width: 768px) {
  .craft-video-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 var(--space-4);
  }
  .craft-video-frame {
    order: -1;
  }
  .craft-video-frame video {
    max-width: 100%;
  }
}

/* ─── SHOE NAME SCRIPT STYLE ───────────────────────────────────────────── */
.shoe-name-script {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  color: var(--color-gold, #c9a84c);
  letter-spacing: 0.01em;
}

/* ─── FULL-PHOTO FIT — show entire multi-shoe images ───────────────────── */
.split__image img[src*="core-four"],
.split__image img[src*="core-four-from"],
.split__image img[src*="handcrafted-italy"] {
  object-fit: contain;
  background: var(--bg-secondary, #0d1a2e);
}

.full-bleed img[src*="core-four"] {
  object-fit: contain;
  background: #080f1a;
}

/* Remove fixed aspect-ratio on split when showing landscape group shots */
.split__image:has(img[src*="core-four"]),
.split__image:has(img[src*="handcrafted-italy"]) {
  aspect-ratio: unset;
  min-height: 320px;
}
@media (max-width: 768px) {
  .split__image:has(img[src*="handcrafted-italy"]) {
    aspect-ratio: 4/3;
    min-height: unset;
  }
  .split__image img[src*="handcrafted-italy"] {
    object-fit: cover;
    object-position: center center;
  }
}

/* ─── PRODUCT IMAGE GALLERY ─────────────────────────────────────────────── */
.img-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.img-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  touch-action: pan-y;
}

.img-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.img-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--color-bg);
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Arrows */
.img-gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 15, 26, 0.6);
  color: #c9a84c;
  border: 1px solid rgba(201, 168, 76, 0.3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  z-index: 2;
  padding: 0;
}

.img-gallery__btn:hover {
  background: rgba(201, 168, 76, 0.2);
}

.img-gallery__btn--prev { left: 10px; }
.img-gallery__btn--next { right: 10px; }

/* Dots */
.img-gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.img-gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.img-gallery__dot.active {
  background: #c9a84c;
  transform: scale(1.3);
}

/* ─── SELECT DROPDOWNS ──────────────────────────────────────────────────── */
.select-dropdown {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary, #0d1a2e);
  color: var(--color-text, #f4f6fa);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 6px;
  font-family: var(--font-body, 'Switzer', sans-serif);
  font-size: var(--text-sm, 0.9rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.select-dropdown:hover,
.select-dropdown:focus {
  border-color: #c9a84c;
  outline: none;
}

.select-dropdown option {
  background: #0d1a2e;
  color: #f4f6fa;
}

/* ─── COLOR DESCRIPTION ─────────────────────────────────────────────────── */
.color-desc {
  font-size: var(--text-xs, 0.78rem);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-top: 0.5rem;
  min-height: 1.2em;
  font-style: italic;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

/* ── Four-Shoes Showcase Grid (about / contact) ── */
@media (max-width: 900px) {
  .four-shoes-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 500px) {
  .four-shoes-grid { grid-template-columns: 1fr !important; }
}

/* ── Collection Dropdown Nav ── */
.nav__dropdown-parent { position: relative; }
.nav__dropdown-trigger { display: inline-flex; align-items: center; cursor: pointer; }

/* Invisible bridge fills the gap so mouse can travel from trigger to menu */
.nav__dropdown-parent::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 16px;
  background: transparent;
  z-index: 199;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 230px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  list-style: none;
  padding: var(--space-2) 0;
  margin: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s, transform 0.18s;
}
.nav__dropdown-parent:hover .nav__dropdown,
.nav__dropdown-parent:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav__dropdown li a {
  display: block;
  padding: var(--space-3) var(--space-5);
  /* Match the nav link style exactly */
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav__dropdown li a:hover { color: var(--color-text); background: rgba(255,255,255,0.04); }

.nav__dropdown-divider {
  border-top: 1px solid var(--color-border);
  margin: var(--space-2) 0;
  list-style: none;
}
/* Signature item keeps its blue accent */
.nav__dropdown-signature > a,
.nav__dropdown li.nav__dropdown-signature a { color: #1a6ec0 !important; }
.nav__dropdown li.nav__dropdown-signature a:hover { color: #4a9ee0 !important; background: rgba(26,110,192,0.06) !important; }



/* Legal page overrides — keyed on .legal-nav which is in cached HTML */
body:has(.legal-nav) .nav__links li { display: none !important; }
body:has(.legal-nav) .footer__copy a { display: none !important; }
body:has(.legal-nav) .page-hero__overline { display: none !important; }

/* ── Pre-order notice ────────────────────────────────────────────────────── */
.shoe-preorder-notice {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  color: var(--color-primary);
  background: rgba(26, 110, 192, 0.08);
  border: 1px solid rgba(26, 110, 192, 0.25);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  margin-bottom: var(--space-4);
  line-height: 1.4;
}
.shoe-preorder-notice svg { flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════════════════════
   CART — Drawer, icon, badge, items, totals
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Cart icon button in nav ─────────────────────────────────────────────── */
.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.cart-icon-btn:hover {
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.08);
}
.cart-icon-btn:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
}
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #c9a84c;
  color: #0e0d0b;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* Pulse animation when item added */
@keyframes cart-pulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.28); }
  60%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.cart-icon--pulse {
  animation: cart-pulse 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* ── Overlay ─────────────────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Drawer ──────────────────────────────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100vw);
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.cart-drawer.open {
  transform: translateX(0);
}

/* ── Drawer header ───────────────────────────────────────────────────────── */
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
}
.cart-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.cart-drawer__close:hover {
  color: var(--color-text);
  background: var(--color-surface-alt);
}

/* ── Cart body (scrollable) ──────────────────────────────────────────────── */
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1.5rem;
  overscroll-behavior: contain;
}
.cart-body::-webkit-scrollbar { width: 4px; }
.cart-body::-webkit-scrollbar-track { background: transparent; }
.cart-body::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--color-text-muted);
  gap: 0.75rem;
}
.cart-empty p {
  margin: 0;
  font-size: var(--text-base);
}

/* ── Cart item ───────────────────────────────────────────────────────────── */
.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item__info {
  flex: 1;
  min-width: 0;
}
.cart-item__name {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}
.cart-item__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.cart-item__color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.cart-item__sep {
  opacity: 0.4;
}
.cart-item__price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #c9a84c;
  letter-spacing: 0.03em;
}
.cart-item__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  margin-top: 2px;
}
.cart-item__remove:hover {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.1);
}

/* ── Cart footer ─────────────────────────────────────────────────────────── */
.cart-footer {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── Totals ──────────────────────────────────────────────────────────────── */
.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.25rem;
}
.cart-totals__row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.cart-totals__row--total {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  padding-top: 0.4rem;
  margin-top: 0.2rem;
  border-top: 1px solid var(--color-border);
}
.cart-tax-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.cart-promo {
  font-size: var(--text-sm);
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  padding: 0.55rem 0.8rem;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  border: none;
}
.cart-btn--primary {
  background: #c9a84c;
  color: #0e0d0b;
}
.cart-btn--primary:hover {
  background: #b8963d;
  color: #0e0d0b;
}
.cart-btn--secondary {
  background: var(--color-surface-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.cart-btn--secondary:hover {
  background: var(--color-border);
}
.cart-btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  font-size: var(--text-xs, 12px);
  letter-spacing: 0.08em;
  padding: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  border: none;
}
.cart-btn--ghost:hover {
  color: var(--color-text);
}

/* ── Light mode overrides ────────────────────────────────────────────────── */



/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
  }
}

/* ── Cart item thumbnail ─────────────────────────────────────────────────── */
.cart-item__thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
}
.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.cart-item:hover .cart-item__thumb img {
  transform: scale(1.05);
}

/* ── Hero — mobile-only adjustments ─────────────────────────────────────── */
@media (max-width: 600px) {
  /* Shift entire hero below fixed header on mobile */
  .hero {
    align-items: flex-start;
    margin-top: 0;
    padding-top: clamp(5rem, 22vw, 7rem);
    padding-bottom: var(--space-8);
  }
  .hero__content {
    margin-top: 16vh;
  }
  .hero__title .handcrafted-line {
    font-size: 0.5em;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-shadow: 0 0 12px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.8);
    display: block;
    margin-top: 3vh;
  }

  /* Tighten gap between subtitle and buttons */
  .hero__subtitle {
    margin-bottom: var(--space-6);
    text-shadow: 0 0 24px rgba(0,0,0,1), 0 0 12px rgba(0,0,0,0.95), 0 2px 8px rgba(0,0,0,0.9);
  }

  /* Subtle shadow on title for mobile */
  .hero__title {
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  }

  /* Stronger text shadow on secondary CTAs for readability */
  .hero__secondary-links button,
  .hero__secondary-links a {
    text-shadow: 0 0 20px rgba(0,0,0,1), 0 0 10px rgba(0,0,0,0.95), 0 2px 6px rgba(0,0,0,0.9) !important;
  }
}

/* ── Light mode text overrides ───────────────────────────────────────────── */





