/*
 * Ivy & Rose Floral Co. — Main Stylesheet
 * Built from DESIGN.md tokens. Replaces Tailwind CDN.
 */

/* ============================================================
   DESIGN TOKENS (CSS Custom Properties)
   ============================================================ */
:root {
  /* Colors */
  --color-espresso: #2C2419;
  --color-taupe: #5C4D3C;
  --color-sage: #8B9D83;
  --color-terracotta: #C17F59;
  --color-cream: #F0EBE3;
  --color-ivory: #FFFFFF;
  --color-stone: #D5CFC6;
  --color-blush: #F5E6E0;
  --color-surface: #FFFFFF;

  /* Typography */
  --font-playfair: 'Playfair Display', serif;
  --font-source: 'Source Serif Pro', serif;
  --font-inter: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;

  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-source);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-espresso);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ============================================================
   SKIP LINK (Accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-espresso);
  color: var(--color-cream);
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.2s;
  font-family: var(--font-inter);
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0;
}

/* sr-only utility */
.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;
}

.sr-only:focus:not(.sr-only) {
  position: static;
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--color-espresso);
  color: var(--color-cream);
  z-index: 100;
  top: 0;
  left: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-playfair {
  font-family: var(--font-playfair);
}

.font-source {
  font-family: var(--font-source);
}

.font-inter {
  font-family: var(--font-inter);
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.text-8xl {
  font-size: 6rem;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.15em;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.7;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

.container-narrow {
  max-width: 672px; /* ~42rem / max-w-2xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

.container-medium {
  max-width: 1152px; /* ~72rem / max-w-6xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.gap-6 {
  gap: 24px;
}

.gap-8 {
  gap: 32px;
}

.gap-12 {
  gap: 48px;
}

.grid {
  display: grid;
}

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

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

.space-y-4 > * + * {
  margin-top: 16px;
}

.space-y-3 > * + * {
  margin-top: 12px;
}

.space-y-8 > * + * {
  margin-top: 32px;
}

.cursor-pointer {
  cursor: pointer;
}

.pt-4 {
  padding-top: 16px;
}

/* ============================================================
   COLORS / TEXT
   ============================================================ */
.text-espresso {
  color: var(--color-espresso);
}

.text-taupe {
  color: var(--color-taupe);
}

.text-sage {
  color: var(--color-sage);
}

.text-terracotta {
  color: var(--color-terracotta);
}

.text-cream {
  color: var(--color-cream);
}

.text-stone {
  color: var(--color-stone);
}

.text-cream-60 {
  color: rgba(240, 235, 227, 0.6);
}

.text-cream-40 {
  color: rgba(240, 235, 227, 0.4);
}

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

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

.bg-ivory,
.bg-surface {
  background-color: var(--color-surface);
}

.bg-sage-10 {
  background-color: rgba(139, 157, 131, 0.1);
}

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

.bg-terracotta-10 {
  background-color: rgba(193, 127, 89, 0.1);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(240, 235, 227, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(213, 207, 198, 0.4);
}

.site-header-simple {
  border-bottom: 1px solid var(--color-stone);
  background-color: var(--color-cream);
}

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

.site-header-simple .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 672px;
  margin: 0 auto;
  padding: 20px 24px;
}

.site-logo {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-espresso);
}

.site-logo:hover {
  color: var(--color-sage);
  transition: color 200ms ease;
}

.nav-desktop {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-taupe);
  transition: color 200ms ease;
}

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

.nav-link[aria-current="page"] {
  color: var(--color-espresso);
  border-bottom: 1px solid var(--color-espresso);
}

/* Back link (simplified header) */
.back-link {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-taupe);
  transition: color 200ms ease;
}

.back-link:hover {
  color: var(--color-espresso);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-espresso);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav panel */
.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 288px;
  z-index: 70;
  background-color: var(--color-surface);
  padding: 96px 24px 24px;
  box-shadow: -4px 0 24px rgba(44, 36, 25, 0.15);
  border-left: 1px solid rgba(213, 207, 198, 0.4);
  transform: translateX(100%);
  transition: transform 300ms ease-out;
}

.main-nav.active {
  transform: translateX(0);
}

