/* ============================================
   HOWE HOUSE — "Light Heritage" Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

/* --- Design Tokens (CSS Custom Properties) --- */
:root {
  /* Colors */
  --color-bg:            #FFFFFF;
  --color-bg-cream:      #FFF9F2;
  --color-bg-card:       #F5EFE6;
  --color-maroon:        #7B1E2A;
  --color-maroon-dark:   #5E1720;
  --color-gold:          #C5963A;
  --color-gold-light:    #D4AD5A;
  --color-gold-pale:     #E8D5B7;
  --color-charcoal:      #444444;
  --color-charcoal-dark: #2C2C2C;
  --color-green:         #2B4C3F;
  --color-white:         #FFFFFF;
  --color-border:        #E8D5B7;
  --color-border-light:  #F0E6D6;
  --color-text-muted:    #777777;
  --color-overlay:        rgba(0,0,0,0.75);
  --color-success:       #2B7A4B;
  --color-error:         #C0392B;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font sizes — fluid clamp scale */
  --text-xs:   clamp(0.7rem,  0.65rem + 0.25vw, 0.8rem);
  --text-sm:   clamp(0.8rem,  0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem,  0.85rem + 0.25vw, 1rem);
  --text-md:   clamp(1rem,    0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.1rem,  1rem    + 0.5vw,  1.25rem);
  --text-xl:   clamp(1.25rem, 1.1rem  + 0.75vw, 1.5rem);
  --text-2xl:  clamp(1.5rem,  1.2rem  + 1.5vw,  2rem);
  --text-3xl:  clamp(1.8rem,  1.4rem  + 2vw,    2.5rem);
  --text-4xl:  clamp(2rem,    1.5rem  + 2.5vw,  3.25rem);
  --text-5xl:  clamp(2.5rem,  1.8rem  + 3vw,    4rem);

  /* Spacing — 4px base */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Layout */
  --max-width:      1200px;
  --max-width-wide: 1400px;
  --max-width-text: 65ch;
  --radius:         8px;
  --radius-sm:      4px;
  --radius-lg:      12px;
  --radius-xl:      16px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 24px rgba(0,0,0,0.10);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration:  180ms;
  --duration-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-maroon);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

a:hover {
  color: var(--color-gold);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-maroon);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl);  }
h5 { font-size: var(--text-lg);  }

p {
  margin-bottom: var(--space-4);
  max-width: var(--max-width-text);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.section {
  padding: var(--space-20) 0;
}

.section-cream {
  background-color: var(--color-bg-cream);
}

.section-divider {
  width: 120px;
  height: 2px;
  background: var(--color-maroon);
  margin: 0 auto;
  opacity: 0.3;
}

.section-white {
  background-color: var(--color-bg);
}

.section-maroon {
  background-color: var(--color-maroon);
  color: var(--color-white);
}

.section-maroon h2,
.section-maroon h3,
.section-maroon p {
  color: var(--color-white);
}

.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: var(--text-md);
  max-width: 600px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  display: inline-block;
  background: var(--color-bg-cream);
  padding: var(--space-2) var(--space-5);
  border-radius: 100px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration) var(--ease-out);
  min-height: 48px;
  white-space: nowrap;
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background-color: #B8872E;
  border-color: #B8872E;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-maroon {
  background-color: transparent;
  color: var(--color-maroon);
  border-color: var(--color-maroon);
}

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

.btn-white {
  background-color: var(--color-white);
  color: var(--color-maroon);
  border-color: var(--color-white);
}

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

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
  min-height: 56px;
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  min-height: 40px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-maroon);
  border-bottom: none;
  transition: box-shadow var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  background: #6A1823;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 72px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.nav-logo-ornament {
  width: 28px;
  height: 35px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--duration) var(--ease-out);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--duration) var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform var(--duration) var(--ease-out);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease-out), visibility var(--duration);
  z-index: 1001;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-charcoal);
  transition: background var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.nav-dropdown-menu a:hover {
  background: var(--color-bg-cream);
  color: var(--color-maroon);
}

.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 1002;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--duration) var(--ease-out);
  border-radius: 1px;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-border-light);
}

.nav-mobile a:hover {
  color: var(--color-maroon);
}

.nav-mobile .mobile-products-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  padding: 0;
  border: none;
}

.nav-mobile .mobile-products a {
  padding-left: var(--space-4);
  font-size: var(--text-base);
  font-weight: 400;
}

