/* ==========================================================================
   Zawadi & Co. — Boutique Gifting Studio
   Design System & Global Styles
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette — bright, vacation-inspired, accessible */
  --purple-50:  #F5F1FB;
  --purple-100: #EAE1F7;
  --purple-300: #C6AEE8;
  --purple-500: #8B5FC9;
  --purple-600: #6D42AC;   /* primary accent */
  --purple-700: #55328A;   /* text-safe on white */
  --purple-900: #2E1B4D;

  --teal-50:  #E9FBFA;
  --teal-100: #CFF6F3;
  --teal-300: #7FE3DC;
  --teal-500: #17B8AE;     /* primary aqua accent */
  --teal-600: #0E958D;
  --teal-700: #0B786F;     /* text-safe on white */

  --rose-50:  #FCF1F2;
  --rose-100: #F8DEE2;
  --rose-300: #EDAEBB;
  --rose-500: #B84A64;    /* warm blush/rose accent — contrast-safe for buttons */
  --rose-600: #9E3D56;
  --rose-700: #7A2E43;    /* text-safe on white */

  --yellow-100: #FFF6DA;
  --yellow-300: #FFE38C;
  --yellow-400: #FFD447;   /* sunny yellow — used sparingly */
  --yellow-600: #B8860B;   /* text-safe accent */

  /* Neutrals */
  --white:      #FFFFFF;
  --cream:      #FBF8F4;   /* warm neutral background */
  --sand:       #F4EEE6;
  --ink-900:    #221C2E;   /* primary text — high contrast */
  --ink-700:    #4A4358;   /* secondary text */
  --ink-500:    #746C82;   /* tertiary / muted text */
  --line:       #E7E0EE;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.35s;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(46, 27, 77, 0.06);
  --shadow-md: 0 12px 32px rgba(46, 27, 77, 0.12);
  --shadow-lg: 0 24px 60px rgba(46, 27, 77, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }

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

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

button { cursor: pointer; }

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

body {
  background: var(--cream);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--purple-700);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--duration) var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--purple-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.35rem, 1.5vw + 1rem, 1.75rem); }
h4 { font-size: 1.15rem; }

p { color: var(--ink-700); }

.lede {
  font-size: clamp(1.1rem, 1vw + 1rem, 1.35rem);
  color: var(--ink-700);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--rose-500);
  display: inline-block;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-6);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-6); }
.section--purple { background: var(--purple-900); color: var(--purple-50); }
.section--purple h2, .section--purple h3 { color: var(--white); }
.section--purple p { color: var(--purple-100); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }

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

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--rose-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--rose-600); box-shadow: var(--shadow-md); }

.btn--dark {
  background: var(--purple-900);
  color: var(--white);
}
.btn--dark:hover { background: var(--purple-700); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--purple-900);
}
.btn--outline:hover { background: var(--purple-900); color: var(--white); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn--outline-light:hover { background: var(--white); color: var(--purple-900); }

.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 248, 244, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(251, 248, 244, 0.97);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 1.1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--purple-900);
}
.brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rose-500), var(--purple-600) 55%, var(--teal-500));
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-links a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-900);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--purple-700);
  border-color: var(--rose-500);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
}
.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--purple-900);
  border-radius: 3px;
  margin: 5px 0;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.nav-toggle[aria-expanded="true"] .bar-1 { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar-2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar-3 { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-5) var(--space-4);
    gap: var(--space-4);
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; width: 100%; }
  .nav-actions .btn span { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-8) var(--space-7);
  background: radial-gradient(120% 140% at 85% -10%, var(--teal-100) 0%, transparent 55%),
              radial-gradient(90% 120% at -10% 10%, var(--rose-100) 0%, transparent 50%),
              var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy .lede { margin-top: var(--space-3); margin-bottom: var(--space-5); }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--purple-700);
}
.hero-stat span { font-size: 0.9rem; color: var(--ink-500); }

/* ---------- Image placeholders ---------- */
.img-placeholder {
  position: relative;
  border-radius: var(--radius-md);
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
  background: linear-gradient(135deg, var(--ph-a, var(--purple-300)), var(--ph-b, var(--teal-300)));
  overflow: hidden;
}
.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.35), transparent 45%),
                     radial-gradient(circle at 80% 85%, rgba(255,255,255,0.25), transparent 40%);
}
.img-placeholder span {
  position: relative;
  display: inline-block;
  background: rgba(34, 28, 46, 0.55);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  line-height: 1.3;
}
.img-placeholder.square { aspect-ratio: 1 / 1; }
.img-placeholder.portrait { aspect-ratio: 4 / 5; }
.img-placeholder.wide { aspect-ratio: 16 / 10; }
.img-placeholder.tall { aspect-ratio: 3 / 4; }

