/* ============================================
   BrittanyAnne Intuitive Fine Art
   styles.css
   ============================================ */

/* ----- Custom Fonts ----- */
@font-face {
  font-family: 'LaLuxes Serif';
  src: url('Branding/Fonts/LaLuxesSerif.woff2') format('woff2'),
       url('Branding/Fonts/LaLuxesSerif.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'La Luxes Script';
  src: url('Branding/Fonts/La%20Luxes%20Script.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Stylish';
  src: url('Branding/Stylish.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ----- CSS Custom Properties ----- */
:root {
  /* Brand Colors */
  --rose-gold: #AA6D5B;
  --dark-blue: #262D3C;
  --warm-rust: #8C4227;
  --dusty-rose: #CB8A78;
  --slate-blue: #516194;
  --light-lavender: #C6C9DC;
  --warm-cream: #F9E9DA;
  --off-white: #FFFAF6;

  /* Functional Colors */
  --color-text: var(--dark-blue);
  --color-heading: var(--dark-blue);
  --color-accent: var(--rose-gold);
  --color-accent-hover: var(--dusty-rose);
  --color-bg: var(--off-white);
  --color-bg-alt: var(--warm-cream);
  --color-border: var(--light-lavender);

  /* Typography */
  --font-display: 'LaLuxes Serif', 'Cormorant Garamond', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Josefin Sans', sans-serif;
  --font-script: 'La Luxes Script', 'Great Vibes', cursive;

  /* Spacing — generous, gallery-like */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;

  /* Layout */
  --container-max: 1280px;
  --nav-height: 80px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
  --duration-slow: 0.6s;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(38, 45, 60, 0.06);
  --shadow-md: 0 4px 20px rgba(38, 45, 60, 0.08);
  --shadow-lg: 0 8px 40px rgba(38, 45, 60, 0.12);
  --shadow-lift: 0 12px 48px rgba(38, 45, 60, 0.15);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Container ----- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

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

/* Section separators removed */
.section + .section::before {
  content: none !important;
  display: none !important;
}

.section-header h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* ----- Script Label ----- */
.script-label {
  font-family: var(--font-script);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 1.2;
  color: var(--color-accent);
  display: block;
  overflow: visible;
  padding: 0.1em 0 0;
  margin-bottom: -0.15em;
  -webkit-text-stroke: 0.4px currentColor;
}

.script-text {
  font-family: var(--font-script);
  line-height: 1.4;
  color: var(--color-accent);
  overflow: visible;
  padding: 0.15em 0;
  -webkit-text-stroke: 0.4px currentColor;
}

/* Thicken La Luxes display font where used */
.footer-brand,
.product-title {
  -webkit-text-stroke: 0.3px currentColor;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--duration) var(--ease);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--off-white);
  border: 2px solid var(--color-accent);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--off-white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ----- Fade-in Animations ----- */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease),
              transform 0.8s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: all 0.5s var(--ease);
}

.site-nav.scrolled {
  background: rgba(255, 250, 246, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(198, 201, 220, 0.2);
}

.site-nav.hidden {
  transform: translateY(-100%);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-height);
}

.nav-logo-img {
  height: 72px;
  width: auto;
  transition: filter 0.5s var(--ease);
}

/* Transparent nav over video: white text/logo */
.site-nav:not(.scrolled) .nav-logo-img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: 400;
  transition: color 0.5s var(--ease);
}

.site-nav:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.site-nav:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-cta {
  background: transparent;
  color: var(--color-accent) !important;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.site-nav:not(.scrolled) .nav-cta {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-cta:hover {
  background: var(--color-accent);
  color: var(--off-white) !important;
  border-color: var(--color-accent);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all var(--duration) var(--ease);
}

.site-nav:not(.scrolled) .nav-toggle span {
  background: rgba(255, 255, 255, 0.9);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .site-nav {
    background: rgba(255, 250, 246, 0.97) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .site-nav:not(.scrolled) .nav-toggle span {
    background: var(--color-text);
  }

  .nav-inner {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 999;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #FFFAF6;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    z-index: 998;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--color-text) !important;
  }
}

/* ============================================
   HERO — Cinematic Video
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark-blue);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(38, 45, 60, 0.35) 0%,
    rgba(38, 45, 60, 0.2) 50%,
    rgba(38, 45, 60, 0.5) 100%
  );
}

/* Swooping curve at bottom of hero */
.hero-swoop {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}

.hero-swoop svg {
  width: 100%;
  height: 100px;
  display: block;
}

@media (min-width: 768px) {
  .hero-swoop svg {
    height: 120px;
  }
}

@media (min-width: 1200px) {
  .hero-swoop svg {
    height: 150px;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  animation: heroFadeIn 1.5s var(--ease) 0.3s both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  max-width: 620px;
  width: 85%;
  margin: 0 auto var(--space-md);
  filter: brightness(1.05);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.03em;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Buttons — light on dark */
.btn-hero {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark-blue);
  border: none;
  transition: all var(--duration) var(--ease);
}

.btn-hero:hover {
  background: var(--rose-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  color: #fff;
}

.btn-hero:active {
  background: var(--rose-gold);
  color: #fff;
}

.btn-hero-outline {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all var(--duration) var(--ease);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 11px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/* ============================================
   STATEMENT
   ============================================ */
.statement {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}

/* Remove excess gap between statement and about */
.statement + .about {
  padding-top: var(--space-sm);
}

.statement + .about::before {
  display: none;
}

/* Tighten gap between about and portfolio */
.about + .portfolio {
  padding-top: var(--space-sm);
}

.statement-text {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-heading);
  max-width: 800px;
  margin: 0 auto;
}

.statement-text em {
  font-style: italic;
  color: var(--color-accent);
}

/* ============================================
   FULL-BLEED IMAGE BREAKS
   ============================================ */
.full-bleed-image {
  width: 100%;
  overflow: hidden;
  height: 80vh;
  position: relative;
}

.full-bleed-image img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

.full-bleed-tall {
  height: 90vh;
}

/* ============================================
   PORTFOLIO — Full-Bleed Carousel
   ============================================ */
.portfolio {
  background: transparent;
  overflow: hidden;
  position: relative;
}

.portfolio-carousel {
  width: 100%;
  overflow: hidden;
  cursor: grab;
}

.portfolio-carousel:active {
  cursor: grabbing;
}

.portfolio-track {
  display: flex;
  gap: 8px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.portfolio-slide {
  flex: 0 0 auto;
  height: 75vh;
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
}

.portfolio-slide img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

/* Navigation arrows */
.portfolio-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.portfolio-prev,
.portfolio-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  background: transparent;
  transition: all var(--duration) var(--ease);
}

.portfolio-prev:hover,
.portfolio-next:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

@media (max-width: 767px) {
  .portfolio-slide {
    height: 55vh;
    min-height: 300px;
  }

  .portfolio-track {
    gap: 4px;
  }
}

/* ============================================
   TWO PATHS
   ============================================ */
.two-paths {
  background: transparent;
}

.paths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .paths-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.path-card {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.5s var(--ease);
  display: block;
  color: var(--color-text);
  position: relative;
}

.path-card:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.path-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  color: var(--color-accent);
}

.path-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
}

.path-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.path-arrow {
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform var(--duration) var(--ease);
}

.path-card:hover .path-arrow {
  transform: translateX(4px);
}

/* ============================================
   SHOP PRINTS PREVIEW
   ============================================ */
/* Tighten gap between two-paths and shop-preview */
.two-paths + .shop-preview {
  padding-top: var(--space-sm);
}

.shop-preview {
  background: transparent;
  text-align: center;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.shop-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--warm-cream);
}

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

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

.shop-description {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.shop-btn {
  margin: 0 auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: transparent;
}

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

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

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

.testimonial-card blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonials-cta {
  text-align: center;
  margin-top: var(--space-md);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: transparent;
  overflow: visible;
}

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

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 6fr 5fr;
    gap: var(--space-xl);
  }

  .about-photo {
    order: 2;
  }

  .about-text {
    order: 1;
  }
}

.about-photo {
  position: relative;
}

@media (min-width: 768px) {
  .about-photo {
    margin-left: -4vw;
  }
}

.about-photo img {
  width: 100%;
  max-width: 540px;
  border-radius: 2px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  box-shadow: 0 8px 40px rgba(38, 45, 60, 0.1);
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
  margin-top: 0.25rem;
}

.about-text p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.9;
}

.about-signature {
  margin-top: var(--space-md);
  font-style: italic;
}

.about-signature .script-text {
  font-size: 2.75rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: #E8EAF2;
}

.contact-swoop {
  line-height: 0;
  margin-bottom: -1px;
}

.contact-swoop svg {
  width: 100%;
  height: 80px;
  display: block;
}

@media (min-width: 768px) {
  .contact-swoop svg {
    height: 100px;
  }
}

@media (min-width: 1200px) {
  .contact-swoop svg {
    height: 130px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

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

.contact-centered {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #DEEAF6;
  box-shadow: 0 0 0 3px rgba(222, 234, 246, 0.5);
}

/* Override browser autofill yellow background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--off-white) inset;
  -webkit-text-fill-color: var(--color-body);
  border-color: var(--color-border);
}

.form-group textarea {
  resize: vertical;
}

.required {
  color: var(--warm-rust);
}

.optional {
  font-size: 0.75rem;
  opacity: 0.6;
  text-transform: none;
  letter-spacing: normal;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.contact-email a {
  font-size: 0.95rem;
  word-break: break-all;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: all var(--duration) var(--ease);
}

.social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ----- Inline Email Signup (contact section) ----- */

.inline-signup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.inline-signup-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.inline-signup-text {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.inline-signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inline-signup-form input {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--color-bg);
}

.inline-signup-form input:focus {
  outline: none;
  border-color: var(--rose-gold);
}

.inline-signup-form .btn {
  margin-top: 0.25rem;
}

.inline-signup-note {
  font-size: 0.75rem;
  opacity: 0.45;
  font-style: italic;
  margin-top: 0.5rem;
}

.inline-signup-success {
  font-size: 0.9rem;
  color: var(--rose-gold);
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--rose-gold);
  color: var(--off-white);
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--off-white);
  margin-bottom: 0.25rem;
}

.footer-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--space-md);
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ============================================
   COMMISSION FLOW
   ============================================ */