.nav-mobile .mobile-cta {
  margin-top: var(--space-6);
}

/* Progressive nav compression */
@media (max-width: 1100px) {
  .nav-links { gap: var(--space-5); }
  .nav-link { font-size: 0.8rem; }
}

@media (max-width: 960px) {
  .nav-links { gap: var(--space-4); }
  .nav-link { font-size: 0.75rem; letter-spacing: 0; }
  .nav-logo-text { font-size: var(--text-base); }
  .nav-logo-ornament { width: 24px; height: 30px; }
  .nav-logo { gap: 8px; }
  .nav-left { gap: var(--space-3); }
  .nav-cta.btn-sm { font-size: 0.75rem; padding: 6px 14px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; margin-right: 0; }
  /* Hide the in-nav CTA on mobile — the hamburger menu and hero already provide it,
     and keeping it here squeezes the hamburger off-screen on small phones. */
  .nav-cta { display: none; }
  .nav-inner { padding: 0 var(--space-4); }
}

@media (max-width: 520px) {
  .nav-left { gap: var(--space-2); }
  .nav-inner { padding: 0 var(--space-3); }
}

@media (max-width: 360px) {
  .nav-logo-text { font-size: 0.85rem; }
  .nav-logo-ornament { width: 20px; height: 25px; }
  .nav-logo { gap: 6px; }
}

/* Body offset for fixed nav */
body { padding-top: 72px; }

/* --- Hero Section --- */
.hero {
  padding: var(--space-12) 0;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-content h1 {
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: var(--text-3xl);
  color: var(--color-gold);
  font-weight: 500;
}

.hero-content p {
  font-size: var(--text-md);
  color: var(--color-charcoal);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-image-frame {
  position: relative;
  display: inline-block;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: 8px;
  left: 8px;
  border: 2px solid var(--color-gold-pale);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* Hero auto-scrolling gallery */
.hero-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  position: relative;
}

.hero-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Prev / Next arrows */
.hero-gallery-prev,
.hero-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.hero-gallery:hover .hero-gallery-prev,
.hero-gallery:hover .hero-gallery-next {
  opacity: 1;
}

.hero-gallery-prev:hover,
.hero-gallery-next:hover {
  background: rgba(0, 0, 0, 0.55);
}

.hero-gallery-prev {
  left: 10px;
}

.hero-gallery-next {
  right: 10px;
}

/* Dot indicators */
.hero-gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-gallery-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-gallery-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* Corner ribbon — wraps around gallery like a gift ribbon */
.hero-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  width: 200px;
  height: 200px;
  overflow: hidden;
  pointer-events: none;
}

.hero-badge span {
  display: block;
  position: absolute;
  width: 280px;
  padding: 10px 0;
  background: #2E7D32;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  /* Position diagonally in top-right corner */
  top: 44px;
  right: -60px;
  transform: rotate(45deg);
  transform-origin: center;
}

/* Folded edges behind the ribbon for the wrap-around effect */
.hero-badge::before,
.hero-badge::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-style: solid;
}

/* Bottom-left fold */
.hero-badge::before {
  top: 100%;
  right: calc(100% - 9px);
  border-width: 0 8px 8px 0;
  border-color: transparent #1B5E20 transparent transparent;
}

/* Top-right fold (tucked behind the corner) */
.hero-badge::after {
  bottom: calc(100% - 9px);
  left: 100%;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent #1B5E20;
}

/* heroScroll keyframes removed — now JS-driven carousel */

/* Product page hero */
.hero-product {
  padding: var(--space-16) 0 var(--space-12);
  background: var(--color-bg-cream);
}

.hero-product .hero-split {
  gap: var(--space-16);
}

