/* --------------------------------------------------------------------------
   1. CORE DESIGN TOKENS (BRAND SYSTEM VARIABLES)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette — mapped to docs/tokens/colors.json (source of truth) */
  --bg-charcoal: #1A1A1A;
  --bg-charcoal-light: #2A2A2A;
  --bg-ivory: #FAFAF7;
  --accent-bronze: #C59A7F;
  --accent-copper: #B87333;
  --accent-hover: #B08A6F;
  --text-dark: #2C2C2A;
  --text-muted: #706F6C;
  --text-light: #FFFFFF;
  --surface-white: #FFFFFF;
  --border-default: rgba(44, 44, 42, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-light: rgba(44, 44, 42, 0.1);
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1DA851;
  --color-error: #DC2626;
  --color-error-bg: #FFF0F0;
  --color-error-border: #FFCDD2;
  --color-success: #16A34A;
  --color-success-bg: #E8F5E9;
  --border-form: #E5E1DA;
  --skeleton-base: #EAEAE6;
  --skeleton-shine: #F5F5F0;

  /* Styleguide-native aliases (use directly when porting new component CSS) */
  --warm-beige: #E7DED3;
  --ivory-soft: #F3EDE4;
  --line: rgba(44, 44, 42, 0.1);
  --line-strong: rgba(30, 30, 30, 0.14);
  --shadow-card: 0 1px 2px rgba(30, 30, 30, 0.04), 0 12px 32px -12px rgba(30, 30, 30, 0.12);
  --shadow-soft: 0 30px 60px -30px rgba(30, 30, 30, 0.18);

  /* Semantic: footer (dark-bg) text + border */
  --text-footer: rgba(255, 255, 255, 0.75);
  --text-footer-muted: rgba(255, 255, 255, 0.55);
  --text-footer-dim: rgba(255, 255, 255, 0.4);
  --text-footer-faint: rgba(255, 255, 255, 0.35);
  --border-footer: rgba(255, 255, 255, 0.08);
  --border-footer-subtle: rgba(255, 255, 255, 0.05);
  --bg-footer-tint: rgba(255, 255, 255, 0.03);
  --text-footer-link: rgba(255, 255, 255, 0.6);
  --border-card: rgba(44, 44, 42, 0.1);
  --border-social: rgba(255, 255, 255, 0.2);

  /* Font Families */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Typography Scale — fluid clamps matching styleguide.html primitives (.h1–.h4, .lede, .body, .small, .eyebrow) */
  --font-size-hero: clamp(3rem, 6vw, 5.25rem);
  --font-size-h2: clamp(2.25rem, 4.2vw, 3.5rem);
  --font-size-h3: clamp(1.625rem, 2.6vw, 2.125rem);
  --font-size-h4: 1.375rem;
  --font-size-card-title: 1.375rem;
  --font-size-subtitle: 1.125rem;
  --font-size-body: 0.9375rem;
  --font-size-small: 0.8125rem;
  --font-size-nav: 0.8125rem;
  --font-size-label: 0.8125rem;
  --font-size-caption: 0.8125rem;
  --font-size-button: 0.75rem;
  --font-size-small-button: 0.6875rem;
  --font-size-overline: 0.6875rem;
  --font-size-lede: 1.125rem;
  --font-size-eyebrow: 0.6875rem;

  /* Spacing Scale (4px base — mirrors tokens/spacing.json) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-36: 9rem;
  --space-40: 10rem;

  /* Semantic Spacing */
  --space-layout: var(--space-16);
  --grid-gap: var(--space-16);
  --space-section-y: 9rem;
  --space-section-inner-y: 8rem;
  --space-card-padding: 2.5rem;
  --container-max: 1400px;
  --container-narrow: 680px;

  /* Border Radius — matches styleguide.html --r-1…--r-5 / --r-pill scale */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --r-1: 8px;
  --r-2: 12px;
  --r-3: 16px;
  --r-4: 24px;
  --r-5: 32px;
  --r-pill: 9999px;

  /* Elevation (Shadows) */
  --elevation-0: none;
  --elevation-1: 0 2px 8px rgba(26, 26, 26, 0.06);
  --elevation-2: 0 8px 24px rgba(26, 26, 26, 0.10);
  --elevation-3: 0 16px 48px rgba(26, 26, 26, 0.16);

  /* Z-index Layers */
  --z-base: 0;
  --z-raised: 10;
  --z-sticky: 100;
  --z-header: 200;
  --z-mega-menu: 500;
  --z-drawer: 700;
  --z-modal: 900;
  --z-toast: 999;

  /* Motion & Interaction Curves */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
}

