/* ============================================================
   STELLAR NOVA ALCHEMY — WordPress Theme CSS
   Author: The Free Website Guys — thefreewebsiteguys.com
   All colors via CSS custom properties (Section 6)
============================================================ */

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  --color-primary:        #B05875;
  --color-primary-fg:     #FAF6F0;
  --color-background:     #FDF5E6;
  --color-foreground:     #281E33;
  --color-noir:           #EDE8F2;
  --color-noir-soft:      #D9D0E5;
  --color-brass:          #C49750;
  --color-brass-light:    #9A5B28;
  --color-bone:           #F2E8EE;
  --color-muted-fg:       #6B5C7A;
  --color-border:         #D9CFE1;
  --color-card:           #FAF6F0;
  --color-moonlight:      #FAF5EF;
  --color-secondary:      var(--color-bone);
  --logo-height:          60px;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  --shadow-soft: 0 8px 32px -10px rgba(40,30,51,0.10);
  --shadow-noir: 0 24px 70px -20px rgba(40,30,51,0.18);
  --shadow-glow: 0 0 60px -10px rgba(196,151,80,0.35);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --easing: cubic-bezier(0.25, 0.4, 0.25, 1);

  --btn-radius: 0.5rem;
  --btn-height: 3.5rem;
  --btn-padding: 0 2.25rem;
  --btn-font-size: 0.875rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0;
  --btn-text-transform: none;
  --btn-icon-padding: 0.75rem;

  --radius: 0.5rem;
  --card-radius: 0.5rem;
  --header-height: 80px;
  --section-padding: 2rem;
  --checkout-gap: 2rem;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.1;
}