.hero-product .hero-image img {
  border-radius: var(--radius-lg);
  max-height: 500px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .hero {
    padding: var(--space-6) 0 var(--space-8);
  }
  .hero-content {
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-frame::before {
    display: none;
  }
  .hero-subtitle {
    font-size: var(--text-2xl);
  }
  .hero-gallery {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
  }
  /* Shrink the fundraiser ribbon on mobile */
  .hero-badge {
    width: 130px;
    height: 130px;
  }
  .hero-badge span {
    width: 200px;
    font-size: 10.5px;
    padding: 7px 0;
    top: 28px;
    right: -45px;
  }
  /* Show carousel arrows always on mobile (no hover) */
  .hero-gallery-prev,
  .hero-gallery-next {
    opacity: 1;
    width: 32px;
    height: 32px;
  }
  .hero-gallery-prev svg,
  .hero-gallery-next svg {
    width: 16px;
    height: 16px;
  }
  .hero-gallery-prev {
    left: 8px;
  }
  .hero-gallery-next {
    right: 8px;
  }
  .hero-gallery-dots {
    bottom: 8px;
    gap: 6px;
  }
  .hero-gallery-dot {
    width: 8px;
    height: 8px;
  }
}

/* --- Trust Bar --- */
.trust-bar {
  padding: var(--space-10) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.trust-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.trust-item span {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.trust-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-6);
}

@media (max-width: 768px) {
  .trust-items { gap: var(--space-6); }
}

/* --- Process Image --- */
.process-image {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-10);
}

.process-image img {
  max-width: 700px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  margin: 0 auto;
}

/* --- Steps / How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
  margin-top: var(--space-8);
}

.step-card {
  text-align: center;
  padding: var(--space-6);
}

.step-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--space-3);
  color: var(--color-maroon);
  opacity: 0.7;
}
.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(197,150,58,0.3);
}

.step-card h3 {
  font-size: var(--text-lg);
  margin: 0;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0 auto;
}

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

/* --- Material / Product Cards Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
  border: 1px solid var(--color-border-light);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
}

.product-card-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.product-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.product-card-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.product-card-link:hover {
  color: var(--color-maroon);
}

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

@media (max-width: 768px) {
  .products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-4);
    padding-bottom: var(--space-3);
    scrollbar-width: none;
  }
  .products-grid::-webkit-scrollbar {
    display: none;
  }
  .products-grid .product-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
  }
  .products-grid .product-card:first-child {
    margin-left: 4%;
  }
  .products-grid .product-card:last-child {
    margin-right: 4%;
  }
  .product-card-image {
    height: 200px;
  }
}

/* Products carousel dots (mobile only) */
.products-dots {
  display: none;
}

@media (max-width: 768px) {
  .products-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: var(--space-4);
  }
  .products-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .products-dot.active {
    background: var(--color-maroon);
    transform: scale(1.25);
  }
}

/* --- Audience / Who We Serve Cards --- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.audience-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.audience-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.audience-card-body {
  padding: var(--space-6);
}

.audience-card-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.audience-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.audience-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
}

.audience-link:hover {
  color: var(--color-maroon);
}

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

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

.testimonial-quote {
  font-size: var(--text-base);
  font-style: italic;
  line-height: 1.8;
  color: var(--color-charcoal);
  margin-bottom: var(--space-5);
}

.testimonial-author {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-maroon);
}

.testimonial-org {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-4);
    padding-bottom: var(--space-3);
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }
  .testimonials-grid .testimonial-card {
    flex: 0 0 88%;
    max-width: 88%;
    scroll-snap-align: center;
  }
  .testimonials-grid .testimonial-card:first-child {
    margin-left: 4%;
  }
  .testimonials-grid .testimonial-card:last-child {
    margin-right: 4%;
  }
}

/* Testimonials carousel dots (mobile only) */
.testimonials-dots {
  display: none;
}

@media (max-width: 768px) {
  .testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-4);
  }
  .testimonials-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-border);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .testimonials-dot.active {
    background: var(--color-maroon);
    transform: scale(1.25);
  }
}

/* --- CTA Banner --- */
.cta-banner {
  padding: var(--space-12) 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
  font-size: var(--text-3xl);
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin: 0 auto var(--space-8);
  font-size: var(--text-md);
}

/* --- Image Gallery --- */
.gallery-section {
  padding: var(--space-12) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--duration) var(--ease-out);
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-slow) var(--ease-out), visibility var(--duration-slow);
  padding: var(--space-8);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease-out);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease-out);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.lightbox-prev { left: var(--space-6); }
.lightbox-next { right: var(--space-6); }

/* --- Key Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}

.feature-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg-card);
  border-radius: var(--radius);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.feature-item h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-charcoal-dark);
}

.feature-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Pricing Tables --- */
.pricing-table-wrap {
  overflow-x: auto;
  margin: var(--space-8) 0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: var(--text-sm);
}

.pricing-table thead th {
  background: var(--color-gold);
  color: var(--color-white);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: var(--text-sm);
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-table tbody td {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-charcoal);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--color-bg-cream);
}

