/* ==========================================================================
   The Shiny Thing Society — cottagecore stylesheet
   Palette: soft lavender, dusty purple, cream, blush pink, subtle gold
   ========================================================================== */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1rem + 5vw, 5rem);

  /* Spacing (4px system) */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  /* Surfaces */
  --color-bg: #faf5ec;              /* warm cream */
  --color-surface: #fffdf6;        /* letter paper */
  --color-surface-2: #f6efe2;      /* aged paper */
  --color-lavender: #ede6f7;       /* soft lavender wash */
  --color-lavender-deep: #e2d6f4;  /* deeper lavender */
  --color-blush: #f9e9e6;          /* blush pink wash */
  --color-blush-deep: #f3dbd7;

  /* Text */
  --color-text: #46355f;           /* dark plum */
  --color-text-muted: #6f5d8c;     /* muted purple-gray */
  --color-text-faint: #6b598c;

  /* Accents */
  --color-primary: #7b5fa7;        /* dusty purple */
  --color-primary-hover: #664d8e;
  --color-primary-deep: #55417a;
  --color-gold: #8a5f0a;             /* readable gold for text/icons (AA on cream) */
  --color-gold-soft: #dcb965;      /* decorative gold (AA on footer bg) */
  --color-gold-pale: #f1e3bd;

  /* Semantic */
  --color-border: rgba(123, 95, 167, 0.22);
  --color-border-gold: rgba(185, 135, 31, 0.4);

  /* Fonts */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Nunito', 'Trebuchet MS', sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(85, 65, 122, 0.08);
  --shadow-md: 0 4px 14px rgba(85, 65, 122, 0.1);
  --shadow-lg: 0 14px 38px rgba(85, 65, 122, 0.16);

  /* Transitions */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Widths */
  --content-narrow: 660px;
  --content-default: 1020px;
  --content-wide: 1200px;
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--space-16) + var(--space-8));
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% -5%, rgba(222, 203, 246, 0.35), transparent),
    radial-gradient(ellipse 70% 45% at 95% 8%, rgba(249, 233, 230, 0.5), transparent);
  position: relative;
  overflow-x: hidden;
}

/* paper grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.36 0 0 0 0 0.3 0 0 0 0 0.42 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--color-primary-deep);
}

p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection { background: rgba(123, 95, 167, 0.25); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

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

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

.skip-link {
  position: absolute;
  top: -100px; left: var(--space-4);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  z-index: 200;
  font-weight: 700;
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus { top: var(--space-3); }

/* ---------------------------------------------------------------- layout */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-10));
}
.container--narrow { max-width: var(--content-narrow); }
.container--wide { max-width: var(--content-wide); }

.section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
  position: relative;
}

.section--lavender {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 253, 246, 0.6), transparent),
    var(--color-lavender);
}
.section--blush {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 253, 246, 0.5), transparent),
    var(--color-blush);
}

/* scalloped divider */
.scallop {
  height: 26px;
  background-image: radial-gradient(circle at 13px -8px, transparent 16px, var(--color-lavender) 17px);
  background-size: 26px 26px;
  background-repeat: repeat-x;
}
.scallop--to-cream { background-image: radial-gradient(circle at 13px -8px, transparent 16px, var(--color-bg) 17px); }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(123, 95, 167, 0.12);
}
.header .container { max-width: var(--content-wide); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  min-height: 68px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-primary-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.wordmark .sparkle { flex: none; }
.wordmark small {
  display: block;
  font-family: var(--font-hand);
  font-size: 0.75em;
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

.nav { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; }
.nav__link {
  display: inline-block;
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav__link:hover { color: var(--color-primary-deep); background: rgba(123, 95, 167, 0.1); }
.nav__link[aria-current='page'] {
  color: #fff;
  background: var(--color-primary);
}
.nav__cta {
  margin-left: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-primary-deep);
  font-weight: 700;
  font-size: var(--text-sm);
}
.nav-toggle:active { transform: scale(0.96); }

.mobile-nav {
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav[data-open='true'] { max-height: 560px; }
.mobile-nav__inner { padding: var(--space-2) 0 var(--space-5); }
.mobile-nav__link {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: var(--text-base);
}
.mobile-nav__link:hover { background: rgba(123, 95, 167, 0.08); }
.mobile-nav__link[aria-current='page'] { color: var(--color-primary); background: var(--color-lavender); }
.mobile-nav__cta {
  margin: var(--space-3) var(--space-4) 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  min-height: 48px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    background var(--transition-interactive),
    color var(--transition-interactive),
    border-color var(--transition-interactive);
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, #e6c26a, #d3a63e);
  color: #4a3608;
  box-shadow: var(--shadow-md);
}
.btn--gold:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn--outline {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary-deep);
}
.btn--outline:hover {
  background: var(--color-lavender);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  color: var(--color-primary-deep);
  padding-inline: var(--space-3);
}
.btn--ghost:hover { background: rgba(123, 95, 167, 0.08); }

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

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(var(--space-10), 6vw, var(--space-20)) 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  padding-bottom: clamp(var(--space-10), 6vw, var(--space-20));
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-hand);
  font-size: var(--text-lg);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.hero__title {
  font-size: var(--text-hero);
  margin-bottom: var(--space-5);
}
.hero__title em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 480;
}
.hero__motto {
  font-family: var(--font-hand);
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  transform: rotate(-1deg);
  display: inline-block;
}
.hero__text {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 34ch;
  margin-bottom: var(--space-8);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.hero__note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  max-width: 42ch;
}