.commission-flow {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.commission-flow.active {
  opacity: 1;
  pointer-events: auto;
}

/* Progress Bar */
.flow-progress {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-border);
  z-index: 210;
}

.flow-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--dusty-rose));
  transition: width 0.4s var(--ease);
  width: 0%;
}

/* Close Button */
.flow-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 220;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  opacity: 0.5;
  transition: opacity var(--duration) var(--ease);
}

.flow-close:hover {
  opacity: 1;
}

.flow-close svg {
  width: 24px;
  height: 24px;
}

/* Back Button */
.flow-back {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 220;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  opacity: 0.6;
  font-size: 0.9rem;
  transition: all var(--duration) var(--ease);
}

.flow-back:hover {
  opacity: 1;
  transform: translateX(-4px);
}

.flow-back svg {
  width: 20px;
  height: 20px;
}

/* Steps */
.flow-steps {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step {
  display: none;
  width: 100%;
  padding: var(--space-lg) var(--space-md);
  animation: stepFadeIn 0.5s var(--ease) both;
}

.flow-step.active {
  display: block;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.step-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-xs);
}

.step-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: var(--space-md);
}

.step-note {
  font-style: italic;
  opacity: 0.7;
  margin-bottom: var(--space-md);
}

.step-hint {
  font-size: 0.95rem;
  opacity: 0.6;
  margin-bottom: var(--space-md);
}