.pricing-table tbody tr:hover {
  background: var(--color-bg-card);
}

/* --- Packaging Section --- */
.packaging-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.packaging-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

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

/* --- Forms --- */
.form-section {
  padding: var(--space-16) 0;
}

/* --- Form + Picker Side-by-Side Layout --- */
.form-picker-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.form-container {
  background: var(--color-white);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-charcoal-dark);
}

.form-group label .required {
  color: var(--color-maroon);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
  min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197,150,58,0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--color-error);
}

.form-group .error-msg {
  font-size: var(--text-sm);
  color: var(--color-error);
  display: none;
  margin-top: var(--space-1);
  font-weight: 600;
}

.form-group input.error ~ .error-msg,
.form-group select.error ~ .error-msg,
.form-group textarea.error ~ .error-msg {
  display: block;
}

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

.form-submit {
  grid-column: 1 / -1;
  margin-top: var(--space-4);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-10);
}

.form-success.active {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 3;
  fill: none;
}

.form-success h3 {
  color: var(--color-charcoal-dark);
  margin-bottom: var(--space-3);
}

.form-success p {
  color: var(--color-text-muted);
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .form-picker-layout {
    grid-template-columns: 1fr;
  }
  .form-picker-layout > * {
    min-width: 0;
    max-width: 100%;
  }
  .ornament-picker {
    order: -1;
  }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-container {
    padding: var(--space-6);
    overflow: hidden;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    max-width: 100%;
    width: 100%;
  }
}

/* --- Ornament Picker --- */
.ornament-picker {
  position: sticky;
  top: 100px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  padding: var(--space-6);
  overflow: hidden;
}

.picker-label {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-maroon);
  text-align: center;
  margin-bottom: var(--space-4);
}

.picker-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.picker-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  background: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: var(--space-2);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  position: relative;
}

.picker-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--duration) var(--ease-out);
}

.picker-thumb span {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--duration) var(--ease-out);
  white-space: nowrap;
}

.picker-thumb:hover {
  border-color: var(--color-border);
  background: var(--color-cream);
}

.picker-thumb:hover img {
  transform: scale(1.05);
}

.picker-thumb.active {
  border-color: var(--color-gold);
  background: #FFF9F0;
  box-shadow: 0 0 0 2px rgba(197,150,58,0.2);
}

.picker-thumb.active span {
  color: var(--color-gold);
  font-weight: 800;
}

.picker-showcase {
  position: relative;
  background: linear-gradient(135deg, #FFFCF7 0%, #FFF5E8 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.picker-showcase-prompt {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-8);
}

.picker-showcase-prompt svg {
  color: var(--color-gold);
  opacity: 0.4;
  margin-bottom: var(--space-3);
}

.picker-showcase-prompt p {
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
}

.picker-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  animation: pickerFadeIn 0.4s ease-out;
}

.picker-showcase-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
  color: white;
  padding: var(--space-8) var(--space-5) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  text-align: center;
}

@keyframes pickerFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1024px) {
  .ornament-picker {
    position: relative;
    top: 0;
  }
  .picker-showcase {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .picker-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .picker-thumb {
    padding: 4px;
  }
  .picker-thumb span {
    font-size: 9px;
  }
}

/* --- FAQ Accordion --- */
.faq-section {
  padding: var(--space-12) 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-5) 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-charcoal-dark);
  transition: color var(--duration) var(--ease-out);
}

.faq-question:hover {
  color: var(--color-maroon);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--duration) var(--ease-out);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 0 var(--space-5);
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-text-muted);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* --- Related Products --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

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

/* --- Footer --- */
.footer {
  background: var(--color-charcoal-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.footer-brand .footer-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-4);
}

.footer-address {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  padding: var(--space-1) 0;
  transition: color var(--duration) var(--ease-out);
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  padding: 0;
  transition: background var(--duration) var(--ease-out);
}

.footer-social a:hover {
  background: var(--color-gold);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.footer-bottom {
  margin-top: var(--space-12);
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  max-width: none;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .footer-brand p {
    max-width: none;
  }
  .footer {
    padding-top: var(--space-10);
  }
  .footer-bottom {
    margin-top: var(--space-8);
  }
  .footer-social a {
    width: 44px;
    height: 44px;
  }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
}

/* --- Product Detail Sections --- */
.product-info-section {
  padding: var(--space-12) 0;
}

.product-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

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

/* Inline detail list */
.detail-list {
  list-style: none;
}

.detail-list li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
}