::selection {
  background: color-mix(in srgb, var(--color-primary) 45%, transparent);
  color: var(--color-foreground);
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Utility Classes ─────────────────────────────────────── */
.container-wide {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.font-display   { font-family: var(--font-display); }
.font-body      { font-family: var(--font-body); }
.eyebrow        { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; }
.text-primary   { color: var(--color-primary); }
.text-brass-light { color: var(--color-brass-light); }
.text-cream     { color: var(--color-foreground); }
.text-cream-70  { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.text-cream-75  { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.text-muted     { color: var(--color-muted-fg); }
.bg-background  { background-color: var(--color-background); }
.bg-bone        { background-color: var(--color-bone); }
.surface-noir   { background-color: var(--color-noir); color: var(--color-foreground); }
.w-full         { width: 100%; }

.brass-rule {
  display: block;
  height: 1px;
  width: 3rem;
  background-color: var(--color-brass);
  margin: 2rem 0;
}
.brass-rule-gold { background-color: var(--color-brass-light); }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s var(--transition-smooth),
    box-shadow 0.3s var(--transition-smooth),
    background-color 0.3s var(--transition-smooth),
    border-color 0.3s var(--transition-smooth),
    color 0.3s var(--transition-smooth);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }

.btn-primary, .theme-btn-primary {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  border: none !important;
  box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn-primary:hover, .theme-btn-primary:hover {
  opacity: 1;
  background-color: color-mix(in srgb, var(--color-primary) 90%, transparent) !important;
  color: var(--color-primary-fg) !important;
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent);
}

.btn-outline {
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  background: var(--color-brass);
  border-color: rgba(40,30,51,0.4);
  color: var(--color-foreground);
  box-shadow: var(--shadow-soft);
}

.btn-outline-hero {
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid rgba(40,30,51,0.4);
}
.btn-outline-hero:hover {
  background: rgba(40,30,51,0.1);
  border-color: rgba(40,30,51,0.7);
  color: var(--color-foreground);
}

/* ── Reveal Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.8s var(--easing), transform 0.8s var(--easing); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.8s var(--easing), transform 0.8s var(--easing); }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: translate(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right,
  .animate-fade-in, .animate-slide-up,
  .hover-lift, * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   HEADER
============================================================ */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background-color 0.5s var(--transition-smooth),
              border-color 0.5s var(--transition-smooth),
              box-shadow 0.5s var(--transition-smooth);
  background-color: transparent;
}

.site-header.is-solid,
.site-header.menu-open {
  background-color: rgba(237,232,242,0.95);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border-bottom: 1px solid var(--color-noir-soft);
  box-shadow: 0 1px 0 0 rgba(196,151,80,0.2);
}

.header-gradient {
  position: absolute;
  inset-x: 0;
  top: 0;
  height: 8rem;
  background: linear-gradient(to bottom, rgba(237,232,242,0.85), rgba(237,232,242,0.45), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.site-header:not(.is-solid) .header-gradient { opacity: 1; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) { .site-nav { height: 5rem; } }

.site-logo-link, .footer-logo-link { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-logo-img   { height: var(--logo-height) !important; width: auto !important; display: block; }
@media (min-width: 1024px) {
  .site-header .site-logo-img { height: calc(var(--logo-height) * 1.2) !important; }
}
.footer-logo-link .site-logo-img { height: 3rem !important; }
.site-logo-text  { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); }

.site-nav-links { display: none; }
@media (min-width: 768px) { .site-nav-links { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; margin-right: 2rem; } }
@media (min-width: 1024px) { .site-nav-links { gap: 1.75rem; } }

.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-link {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--color-foreground);
  transition: color 0.3s;
}
.theme-nav-link:hover { color: var(--color-brass-light); }

body.home .site-header:not(.is-solid):not(.menu-open) .theme-nav-link,
body.home .site-header:not(.is-solid):not(.menu-open) .cart-btn,
body.home .site-header:not(.is-solid):not(.menu-open) .mobile-menu-toggle {
  color: var(--color-foreground);
  text-shadow: 0 1px 12px rgba(237, 232, 242, 0.7);
}

.site-nav-controls { display: flex; align-items: center; gap: 0.25rem; }

.cart-btn {
  position: relative;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: color 0.3s;
  display: flex; align-items: center; gap: 0.5rem;
}
.cart-btn:hover { color: var(--color-brass-light); }

.theme-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { padding: 0.5rem; color: var(--color-foreground); transition: color 0.3s; display: flex; }
.mobile-menu-toggle:hover { color: var(--color-brass-light); }
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }

.site-header .icon-close { display: none; }
.site-header.menu-open .icon-menu { display: none; }
.site-header.menu-open .icon-close { display: block; }

.mobile-nav {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  border-top: 1px solid transparent;
  padding: 0;
  transition:
    max-height 0.55s var(--transition-smooth),
    opacity 0.4s var(--transition-smooth),
    padding 0.45s var(--transition-smooth),
    border-color 0.35s var(--transition-smooth),
    visibility 0s linear 0.55s;
}
.mobile-nav.is-open {
  max-height: min(85vh, 520px);
  opacity: 1;
  visibility: visible;
  border-top-color: var(--color-noir-soft);
  padding: 1rem 0 1.25rem;
  transition:
    max-height 0.55s var(--transition-smooth),
    opacity 0.4s var(--transition-smooth),
    padding 0.45s var(--transition-smooth),
    border-color 0.35s var(--transition-smooth),
    visibility 0s linear 0s;
}

.mobile-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-list li {
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.35s var(--transition-smooth),
    transform 0.35s var(--transition-smooth);
  transition-delay: var(--nav-item-delay, 0s);
}
.mobile-nav.is-open .mobile-nav-list li {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-list li a {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  color: rgba(40,30,51,0.8);
  transition: color 0.3s;
}
.mobile-nav-list li a:hover { color: var(--color-brass-light); }

@media (prefers-reduced-motion: reduce) {
  .mobile-nav {
    transition: none;
  }
  .mobile-nav:not(.is-open) {
    display: none;
    max-height: none;
  }
  .mobile-nav.is-open {
    display: block;
    max-height: none;
    opacity: 1;
    visibility: visible;
    padding: 1rem 0 1.25rem;
  }
  .mobile-nav-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 100svh;
}
@media (min-width: 1024px) { .hero-section { height: 100vh; min-height: 720px; } }

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform-origin: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(237,232,242,0.2); }
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(237,232,242,0.6), rgba(237,232,242,0.2), rgba(237,232,242,0.4));
}
.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-noir) 0%, rgba(237,232,242,0.7) 40%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  padding-bottom: 3.5rem;
  will-change: transform;
}
@media (min-width: 768px) { .hero-content { padding-bottom: 5rem; } }
@media (min-width: 1024px) { .hero-content { padding-bottom: 6rem; } }

.hero-text-wrap { max-width: 48rem; }
.hero-eyebrow { display: block; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .hero-eyebrow { margin-bottom: 1.5rem; } }

.hero-heading {
  font-size: 3.25rem;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--color-foreground);
}
@media (min-width: 640px) { .hero-heading { font-size: 4rem; } }
@media (min-width: 768px) { .hero-heading { font-size: 5.5rem; line-height: 0.98; } }
@media (min-width: 1024px) { .hero-heading { font-size: 6rem; } }
.hero-heading em { display: block; font-style: italic; }
@media (min-width: 768px) { .hero-heading em { display: inline; margin-left: 0.75rem; } }
@media (min-width: 1024px) { .hero-heading em { margin-left: 1rem; } }

.hero-body {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.625;
}
@media (min-width: 768px) { .hero-body { font-size: 1.125rem; line-height: 1.7; } }

.hero-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .hero-btns { margin-top: 2.5rem; } }
@media (min-width: 1024px) {
  .hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .hero-btns .btn { width: auto; }
}

/* ============================================================
   SECTIONS — COMMON
============================================================ */
.site-main > section { padding: 5rem 0; }
@media (min-width: 768px) { .site-main > section { padding: 7rem 0; } }
.site-main > section.hero-section,
.site-main > section.cta-section {
  padding: 0;
}
.site-main > section.cta-section {
  padding-bottom: 10px;
}