.main-nav .nav-links {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.main-nav .nav-link {
  display: block;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: background-color 150ms ease, color 150ms ease;
  border-bottom: none;
}

.main-nav .nav-link:hover {
  background-color: rgba(240, 235, 227, 0.6);
}

/* Nav backdrop overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(44, 36, 25, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-out;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Desktop nav visibility */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav,
  .nav-backdrop {
    display: none;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px var(--space-sm);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-text .hero-label {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-sage);
  margin-bottom: 24px;
  display: block;
}

.hero-text h1 {
  font-family: var(--font-playfair);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-text .hero-description {
  font-size: 1.125rem;
  color: var(--color-taupe);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 512px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(44, 36, 25, 0.15);
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 96px var(--space-sm);
  }

  .hero-text h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .hero-text {
    order: 1;
  }

  .hero-image-wrap {
    order: 2;
  }

  .hero-inner {
    padding: 128px var(--space-sm);
  }

  .hero-text h1 {
    font-size: 3.75rem;
  }

  .hero-image {
    height: 600px;
  }
}

/* ============================================================
   URGENCY / DEADLINE BANNER
   ============================================================ */
.urgency-banner {
  background-color: var(--color-terracotta);
  color: var(--color-cream);
  text-align: center;
  padding: 12px 16px;
}

.urgency-banner p {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  font-weight: 500;
}

.deadline-box {
  background-color: rgba(193, 127, 89, 0.1);
  border: 1px solid rgba(193, 127, 89, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 32px;
}

.deadline-box p {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-terracotta);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  padding: 16px 32px;
}

.btn-primary:hover {
  background-color: var(--color-taupe);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-espresso);
  border: 1px solid var(--color-espresso);
  padding: 16px 24px;
}

.btn-secondary:hover {
  background-color: var(--color-espresso);
  color: var(--color-cream);
}

.btn-full {
  width: 100%;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(44, 36, 25, 0.12);
}

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

.card-body {
  padding: 24px;
}

.card-title {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card-description {
  color: var(--color-taupe);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.card-price {
  font-family: var(--font-playfair);
  font-size: 1.5rem;
  color: var(--color-espresso);
  margin-bottom: 16px;
}

/* Gallery cards (white background variant) */
.gallery-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44, 36, 25, 0.06);
}

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

.gallery-card-body {
  padding: 24px;
}

.gallery-card-title {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.gallery-card-description {
  color: var(--color-taupe);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.gallery-card-price {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-sage);
}

/* Bouquet selection cards (order form) */
.bouquet-card {
  border: 2px solid var(--color-stone);
  border-radius: var(--radius-md);
  transition: all 200ms ease;
  cursor: pointer;
  display: block;
  background: var(--color-surface);
}

.bouquet-card:hover {
  border-color: var(--color-sage);
}

.bouquet-card.selected {
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(139, 157, 131, 0.25);
}

.bouquet-card:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(139, 157, 131, 0.25);
}

.bouquet-card .hidden {
  display: none;
}

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

.bouquet-card-body {
  padding: 16px;
}

.bouquet-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.bouquet-card-name {
  font-family: var(--font-playfair);
  font-size: 1.125rem;
}

.bouquet-card-price {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  font-weight: 700;
}

.bouquet-card-desc {
  color: var(--color-taupe);
  font-size: 0.875rem;
}

.bouquet-card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(44, 36, 25, 0);
  transition: background-color 200ms ease;
}

.bouquet-card:hover .bouquet-card-overlay {
  background-color: rgba(44, 36, 25, 0.05);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-field {
  background-color: var(--color-surface);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-md);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
}

.form-field:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(139, 157, 131, 0.15);
}

.form-field::placeholder {
  color: var(--color-taupe);
  opacity: 0.5;
}

select.form-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C4D3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

textarea.form-field {
  resize: vertical;
}

.form-label {
  display: block;
  font-family: var(--font-inter);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-taupe);
  margin-bottom: 6px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-section-title {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-stone);
}

.form-section {
  margin-bottom: 40px;
}

/* Validation error messages */
.error-message {
  display: none;
  font-family: var(--font-inter);
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
}

.form-field.invalid {
  border-color: #c0392b;
}

/* Success message */
.form-success {
  display: none;
  margin-bottom: 24px;
  padding: 16px;
  background-color: rgba(139, 157, 131, 0.1);
  border: 1px solid var(--color-sage);
  border-radius: var(--radius-md);
  color: var(--color-espresso);
}

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