/* Option Cards */
.option-grid {
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-top: var(--space-sm);
  overflow: visible;
}

.option-grid-2 {
  grid-template-columns: 1fr 1fr;
}

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

.option-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.option-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 640px) {
  .option-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .option-grid-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

.option-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  position: relative;
  overflow: visible;
}

.option-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-card.selected {
  border-color: var(--color-accent);
  background: rgba(170, 109, 91, 0.06);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.option-card.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.option-card.unavailable:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--color-border);
}

.option-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.option-icon-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--duration) var(--ease);
}

.option-card:hover .option-icon-img {
  opacity: 1;
}

.option-card.selected .option-icon-img {
  opacity: 1;
}

.option-label {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--color-heading);
}

.option-sub {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Medium premium badge */
.option-premium {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(170, 109, 91, 0.08);
  padding: 0.15em 0.5em;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

/* Tooltip on hover */
.option-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.4;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  width: max-content;
  max-width: 240px;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.option-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-accent);
}

.option-card:hover .option-tooltip {
  display: block;
}

.option-compact {
  padding: var(--space-sm);
}

.option-compact .option-label {
  font-family: var(--font-heading);
  font-size: 1.75rem;
}

/* Tall / Fork Cards */
.option-tall {
  padding: var(--space-lg) var(--space-md);
}

.option-tall .option-label {
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.option-tall .option-sub {
  font-size: 0.85rem;
  max-width: 200px;
}

/* Featured / Channeled Card */
.option-featured {
  background: rgba(170, 109, 91, 0.04);
  border-color: var(--dusty-rose);
}

.option-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--color-accent);
  color: var(--off-white);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 0 6px 0 8px;
}

