/* ==========================================================================
   ROSE FABLE — SHARED STYLESHEET
   Single source of truth for all 6 pages. Mobile-first.
   Dual-wing system: body.wing-studio / body.wing-sketchbook swap accents,
   card backgrounds, and border radii without duplicating component CSS.
   ========================================================================== */

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

/* ----- 2. TOKENS --------------------------------------------------------- */
:root {
  /* Garden at Dusk palette */
  --midnight-garden: #23261E;
  --deep-moss: #212616;
  --warm-charcoal: #3A3832;
  --antique-wine: #733E39;
  --aged-mauve: #A6847C;
  --dusty-rose: #BFAEA8;
  --faded-blush: #D4C4BC;
  --parchment: #F2EDE8;
  --soft-cream: #FAF7F4;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Quicksand', 'Segoe UI', sans-serif;
  --font-accent: 'Dancing Script', cursive;

  /* Spacing — 8px grid */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  /* Layout */
  --container-max: 1100px;
  --container-pad: 24px;

  /* Easings (preserved from old site) */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* Wing-aware tokens (default = no wing class on body) */
  --wing-accent: var(--dusty-rose);
  --card-bg: var(--parchment);
  --card-radius: 4px;
  --btn-radius: 0;
}

body.wing-studio {
  --wing-accent: var(--aged-mauve);
  --card-bg: var(--parchment);
  --card-radius: 4px;
  --btn-radius: 0;
}

body.wing-sketchbook {
  --wing-accent: var(--dusty-rose);
  --card-bg: var(--soft-cream);
  --card-radius: 8px;
  --btn-radius: 8px;
}

/* ----- 3. BASE ----------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--soft-cream);
  color: var(--warm-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--antique-wine);
  outline-offset: 3px;
}

.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;
}

/* ----- 4. SCROLL-REVEAL (ported from old site) --------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ----- 5. LAYOUT --------------------------------------------------------- */
.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 5rem var(--container-pad);
}

@media (min-width: 768px) {
  .section-inner { padding: 6rem 3rem; }
}
@media (min-width: 1024px) {
  .section-inner { padding: 7rem 2rem; }
}

.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ----- 6. NAVIGATION ----------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(35, 38, 30, 0.97);
  padding: 0.8rem 1.5rem;
  box-shadow: 0 2px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 101;
}
.nav-logo-img {
  display: inline-block;
  width: 36px;
  height: 44px;
  background-color: var(--dusty-rose);
  -webkit-mask: url('../Logo/rose-fable-logo-white.png') no-repeat center / contain;
  mask: url('../Logo/rose-fable-logo-white.png') no-repeat center / contain;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--dusty-rose);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dusty-rose);
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--wing-accent);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--faded-blush); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--wing-accent); }

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dusty-rose);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35, 38, 30, 0.98);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-overlay-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.nav-overlay-links a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  color: var(--dusty-rose);
  letter-spacing: 0.08em;
}
.nav-overlay-links a:hover { color: var(--antique-wine); }

@media (min-width: 768px) {
  .nav { padding: 1.5rem 3rem; }
  .nav.scrolled { padding: 0.9rem 3rem; }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}
@media (min-width: 1024px) {
  .nav { padding: 1.5rem 4rem; }
  .nav.scrolled { padding: 0.9rem 4rem; }
}

/* ----- 7. HERO (homepage + page-header variant) -------------------------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--midnight-garden);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(115, 62, 57, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(166, 132, 124, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 120%, rgba(33, 38, 22, 0.9) 0%, transparent 60%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 6.5rem);
  color: var(--dusty-rose);
  letter-spacing: 0.1em;
  line-height: 1.05;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-fade-in 1.4s var(--ease-out-expo) 0.4s forwards;
}
.hero-tagline {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--aged-mauve);
  letter-spacing: 0.08em;
  margin-top: 0.6rem;
  opacity: 0;
  animation: hero-fade-in 1.4s var(--ease-out-expo) 0.7s forwards;
}
.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--antique-wine);
  margin: 2rem auto;
  opacity: 0;
  animation: hero-fade-in 1s var(--ease-out-expo) 0.9s forwards;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  color: var(--aged-mauve);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
  animation: hero-fade-in 1.2s var(--ease-out-expo) 1.1s forwards;
}
.hero-verse {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: var(--dusty-rose);
  margin: 2.5rem auto 0;
  opacity: 0;
  max-width: 420px;
  line-height: 1.7;
  animation: hero-fade-in 1.2s var(--ease-out-expo) 1.4s forwards;
}
.hero-verse cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.65em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.8em;
  color: var(--aged-mauve);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--midnight-garden);
  background: var(--dusty-rose);
  padding: 1rem 2.4rem;
  min-height: 48px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: hero-fade-in 1.2s var(--ease-out-expo) 1.7s forwards;
  border-radius: var(--btn-radius);
}
.hero-cta:hover {
  background: var(--faded-blush);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(115, 62, 57, 0.25);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: hero-fade-in 1s var(--ease-out-expo) 2.2s forwards;
}
.hero-scroll span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--aged-mauve);
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--antique-wine), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* Compact hero variant for sub-pages */
.page-header {
  background: var(--midnight-garden);
  position: relative;
  overflow: hidden;
  padding: 9rem 1.5rem 4rem;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(115, 62, 57, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(166, 132, 124, 0.1) 0%, transparent 50%);
  z-index: 1;
}
.page-header > * { position: relative; z-index: 2; }
.page-header__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--wing-accent);
  margin-bottom: 0.8rem;
}
.page-header__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  color: var(--dusty-rose);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.page-header__sub {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--aged-mauve);
  margin-top: 0.8rem;
}