/* Order summary/total */
.order-total {
  margin-bottom: 32px;
  padding: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-md);
}

.order-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.order-total-row .label {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-taupe);
}

.order-total-row .value {
  font-family: var(--font-playfair);
  font-size: 1.125rem;
}

.order-total-row .value.free {
  color: var(--color-sage);
}

.order-total-divider {
  border-top: 1px solid var(--color-stone);
  padding-top: 12px;
  margin-top: 12px;
}

.order-total-row.total .label {
  font-weight: 500;
  color: var(--color-espresso);
}

.order-total-row.total .value {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  gap: 32px;
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-taupe);
  cursor: pointer;
  transition: all 150ms ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  border-color: var(--color-espresso);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 64px 0;
  background-color: var(--color-cream);
}

.testimonials-grid {
  display: grid;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-playfair);
  font-size: 4rem;
  color: var(--color-sage);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
}

.testimonial-quote {
  font-family: var(--font-source);
  font-size: 1.0625rem;
  color: var(--color-taupe);
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  padding-top: 16px;
}

.testimonial-author {
  font-family: var(--font-inter);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-espresso);
}

.testimonial-occasion {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  color: var(--color-stone);
  margin-top: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-espresso);
  padding: 48px 0;
}

.site-footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.site-footer .footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.site-footer .footer-brand {
  text-align: center;
}

.site-footer .footer-brand-name {
  font-family: var(--font-playfair);
  font-size: 1.125rem;
  color: var(--color-cream);
  margin-bottom: 4px;
}

.site-footer .footer-brand-location {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(240, 235, 227, 0.6);
}

.site-footer .footer-social a {
  color: rgba(240, 235, 227, 0.6);
  transition: color 200ms ease;
}

.site-footer .footer-social a:hover {
  color: var(--color-cream);
}

.site-footer .footer-bottom {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(240, 235, 227, 0.1);
  text-align: center;
}

.site-footer .footer-copyright {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  color: rgba(240, 235, 227, 0.4);
}

/* Simple footer variant */
.footer-simple {
  border-top: 1px solid var(--color-stone);
  padding: 32px 0;
  background-color: var(--color-cream);
}

.footer-simple .footer-inner {
  max-width: 672px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-simple .footer-text {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-taupe);
}

/* Footer with Instagram */
.footer-with-instagram {
  border-top: 1px solid rgba(213, 207, 198, 0.4);
  padding: 32px 0;
  background-color: var(--color-cream);
}

.footer-with-instagram .footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-with-instagram .footer-brand-link {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  color: var(--color-espresso);
  display: inline-block;
  margin-bottom: 16px;
  transition: color 200ms ease;
}

.footer-with-instagram .footer-brand-link:hover {
  color: var(--color-taupe);
}