.hero__figure {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}
.hero__figure .frame {
  position: relative;
  background: var(--color-surface);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  border: 1px solid rgba(185, 135, 31, 0.25);
}
.hero__figure img {
  border-radius: var(--radius-md);
  aspect-ratio: 2/3;
  object-fit: cover;
}
/* washi tape strips */
.tape {
  position: absolute;
  width: 96px;
  height: 28px;
  background: rgba(217, 180, 91, 0.4);
  transform: rotate(-6deg);
  border-left: 1px dashed rgba(255, 255, 255, 0.5);
  border-right: 1px dashed rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(1px);
  z-index: 2;
}
.tape--tl { top: -12px; left: -18px; transform: rotate(-42deg); }
.tape--tr { top: -12px; right: -18px; transform: rotate(38deg); }
@media (max-width: 520px) {
  .tape { width: 72px; height: 24px; }
  .tape--tl { left: -6px; }
  .tape--tr { right: -6px; }
  .hero__stamp { right: 2px; width: 78px; }
}
.tape--lav { background: rgba(198, 172, 239, 0.45); }
.tape--blush { background: rgba(243, 203, 200, 0.5); }

.hero__stamp {
  position: absolute;
  bottom: calc(var(--space-8) * -1);
  right: calc(var(--space-4) * -1);
  z-index: 3;
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--color-surface);
  border: 1px dashed var(--color-border-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
}
.hero__stamp .stamp-inner {
  border: 1px solid var(--color-border-gold);
  border-radius: 4px;
  padding: var(--space-2) var(--space-1);
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero__stamp svg { margin-inline: auto; margin-bottom: 2px; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero__figure { max-width: 460px; }
}

/* floating stars */
.float-star {
  position: absolute;
  color: var(--color-gold-soft);
  z-index: 3;
  pointer-events: none;
  animation: drift 7s ease-in-out infinite;
}
.float-star--a { top: 6%; right: 88%; animation-delay: 0s; }
.float-star--b { bottom: 10%; right: 95%; animation-delay: 2s; }
.float-star--c { top: -4%; right: 30%; animation-delay: 4s; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.85; }
  50% { transform: translateY(-12px) rotate(18deg); opacity: 1; }
}

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--color-surface);
  border: 1px solid rgba(123, 95, 167, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-5), 3vw, var(--space-8));
  box-shadow: var(--shadow-sm);
  position: relative;
}
.card--tilt-l { transform: rotate(-1.2deg); }
.card--tilt-r { transform: rotate(1.2deg); }
.card--lavender { background: var(--color-lavender); border-color: rgba(123, 95, 167, 0.18); }
.card--blush { background: var(--color-blush); border-color: rgba(123, 95, 167, 0.18); }
.card--letter {
  background:
    repeating-linear-gradient(var(--color-surface), var(--color-surface) 30px, #fdf8ea 31px, var(--color-surface) 32px);
  border: 1px solid rgba(185, 135, 31, 0.28);
  border-radius: var(--radius-md);
}

/* ---------------------------------------------------------------- sections & type */
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-hand);
  font-size: var(--text-lg);
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.section__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}
.section__lead {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 58ch;
}
.section__head { margin-bottom: clamp(var(--space-8), 5vw, var(--space-12)); }
.section__head--center { text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }

.grid {
  display: grid;
  gap: clamp(var(--space-5), 3vw, var(--space-8));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev > .split__media { order: 2; }
}
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-surface);
  width: 100%;
  object-fit: cover;
}
.split__media--frame {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}

/* feature icon card */
.feature-card { text-align: left; }
.feature-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-lavender-deep);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.feature-card__icon--gold { background: var(--color-gold-pale); color: var(--color-gold); }
.feature-card__icon--blush { background: var(--color-blush-deep); color: #b05f66; }
.feature-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.feature-card p { color: var(--color-text-muted); font-size: var(--text-base); }

/* steps */
.step {
  position: relative;
  text-align: center;
  padding-top: var(--space-2);
}
.step__num {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-4);
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  position: relative;
}
.step__num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  border: 1.5px dashed var(--color-gold-soft);
}
.step__title { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { color: var(--color-text-muted); font-size: var(--text-sm); margin-inline: auto; }

/* pull quote / handwritten note */
.note-hand {
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
  line-height: 1.35;
  color: var(--color-primary-deep);
  text-align: center;
  padding: var(--space-8) var(--space-6);
  position: relative;
  max-width: 30ch;
  margin-inline: auto;
}
.note-hand::before, .note-hand::after {
  content: '';
  position: absolute;
  font-size: 2rem;
  color: var(--color-gold-soft);
}

/* letter block */
.letter {
  position: relative;
  background: var(--color-surface);
  border: 1px solid rgba(185, 135, 31, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  box-shadow: var(--shadow-lg);
  max-width: 620px;
  margin-inline: auto;
}
.letter::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 110px;
  height: 30px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(217, 180, 91, 0.4);
  border-left: 1px dashed rgba(255, 255, 255, 0.5);
  border-right: 1px dashed rgba(255, 255, 255, 0.5);
}
.letter__hand {
  font-family: var(--font-hand);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.8rem);
  line-height: 1.5;
  color: var(--color-text);
}
.letter__hand p + p { margin-top: var(--space-4); }
.letter__sig {
  font-family: var(--font-hand);
  font-size: 1.6em;
  color: var(--color-primary);
  text-align: right;
  padding-right: 84px;
  margin-top: var(--space-6);
}
.wax-seal {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 35% 30%, #d98f7a, #b45a48 70%);
  box-shadow: var(--shadow-md), inset 0 0 0 5px rgba(255, 255, 255, 0.12);
  color: #fbe9e2;
}
.wax-seal svg { filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25)); }