.section-heading {
  font-size: 2.25rem;
  line-height: 1.05;
  margin-top: 0.75rem;
}
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 3.75rem; } }
.section-heading em { font-style: italic; }

.section-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .section-intro-grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    gap: 4rem;
    margin-bottom: 5rem;
  }
}

.section-intro-body {
  color: var(--color-muted-fg);
  font-weight: 300;
  line-height: 1.7;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .section-intro-body { font-size: 1.125rem; }
}
.pillars-section .section-intro-body {
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}

.section-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  padding: 5rem 0;
}
@media (min-width: 1024px) {
  .two-col-layout {
    grid-template-columns: 6fr 6fr;
    gap: 5rem;
    padding: 7rem 0;
  }
}

/* ============================================================
   PILLARS
============================================================ */
.pillars-section { overflow: hidden; }
.pillars-section .section-intro-grid { margin-bottom: 3.5rem; }
@media (min-width: 768px) { .pillars-section .section-intro-grid { margin-bottom: 5rem; } }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--color-noir-soft);
  border: 1px solid var(--color-noir-soft);
}
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }

.pillar-card {
  position: relative;
  background: var(--color-noir);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: background-color 0.5s, transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
}
@media (min-width: 768px) { .pillar-card { padding: 2.5rem; } }
.pillar-card:hover {
  background: var(--color-noir-soft);
  transform: translateY(-0.25rem);
  box-shadow: inset 0 0 0 1px rgba(196,151,80,0.4);
}

.pillar-brass-line {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,151,80,0.6), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.7s var(--easing);
}
.pillar-card:hover .pillar-brass-line { transform: scaleX(1); }

.pillar-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-brass-light);
  margin-bottom: 2rem;
  transition: transform 0.5s var(--easing);
  display: flex;
}
.pillar-card:hover .pillar-icon { transform: translateY(-4px) scale(1.1); }

.pillar-title {
  font-size: 1.25rem;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  transition: color 0.3s;
}
@media (min-width: 768px) { .pillar-title { font-size: 1.5rem; } }
.pillar-card:hover .pillar-title { color: var(--color-brass-light); }

.pillar-desc {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
  font-weight: 300;
  line-height: 1.6;
  transition: color 0.3s;
}
.pillar-card:hover .pillar-desc { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

.section-intro-col .eyebrow { margin-bottom: 0; }
.section-intro-col .section-heading { margin-top: 0.75rem; }

/* ============================================================
   SERVICES
============================================================ */
.services-section-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .services-intro-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
  }
  .services-intro-col { grid-column: span 7; }
  .services-intro-body { grid-column: span 5; }
}

.services-intro-col .eyebrow {
  display: block;
  margin-bottom: 1rem;
}

.services-heading {
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 0;
  max-width: none;
}
@media (min-width: 768px) { .services-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 3.75rem; } }
.services-heading em { font-style: italic; font-family: var(--font-display); }

.services-intro-body {
  margin: 0;
  color: var(--color-muted-fg);
  font-weight: 300;
  line-height: 1.625;
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--color-background);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: background-color 0.5s;
}
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .service-card { padding: 3rem; } }
.service-card:hover { background: var(--color-bone); }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.service-num {
  font-size: 3rem;
  line-height: 1;
  font-style: italic;
  color: var(--color-primary);
}
@media (min-width: 768px) { .service-num { font-size: 3.75rem; } }

.service-icon {
  display: inline-flex;
  color: rgba(40,30,51,0.6);
  transition: color 0.5s;
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-card:hover .service-icon { color: var(--color-primary); }

.service-title {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  line-height: 1.375;
  color: var(--color-foreground);
}
@media (min-width: 768px) { .service-title { font-size: 1.875rem; } }

.service-desc {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  font-weight: 300;
  line-height: 1.625;
  margin: 0 0 1.5rem;
}
@media (min-width: 768px) { .service-desc { font-size: 1rem; } }

.service-cta {
  align-self: flex-start;
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 500;
}

/* ============================================================
   ABOUT
============================================================ */
.about-section .about-section-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 5rem;
  }
  .about-image-col { grid-column: span 6; }
  .about-text-col { grid-column: span 6; padding-top: 2rem; }
}

.about-image-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--color-noir);
}
.about-image { width: 100%; height: 100%; object-fit: cover; }

.about-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-text-col .eyebrow {
  display: block;
  margin-bottom: 0;
}

.about-heading {
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 0.75rem 0 0;
  max-width: none;
}
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.75rem; } }
.about-heading em { font-style: italic; font-family: var(--font-display); }

.about-brass-rule {
  margin: 2rem 0;
}

.about-body-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--color-muted-fg);
  font-weight: 300;
  line-height: 1.625;
  font-size: 1rem;
  width: 100%;
}
.about-body-wrap p { margin: 0; }
@media (min-width: 768px) { .about-body-wrap { font-size: 1.125rem; } }