/* Global Reset Logic */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   1b. UNIVERSAL FOCUS & INTERACTION STATES (design.md §13 + §15)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--accent-bronze);
  outline-offset: 2px;
}

/* Dark-background elements: lighter ring for contrast */
.site-footer :focus-visible,
.mega-menu :focus-visible,
.whatsapp-sticky-widget:focus-visible {
  outline-color: var(--accent-bronze);
  outline-offset: 3px;
}

/* Remove default outline on mouse clicks (focus-visible handles keyboard) */
:focus:not(:focus-visible) {
  outline: none;
}

body {
  background-color: var(--bg-ivory);
  color: var(--text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-width: 320px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Base typography baseline — maps the type scale (tokens/typography.json)
   so every heading inherits the system unless a component overrides it. */
h1 { font-family: var(--font-serif); font-size: var(--font-size-hero); line-height: 1.1; font-weight: 600; }
h2 { font-family: var(--font-serif); font-size: var(--font-size-h2); line-height: 1.15; font-weight: 600; }
h3 { font-family: var(--font-serif); font-size: var(--font-size-h3); line-height: 1.2; font-weight: 600; }
h4 { font-family: var(--font-serif); font-size: var(--font-size-h4); line-height: 1.3; font-weight: 400; }

/* Eyebrow — shared label component (docs/design.md §18: "uppercase sans, bronze
   or muted, letter-spacing"). Context wrappers may still set their own
   margin-bottom; color/weight/case/spacing live here so every eyebrow across
   the site stays in sync. */
.eyebrow {
  display: block;
  font-size: var(--font-size-small-button);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-bronze);
}

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

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

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

/* --------------------------------------------------------------------------
   2. REUSABLE MICRO-INTERACTIVE UTILITIES (BUTTONS & LINKS)
   -------------------------------------------------------------------------- */
.btn-action {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--font-size-button);
  letter-spacing: 0.18em;
  white-space: nowrap;
  border: 1px solid var(--accent-bronze);
  color: var(--accent-bronze);
  padding: 1.125rem 1.75rem;
  gap: 0.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  cursor: pointer;
  z-index: 1;
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: color var(--transition-fast);
}

.btn-action::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: var(--accent-bronze);
  z-index: -1;
  transition: height var(--transition-fast);
}

.btn-action:hover {
  color: var(--bg-charcoal);
}

.btn-action:hover::before {
  height: 100%;
}

.btn-primary {
  background-color: var(--accent-bronze);
  color: var(--bg-charcoal);
}

.btn-primary::before {
  background-color: var(--bg-charcoal);
}

.btn-primary:hover {
  color: var(--text-light);
}

.btn-secondary {
  border-color: var(--accent-bronze);
  color: var(--accent-copper);
}

.btn-secondary::before {
  background-color: var(--accent-bronze);
}

.btn-secondary:hover {
  color: var(--text-light);
}

.btn-action:active {
  transform: scale(0.98);
}

.btn-action:disabled,
.btn-action[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-large {
  padding: 1.375rem 2rem;
  font-size: var(--font-size-small);
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-small-button);
}

/* Minimalist Navigation Link Micro-Underlines */
.nav-link {
  position: relative;
  font-size: var(--font-size-nav);
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0.25rem 0;
  color: var(--text-footer);
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-bronze);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   2b. CANONICAL CARD SYSTEM
   media-card: image + content (occasion, category, selected, experience)
   -------------------------------------------------------------------------- */