.footer-with-instagram .footer-location {
  color: var(--color-taupe);
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.footer-with-instagram .footer-instagram {
  color: var(--color-taupe);
  font-size: 0.875rem;
}

.footer-with-instagram .footer-instagram a {
  color: var(--color-espresso);
  transition: text-decoration 200ms ease;
}

.footer-with-instagram .footer-instagram a:hover {
  text-decoration: underline;
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section {
  padding: 64px 0;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-sage);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-playfair);
  font-size: 1.875rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.section-description {
  color: var(--color-taupe);
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }

  .section-title {
    font-size: 2.25rem;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  animation: fadeUp 600ms ease-out forwards;
  opacity: 0;
}

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

.stagger-1 {
  animation-delay: 100ms;
}

.stagger-2 {
  animation-delay: 200ms;
}

.stagger-3 {
  animation-delay: 300ms;
}

/* Scroll animations (JS-driven) */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 4px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 12px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-5 {
  margin-bottom: 20px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-10 {
  margin-bottom: 40px;
}

.mb-12 {
  margin-bottom: 48px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-10 {
  margin-top: 40px;
}

.mt-12 {
  margin-top: 48px;
}

.mt-16 {
  margin-top: 64px;
}

.pt-8 {
  padding-top: 32px;
}

.pb-2 {
  padding-bottom: 8px;
}

.p-4 {
  padding: 16px;
}

.p-5 {
  padding: 20px;
}

.p-6 {
  padding: 24px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.px-5 {
  padding-left: 20px;
  padding-right: 20px;
}

.px-6 {
  padding-left: 24px;
  padding-right: 24px;
}

.px-8 {
  padding-left: 32px;
  padding-right: 32px;
}

.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.py-4 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.py-5 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.py-8 {
  padding-top: 32px;
  padding-bottom: 32px;
}

.py-10 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.py-12 {
  padding-top: 48px;
  padding-bottom: 48px;
}

.py-16 {
  padding-top: 64px;
  padding-bottom: 64px;
}

.max-w-lg {
  max-width: 512px;
}

.max-w-md {
  max-width: 448px;
}

.max-w-2xl {
  max-width: 672px;
}

.max-w-4xl {
  max-width: 896px;
}

.border-t {
  border-top: 1px solid var(--color-stone);
}

.border-b {
  border-bottom: 1px solid var(--color-stone);
}

.border {
  border: 1px solid var(--color-stone);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.shadow-lg {
  box-shadow: 0 8px 24px rgba(44, 36, 25, 0.15);
}

.shadow-sm {
  box-shadow: 0 2px 12px rgba(44, 36, 25, 0.06);
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  inset: 0;
}

.overflow-hidden {
  overflow: hidden;
}

.w-full {
  width: 100%;
}

.h-80 {
  height: 320px;
}

.min-h-screen {
  min-height: 100vh;
}

.flex-1 {
  flex: 1 1 0%;
}

.hidden {
  display: none;
}

.inline-flex {
  display: inline-flex;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:grid {
    display: grid;
  }

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

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:hidden {
    display: none;
  }

  .md\:inline-flex {
    display: inline-flex;
  }

  .md\:py-14 {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .md\:py-24 {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:gap-8 {
    gap: 32px;
  }

  .sm\:px-8 {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Order form bouquet cards side by side */
  .bouquet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery responsive grid */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials responsive */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .lg\:gap-16 {
    gap: 64px;
  }

  .lg\:py-32 {
    padding-top: 128px;
    padding-bottom: 128px;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    animation: none;
  }

  .stagger-1,
  .stagger-2,
  .stagger-3 {
    animation-delay: 0ms;
  }

  .card,
  .card-hover,
  .btn-primary,
  .btn-secondary,
  .btn {
    transition: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-icon {
  margin: 0 auto 24px;
  display: block;
}

.success-icon svg {
  width: 64px;
  height: 64px;
  stroke: var(--color-sage);
}

.next-steps-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.next-steps-title {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-taupe);
  margin-bottom: 12px;
}

.next-steps-list {
  counter-reset: none;
}

.next-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-taupe);
  margin-bottom: 12px;
}

.next-steps-list li:last-child {
  margin-bottom: 0;
}

.next-steps-list .step-number {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  color: var(--color-sage);
  font-weight: 500;
  flex-shrink: 0;
}

/* Prototype notice */
.prototype-notice {
  font-family: var(--font-inter);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-stone);
  margin-top: 24px;
  padding: 8px 16px;
  border: 1px dashed var(--color-stone);
  border-radius: var(--radius-md);
  display: inline-block;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-code {
  font-family: var(--font-playfair);
  font-size: 6rem;
  color: var(--color-stone);
  margin-bottom: 16px;
}

/* ============================================================
   GALLERY FILTER (JS data-filter support)
   ============================================================ */
[data-category] {
  transition: opacity 300ms ease, transform 300ms ease;
}

[data-category].hidden {
  display: none;
}

/* Gallery grid container class (for JS targeting) */
.gallery-grid-container {
  /* Inherits from .gallery-grid */
}

/* Hover utility */
.hover\:text-sage:hover {
  color: var(--color-sage);
}

.no-results {
  text-align: center;
  color: var(--color-taupe);
  padding: 32px;
}

/* ============================================================
   CHARACTER COUNTER
   ============================================================ */
.char-counter {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  color: var(--color-stone);
  text-align: right;
  margin-top: 4px;
}

.char-counter.at-limit {
  color: var(--color-terracotta);
}

/* ============================================================
   PRICE ANIMATION
   ============================================================ */
.price-updated {
  transition: color 300ms ease;
  color: var(--color-sage);
}

/* ============================================================
   LAZY IMAGE PLACEHOLDER
   ============================================================ */
.lazy-image {
  background-color: #f0e6e0;
  transition: opacity 300ms ease;
}

.lazy-image.loaded {
  background-color: transparent;
}

/* ============================================================
   URGENCY BANNER
   ============================================================ */
.urgency-banner {
  background-color: var(--color-terracotta);
  color: var(--color-ivory);
  text-align: center;
  padding: 12px 16px;
}

.urgency-banner p {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

/* ============================================================
   HERO IMAGE BADGE
   ============================================================ */
.hero-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: rgba(240, 235, 227, 0.9);
  backdrop-filter: blur(4px);
  padding: 12px 16px;
  border-radius: 2px;
}

.hero-image-badge-label {
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-taupe);
  margin: 0 0 4px;
}

.hero-image-badge-text {
  font-family: var(--font-playfair);
  font-size: 1.125rem;
  color: var(--color-espresso);
  margin: 0;
}

/* ============================================================
   PRICING MENU
   ============================================================ */
.pricing-menu {
  background-color: var(--color-cream);
  border-radius: 2px;
  border: 1px solid var(--color-stone);
  padding: 32px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(213, 207, 198, 0.3);
  font-family: var(--font-inter);
}

.pricing-name {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-espresso);
}

.pricing-stems {
  text-transform: none;
  color: var(--color-taupe);
}

.pricing-price {
  font-family: var(--font-playfair);
  font-size: 1.125rem;
  color: var(--color-espresso);
}

.pricing-row-highlight {
  background-color: rgba(193, 127, 89, 0.1);
  padding: 8px 12px;
  border-radius: 2px;
  border-bottom: none;
}

.pricing-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(213, 207, 198, 0.3);
  text-align: center;
}

.pricing-footer p {
  font-size: 0.875rem;
  color: var(--color-taupe);
  margin: 0;
}

.pricing-footer strong {
  color: var(--color-espresso);
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-taupe);
  margin-top: 12px;
}

/* ============================================================
   METHOD TOGGLE (Pickup / Delivery)
   ============================================================ */
.method-toggle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.method-toggle {
  border: 2px solid var(--color-stone);
  border-radius: 4px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 200ms ease;
  background: transparent;
  font-family: var(--font-inter);
}

.method-toggle:hover {
  border-color: var(--color-sage);
}

.method-toggle.active {
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(139, 157, 131, 0.25);
}

.method-toggle-icon {
  color: var(--color-sage);
  margin: 0 auto 8px;
  display: block;
}

.method-toggle-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.method-toggle-detail {
  font-size: 0.75rem;
  color: var(--color-taupe);
  margin-top: 4px;
  display: block;
}

/* ============================================================
   DELIVERY SECTION (toggle show/hide)
   ============================================================ */
.delivery-section {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease-out, opacity 300ms ease;
  opacity: 0;
}

.delivery-section.open {
  max-height: 800px;
  opacity: 1;
}

/* ============================================================
   FULFILLMENT NOTICE
   ============================================================ */
.fulfillment-notice {
  background-color: rgba(139, 157, 131, 0.1);
  border: 1px solid rgba(139, 157, 131, 0.2);
  border-radius: 2px;
  padding: 16px 20px;
  margin-bottom: 32px;
}

.fulfillment-notice p {
  font-family: var(--font-source);
  font-size: 1rem;
  color: var(--color-taupe);
  line-height: 1.6;
  margin: 0;
}

.fulfillment-notice-label {
  font-family: var(--font-inter);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sage);
  margin-right: 8px;
}

/* ============================================================
   FORM FIELD SELECT (custom dropdown)
   ============================================================ */
.form-field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C4D3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* ============================================================
   FORM HINT
   ============================================================ */
.form-hint {
  font-size: 0.75rem;
  color: var(--color-taupe);
  margin-top: 8px;
}

/* ============================================================
   SECTION DARK (espresso bg)
   ============================================================ */
.section-dark {
  padding: 64px 0;
}

/* ============================================================
   FOOTER NAV LINKS
   ============================================================ */
.footer-nav-link {
  color: rgba(240, 235, 227, 0.6);
  font-family: var(--font-inter);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-nav-link:hover {
  color: var(--color-ivory);
}

/* ===== CLEAN IMAGE GALLERY (no text) ===== */
.gallery-image-only {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.gallery-image-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 300ms ease, box-shadow 300ms ease;
  line-height: 0;
}

.gallery-image-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card-hover);
}

.gallery-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .gallery-image-only {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-image-only {
    grid-template-columns: 1fr;
  }
}