.about-body-em {
  color: var(--color-foreground);
  font-style: italic;
  margin: 0;
}

.about-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* ============================================================
   FOUNDER
============================================================ */
.founder-section .founder-section-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.founder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .founder-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 5rem;
  }
  .founder-image-col { grid-column: span 5; }
  .founder-text-col { grid-column: span 7; padding-top: 2rem; }
}

.founder-image-wrap { aspect-ratio: 4/5; overflow: hidden; background-color: var(--color-noir-soft); }
.founder-image { width: 100%; height: 100%; object-fit: cover; }

.founder-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.founder-text-col .eyebrow {
  display: block;
  margin-bottom: 0;
}

.founder-heading {
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 0.75rem 0 0;
  max-width: none;
}
@media (min-width: 768px) { .founder-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .founder-heading { font-size: 3.75rem; } }
.founder-heading em { font-style: italic; font-family: var(--font-display); }

.founder-brass-rule {
  margin: 2rem 0;
}

.founder-body-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-weight: 300;
  line-height: 1.625;
  font-size: 1rem;
  width: 100%;
}
.founder-body-wrap p { margin: 0; }
@media (min-width: 768px) { .founder-body-wrap { font-size: 1.125rem; } }
.founder-body-em { font-style: italic; }

.founder-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* ============================================================
   SHOP
============================================================ */
.shop-section { }

.shop-section .section-intro-grid,
.coming-soon-section .section-intro-grid {
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .shop-section .section-intro-grid,
  .coming-soon-section .section-intro-grid {
    margin-bottom: 4rem;
  }
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.filter-btn {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: transparent;
  color: rgba(40,30,51,0.7);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--color-brass); color: var(--color-brass-light); background: rgba(196,151,80,0.05); }
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-color: var(--color-primary);
  box-shadow: 0 2px 18px -6px rgba(176,88,117,0.55);
}

.price-filter-toggle .chevron-icon {
  transition: transform 0.3s;
}
.price-filter-toggle.open .chevron-icon { transform: rotate(180deg); }
.price-filter-toggle.active-filter {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-color: var(--color-primary);
}

.price-filter-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s var(--easing), opacity 0.35s var(--easing);
  margin-bottom: 0;
}
.price-filter-wrap.is-open {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 1rem;
}

.price-range-container { padding: 0.75rem 0; max-width: 28rem; }

/* Section 31.4 — Dual-thumb price range slider */
.price-range-wrapper {
  position: relative;
  height: 24px;
  margin-bottom: 0.75rem;
}
.range-track-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
}
.range-track-fill {
  position: absolute;
  height: 4px;
  background: var(--color-primary);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.price-range-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
  z-index: 2;
}
.price-range-input--max { z-index: 3; }
.price-range-input.is-active { z-index: 4; }
.price-range-input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border-radius: 2px;
}
.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid white;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  margin-top: -7px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: grab;
}
.price-range-input::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}
.price-range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid white;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  cursor: grab;
  pointer-events: auto;
}
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted-fg); font-weight: 300; }

/* Product grid */
.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* Section 31.9 — Card height uniformity */
.theme-product-card-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.theme-product-card-wrap[style*="display: none"] { display: none !important; }

.theme-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.4s var(--easing);
}
.theme-product-card:hover {
  border-color: rgba(196,151,80,0.6);
  box-shadow: 0 24px 60px -24px rgba(40,30,51,0.55), 0 0 0 1px rgba(196,151,80,0.15);
  transform: translateY(-8px);
}

/* Section 15.1 — Image wrapper with position:relative (not inline) */
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--color-noir);
}
.theme-product-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--easing);
}
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }
.theme-product-card.is-out-of-stock .theme-product-card__image-wrapper img { opacity: 0.6; }

.product-card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(237,232,242,0.4), transparent, transparent);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.theme-product-card:hover .product-card-hover-overlay { opacity: 1; }

.product-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
}
.product-card-tag span {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(253,245,230,0.95);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 500;
}

.theme-product-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}
@media (min-width: 768px) { .theme-product-card__content { padding: 1.5rem; } }

.theme-product-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  min-width: 0;
}
.theme-product-card__title {
  font-size: 1.125rem;
  color: var(--color-foreground);
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: break-word;
  transition: color 0.3s;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }

.theme-product-card__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  margin-top: 0.25rem;
}
.theme-product-card__price .woocommerce-Price-amount { color: var(--color-foreground); }

.theme-product-card__desc {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  font-weight: 300;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.theme-product-card__info { flex: 1; }

.theme-product-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.theme-product-card__view-link {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-brass);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s;
}
.theme-product-card:hover .theme-product-card__view-link { color: var(--color-primary); }
.view-arrow { display: inline-block; transition: transform 0.3s; }
.theme-product-card:hover .view-arrow { transform: translateX(4px); }