/* ----- 8. PETALS (hero only — preserved from old site) ------------------- */
.petals-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.petal {
  position: absolute;
  width: 12px;
  height: 16px;
  background: var(--aged-mauve);
  border-radius: 50% 50% 50% 0;
  opacity: 0;
  animation: petal-fall linear infinite;
}
@keyframes petal-fall {
  0%   { opacity: 0; transform: translateY(-30px) rotate(0deg) translateX(0); }
  8%   { opacity: 0.35; }
  50%  { transform: translateY(50vh) rotate(360deg) translateX(30px); }
  85%  { opacity: 0.15; }
  100% { opacity: 0; transform: translateY(105vh) rotate(720deg) translateX(-20px); }
}
.petal:nth-child(1)  { left: 8%;  animation-duration: 14s; animation-delay: 0s;   width: 10px; height: 14px; background: var(--dusty-rose); }
.petal:nth-child(2)  { left: 22%; animation-duration: 18s; animation-delay: 2.5s; width: 8px;  height: 11px; }
.petal:nth-child(3)  { left: 38%; animation-duration: 12s; animation-delay: 5s;   width: 14px; height: 18px; background: var(--antique-wine); opacity: 0.6; }
.petal:nth-child(4)  { left: 52%; animation-duration: 16s; animation-delay: 1s; }
.petal:nth-child(5)  { left: 68%; animation-duration: 15s; animation-delay: 3.5s; width: 9px;  height: 13px; background: var(--dusty-rose); }
.petal:nth-child(6)  { left: 82%; animation-duration: 19s; animation-delay: 6s;   width: 7px;  height: 10px; }
.petal:nth-child(7)  { left: 30%; animation-duration: 13s; animation-delay: 7.5s; background: var(--faded-blush); width: 11px; height: 15px; }
.petal:nth-child(8)  { left: 72%; animation-duration: 20s; animation-delay: 4s;   width: 13px; height: 17px; background: var(--antique-wine); }
.petal:nth-child(9)  { left: 15%; animation-duration: 17s; animation-delay: 8s;   width: 6px;  height: 9px;  background: var(--faded-blush); }
.petal:nth-child(10) { left: 88%; animation-duration: 14s; animation-delay: 2s;   width: 10px; height: 12px; background: var(--dusty-rose); }

/* ----- 9. SECTION PRIMITIVES --------------------------------------------- */
.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--antique-wine);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--midnight-garden);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.section-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--warm-charcoal);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 3rem;
}
.section-sub {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--aged-mauve);
  margin-top: 0.5rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 0;
}
.ornament::before, .ornament::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--faded-blush);
}
.ornament span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--aged-mauve);
  opacity: 0.5;
}

/* ----- 10. CARDS --------------------------------------------------------- */
.card {
  background: var(--card-bg);
  color: var(--warm-charcoal);
  border-radius: var(--card-radius);
  padding: var(--space-3);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  border: 1px solid transparent;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(35, 38, 30, 0.12);
  border-color: rgba(115, 62, 57, 0.25);
}
.card__media {
  margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-2);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--midnight-garden);
  margin: 0 0 var(--space-1);
  line-height: 1.25;
}
.card__desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--warm-charcoal);
  line-height: 1.7;
}
.card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--wing-accent);
  color: var(--midnight-garden);
  margin-top: var(--space-2);
}

/* ----- WING TOGGLE (portfolio filter) ----------------------------------- */
.wing-toggle {
  display: inline-flex;
  margin: 1.5rem auto 2.5rem;
  padding: 4px;
  background: var(--soft-cream);
  border: 1px solid var(--faded-blush);
  border-radius: 999px;
  gap: 2px;
}
.wing-toggle__btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  min-height: 40px;
  color: var(--warm-charcoal);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.wing-toggle__btn:hover { color: var(--antique-wine); }
.wing-toggle__btn.is-active {
  background: var(--antique-wine);
  color: var(--parchment);
}
.card[data-wing][hidden] { display: none; }