.detail-list li:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 700;
  color: var(--color-charcoal-dark);
}

.detail-value {
  color: var(--color-text-muted);
}

/* Wood colors / color swatches */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.color-swatch-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
}

.color-swatch span {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

/* Packaging table */
.packaging-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-4) 0;
  font-size: var(--text-sm);
}

.packaging-table td {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--color-border-light);
}

.packaging-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--color-maroon);
}

/* Types list with icons */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.type-card {
  background: var(--color-bg-card);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal-dark);
  border: 1px solid var(--color-border-light);
}

/* Timeframe badge */
.timeframe-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-bg-card);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-green);
  border: 1px solid var(--color-border-light);
  margin-top: var(--space-2);
}

.timeframe-badge svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ============ PRICING EXPLORER ============ */
.pricing-explorer {
  max-width: 900px;
  margin: 0 auto;
}

/* Ornament type tabs */
.pe-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: var(--space-8);
}
.pe-tab {
  padding: 8px 20px;
  border: 2px solid var(--color-border);
  border-radius: 50px;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pe-tab:hover {
  border-color: var(--color-maroon);
  color: var(--color-maroon);
}
.pe-tab.active {
  background: var(--color-maroon);
  border-color: var(--color-maroon);
  color: #fff;
}

/* Tier cards */
.pe-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.pe-tier {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.pe-tier:hover {
  border-color: var(--color-gold);
  box-shadow: 0 2px 12px rgba(197,150,58,0.15);
}
.pe-tier.active {
  border-color: var(--color-gold);
  box-shadow: 0 4px 20px rgba(197,150,58,0.2);
  background: #FFFDF8;
}
.pe-tier-popular {
  border-color: var(--color-gold);
}
.pe-tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.pe-tier-label {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}
.pe-tier-price {
  margin-bottom: var(--space-3);
}
.pe-price-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-maroon);
}
.pe-price-unit {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-left: 2px;
}
.pe-tier-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}
.pe-tier-min {
  font-size: 12px;
  color: var(--color-text-muted);
  opacity: 0.7;
  font-weight: 600;
}

/* Calculator */
.pe-calc {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.pe-calc-row {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}
.pe-calc-input-wrap {
  flex: 0 0 200px;
}
.pe-calc-input-wrap label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}
.pe-calc-input-wrap input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  text-align: center;
  transition: border-color 0.2s;
}
.pe-calc-input-wrap input:focus {
  outline: none;
  border-color: var(--color-gold);
}
.pe-calc-summary {
  flex: 1;
}
.pe-calc-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}
.pe-calc-detail {
  font-weight: 600;
}
.pe-calc-tier-label {
  color: var(--color-text-muted);
}
.pe-calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-3);
}
.pe-calc-total span:first-child {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-heading);
}
#pe-total {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-maroon);
}
.pe-calc-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .pe-tiers {
    grid-template-columns: 1fr;
  }
  .pe-calc-row {
    flex-direction: column;
    gap: var(--space-5);
  }
  .pe-calc-input-wrap {
    flex: none;
    width: 100%;
  }
  .pe-tab {
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* ============================================
   GALLERY — Filterable Gallery Page
   ============================================ */

.gallery-hero {
  padding: var(--space-16) 0 var(--space-10);
}

.gallery-hero .section-header {
  margin-bottom: 0;
}

.gallery-hero h1 {
  margin-bottom: var(--space-3);
}

/* Layout: sidebar + grid */
.gal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  align-items: start;
}

/* --- Sidebar --- */
.gal-sidebar {
  position: sticky;
  top: 88px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.gal-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-light);
}

.gal-sidebar-header h3 {
  font-size: var(--text-lg);
  margin: 0;
}

.gal-clear-all {
  background: none;
  border: none;
  color: var(--color-maroon);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}

.gal-clear-all:hover {
  text-decoration: underline;
}

/* Filter groups */
.gal-filter-group {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
}

.gal-filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.gal-filter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-charcoal);
  cursor: pointer;
  padding: var(--space-1) 0;
  margin-bottom: var(--space-3);
  user-select: none;
}

.gal-filter-title svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform var(--duration) var(--ease-out);
}

.gal-filter-group.collapsed .gal-filter-title svg {
  transform: rotate(-90deg);
}

.gal-filter-group.collapsed .gal-filter-options {
  display: none;
}