/* Section 31.3 — Pattern A: card overlay link */
.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}
.theme-product-card * { pointer-events: none; }
.theme-product-card .theme-card-link { pointer-events: auto; }
.theme-product-card .add_to_cart_button { position: relative; z-index: 2; pointer-events: auto; }

/* Section 31.3 — image link display rule */
.theme-product-card__image-link { display: block; overflow: hidden; }
.theme-product-card__image-link img { display: block; width: 100%; }

.shop-show-all-wrap { text-align: center; margin-top: 3rem; }
.shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-fg); font-weight: 300; }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section { position: relative; overflow: hidden; }
.cta-bg-wrap {
  position: relative;
  height: 80vh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) { .cta-bg-wrap { height: 85vh; } }

.cta-bg-motion {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--color-noir) 0%,
    color-mix(in srgb, var(--color-noir) 80%, transparent) 45%,
    color-mix(in srgb, var(--color-noir) 20%, transparent) 100%
  );
}

.cta-content {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  will-change: transform;
}
.cta-content .container-wide {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .cta-content .container-wide {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  padding: 0;
}
@media (min-width: 768px) {
  .cta-inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
  }
  .cta-text-col { grid-column: span 8; }
  .cta-btns { grid-column: span 4; }
}
.cta-text-col .eyebrow {
  display: block;
  margin-bottom: 1.25rem;
}
.cta-heading {
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 0;
  max-width: 48rem;
}
@media (min-width: 768px) { .cta-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-heading { font-size: 3.75rem; } }
.cta-heading em { font-style: italic; font-family: var(--font-display); display: block; }
@media (min-width: 768px) { .cta-heading em { display: inline; } }
.cta-btns { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-btns { flex-direction: row; } }
@media (min-width: 768px) { .cta-btns { flex-direction: column; align-items: flex-end; } }

/* ============================================================
   COMING SOON
============================================================ */
.coming-soon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 768px) { .coming-soon-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.coming-soon-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  height: 100%;
}
.coming-soon-card:hover .coming-soon-image { transform: scale(1.05); }

.coming-soon-card-inner {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
}
@media (min-width: 640px) { .coming-soon-card-inner { grid-template-columns: 2fr 3fr; } }

.coming-soon-image-col {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--color-noir);
  overflow: hidden;
}
@media (min-width: 640px) { .coming-soon-image-col { aspect-ratio: auto; height: 100%; } }

.coming-soon-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 1.2s var(--easing);
}
.coming-soon-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(237,232,242,0.7), transparent, transparent);
}
.coming-soon-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(253,245,230,0.95);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 500;
}

.coming-soon-text-col { padding: 1.75rem 2rem; display: flex; flex-direction: column; height: 100%; }
.coming-soon-name { font-size: 1.5rem; margin-bottom: 0.75rem; line-height: 1.2; min-height: 3.5rem; }
@media (min-width: 768px) { .coming-soon-name { font-size: 1.875rem; } }
.coming-soon-desc { color: var(--color-muted-fg); font-size: 0.875rem; font-weight: 300; line-height: 1.625; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .coming-soon-desc { font-size: 1rem; } }
.coming-soon-details { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.375rem; margin-top: auto; }
.coming-soon-detail-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.75rem; color: var(--color-muted-fg); font-weight: 300; }
@media (min-width: 768px) { .coming-soon-detail-item { font-size: 0.875rem; } }
.coming-soon-detail-item svg { color: var(--color-brass); flex-shrink: 0; margin-top: 2px; }
.coming-soon-btn { align-self: flex-start; margin-top: 0; }

/* ============================================================
   FAQ
============================================================ */
.faq-section .faq-section-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 5rem;
  }
  .faq-image-col { grid-column: span 5; position: sticky; top: 7rem; }
  .faq-accordion-col { grid-column: span 7; }
}

.faq-image-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.faq-image { width: 100%; height: 100%; object-fit: cover; }
.faq-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(40,30,51,0.9), transparent);
}
@media (min-width: 768px) { .faq-image-overlay { padding: 2rem; } }

.faq-overlay-eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}

.faq-overlay-text {
  font-size: 1.5rem;
  margin: 0;
  max-width: 20rem;
  line-height: 1.375;
  color: var(--color-foreground);
  font-style: italic;
}
@media (min-width: 768px) { .faq-overlay-text { font-size: 1.875rem; } }

.faq-accordion-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-accordion-col .eyebrow {
  display: block;
  margin-bottom: 0;
}

.faq-heading {
  font-size: 2.25rem;
  line-height: 1.05;
  margin: 0.75rem 0 0;
  max-width: none;
}
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-heading { font-size: 3.75rem; } }
.faq-heading em { font-style: italic; font-family: var(--font-display); }

.faq-body {
  margin: 1.25rem 0 0;
  color: var(--color-muted-fg);
  font-weight: 300;
  line-height: 1.625;
  max-width: 32rem;
  font-size: 1rem;
}

.faq-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
}
@media (min-width: 768px) { .faq-list { margin-top: 3rem; } }