.hero-media { position: relative; }
.hero-media .img-placeholder.wide { min-height: 380px; }
.hero-media-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .hero-media-badge { position: static; margin-top: var(--space-4); display: inline-flex; }
}
.hero-media-badge .dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow-400);
  flex-shrink: 0;
}
.hero-media-badge strong { display: block; font-size: 0.95rem; }
.hero-media-badge span { font-size: 0.82rem; color: var(--ink-500); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-body { padding: var(--space-4); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-body h3 { font-size: 1.25rem; }
.card-body p { font-size: 0.96rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; }
.tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--purple-50);
  color: var(--purple-700);
}
.tag.teal { background: var(--teal-50); color: var(--teal-700); }
.tag.rose { background: var(--rose-50); color: var(--rose-700); }
.tag.yellow { background: var(--yellow-100); color: var(--yellow-600); }

.card-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

/* Occasion tile */
.occasion-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.occasion-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.occasion-tile .img-placeholder { border-radius: 0; margin: 0; min-height: 260px; }
.occasion-tile-copy {
  padding: var(--space-4);
  background: var(--white);
}
.occasion-tile-copy h3 { margin-bottom: 0.25rem; }
.occasion-tile-copy p { font-size: 0.92rem; }
.occasion-tile-copy .link-arrow { margin-top: 0.6rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--purple-700);
  font-size: 0.92rem;
}
.link-arrow svg { transition: transform var(--duration) var(--ease); }
a:hover .link-arrow svg, .occasion-tile:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- How it works / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.steps.steps--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .steps.steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .steps.steps--5 { grid-template-columns: 1fr; } }
.steps.steps--5 .step:nth-child(5) .step-number { background: var(--rose-600); }

.step { position: relative; padding-top: var(--space-5); }
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
  background: var(--purple-600);
  margin-bottom: var(--space-3);
}
.step:nth-child(2) .step-number { background: var(--teal-500); }
.step:nth-child(3) .step-number { background: var(--rose-500); }
.step:nth-child(4) .step-number { background: var(--purple-900); }
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.94rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.testimonial-stars { color: var(--yellow-600); letter-spacing: 2px; font-size: 1rem; }
.testimonial p.quote { color: var(--ink-900); font-size: 1.02rem; font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-300), var(--purple-300));
  flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: 0.92rem; }
.testimonial-person span { font-size: 0.82rem; color: var(--ink-500); }