.media-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-white);
  border: 1px solid var(--border-card);
  transition: transform 0.4s var(--ease-standard), box-shadow 0.4s var(--ease-standard);
}
.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--elevation-2);
}
.media-card-image {
  overflow: hidden;
}
.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-premium);
}
.media-card:hover .media-card-image img {
  transform: scale(1.05);
}
.media-card-content {
  padding: 2rem 2.5rem 2.5rem;
}
.media-card-content h4 {
  font-family: var(--font-serif);
  font-size: var(--font-size-h4);
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.media-card-content p {
  font-size: var(--font-size-small);
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   2c. CANONICAL FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: var(--font-size-subtitle);
  font-weight: 400;
  color: var(--text-dark);
  text-align: left;
  transition: color 0.2s ease;
}
.faq-question:hover {
  color: var(--accent-bronze);
}
.faq-question .faq-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
  color: var(--text-muted);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s var(--ease-premium), padding 0.2s ease;
  padding: 0;
}
.faq-answer.open {
  max-height: 400px;
  padding: 0 0 1.25rem;
}
.faq-answer p {
  font-size: var(--font-size-small);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. MEGA MENU
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--bg-charcoal);
  padding: 1.5rem var(--space-layout);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--border-footer-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 0.8rem var(--space-layout);
  box-shadow: var(--elevation-2);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-identity img {
  height: 45px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.site-header.scrolled .brand-identity img {
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 3.5rem;
  align-items: center;
}

.nav-links .nav-link {
  color: var(--text-footer);
}

.header-actions .btn-quote-header {
  padding: 0.6rem 1.75rem;
  font-size: var(--font-size-small-button);
}

.btn-quote-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Mega Menu Base */
.nav-item-dropdown {
  position: static;
}

.dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.7em;
  margin-left: 0.3rem;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-ivory);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem var(--space-layout) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: var(--z-mega-menu);
  box-shadow: var(--elevation-3);
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 0;
}

.nav-item-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.mega-menu-container--four {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.mega-menu-hero {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mega-menu-hero-image {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
}

.mega-menu-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-premium);
}

.mega-menu-hero-image:hover img {
  transform: scale(1.04);
}

.mega-menu-hero h3 {
  font-family: var(--font-serif);
  font-size: var(--font-size-h4);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.mega-menu-hero p {
  font-size: var(--font-size-small);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.mega-menu-hero .btn-action {
  margin-top: auto;
  align-self: flex-start;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mega-menu-column .mega-menu-links {
  flex: 1;
}

.mega-menu-viewall {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  color: var(--accent-bronze);
  font-size: var(--font-size-small-button);
  font-weight: 600;
}

.mega-menu-viewall .arrow {
  transition: transform var(--transition-fast);
}

.mega-menu-viewall:hover .arrow {
  transform: translateX(3px);
}

.mega-menu-strip {
  max-width: var(--container-max);
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding: 1.5rem var(--space-layout);
  background-color: var(--ivory-soft);
  border-top: 1px solid var(--border-light);
}

.mega-menu-strip-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.mega-menu-strip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--warm-beige);
  color: var(--accent-bronze);
  flex-shrink: 0;
}

.mega-menu-strip-item b {
  display: block;
  font-size: var(--font-size-small-button);
  font-weight: 600;
  color: var(--text-dark);
}

.mega-menu-strip-item span {
  font-size: var(--font-size-small-button);
  color: var(--text-muted);
}

.mega-menu-column h4 {
  font-size: var(--font-size-small);
  letter-spacing: 0.08em;
  color: var(--accent-bronze);
  margin-bottom: 1rem;
  font-weight: 600;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dark);
  font-size: var(--font-size-nav);
  font-weight: 400;
  transition: color var(--transition-fast), padding-left 0.2s ease;
  padding: 0.25rem 0;
}

.mega-menu-links a:hover {
  color: var(--accent-bronze);
  padding-left: 4px;
}

.mega-menu-links .mega-link-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-bronze);
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.mega-menu-links a:hover .mega-link-icon {
  opacity: 1;
}

.mega-menu-links--thumb {
  gap: 0;
}

.mega-link-thumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: none;
  color: var(--text-dark);
  font-size: var(--font-size-nav);
  font-weight: 400;
  transition: color var(--transition-fast);
}