.faq-item { border-bottom: 1px solid var(--color-border); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
@media (min-width: 768px) { .faq-trigger { gap: 1.75rem; padding: 1.75rem 0; } }

.faq-num {
  font-size: 1.125rem;
  flex-shrink: 0;
  color: var(--color-muted-fg);
  transition: color 0.3s;
  line-height: 1;
}
@media (min-width: 768px) { .faq-num { font-size: 1.25rem; } }
.faq-num--active { color: var(--color-primary); }
.faq-trigger[aria-expanded="true"] .faq-num { color: var(--color-primary); }

.faq-question {
  flex: 1;
  font-size: 1.125rem;
  color: rgba(40,30,51,0.85);
  transition: color 0.3s;
  line-height: 1.3;
}
@media (min-width: 768px) { .faq-question { font-size: 1.25rem; } }
.faq-trigger[aria-expanded="true"] .faq-question,
.faq-trigger:hover .faq-question { color: var(--color-foreground); }

.faq-icon {
  flex-shrink: 0;
  color: var(--color-muted-fg);
  transition: transform 0.3s, color 0.3s;
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s var(--easing), opacity 0.4s var(--easing);
}
.faq-answer.is-open {
  max-height: 24rem;
  opacity: 1;
}
.faq-answer p {
  margin: 0;
  padding: 0 1.5rem 1.5rem 2.5rem;
  color: var(--color-muted-fg);
  font-weight: 300;
  line-height: 1.625;
  font-size: 0.9375rem;
  max-width: 42rem;
}
@media (min-width: 768px) { .faq-answer p { padding: 0 1.5rem 1.75rem 3rem; font-size: 1rem; } }

/* ============================================================
   CONTACT
============================================================ */
.contact-section { position: relative; overflow: hidden; }
.starfield-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.contact-inner { position: relative; z-index: 10; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.contact-info-col { display: flex; flex-direction: column; }
.contact-body { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-weight: 300; line-height: 1.7; max-width: 28rem; font-size: 1rem; }
.contact-links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }

.contact-link-item { display: flex; align-items: center; gap: 1rem; text-decoration: none; transition: color 0.3s; }
.contact-link-item:hover { color: var(--color-foreground); }

.contact-link-icon {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-noir-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-brass-light);
  transition: border-color 0.3s;
}
.contact-link-item:hover .contact-link-icon { border-color: var(--color-brass-light); }

.contact-link-text { font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); overflow-wrap: break-word; }

.contact-form-col { display: flex; flex-direction: column; height: 100%; }
.contact-form-wrap { border: 1px solid var(--color-noir-soft); padding: 2rem; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 768px) { .contact-form-wrap { padding: 2.5rem; } }
.contact-form { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }

.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.75rem; }
.form-field-grow { flex: 1; display: flex; flex-direction: column; }
.form-field-grow .form-label { }
.form-label { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-brass-light); font-family: var(--font-body); font-weight: 500; }

.form-input, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: transparent;
  border: 1px solid var(--color-noir-soft);
  color: var(--color-foreground);
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 300;
  transition: border-color 0.3s;
  outline: none;
  border-radius: 0;
}
.form-textarea { flex: 1; resize: none; min-height: 7rem; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(40,30,51,0.3); }
.form-input:focus, .form-textarea:focus { border-color: var(--color-brass-light); }

.contact-submit { width: 100%; justify-content: center; gap: 0.5rem; margin-top: auto; }

/* Contact success state */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 3rem;
}
.contact-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-primary-fg);
}
.contact-success-title { font-size: 1.875rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.contact-success-body { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-weight: 300; max-width: 20rem; margin: 0 auto; line-height: 1.7; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background-color: var(--color-noir);
  color: var(--color-foreground);
  border-top: 1px solid var(--color-noir-soft);
  padding: 4rem 0 0;
}
@media (min-width: 1024px) {
  .site-footer { padding-top: 5rem; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 5fr 3fr 4fr;
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  .footer-grid { gap: 3rem; }
}

.footer-brand { }
.footer-logo-link { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 0; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); }
.footer-brand-em { color: var(--color-brass-light); font-style: normal; }
.footer-tagline { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(40,30,51,0.7); font-weight: 300; max-width: 28rem; line-height: 1.7; }
.footer-social { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.footer-social-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(40,30,51,0.7); transition: color 0.3s; font-family: var(--font-body); }
.footer-social-link:hover { color: var(--color-brass-light); }

.footer-col-heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-brass-light); margin-bottom: 1.25rem; font-family: var(--font-body); font-weight: 500; }

.theme-footer-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a { font-size: 0.875rem; color: rgba(40,30,51,0.7); font-weight: 300; transition: color 0.3s; }
.theme-footer-nav-list a:hover { color: var(--color-foreground); }