/* ---------- FAQ / accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: transparent;
  border: none;
  text-align: left;
  padding: var(--space-4) 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink-900);
}
.accordion-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--purple-50);
  color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
  font-size: 1.1rem;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  background: var(--rose-500);
  color: var(--white);
}
.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration) var(--ease);
}
.accordion-panel p, .accordion-panel ul {
  padding: 0 0.25rem var(--space-4);
  color: var(--ink-700);
  max-width: 68ch;
}
.accordion-panel ul { padding-left: 1.5rem; list-style: disc; }

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-5);
}
.filter-chip {
  border: 2px solid var(--line);
  background: var(--white);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-700);
  transition: all var(--duration) var(--ease);
}
.filter-chip:hover { border-color: var(--purple-500); color: var(--purple-700); }
.filter-chip.is-active {
  background: var(--purple-900);
  border-color: var(--purple-900);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item { border-radius: var(--radius-md); overflow: hidden; }
.gallery-item .img-placeholder { border-radius: var(--radius-md); margin: 0; }
.gallery-item.tall-item { grid-row: span 2; }
.gallery-item.tall-item .img-placeholder { height: 100%; min-height: 380px; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--ink-900); }
.field .hint { font-size: 0.8rem; color: var(--ink-500); font-weight: 400; }
.field input,
.field select,
.field textarea {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--ink-900);
  font-size: 0.98rem;
  transition: border-color var(--duration) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple-600);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.checkbox-pill {
  position: relative;
}
.checkbox-pill input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  cursor: pointer;
  margin: 0;
}
.checkbox-pill label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid var(--line);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-700);
  transition: all var(--duration) var(--ease);
}
.checkbox-pill input:checked + label {
  background: var(--teal-50);
  border-color: var(--teal-500);
  color: var(--teal-700);
}
.checkbox-pill input:focus-visible + label { outline: 3px solid var(--purple-600); outline-offset: 2px; }

/* ---------- Color preference fields (required / optional, with "not sure yet" toggle) ---------- */
.color-field { display: flex; flex-direction: column; gap: 0.6rem; }
.idk-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
}
.idk-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple-600);
  flex-shrink: 0;
}
.idk-box {
  background: var(--purple-50);
  border: 1px dashed var(--purple-300);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.idk-box textarea {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  background: var(--white);
  width: 100%;
  min-height: 90px;
  font-size: 0.95rem;
}
.idk-box textarea:focus { border-color: var(--purple-600); outline: none; }
.idk-box[hidden] { display: none; }

.form-note {
  font-size: 0.88rem;
  color: var(--ink-500);
  margin-top: var(--space-3);
}

/* ---------- Inspiration photo upload ---------- */
.field input[type="file"] {
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  background: var(--sand-50, #FAF7F2);
  font-size: 0.88rem;
  color: var(--ink-700);
}
.field input[type="file"]::file-selector-button {
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  margin-right: 0.8rem;
  background: var(--purple-600);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.field input[type="file"]::file-selector-button:hover { background: var(--purple-700); }
.upload-status {
  font-size: 0.82rem;
  color: var(--ink-500);
  min-height: 1.1em;
  margin: 0;
}
.upload-status.is-uploading { color: var(--purple-600); font-weight: 600; }
.upload-status.is-error { color: var(--rose-700); font-weight: 600; }
.upload-status.is-done { color: var(--teal-700); font-weight: 600; }

.form-success {
  display: none;
  background: var(--teal-50);
  border: 2px solid var(--teal-300);
  color: var(--teal-700);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-top: var(--space-4);
}
.form-success.is-visible { display: block; }
.site-footer .form-success {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  margin-top: var(--space-3);
  font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
  background: var(--purple-900);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.newsletter h3 { color: var(--white); }
.newsletter p { color: var(--purple-100); }
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input {
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  min-width: 260px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.65); }
.newsletter-form input:focus { border-color: var(--white); outline: none; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  background: linear-gradient(120deg, var(--rose-500), var(--purple-600) 60%, var(--teal-500));
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.9); margin: var(--space-3) auto var(--space-5); max-width: 60ch; }
.cta-band .btn--primary { background: var(--white); color: var(--purple-900); }
.cta-band .btn--primary:hover { background: var(--yellow-400); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-900);
  color: var(--purple-100);
  padding-block: var(--space-7) var(--space-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand { color: var(--white); margin-bottom: var(--space-2); }
.footer-grid h4 { color: var(--white); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-3); }
.footer-grid ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-grid a { color: var(--purple-100); font-size: 0.95rem; transition: color var(--duration) var(--ease); }
.footer-grid a:hover { color: var(--white); }
.footer-social { display: flex; gap: 0.6rem; margin-top: var(--space-3); }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* ---------- Anchor scroll offset (fixed header) ---------- */
[id] { scroll-margin-top: 96px; }

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: var(--space-5);
}
.jump-nav a {
  border: 2px solid var(--line);
  background: var(--white);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-700);
  transition: all var(--duration) var(--ease);
}
.jump-nav a:hover, .jump-nav a:focus-visible { border-color: var(--purple-500); color: var(--purple-700); background: var(--purple-50); }

.occasion-section:nth-child(even) { background: var(--sand); }
.idea-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: var(--space-3); }
.idea-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.idea-item .idea-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--rose-500);
  margin-top: 0.4rem;
  flex-shrink: 0;
}
.idea-item strong { display: block; font-size: 0.98rem; color: var(--ink-900); }
.idea-item span { font-size: 0.88rem; color: var(--ink-700); }