.mega-menu-links--thumb a:last-child {
  border-bottom: none;
}

.mega-link-thumb:hover {
  color: var(--accent-bronze);
}

.mega-thumb-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--warm-beige);
}

.mega-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mega-thumb-label {
  flex: 1;
}

.mega-thumb-arrow {
  color: var(--text-muted);
  font-size: var(--font-size-small);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.mega-link-thumb:hover .mega-thumb-arrow {
  color: var(--accent-bronze);
  transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   4. STRUCTURAL GLOBAL SECTIONS (FOOTER)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-charcoal);
  color: var(--text-light);
  padding: 4rem var(--space-layout) 2rem var(--space-layout);
}

.footer-compact {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-footer-subtle);
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: var(--font-size-label);
  color: var(--text-footer-dim);
  font-weight: 300;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: var(--font-size-small);
  letter-spacing: 0.08em;
  color: var(--accent-bronze);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-footer-muted);
  font-size: var(--font-size-label);
  margin-bottom: 0.6rem;
  font-weight: 300;
  transition: color var(--transition-fast);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-footer-muted);
  font-size: var(--font-size-label);
  font-weight: 300;
  transition: color var(--transition-fast);
}

.footer-contact-item:hover {
  color: var(--text-light);
}

.footer-contact-item .contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent-bronze);
}

.footer-bottom-compact {
  max-width: var(--container-max);
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-small-button);
  color: var(--text-footer-faint);
  font-weight: 300;
}

.footer-bottom-compact .utility-links a {
  color: inherit;
  margin-left: 1.5rem;
  transition: color var(--transition-fast);
}

.footer-bottom-compact .utility-links a:hover {
  color: var(--text-light);
}

.footer-bottom-compact .wugweb-credit {
  color: var(--accent-bronze);
  transition: color var(--transition-fast);
}

.footer-bottom-compact .wugweb-credit:hover {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   5. HOMEPAGE — CINEMATIC HERO
   -------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--bg-charcoal);
  color: var(--text-light);
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  text-align: left;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  animation: heroImageFadeIn 0.8s var(--ease-premium) forwards;
}

@keyframes heroImageFadeIn {
  to { opacity: 1; }
}

.hero-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 12, 9, 0.15) 0%, rgba(15, 12, 9, 0.6) 45%, rgba(15, 12, 9, 0.94) 100%);
  opacity: 0;
  animation: heroOverlayFade 0.6s var(--ease-premium) 0.2s forwards;
}

@keyframes heroOverlayFade {
  to { opacity: 1; }
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.1s linear;
}

/* Hero zoom on scroll */
.hero-section.hero-zooming .hero-media img {
  transform: scale(1.08);
  opacity: 0.5;
  transition: transform 0.5s var(--ease-premium), opacity 0.5s var(--ease-premium);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-layout) 6rem;
}

/* Hero content column — constrains text width while staying inside the
   shared container so the left edge aligns with section titles below. */
.hero-container .hero-eyebrow,
.hero-container .hero-title,
.hero-container .hero-subtitle,
.hero-container .hero-actions,
.hero-container .hero-brief-link {
  max-width: 620px;
  margin-left: 0;
  margin-right: auto;
}

.hero-title,
.hero-section .hero-subtitle {
  max-width: 620px;
}

/* Hero eyebrow — uses the shared .eyebrow token system; only color/animation
   are overridden here for the dark hero background. */
.hero-eyebrow {
  color: var(--accent-bronze);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  margin-bottom: var(--space-5);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s var(--ease-premium) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-hero);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-8);
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-title .hero-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroLineReveal 0.6s var(--ease-premium) forwards;
}

.hero-title .hero-line:nth-child(1) {
  animation-delay: 0.4s;
}

.hero-title .hero-line:nth-child(2) {
  animation-delay: 0.7s;
}

@keyframes heroLineReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section .hero-subtitle {
  font-size: var(--font-size-lede);
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  max-width: 600px;
  margin: 0 0 var(--space-10);
  font-weight: 300;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s var(--ease-premium) 0.9s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s var(--ease-premium) 1.1s forwards;
}