/* Checkboxes */
.gal-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 0;
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  transition: color var(--duration);
}

.gal-checkbox:hover {
  color: var(--color-maroon);
}

.gal-checkbox input {
  display: none;
}

.gal-check-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  transition: all var(--duration) var(--ease-out);
}

.gal-checkbox input:checked + .gal-check-box {
  background: var(--color-maroon);
  border-color: var(--color-maroon);
}

.gal-checkbox input:checked + .gal-check-box::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Mobile filter toggle */
.gal-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
}

.gal-mobile-apply {
  display: none;
  margin-top: var(--space-5);
}

/* --- Main content --- */
.gal-main {
  min-width: 0;
}

.gal-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-light);
}

.gal-result-count {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  white-space: nowrap;
}

.gal-result-count span {
  color: var(--color-maroon);
  font-size: var(--text-lg);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Active filter pills */
.gal-active-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.gal-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-bg-cream);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-maroon);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
}

.gal-pill:hover {
  background: var(--color-maroon);
  color: white;
  border-color: var(--color-maroon);
}

.gal-pill svg {
  opacity: 0.6;
}

.gal-pill:hover svg line {
  stroke: white;
}

/* --- Gallery Grid --- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-5);
}

.gal-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--duration-slow) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.gal-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--color-gold-pale);
}

.gal-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-cream);
}

.gal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.gal-card:hover .gal-card-img img {
  transform: scale(1.05);
}

.gal-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.gal-card:hover .gal-card-overlay {
  opacity: 1;
}

.gal-card-body {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.gal-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-maroon);
  margin-bottom: 6px;
  line-height: 1.3;
}

.gal-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.gal-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.gal-tag-type {
  background: var(--color-bg-cream);
  color: var(--color-charcoal);
}

.gal-tag-org {
  background: #EDE7F6;
  color: #4527A0;
}

/* tier color set inline */

/* --- Empty state --- */
.gal-empty {
  text-align: center;
  padding: var(--space-20) var(--space-6);
  color: var(--color-text-muted);
}

.gal-empty svg {
  margin: 0 auto var(--space-4);
  opacity: 0.4;
}

.gal-empty h3 {
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.gal-empty p {
  margin: 0 auto var(--space-6);
}

/* --- Lightbox --- */
.gal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.gal-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gal-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.gal-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--duration);
}

.gal-lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

.gal-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--duration);
}

.gal-lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.gal-lightbox-prev { left: 20px; }
.gal-lightbox-next { right: 20px; }

.gal-lightbox-content {
  position: relative;
  z-index: 5;
  max-width: 80vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gal-lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.gal-lightbox-info {
  text-align: center;
  margin-top: var(--space-4);
}

.gal-lightbox-info h3 {
  color: white;
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.gal-lightbox-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.gal-lightbox-tags .gal-tag-type {
  background: rgba(255,255,255,0.15);
  color: white;
}

.gal-lightbox-tags .gal-tag-org {
  background: rgba(255,255,255,0.15);
  color: white;
}

/* --- Gallery Responsive --- */
@media (max-width: 900px) {
  .gal-layout {
    grid-template-columns: 1fr;
  }

  .gal-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease-out);
    padding: var(--space-8) var(--space-6) var(--space-20);
  }

  .gal-sidebar.open {
    transform: translateX(0);
  }

  .gal-mobile-filter-btn {
    display: flex;
  }

  .gal-mobile-apply {
    display: block;
  }

  .gal-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-3);
  }

  .gal-card-body {
    padding: var(--space-2) var(--space-3) var(--space-3);
  }

  .gal-card-title {
    font-size: var(--text-sm);
  }

  .gal-tag {
    font-size: 10px;
    padding: 1px 6px;
  }

  .gal-lightbox-content {
    max-width: 95vw;
  }

  .gal-lightbox-prev { left: 8px; }
  .gal-lightbox-next { right: 8px; }

  .gal-lightbox-nav {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .gal-card {
    border-radius: var(--radius);
  }

  .gal-card-tags {
    gap: 2px;
  }
}

/* ============================================
   MOBILE GENERAL RULES (<768px)
   ============================================ */