/* ---------- Breadcrumb / page header ---------- */
.page-header {
  padding-block: var(--space-7) var(--space-6);
  background: radial-gradient(100% 140% at 90% -20%, var(--teal-100) 0%, transparent 55%),
              radial-gradient(90% 120% at 0% 0%, var(--rose-100) 0%, transparent 50%),
              var(--cream);
  text-align: center;
}
.page-header .lede { margin-inline: auto; margin-top: var(--space-3); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Misc components ---------- */
.divider {
  height: 1px;
  background: var(--line);
  margin-block: var(--space-6);
}

.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col.reverse .two-col-media { order: 2; }

.value-list { display: flex; flex-direction: column; gap: var(--space-4); }
.value-item { display: flex; gap: var(--space-3); align-items: flex-start; }
.value-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.value-item:nth-child(2) .value-icon { background: var(--rose-50); color: var(--rose-700); }
.value-item:nth-child(3) .value-icon { background: var(--purple-50); color: var(--purple-700); }
.value-item:nth-child(4) .value-icon { background: var(--yellow-100); color: var(--yellow-600); }

/* Price note */
.price-note {
  font-weight: 700;
  color: var(--purple-700);
}
.price-note .from { font-weight: 400; color: var(--ink-500); font-size: 0.85rem; }

/* ==========================================================================
   Collection tiers, comparison table, add-ons, concierge, occasion palettes
   ========================================================================== */

.tag.builder { background: var(--purple-900); color: var(--white); }

/* ---------- Tier cards ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}
@media (max-width: 1000px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tier-grid { grid-template-columns: 1fr; } }

.tier-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tier-card.is-popular { border-color: var(--purple-600); box-shadow: var(--shadow-md); }
.tier-card-badge {
  position: absolute;
  top: -14px; left: var(--space-4);
  background: var(--purple-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}
.tier-icon { font-size: 1.9rem; line-height: 1; }
.tier-card h3 { font-size: 1.3rem; }
.tier-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  color: var(--purple-700);
}
.tier-count strong { font-size: 2rem; }
.tier-count span { font-size: 0.85rem; color: var(--ink-500); }
.tier-price { font-weight: 700; color: var(--ink-900); font-size: 1.05rem; }
.tier-price span { font-weight: 400; color: var(--ink-500); font-size: 0.82rem; }
.tier-best { font-size: 0.9rem; color: var(--ink-700); }
.tier-feature-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.tier-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-700);
}
.tier-feature svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--teal-600); }
.tier-card .btn { margin-top: auto; }

/* ---------- Comparison table ---------- */
.compare-scroll {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.compare-table caption { text-align: left; padding: var(--space-4) var(--space-4) 0; font-weight: 700; }
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--purple-900);
  background: var(--purple-50);
  border-bottom: 2px solid var(--purple-300);
}
.compare-table thead th:first-child { background: transparent; border-bottom-color: var(--line); }
.compare-table tbody th {
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
  background: var(--sand);
}
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table td .yes { color: var(--teal-700); font-weight: 700; }

/* ---------- A la carte add-ons ---------- */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
@media (max-width: 900px) { .addon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .addon-grid { grid-template-columns: 1fr; } }

.addon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.addon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.addon-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.addon-card:nth-child(4n+2) .addon-icon { background: var(--rose-50); color: var(--rose-700); }
.addon-card:nth-child(4n+3) .addon-icon { background: var(--purple-50); color: var(--purple-700); }
.addon-card:nth-child(4n+4) .addon-icon { background: var(--yellow-100); color: var(--yellow-600); }
.addon-card strong { display: block; font-size: 0.95rem; }
.addon-card span { font-size: 0.82rem; color: var(--ink-500); }

/* ---------- Inventory building blocks ---------- */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .inventory-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .inventory-grid { grid-template-columns: 1fr; } }

.inventory-category h4 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: var(--space-2);
}
.inventory-category ul { display: flex; flex-direction: column; gap: 0.5rem; }
.inventory-category li {
  font-size: 0.95rem;
  color: var(--ink-700);
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--line);
}

/* ---------- Concierge section ---------- */
.concierge {
  background: linear-gradient(135deg, var(--purple-900) 0%, #3A2264 55%, var(--purple-700) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.concierge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 90% 0%, rgba(23,184,174,0.25), transparent 60%),
              radial-gradient(50% 70% at 5% 100%, rgba(184,74,100,0.28), transparent 55%);
  pointer-events: none;
}
.concierge-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
@media (max-width: 860px) { .concierge-inner { grid-template-columns: 1fr; } }
.concierge h2 { color: var(--white); }
.concierge p { color: rgba(255,255,255,0.88); }
.concierge-questions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: var(--space-4); }
.concierge-question {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.92);
}
.concierge-question .q-mark {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--yellow-400);
  color: var(--purple-900);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.concierge .btn--primary { background: var(--yellow-400); color: var(--purple-900); }
.concierge .btn--primary:hover { background: var(--white); }

/* ---------- Occasion color palette swatches ---------- */
.palette-row { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.75rem; }
.palette-row .swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.palette-label { font-size: 0.78rem; color: var(--ink-500); margin-left: 0.35rem; }

/* ---------- Path chooser (contact page) ---------- */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 760px) { .path-grid { grid-template-columns: 1fr; } }
.path-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-300); }
.path-card .tier-icon { font-size: 2.2rem; }

/* ---------- Journey / flow steps (used on homepage how-it-works) ---------- */
.flow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-3);
}
.flow-strip .flow-step {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-700);
  background: var(--purple-50);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}
.flow-strip .flow-arrow { color: var(--ink-500); font-size: 0.9rem; }

/* Utility spacing */
.mt-1{margin-top:var(--space-1)} .mt-2{margin-top:var(--space-2)} .mt-3{margin-top:var(--space-3)}
.mt-4{margin-top:var(--space-4)} .mt-5{margin-top:var(--space-5)} .mt-6{margin-top:var(--space-6)}
.mb-2{margin-bottom:var(--space-2)} .mb-3{margin-bottom:var(--space-3)} .mb-4{margin-bottom:var(--space-4)}
.center-text{text-align:center}