.hero-brief-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-body);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.35rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.6s var(--ease-premium) 1.3s forwards;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-brief-link:hover {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-brief-link svg {
  flex-shrink: 0;
}

.hero-brief-link strong {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-light);
}

.hero-brief-link .arrow {
  transition: transform 0.2s ease;
}

.hero-brief-link:hover .arrow {
  transform: translateX(3px);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: scrollIndicatorFade 0.6s var(--ease-premium) 1.4s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-footer-dim);
  font-size: var(--font-size-overline);
  letter-spacing: 0.15em;
}

@keyframes scrollIndicatorFade {
  to { opacity: 1; }
}

.hero-scroll-chevron {
  width: 20px;
  height: 20px;
  animation: chevronPulse 2s ease-in-out infinite;
}

@keyframes chevronPulse {
   0%, 100% { transform: translateY(0); opacity: 0.4; }
   50% { transform: translateY(6px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   6. HOMEPAGE — WHAT WE CREATE (Scatter Assembly)
   -------------------------------------------------------------------------- */
.section-what-we-create {
  padding: 6rem var(--space-layout);
  background-color: var(--text-light);
}

.create-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.create-card {
  background-color: var(--bg-ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.create-card.scatter-assembled {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium),
              border-color 0.4s ease, box-shadow 0.4s ease;
}

.create-card:hover {
  border-color: var(--accent-bronze);
  transform: translateY(-4px);
  box-shadow: var(--elevation-1);
}

.create-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--text-light);
}

.create-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-premium);
}

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

.create-card h3 {
  font-family: var(--font-serif);
  font-size: var(--font-size-card-title);
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding: 1.5rem 1.5rem 0;
  color: var(--text-dark);
}

.create-card p {
  font-size: var(--font-size-small);
  color: var(--text-muted);
  font-weight: 300;
  padding: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. HOMEPAGE — FEATURED COLLECTIONS (Parallax)
   -------------------------------------------------------------------------- */
.section-featured-collections {
  padding: 6rem var(--space-layout);
  background-color: var(--bg-ivory);
}

/* --------------------------------------------------------------------------
   9. HOMEPAGE — PROCESS / HOW IT WORKS
   -------------------------------------------------------------------------- */
.section-process {
  padding: 6rem var(--space-layout);
  background-color: var(--bg-ivory);
  color: var(--text-dark);
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-family: var(--font-serif);
  font-size: var(--font-size-subtitle);
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.process-step p {
  font-size: var(--font-size-label);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. HOMEPAGE — PLANNING GUIDE
   -------------------------------------------------------------------------- */
.section-planning-guide {
  padding: 6rem var(--space-layout);
  background-color: var(--bg-charcoal);
  color: var(--text-light);
}

.planning-guide-layout {
  display: grid;
  grid-template-columns: 0.85fr 2fr;
  gap: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}

.planning-guide-editorial h2 {
  font-family: var(--font-serif);
  font-size: var(--font-size-h3);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.planning-guide-editorial > p {
  font-size: var(--font-size-body);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 2rem;
}

.planning-guide-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.planning-guide-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: var(--bg-charcoal-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.planning-guide-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bronze);
  flex-shrink: 0;
}

.planning-guide-text {
  display: flex;
  flex-direction: column;
}

.planning-guide-label {
  font-size: var(--font-size-overline);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.planning-guide-value {
  font-family: var(--font-serif);
  font-size: var(--font-size-body);
  font-weight: 600;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   15. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

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

/* --------------------------------------------------------------------------
   16. MOBILE HAMBURGER
   -------------------------------------------------------------------------- */
.hamburger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.625rem;
  z-index: calc(var(--z-header) + 1);
  color: var(--text-light);
}

.hamburger-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-toggle.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-charcoal);
  z-index: var(--z-drawer);
  padding: 6rem var(--space-layout) 3rem;
  overflow-y: auto;
}

.mobile-nav-overlay.active {
  display: flex;
  flex-direction: column;
}

.mobile-nav-overlay a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-h4);
  font-family: var(--font-serif);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-footer-subtle);
  transition: color var(--transition-fast);
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active {
  color: var(--accent-bronze);
}