/* Color Swatches */
.color-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 0.25rem;
}

.swatch-warm { background: linear-gradient(135deg, #D4A574, #8C4227); }
.swatch-cool { background: linear-gradient(135deg, #516194, #C6C9DC); }
.swatch-neutral { background: linear-gradient(135deg, #F9E9DA, #CB8A78); }
.swatch-bold { background: linear-gradient(135deg, #AA6D5B, #262D3C, #516194); }
.swatch-channel { background: conic-gradient(from 0deg, #AA6D5B, #516194, #CB8A78, #8C4227, #C6C9DC, #AA6D5B); }
.swatch-custom {
  border: 2px dashed var(--color-border);
  background: transparent;
}

/* Size Frames */
.size-frame {
  border: 2px solid var(--color-border);
  border-radius: 2px;
  margin: 0 auto 0.75rem;
  transition: border-color var(--duration) var(--ease);
}

.option-card:hover .size-frame,
.option-card.selected .size-frame {
  border-color: var(--color-accent);
}

/* Proportional size frames — scaled to show relative differences */
.size-8x10  { width: 32px; height: 40px; }
.size-11x14 { width: 36px; height: 46px; }
.size-16x20 { width: 42px; height: 52px; }
.size-18x24 { width: 45px; height: 60px; }
.size-24x30 { width: 52px; height: 65px; }
.size-24x36 { width: 48px; height: 72px; }
.size-36x36 { width: 64px; height: 64px; }
.size-48x48 { width: 76px; height: 76px; }

.size-custom {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
}

.option-price {
  font-weight: 500;
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.option-timeline {
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
  margin-top: 0.15rem;
}

/* Textarea Group */
.step-textarea-group {
  margin: var(--space-md) 0;
}

.step-textarea-group label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}

.step-textarea-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  resize: vertical;
  transition: border-color var(--duration) var(--ease);
}

.step-textarea-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Deadline Note */
.timeline-deadline-group {
  max-width: 400px;
  margin: var(--space-md) auto;
  text-align: center;
}

.timeline-deadline-group label {
  font-size: 0.85rem;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

.timeline-deadline-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: center;
  transition: border-color var(--duration) var(--ease);
}

.timeline-deadline-group input:focus {
  outline: none;
  border-color: #DEEAF6;
  box-shadow: 0 0 0 3px rgba(222, 234, 246, 0.5);
}

.timeline-deadline-group input::placeholder {
  font-style: italic;
  opacity: 0.4;
}

/* Donation Input */
.donation-input-wrap {
  margin: var(--space-md) auto;
  max-width: 320px;
  text-align: center;
}

.donation-input-wrap label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  opacity: 0.6;
}

.donation-field {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
  padding: 0.75rem 1.25rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.donation-field:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(163, 114, 90, 0.12);
}

.donation-currency {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  margin-right: 0.5rem;
  line-height: 1;
}

.donation-field input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-text);
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.donation-field input::placeholder {
  color: var(--color-text);
  opacity: 0.3;
  font-size: 1.1rem;
}

.donation-field input::-webkit-outer-spin-button,
.donation-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.donation-hint {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-text);
  opacity: 0.45;
}

/* Print Add-On Rows */
.print-addon-options {
  margin: var(--space-md) 0;
}

.print-addon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.print-addon-row label {
  font-size: 1rem;
  font-weight: 500;
  min-width: 60px;
}

.print-addon-digital {
  background: rgba(170, 109, 91, 0.06);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border-bottom: none;
}

.addon-included {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.print-addon-note {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}

.addon-qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.addon-qty-value {
  font-size: 1.1rem;
  font-weight: 500;
  min-width: 24px;
  text-align: center;
}

.addon-price {
  font-size: 0.85rem;
  opacity: 0.6;
  min-width: 80px;
}

/* Step Actions */
.step-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}

/* Upload Area */
.upload-area {
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: all var(--duration) var(--ease);
  margin-bottom: var(--space-sm);
}

.upload-area.drag-over {
  border-color: var(--color-accent);
  background: rgba(170, 109, 91, 0.04);
}

.upload-prompt svg {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.upload-prompt p {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.upload-prompt span {
  font-size: 0.8rem;
  opacity: 0.5;
  display: block;
  margin-bottom: var(--space-xs);
}

.upload-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.upload-previews {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  justify-content: center;
}

.upload-thumb {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Flow Form */
.flow-form {
  max-width: 480px;
  margin: 0 auto var(--space-md);
  text-align: center;
}

.flow-form input,
.flow-form textarea {
  text-align: center;
}

/* Shipping Form */
.shipping-form {
  margin-top: var(--space-sm);
}

.shipping-form input {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
}

.shipping-note {
  font-style: italic;
  opacity: 0.7;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
}

/* Timeline / Delivery Window Grid */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 600px;
  margin: var(--space-md) auto;
}

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

.timeline-month {
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}

.timeline-month-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}

.timeline-windows {
  display: flex;
  gap: 0.25rem;
}

.timeline-window {
  flex: 1;
  padding: 0.5rem 0.25rem;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-align: center;
  position: relative;
}

.timeline-window:hover:not(.blocked) {
  border-color: var(--color-accent);
}

.timeline-window.selected {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.timeline-window.blocked {
  background: #f0f0f0;
  color: #bbb;
  cursor: not-allowed;
  border-color: transparent;
}

.timeline-window.rush .rush-badge {
  display: block;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-rust);
  margin-top: 0.15rem;
}

.timeline-window.selected .rush-badge {
  color: rgba(255,255,255,0.8);
}

.rush-request {
  max-width: 600px;
  margin: var(--space-sm) auto;
  text-align: left;
}

.rush-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s ease;
}

.rush-checkbox-label:hover {
  border-color: var(--color-accent);
}

.rush-checkbox-label input[type="checkbox"] {
  display: none;
}

.rush-checkbox-label .rush-check-icon {
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.rush-checkbox-label input[type="checkbox"]:checked ~ .rush-check-icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.rush-checkbox-label input[type="checkbox"]:checked ~ .rush-check-icon::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.rush-notice-text {
  font-size: 0.85rem;
  color: var(--warm-rust);
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* Summary Step Background */
.flow-step[data-step="15"] {
  background: #DEEAF6;
}

.summary-submark {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 1rem;
}

/* Summary Card */
.summary-card {
  background: var(--off-white);
  border-radius: 8px;
  padding: var(--space-md);
  margin: var(--space-md) auto;
  max-width: 500px;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  opacity: 0.6;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.summary-value {
  font-weight: 400;
  text-align: right;
}

.summary-total {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 2px solid var(--color-border);
  text-align: right;
}

.summary-download-group {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.summary-download-btn {
  font-size: 0.8rem;
}

/* Payment Options */
.payment-heading {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

@media (min-width: 640px) {
  .payment-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

.payment-card {
  background: var(--off-white);
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  display: block;
  width: 100%;
  color: var(--color-text);
  font-family: var(--font-body);
}

.payment-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}

.payment-card-title {
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.payment-card-amount {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.payment-card-note {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ============================================
   CONFIRMATION MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(38, 45, 60, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--color-bg);
  border-radius: 12px;
  padding: var(--space-lg) var(--space-md);
  max-width: 520px;
  width: 100%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal h2 {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.modal-subtitle {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: var(--space-md);
}

.modal-steps {
  text-align: left;
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.modal-steps li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.modal-steps li strong {
  color: var(--color-heading);
}

.modal-closing {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: var(--space-md);
  line-height: 1.4;
  overflow: visible;
  padding: 0.15em 0;
}

/* ============================================
   FORM VALIDATION
   ============================================ */
.form-group.error input,
.form-group.error textarea {
  border-color: var(--warm-rust);
}

.form-error-msg {
  color: var(--warm-rust);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ============================================
   UTILITY & RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
  .option-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn-hero,
  .hero-ctas .btn-hero-outline {
    width: 100%;
    max-width: 280px;
  }

  .flow-back {
    bottom: 1rem;
    left: 1rem;
  }
}

/* Prevent body scroll when flow is open */
body.flow-open {
  overflow: hidden;
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ----- Email Signup Popup ----- */

.email-popup {
  position: relative;
  max-width: 440px;
}

.email-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-text);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s;
}

.email-popup-close:hover {
  opacity: 1;
}

.email-popup .script-label {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: -0.1em;
}

.email-popup h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.email-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: var(--space-md) 0 0.75rem;
}

.email-popup-form input {
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
}

.email-popup-form input:focus {
  outline: none;
  border-color: var(--rose-gold);
}

.email-popup-note {
  font-size: 0.8rem;
  opacity: 0.5;
  font-style: italic;
}

.email-popup-success {
  padding: var(--space-md) 0;
}

.email-popup-success .script-label {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--rose-gold);
}

/* Selection */
::selection {
  background: var(--dusty-rose);
  color: var(--off-white);
}