.footer-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; align-items: center; gap: 0.75rem; }
.footer-contact-item svg { color: var(--color-brass-light); flex-shrink: 0; }
.footer-contact-link { font-size: 0.875rem; color: rgba(40,30,51,0.7); font-weight: 300; transition: color 0.3s; overflow-wrap: break-word; }
.footer-contact-link:hover { color: var(--color-foreground); }
.footer-location { margin-top: 1.25rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(40,30,51,0.45); font-family: var(--font-body); }

.footer-bottom {
  margin-top: 3.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-noir-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copy, .footer-credit { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(40,30,51,0.45); font-family: var(--font-body); }
.footer-credit a { color: rgba(40,30,51,0.7); text-decoration: underline; text-underline-offset: 4px; }
.footer-credit a:hover { color: var(--color-brass-light); }

/* ============================================================
   PAGE & INNER PAGES
============================================================ */
.site-main.page-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
  min-height: 60vh;
}
.page-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 2rem;
  padding-top: 2rem;
}
.entry-content { max-width: 48rem; }

/* ── 404 ── */
.error-404-content { padding: 5rem 0; text-align: center; }
.error-404-code { font-size: 6rem; font-family: var(--font-display); color: var(--color-primary); line-height: 1; display: block; margin-bottom: 1.5rem; }
.error-404-title { font-size: 2rem; margin-bottom: 1rem; }
.error-404-body { color: var(--color-muted-fg); font-weight: 300; margin-bottom: 2rem; }

/* ============================================================
   WOOCOMMERCE — SINGLE PRODUCT (Section 11)
============================================================ */
.single-product-main { padding-top: var(--header-height); }
.single-product-breadcrumb { padding: 1.5rem 0; }
.back-to-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  transition: color 0.3s;
  font-family: var(--font-body);
}
.back-to-shop-link:hover { color: var(--color-foreground); }

/* Section 11.13 — Product layout (prevent overflow) */
.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
  min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.theme-product-gallery { min-width: 0; }
.theme-product-info { min-width: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }

.product-main-image-wrap { aspect-ratio: 3/4; overflow: hidden; background: var(--color-secondary, #F2E8EE); margin-bottom: 1rem; }
.product-main-image { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }

/* Section 11.13 — Thumbnails */
.theme-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.product-thumb-btn {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
  cursor: pointer;
  background: none;
  padding: 0;
}
.product-thumb-btn:hover { opacity: 1; }
.product-thumb-btn.is-active { border-color: var(--color-primary); opacity: 1; }
.product-thumb-img { width: 100%; height: 100%; object-fit: cover; }

.product-categories { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); margin-bottom: 0.5rem; }
.product-categories a { color: inherit; }

.product-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin: 0.5rem 0 1rem; overflow-wrap: break-word; word-break: break-word; }
.product-price { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; font-family: var(--font-body); }
.product-price .woocommerce-Price-amount { }
.product-price del { color: var(--color-muted-fg); margin-right: 0.5rem; }
.product-sold-out-badge { display: inline-block; padding: 0.25rem 1rem; background: var(--color-muted-fg); color: white; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }

.woocommerce-product-details__description { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.woocommerce-product-details__description p { margin-bottom: 1rem; }

/* Section 11.13 — Add to cart area */
.theme-add-to-cart-area {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
  align-items: center;
}

/* Section 11.6 — Quantity */
.theme-quantity-wrapper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
}
.theme-qty-minus, .theme-qty-plus {
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  line-height: 1;
  color: var(--color-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary, #F2E8EE); }
.theme-qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  background: none;
  color: var(--color-foreground);
  padding: 0;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.product-details-section { border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 2rem; }
.product-details-heading { font-size: 0.9375rem; font-weight: 600; margin-bottom: 1rem; font-family: var(--font-body); }
.woocommerce-product-details__short-description { color: var(--color-muted-fg); overflow-wrap: break-word; word-break: break-word; }
.woocommerce-product-details__short-description ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.woocommerce-product-details__short-description li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; font-weight: 300; }
.woocommerce-product-details__short-description li::before { content: ''; width: 0.375rem; height: 0.375rem; background: var(--color-primary); border-radius: 50%; margin-top: 0.375rem; flex-shrink: 0; }

/* Section 11.4.1 — Add to cart button override */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
}

/* Disabled state (Section 11.4.1) */
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}

/* Section 11.4.2 — Hide WC "View cart" link */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Section 31.8 — Button lock during AJAX */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* Variable product attribute select (Section 11.5.2) */
.theme-attr-select-hidden { display: none !important; }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

/* Variation attribute buttons */
.theme-attr-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s, background-color 0.2s;
}
.theme-attr-btn:hover { border-color: var(--color-primary); }
.theme-attr-btn.is-selected { background: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); }