@media (max-width: 768px) {
  /* Minimum font sizes */
  body {
    font-size: 16px;
    line-height: 1.65;
  }

  /* Side padding */
  .container,
  .container-wide {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  /* Section padding reduction */
  .section {
    padding: var(--space-12) 0;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  /* CTA banner */
  .cta-banner {
    padding: var(--space-8) 0;
  }
  .cta-banner h2 {
    font-size: var(--text-2xl);
  }

  /* Form section */
  .form-section {
    padding: var(--space-10) 0;
  }

  /* Tap target enforcement */
  .btn {
    min-height: 48px;
    padding: var(--space-3) var(--space-6);
  }
  .btn-lg {
    min-height: 52px;
    width: 100%;
  }
  .hero-buttons .btn-lg {
    width: auto;
  }

  /* Text minimum sizes */
  .testimonial-org,
  .footer-bottom p,
  .footer-address,
  .footer-brand .footer-logo-sub {
    font-size: 14px;
  }
  .picker-thumb span {
    font-size: 10px;
  }

  /* Audience cards: ensure images aren't too tall */
  .audience-card img {
    height: 200px;
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .container,
  .container-wide {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn-lg {
    width: 100%;
  }
  .products-grid .product-card {
    flex: 0 0 92%;
    max-width: 92%;
  }
  .testimonials-grid .testimonial-card {
    flex: 0 0 92%;
    max-width: 92%;
  }
}

/* --- Misc / Print --- */
@media print {
  .nav, .footer, .lightbox, .gal-lightbox { display: none; }
  body { padding-top: 0; }
}

/* ============================================
   PARALLAX HOW-IT-WORKS STORY
   ============================================ */

.plx-wrapper {
  position: relative;
  background: #0D0B09;
}

.plx-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* --- Panels --- */
.plx-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  will-change: opacity, transform;
}
.plx-panel-1 { opacity: 1; }

/* --- Backgrounds --- */
.plx-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.plx-bg-1 {
  background: radial-gradient(ellipse at center, #F5EFE6 0%, #E8D5B7 50%, #D4AD5A33 100%);
}
.plx-bg-2 {
  background: radial-gradient(ellipse at center, #1a1612 0%, #0D0B09 60%);
}
.plx-bg-3 {
  background: radial-gradient(ellipse at center, #1c1510 0%, #0D0B09 60%);
}

/* --- Content layout --- */
.plx-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
  max-width: 900px;
  gap: var(--space-8);
}

/* --- Photo frame (Step 1) --- */
.plx-photo-frame {
  position: relative;
  max-width: 520px;
  width: 90%;
  transform: rotate(-2deg);
  border-radius: 4px;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.18),
    0 2px 10px rgba(0,0,0,0.12);
  background: #fff;
  padding: 12px 12px 40px 12px;
  will-change: transform;
}
.plx-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.plx-photo-frame::after {
  content: 'Your photo';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: #999;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Mockup frame (Step 2) --- */
.plx-mockup-frame {
  max-width: 560px;
  width: 90%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 80px rgba(197,150,58,0.25),
    0 12px 50px rgba(0,0,0,0.4);
  will-change: transform;
}
.plx-mockup-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Final frame (Step 3) --- */
.plx-final-frame {
  max-width: 600px;
  width: 90%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(197,150,58,0.15),
    0 12px 50px rgba(0,0,0,0.35);
  will-change: transform;
}
.plx-final-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Captions --- */
.plx-caption {
  max-width: 500px;
}
.plx-step-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  background: rgba(197,150,58,0.12);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: var(--space-3);
}
.plx-panel-1 .plx-step-tag {
  color: var(--color-maroon);
  background: rgba(123,30,42,0.1);
}
.plx-caption h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 600;
  margin: var(--space-2) 0 var(--space-3);
  line-height: 1.2;
}
.plx-panel-1 .plx-caption h2 {
  color: var(--color-maroon);
}
.plx-panel-2 .plx-caption h2,
.plx-panel-3 .plx-caption h2 {
  color: #fff;
}
.plx-caption p {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.7;
}
.plx-panel-1 .plx-caption p {
  color: var(--color-charcoal);
}
.plx-panel-2 .plx-caption p,
.plx-panel-3 .plx-caption p {
  color: rgba(255,255,255,0.8);
}

/* --- Progress dots --- */
.plx-progress {
  position: absolute;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 10;
}
.plx-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.plx-panel-1 ~ .plx-progress .plx-dot {
  background: rgba(123,30,42,0.25);
}
.plx-dot-active {
  background: var(--color-gold) !important;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(197,150,58,0.5);
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  .plx-content {
    padding: var(--space-6) var(--space-4);
    gap: var(--space-5);
  }
  .plx-photo-frame {
    max-width: 300px;
    padding: 8px 8px 28px 8px;
  }
  .plx-photo-frame::after {
    bottom: 6px;
    font-size: 9px;
  }
  .plx-mockup-frame,
  .plx-final-frame {
    max-width: 340px;
  }
  .plx-caption h2 {
    font-size: var(--text-2xl);
  }
  .plx-caption p {
    font-size: var(--text-base);
  }
  .plx-progress {
    right: var(--space-3);
  }
  .plx-dot {
    width: 8px;
    height: 8px;
  }
}

/* Fallback for no-JS or reduced motion */
@media (prefers-reduced-motion: reduce) {
  .plx-viewport { position: relative; height: auto; }
  .plx-panel {
    position: relative;
    opacity: 1 !important;
    min-height: 80vh;
    transform: none !important;
  }
}

/* ============================================
   TIER SHOWCASE — Material Selector
   ============================================ */

.tier-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.tier-lane {
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1.5px solid transparent;
}
.tier-premium { background: linear-gradient(135deg, #FFF9F2 0%, #F5EFE6 100%); border-color: var(--color-gold-pale); }
.tier-classic  { background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F2 100%); border-color: #E8D5B7; }
.tier-budget   { background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%); border-color: #E0E0E0; }

.tier-lane-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.tier-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
}
.tier-badge-premium { background: var(--color-gold); color: #fff; }
.tier-badge-classic { background: var(--color-maroon); color: #fff; }
.tier-badge-budget  { background: #666; color: #fff; }
.tier-badge-pop {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-maroon);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tier-lane-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.tier-lane-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-4);
}

/* Material cards */
.mat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  font-family: var(--font-body);
}
.mat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: var(--color-gold-pale);
}
.mat-card-active,
.mat-card[aria-pressed="true"] {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197,150,58,0.2), 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.mat-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.mat-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mat-card-name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-charcoal);
  margin-bottom: 2px;
}
.mat-card-from {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Calculator material label */
.pe-calc-material-label {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-maroon);
  margin-bottom: var(--space-5);
  text-align: center;
}

/* Quantity error message */
.pe-qty-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-1);
  min-height: 1.2em;
}