.mobile-nav-overlay .nav-dropdown-label {
  font-family: var(--font-sans);
  font-size: var(--font-size-small);
  letter-spacing: 0.08em;
  color: var(--accent-bronze);
  padding-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.mobile-nav-overlay .mobile-sub-link {
  font-size: var(--font-size-subtitle);
  font-family: var(--font-sans);
  font-weight: 300;
  padding: 0.6rem 0;
  border-bottom: none;
  padding-left: 1rem;
}

.mobile-nav-overlay .mobile-sub-link--icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1rem;
}

.mobile-nav-overlay .mobile-sub-link--icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent-bronze);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   16b. FUTURE-PROOF COMPONENTS (design.md §18 — not yet in HTML)
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-sans);
  font-size: var(--font-size-overline);
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  background: var(--bg-charcoal);
  color: var(--text-light);
}

.badge--bronze {
  background: var(--accent-bronze);
  color: var(--surface-white);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--font-size-small);
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-default);
  background: var(--surface-white);
  color: var(--text-dark);
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: var(--z-toast);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-charcoal);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: var(--font-size-small);
  box-shadow: var(--elevation-3);
  opacity: 0;
  transition: transform 0.4s var(--ease-premium), opacity 0.4s var(--ease-premium);
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.empty-state h3 {
  font-family: var(--font-serif);
  font-size: var(--font-size-h4);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.empty-state p {
  font-size: var(--font-size-body);
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  :root {
    --space-layout: 2.5rem;
  }

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

  .planning-guide-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .mega-menu-container--four {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }

  .footer-compact {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-layout: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger-toggle {
    display: block;
  }

  .btn-quote-header {
    display: none;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions .btn-action {
    width: 100%;
    text-align: center;
  }

  .mobile-nav-overlay {
    padding-top: 5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .create-grid {
    grid-template-columns: 1fr;
  }

  .planning-guide-specs {
    grid-template-columns: 1fr;
  }

  .footer-compact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-bottom-compact .utility-links a {
    margin: 0 1.5rem 0 0;
  }

  .footer-bottom-compact .utility-links a:last-child {
    margin-right: 0;
  }

  .mega-menu {
    display: none;
  }

  .hero-scroll-indicator {
    bottom: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   17b. SMALL PHONE (≤480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --space-layout: 0.875rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .cta-actions .btn-action {
    font-size: 0.75rem;
    padding: 1rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   18. REDUCED MOTION (design.md §12.5 — universal rule)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-media,
  .hero-media::after,
  .hero-title .hero-line,
  .hero-subtitle,
  .hero-actions,
  .create-card,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* ==========================================================================
   WHATSAPP STICKY WIDGET (site-wide, injected via footer.html)
   ========================================================================== */
.whatsapp-sticky-widget {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: var(--z-modal);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: var(--color-whatsapp);
  color: var(--text-light);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--font-size-nav);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--elevation-2);
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
}

.whatsapp-sticky-widget:hover {
  transform: translateY(-2px);
  box-shadow: var(--elevation-3);
  color: var(--text-light);
}

.whatsapp-sticky-widget svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .whatsapp-sticky-widget {
    bottom: 1.1rem;
    right: 1.1rem;
    padding: 0.85rem;
  }
  /* Collapse to a circular icon button on mobile to save space */
  .whatsapp-sticky-label {
    display: none;
  }
}

/* ==========================================================================
   ADDED: SECTION SPACING FIXES
   ========================================================================== */

/* Reduce spacing between Browse by Category and Browse by Occasion on homepage */
.section-browse-occasion + .section-browse-collection {
  padding-top: 0;
}

/* ==========================================================================
   ADDED: IMAGE HOVER EFFECTS
   ========================================================================== */
img[loading="lazy"]:not(.no-hover):hover,
.hover-zoom img:hover,
.media-card-image img:hover,
.occasion-card-overlay-img:hover,
.category-scroll-card .category-scroll-icon svg:hover {
  transition: transform 0.6s var(--ease-premium);
}

/* ==========================================================================
   ADDED: CARD HOVER EFFECTS (consistent across site)
   ========================================================================== */
.media-card,
.create-card,
.occasion-card-overlay,
.category-scroll-card,
.testimonial-card,
.personalisation-card,
.branding-card,
.selected-card {
  will-change: transform;
}

/* ==========================================================================
   ADDED: EXPLORE SIDEBAR SCROLL FIX
   ========================================================================== */
.explore-filters-body {
  overflow-y: auto;
  flex: 1;
}

/* Ensure the explore filters sidebar body can scroll to bottom */
@media (min-width: 901px) {
  .explore-filters {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

/* ==========================================================================
   ADDED: MOBILE UI/UX FIXES
   ========================================================================== */

/* Better touch targets on mobile */
@media (max-width: 768px) {
  .mobile-nav-overlay a {
    padding: 1.25rem 0;
    font-size: 1.5rem;
  }

  .mobile-nav-overlay .mobile-sub-link {
    font-size: 1.125rem;
    padding: 0.75rem 0 0.75rem 1rem;
  }

  .mobile-nav-overlay .nav-dropdown-label {
    font-size: 0.75rem;
    padding-top: 2rem;
  }

  /* Footer mobile improvements */
  .footer-col {
    margin-bottom: 0.5rem;
  }

  .footer-col a {
    padding: 0.4rem 0;
    font-size: 0.875rem;
  }

  .footer-contact-item {
    padding: 0.4rem 0;
  }

  /* Section spacing balance on mobile */
  .section-what-we-create,
  .section-featured-collections,
  .section-process,
  .section-browse-occasion,
  .section-browse-collection,
  .section-planning-guide,
  .section-dual-cta {
    padding: 4rem var(--space-layout);
  }

  .about-origin,
  .about-editorial,
  .about-details,
  .about-cta {
    padding: 4rem var(--space-layout);
  }

  .quote-form-section,
  .quote-process {
    padding: 4rem var(--space-layout);
  }

  .explore-catalog {
    padding: 4rem var(--space-layout) 5rem;
  }

  .custom-why,
  .custom-personalisation,
  .custom-methods,
  .custom-testimonials,
  .custom-faq,
  .custom-cta {
    padding: 4rem var(--space-layout);
  }

  .custom-brief-gallery {
    padding: 4rem var(--space-layout) 5rem;
  }

  .hamper-hero {
    padding: 3rem 0;
  }

  .hamper-planning,
  .hamper-faq,
  .hamper-related,
  .hamper-proposal {
    padding: 4rem var(--space-layout);
  }

  /* Better card spacing on mobile */
  .selected-grid {
    gap: 1rem;
  }

  .occasion-grid--overlay {
    gap: 0.75rem;
  }

  .category-scroll {
    gap: 0.75rem;
  }

  /* Improved readability on mobile */
  .hero-subtitle {
    font-size: 1rem;
  }

  .section-intro {
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   ADDED: SECTION SPACING BALANCE (Desktop)
   ========================================================================== */

/* Consistent 6rem vertical rhythm across all pages */
.section-what-we-create,
.section-featured-collections,
.section-process,
.section-browse-occasion,
.section-browse-collection,
.section-planning-guide,
.section-dual-cta {
  padding: 6rem var(--space-layout);
}

.about-origin,
.about-editorial,
.about-details,
.about-cta {
  padding: 6rem var(--space-layout);
}

.quote-form-section,
.quote-process {
  padding: 6rem var(--space-layout);
}

.explore-catalog {
  padding: 6rem var(--space-layout) 8rem;
}

.custom-why,
.custom-personalisation,
.custom-methods,
.custom-testimonials,
.custom-faq,
.custom-cta {
  padding: 6rem var(--space-layout);
}

.custom-brief-gallery {
  padding: 6rem var(--space-layout) 8rem;
}

.hamper-planning,
.hamper-faq,
.hamper-related,
.hamper-proposal {
  padding: 6rem var(--space-layout);
}