/* Related products */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading { font-size: 1.5rem; margin-bottom: 2.5rem; font-weight: 700; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.875rem; } }
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* Section 14.1 — WC notices scoped visibility */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* WC notices — visible on checkout/account */
.woocommerce-error { padding: 1rem; background: rgba(220,60,60,0.1); border-left: 4px solid rgba(220,60,60,0.8); color: var(--color-foreground); margin-bottom: 1.5rem; list-style: none; }
.woocommerce-message { padding: 1rem; background: rgba(176,88,117,0.1); border-left: 4px solid var(--color-primary); color: var(--color-foreground); margin-bottom: 1.5rem; }

/* ============================================================
   WOOCOMMERCE — CART DRAWER (Section 12)
============================================================ */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40,30,51,0.2);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background: var(--color-background);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--easing);
  box-shadow: var(--shadow-noir);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }

#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.cart-drawer-close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s; color: var(--color-foreground); }
.cart-drawer-close:hover { opacity: 1; }

.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-empty-icon { color: var(--color-muted-fg); margin-bottom: 1rem; }
.cart-empty-text { color: var(--color-muted-fg); margin-bottom: 1.5rem; font-family: var(--font-body); }

.cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item-image-link { width: 5rem; height: 6rem; background: var(--color-secondary, #F2E8EE); overflow: hidden; flex-shrink: 0; display: block; }
.cart-item-image-link img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s; font-family: var(--font-body); color: var(--color-foreground); }
.cart-item-name:hover { opacity: 0.7; }
.cart-item-variation { font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.25rem; }
.cart-item-price { font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.25rem; }
.cart-item-qty { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn { padding: 0.25rem; border-radius: 50%; transition: background-color 0.2s; color: var(--color-foreground); }
.cart-qty-btn:hover { background: var(--color-secondary, #F2E8EE); }
.cart-item-qty-num { font-size: 0.875rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.cart-remove-btn { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-fg); transition: color 0.2s; font-family: var(--font-body); cursor: pointer; background: none; border: none; }
.cart-remove-btn:hover { color: var(--color-foreground); }

.cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); flex-shrink: 0; }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.5rem; font-family: var(--font-body); }
.cart-subtotal-label { color: var(--color-muted-fg); }
.cart-subtotal-value { font-weight: 500; }
.cart-free-shipping { font-size: 0.75rem; color: var(--color-muted-fg); margin-bottom: 1rem; font-family: var(--font-body); }
.cart-checkout-btn { display: flex; width: 100%; justify-content: center; }

/* ============================================================
   WOOCOMMERCE — CHECKOUT (Section 13)
============================================================ */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content {
  max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
  display: block;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-bone);
  border-radius: var(--card-radius);
  padding: var(--section-padding, 2rem);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  border: 1px solid var(--color-border) !important;
  background-color: var(--color-background) !important;
  color: var(--color-foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  border-radius: 0 !important;
  outline: none !important;
  transition: border-color 0.3s !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  border: none !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  border-radius: var(--btn-radius) !important;
  width: 100% !important;
  min-height: var(--btn-height) !important;
  padding: 0 2.25rem !important;
  cursor: pointer !important;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 1 !important;
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent) !important;
}

body.woocommerce-checkout .page-title { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 2rem; padding-top: 2rem; }

/* ============================================================
   WOOCOMMERCE — THANK YOU (Section 22.8)
============================================================ */
.thankyou-wrap { padding: 2rem 0; }
body.theme-thankyou-page .woocommerce-order { max-width: 42rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; font-family: var(--font-display); }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; background: var(--color-bone); padding: 1.5rem; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; color: var(--color-muted-fg); }
body.theme-thankyou-page .woocommerce-order-overview li strong { color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
body.theme-thankyou-page { overflow-x: hidden; }

/* ============================================================
   ARCHIVE PRODUCT
============================================================ */
.archive-product-main { padding-top: var(--header-height); }
.archive-grid { margin-top: 2.5rem; }

/* ============================================================
   WOOCOMMERCE — NOTICES (Section 14.1)
============================================================ */
.woocommerce-notices-wrapper { }
.woocommerce-error { }

/* ============================================================
   VORTEX CURSOR
============================================================ */
#vortex-cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

/* ============================================================
   SCROLL-MT (fixed header offset)
============================================================ */
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* ============================================================
   RESPONSIVE UTILITIES
============================================================ */
@media (max-width: 767px) {
  :root { --header-height: 64px; }
  .two-col-layout { gap: 2rem; }
  .section-intro-grid { gap: 1.5rem; margin-bottom: 2.5rem; }
  .site-main > section:not(.hero-section):not(.cta-section) { padding: 3.5rem 0; }
}

/* ============================================================
   WP BLOCK EDITOR ALIGNMENT
============================================================ */
.alignwide { max-width: 90rem; margin-left: auto; margin-right: auto; }
.alignfull { margin-left: calc(-50vw + 50%); width: 100vw; }

/* ============================================================
   PRODUCT CARD IMAGE LINK (Section 31.3)
============================================================ */
.theme-product-card__image-link { display: block; overflow: hidden; }
.theme-product-card__image-link img { display: block; width: 100%; }