/* ============================================
   TURNAROUND BAR GRAPH
   ============================================ */

.tt-graph {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tt-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 100px;
  align-items: center;
  gap: var(--space-3);
}

.tt-bar-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  text-align: right;
}

.tt-bar-track {
  height: 28px;
  background: #F0E6D6;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.tt-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 14px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.tt-bar-row.tt-animated .tt-bar-fill {
  width: var(--bar-pct);
}

.tt-bar-fill-premium { background: linear-gradient(90deg, var(--color-gold) 0%, #D4AD5A 100%); }
.tt-bar-fill-classic { background: linear-gradient(90deg, var(--color-maroon) 0%, #9B3040 100%); }
.tt-bar-fill-budget  { background: linear-gradient(90deg, #888 0%, #AAA 100%); }

.tt-bar-value {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .tier-lane { padding: var(--space-4); }
  .tier-lane-cards { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: var(--space-3); }
  .mat-card-icon { width: 64px; height: 64px; }
  .tt-bar-row { grid-template-columns: 70px 1fr 80px; gap: var(--space-2); }
  .tt-bar-label { font-size: var(--text-xs); }
  .tt-bar-value { font-size: var(--text-xs); }
  .tt-bar-track { height: 22px; }
}

/* =====================================================
   ORDER PAGE — ornament type cards
   ===================================================== */
.order-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.order-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.order-card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-cream);
}

.order-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-card-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.order-card-body h3 {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
  color: var(--color-maroon);
}

.order-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  flex: 1;
}

.order-card-cta {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.order-card:hover .order-card-cta {
  color: var(--color-maroon);
}

/* Quick form section */
.quick-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* Alternate contact */
.alt-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 720px;
  margin: var(--space-8) auto 0;
}

.alt-contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.alt-contact-card h4 {
  margin: 0 0 var(--space-2);
  color: var(--color-maroon);
}

.alt-contact-card a {
  display: inline-block;
  margin-top: var(--space-2);
  font-weight: 700;
  color: var(--color-gold);
}

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

@media (max-width: 640px) {
  .order-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .order-card-image { height: 180px; }
  .alt-contact-grid { grid-template-columns: 1fr; }
}