/* ---------------------------------------------------------------- forms */
.form {
  display: grid;
  gap: var(--space-5);
}
.form__row {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: var(--space-2); }
.field label {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-primary-deep);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(123, 95, 167, 0.18);
}
.field__hint { font-size: var(--text-xs); color: var(--color-text-faint); }
.form__notice {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: var(--color-lavender);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}
.form__success {
  display: none;
  background: var(--color-blush);
  border: 1px solid rgba(176, 95, 102, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
}
.form__success[data-show='true'] { display: block; }

/* ---------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: var(--space-4); max-width: 780px; margin-inline: auto; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid rgba(123, 95, 167, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--color-primary-deep);
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex: none;
  color: var(--color-gold);
  transition: transform var(--transition-interactive);
}
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item__body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.faq-item__body a { color: var(--color-primary); font-weight: 700; }

/* ---------------------------------------------------------------- resources */
.resource-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
  padding: 0;
}
.resource-card__preview {
  padding: var(--space-6) var(--space-5);
  display: grid;
  place-items: center;
  min-height: 150px;
  border-bottom: 1px dashed var(--color-border);
}
.resource-card__preview--lav { background: var(--color-lavender); }
.resource-card__preview--blush { background: var(--color-blush); }
.resource-card__preview--gold { background: var(--color-gold-pale); }
.resource-card__body { padding: var(--space-5) var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.resource-card__title { font-size: var(--text-lg); }
.resource-card__desc { color: var(--color-text-muted); font-size: var(--text-sm); flex: 1; }
.resource-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* affirmation cards */
.affirmation {
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  border: 1px solid rgba(123, 95, 167, 0.18);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.affirmation__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  line-height: 1.35;
  color: var(--color-primary-deep);
}
.affirmation--lav { background: var(--color-lavender); }
.affirmation--blush { background: var(--color-blush); }
.affirmation--cream { background: var(--color-surface); }
.affirmation--gold { background: var(--color-gold-pale); }
.affirmation .mini-star { color: var(--color-gold); }

/* ---------------------------------------------------------------- tables of facts */
.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-primary-deep);
  box-shadow: var(--shadow-sm);
}
.badge svg { color: var(--color-gold); }

/* disclosure callout */
.callout {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 720px;
  margin-inline: auto;
}
.callout strong { color: var(--color-text); }

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--color-primary-deep);
  color: #e9e2f5;
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 12px -8px, transparent 16px, var(--color-primary-deep) 17px);
  background-size: 26px 26px;
  background-repeat: repeat-x;
  background-position: bottom;
  height: 26px;
  bottom: auto;
  top: -26px;
  transform: scaleX(1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
}
@media (min-width: 820px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer h3 {
  color: var(--color-gold-soft);
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.footer__motto {
  font-family: var(--font-hand);
  font-size: var(--text-xl);
  color: #f4edff;
  margin-top: var(--space-3);
}
.footer__desc { font-size: var(--text-sm); color: #cfc3e8; max-width: 36ch; margin-top: var(--space-4); }
.footer__links { list-style: none; display: grid; gap: var(--space-2); }
.footer__links a {
  color: #e9e2f5;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
}
.footer__links a:hover { color: var(--color-gold-soft); text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid rgba(233, 226, 245, 0.15);
  padding-block: var(--space-5);
  font-size: var(--text-xs);
  color: #cfc3e8;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
}
.footer__bottom a { color: var(--color-gold-soft); text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- utilities */
.center { text-align: center; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--text-sm); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-8); }

/* reveal on scroll (subtle) — only active when JS is available */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .reveal[data-revealed='true'] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* decorative sprig divider */
.sprig-divider {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  align-items: center;
  color: var(--color-gold-soft);
}
.sprig-divider::before, .sprig-divider::after {
  content: '';
  width: min(90px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-gold));
}
.sprig-divider::after { transform: scaleX(-1); }

/* print sheets */
.print-sheet {
  background: #fff;
  color: #46355f;
  max-width: 800px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-12));
}