/* ----- PROCESS SPREAD (detail page) ------------------------------------- */
.spread {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-12) var(--container-pad);
}
.spread__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--parchment);
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: var(--space-6);
}
.spread__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spread__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: var(--space-4) 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--faded-blush);
  border-bottom: 1px solid var(--faded-blush);
}
.spread__meta dt {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aged-mauve);
  margin-bottom: 0.3rem;
}
.spread__meta dd {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--midnight-garden);
  margin: 0;
}
.spread__body {
  max-width: 720px;
  margin: 0 auto;
}
.spread__body p { margin-bottom: 1.2rem; font-size: 1.05rem; line-height: 1.75; }
.spread__body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--midnight-garden);
  margin: var(--space-6) 0 var(--space-3);
}
.spread__gallery {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  margin: var(--space-6) 0;
}
@media (min-width: 768px) {
  .spread__gallery { grid-template-columns: repeat(3, 1fr); }
}
.spread__gallery figure {
  margin: 0;
  background: var(--parchment);
  border-radius: 8px;
  overflow: hidden;
}
.spread__gallery img { width: 100%; height: auto; display: block; }
.spread__gallery figcaption {
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--warm-charcoal);
  background: var(--soft-cream);
}
.card--featured { border-color: var(--antique-wine); }
.card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--antique-wine);
  color: var(--parchment);
  padding: 4px 14px;
  border-radius: 999px;
}

/* ----- 11. BUTTONS ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  min-height: 48px;
}
.btn--primary {
  background: var(--antique-wine);
  color: var(--parchment);
}
.btn--primary:hover {
  background: var(--midnight-garden);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(115, 62, 57, 0.3);
  color: var(--parchment);
}
.btn--ghost {
  background: transparent;
  color: var(--antique-wine);
  border-color: var(--antique-wine);
}
.btn--ghost:hover {
  background: var(--antique-wine);
  color: var(--parchment);
}
.btn--light {
  background: var(--dusty-rose);
  color: var(--midnight-garden);
}
.btn--light:hover {
  background: var(--faded-blush);
  color: var(--midnight-garden);
}

/* ----- 12. FOOTER -------------------------------------------------------- */
.footer {
  background: var(--midnight-garden);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(115, 62, 57, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(166, 132, 124, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  position: relative;
  text-align: center;
}
.footer-verse {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--dusty-rose);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  opacity: 0.85;
}
.footer-verse cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.55em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1em;
  color: var(--aged-mauve);
}
.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--antique-wine);
  margin: 3rem auto;
  opacity: 0.4;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 2.5rem;
}
.footer-nav a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aged-mauve);
}
.footer-nav a:hover { color: var(--dusty-rose); }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.footer-social a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dusty-rose);
}
.footer-social a:hover { color: var(--faded-blush); }
.footer-logo-icon {
  display: block;
  width: 60px;
  height: 73px;
  margin: 0 auto 1rem;
  background-color: var(--dusty-rose);
  -webkit-mask: url('../Logo/rose-fable-logo-white.png') no-repeat center / contain;
  mask: url('../Logo/rose-fable-logo-white.png') no-repeat center / contain;
  opacity: 0.2;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--dusty-rose);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.15;
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.68rem;
  color: var(--aged-mauve);
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* ----- 13. BACK-TO-TOP --------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--antique-wine);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  border-radius: 2px;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--midnight-garden); }
.back-to-top svg { width: 18px; height: 18px; stroke: var(--dusty-rose); stroke-width: 1.5; fill: none; }

/* ----- 14. FORM (Web3Forms — used on Contact page) ----------------------- */
.contact-form {
  background: var(--soft-cream);
  padding: 2rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--faded-blush);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-charcoal);
  margin-bottom: 0.6rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--warm-charcoal);
  background: var(--parchment);
  border: 1px solid var(--faded-blush);
  padding: 0.85rem 1rem;
  min-height: 48px;
  border-radius: 2px;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><polyline points='1 1 6 6 11 1' fill='none' stroke='%23733E39' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--antique-wine);
  box-shadow: 0 0 0 3px rgba(115, 62, 57, 0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment);
  background: var(--antique-wine);
  padding: 1rem 2.5rem;
  border-radius: var(--btn-radius);
  transition: background 0.3s ease, transform 0.3s ease;
  width: 100%;
  min-height: 52px;
}
.form-submit:hover { background: var(--midnight-garden); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-note {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--aged-mauve);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}
.form-status {
  display: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  border-radius: 2px;
}
.form-status.success {
  display: block;
  color: #2d5016;
  background: rgba(45, 80, 22, 0.06);
  border: 1px solid rgba(45, 80, 22, 0.15);
}
.form-status.error {
  display: block;
  color: var(--antique-wine);
  background: rgba(115, 62, 57, 0.06);
  border: 1px solid rgba(115, 62, 57, 0.15);
}

/* ----- 15. CONTACT BLOCKS ------------------------------------------------ */
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--warm-charcoal);
}
.contact-detail svg {
  width: 18px;
  height: 18px;
  stroke: var(--antique-wine);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}
.availability-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--dusty-rose);
  color: var(--midnight-garden);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  margin-top: 1rem;
}

/* ----- 16. FAQ ACCORDION (native <details>) ------------------------------ */
details.faq {
  border-bottom: 1px solid var(--faded-blush);
  padding: 1.25rem 0;
}
details.faq summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--midnight-garden);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--antique-wine);
  transition: transform 0.3s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p {
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--warm-charcoal);
  line-height: 1.75;
  padding-right: 1rem;
}

/* ----- 17. RESPONSIVE & REDUCED MOTION ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .petal { display: none; }
}
