/* ═══════════════════════════════════════════
   Princess Everglade — Promotional Site
   ═══════════════════════════════════════════ */

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

:root {
  --gold: #D4A844;
  --gold-light: #E8C976;
  --sunset-orange: #A84F30;
  --teal: #3A6B6B;
  --teal-dark: #2A4F52;
  --blush: #E8B5A0;
  --cream: #FDF6EC;
  --cream-dark: #F5E6D0;
  --night: #2C1E3F;
  --rose: #C45A5A;
  --sky: #7AAFC4;
  --forest: #5A7A4A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--cream);
  color: var(--teal-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ═══ Navigation ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0.8rem 2rem; display: flex;
  justify-content: space-between; align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(253,246,236,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44,30,63,0.08);
}
.logo-link { text-decoration: none; display: flex; align-items: center; }
.logo-img {
  height: 72px; width: auto;
  filter: drop-shadow(0 1px 6px rgba(255,255,255,0.6));
  transition: filter 0.4s;
}
nav.scrolled .logo-img {
  filter: drop-shadow(0 0 0 transparent);
}
nav .nav-links { display: flex; gap: 1.5rem; align-items: center; }
nav .nav-links a {
  text-decoration: none; color: var(--teal-dark);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
  position: relative;
}
nav.scrolled .nav-links a { color: var(--teal-dark); text-shadow: none; }
nav .nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s;
}
nav .nav-links a:hover { color: var(--gold-light); }
nav .nav-links a:hover::after { width: 100%; }
nav .nav-links a.btn-buy { color: var(--night); }
nav .nav-links a.btn-buy:hover { color: white; }

/* ═══ Buttons ═══ */
.btn-buy {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem; background: var(--gold); color: var(--night);
  text-decoration: none; border-radius: 100px;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(212,168,68,0.3);
  font-family: 'Quicksand', sans-serif;
}
.btn-buy:hover {
  background: var(--sunset-orange); color: white; transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,118,78,0.4);
}
.btn-buy-lg { padding: 0.8rem 2rem; font-size: 0.9rem; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--teal-dark);
  color: white; text-decoration: none; border-radius: 100px;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 2px solid var(--teal-dark);
  cursor: pointer; transition: all 0.3s;
  font-family: 'Quicksand', sans-serif;
  box-shadow: 0 4px 16px rgba(42,79,82,0.2);
}
.btn-outline:hover {
  background: var(--teal); border-color: var(--teal); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(42,79,82,0.3);
}

/* ═══ Hero ═══ */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 115%; height: 125%; object-fit: cover; object-position: center 30%;
  position: absolute; top: -12%; left: -7%; will-change: transform;
}
.hero-bloom {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 55% 65% at 50% 55%,
    rgba(232,201,118,0.3) 0%, rgba(212,118,78,0.12) 30%, transparent 65%);
  animation: bloomPulse 8s ease-in-out infinite alternate;
}
@keyframes bloomPulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.1); }
}
.hero-top-fade {
  position: absolute; top: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  z-index: 2; pointer-events: none;
}
.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(0deg, var(--cream) 0%, rgba(253,246,236,0.7) 40%, transparent 100%);
  z-index: 5; pointer-events: none;
}
.hero-fg-trees {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  will-change: transform; pointer-events: none;
}
.hero-fg-trees img {
  width: 115%; margin-left: -7%; display: block;
  mask-image: linear-gradient(to top, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 50%, transparent 100%);
  opacity: 0.35; filter: brightness(0.25) saturate(0.6);
}

/* Hero Particles */
.hero-particles {
  position: absolute; inset: 0; z-index: 6;
  pointer-events: none; overflow: hidden;
}
.h-particle {
  position: absolute; border-radius: 50%; opacity: 0;
  animation: heroFloat linear infinite;
}
@keyframes heroFloat {
  0% { opacity: 0; transform: translateY(100vh) translateX(0) scale(0.3); }
  12% { opacity: 0.9; }
  88% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10vh) translateX(30px) scale(1); }
}
.h-particle.firefly {
  width: 4px; height: 4px; background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-light), 0 0 20px rgba(232,201,118,0.5);
}
.h-particle.dust {
  width: 2px; height: 2px; background: rgba(255,255,255,0.8);
  box-shadow: 0 0 4px rgba(255,255,255,0.5);
}
.h-particle.petal {
  width: 7px; height: 10px; border-radius: 50% 50% 50% 0;
}

/* Hero Content */
.hero-content {
  position: relative; z-index: 7; text-align: center;
  padding: 0 2rem; max-width: 700px; margin-top: -6vh;
}

/* Hero necklace */
.hero-necklace {
  margin-top: 40px;
  animation: heroFadeIn 1.2s ease-out 1.3s both;
  filter: drop-shadow(0 4px 16px rgba(212,168,68,0.3));
}
.hero-necklace img {
  max-width: 140px; height: auto;
  animation: necklaceFloat 8s ease-in-out infinite;
}
@keyframes necklaceFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
.hero-logo {
  animation: heroFadeIn 1.2s ease-out 0.3s both;
}
.hero-logo img {
  max-width: min(85vw, 480px); height: auto;
  filter: drop-shadow(0 2px 12px rgba(255,255,255,0.7)) drop-shadow(0 0 30px rgba(255,255,255,0.4));
}
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--teal-dark); font-style: italic; font-weight: 600;
  margin: 1.2rem 0 2rem;
  text-shadow: 0 0 12px rgba(255,255,255,0.6), 0 0 24px rgba(255,255,255,0.3);
  animation: heroFadeIn 1.2s ease-out 0.7s both;
}
.hero-cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: heroFadeIn 1.2s ease-out 1s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ Carousel ═══ */
.carousel {
  overflow: hidden; position: relative; z-index: 1;
  border-top: 1px solid rgba(212,168,68,0.15);
  border-bottom: 1px solid rgba(212,168,68,0.15);
  background: var(--cream-dark);
}
.carousel-track {
  display: flex; animation: carouselScroll 35s linear infinite;
  width: max-content;
}
.carousel-track img {
  height: 220px; width: auto; flex-shrink: 0;
  border-radius: 6px;
  margin: 16px 10px;
  box-shadow: 0 4px 16px rgba(44,30,63,0.1);
  transition: transform 0.3s;
}
.carousel-track img:hover { transform: scale(1.03); }
@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ Shared Section ═══ */
section { position: relative; z-index: 1; }
.section-inner { max-width: 900px; margin: 0 auto; padding: 5rem 2rem; }
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--teal-dark); text-align: center; margin-bottom: 0.5rem;
  line-height: 1.15;
}
.section-ornament {
  display: flex; justify-content: center; align-items: center;
  gap: 1rem; margin-bottom: 2.5rem;
}
.section-ornament-left { justify-content: flex-start; }
.section-ornament .line { width: 60px; height: 1px; background: var(--gold); }
.section-ornament .diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ═══ Gazette Section ═══ */
.gazette-section {
  background: var(--cream);
  padding-bottom: 0;
}
.gazette-label {
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.3rem;
}
.gazette-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--teal-dark);
  font-style: italic;
  margin-bottom: 2.5rem;
}
.gazette-clippings {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.gazette-clip {
  flex: 0 1 420px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(44,30,63,0.1), 0 2px 6px rgba(44,30,63,0.06);
  transition: transform 0.4s, box-shadow 0.4s;
}
.gazette-clip:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 36px rgba(44,30,63,0.14);
}
.gazette-clip-1 { transform: rotate(-1.5deg); }
.gazette-clip-2 { transform: rotate(1.2deg); }
.gazette-clip-1:hover { transform: rotate(-0.5deg) translateY(-4px) scale(1.01); }
.gazette-clip-2:hover { transform: rotate(0.4deg) translateY(-4px) scale(1.01); }
.gazette-clip img {
  width: 100%; height: auto; display: block;
}

/* ═══ Gazette Section ═══ */
.gazette-section { background: var(--cream-dark); }
.gazette-label {
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.3rem;
}
.gazette-section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700; color: var(--teal-dark);
  font-style: italic; margin-bottom: 2.5rem;
}
.gazette-cards {
  display: flex; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  align-items: stretch;
}

/* Collapsed card */
.gazette-card {
  flex: 0 1 380px; cursor: pointer;
  transition: transform 0.4s;
}
.gazette-card:nth-child(1) { transform: rotate(-1.5deg); }
.gazette-card:nth-child(2) { transform: rotate(1.2deg); }
.gazette-card:nth-child(1):hover { transform: rotate(-0.5deg) translateY(-6px) scale(1.02); }
.gazette-card:nth-child(2):hover { transform: rotate(0.4deg) translateY(-6px) scale(1.02); }

.gazette-paper {
  background: #f5efe4;
  border: 1px solid #d9cfbd;
  border-radius: 3px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 4px 16px rgba(44,30,63,0.06);
  font-family: 'Cormorant Garamond', serif;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.gazette-header {
  display: flex; justify-content: space-between;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; font-weight: 600;
  color: #5a4e3c;
  margin-bottom: 0.4rem;
}
.gazette-masthead {
  display: block;
  width: 100%; max-width: 340px;
  margin: 0 auto 1rem;
  opacity: 0.85;
}
.gazette-headlines {
  flex: 1;
}
.gazette-headlines h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 700;
  color: #2a2017; line-height: 1.25;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(90,78,60,0.12);
  padding-bottom: 0.5rem;
}
.gazette-headlines h3:last-child { border-bottom: none; }
.gazette-tap {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-weight: 700;
  font-style: italic;
  color: #7a6828; margin-top: 0.8rem;
}

/* Gazette Modal */
.gazette-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(44,30,63,0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; transition: opacity 0.4s;
}
.gazette-modal-overlay.open { display: flex; opacity: 1; }
.gazette-modal {
  position: relative;
  max-width: 85vw; width: 100%;
  transform: scale(0.85); transition: transform 0.4s;
}
.gazette-modal-overlay.open .gazette-modal { transform: scale(1); }
.gazette-modal-close {
  position: sticky; top: 0; float: right;
  background: rgba(90,78,60,0.85); border: none;
  color: #f5efe4; font-size: 1.4rem;
  width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.gazette-modal-close:hover { background: rgba(90,78,60,1); }

/* Full gazette image */
.gazette-full-img {
  width: 100%; max-height: 85vh; object-fit: contain; display: block;
  border-radius: 3px;
}

/* Responsive gazette modals */

/* ═══ Story Section + Sprites ═══ */
.story-section {
  background: var(--cream);
  position: relative; overflow: hidden;
}
.story-text {
  font-size: 1.05rem; color: var(--teal-dark); text-align: center;
  max-width: 640px; margin: 0 auto 2rem; line-height: 1.85;
}
.story-verse {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-style: italic; text-align: center;
  color: var(--sunset-orange); padding: 1.5rem 2rem;
  border-left: 3px solid var(--gold-light); border-right: 3px solid var(--gold-light);
  max-width: 500px; margin: 2.5rem auto; line-height: 1.8;
}

/* Scroll-linked sprites */
.story-sprite {
  position: absolute; z-index: 0;
  pointer-events: none; will-change: transform;
  transition: transform 0.1s linear;
}
.story-sprite img {
  display: block; max-width: 100%; height: auto;
}
.story-sprite-princess {
  right: -3%; bottom: 5%;
  width: clamp(140px, 20vw, 280px);
  opacity: 0.3;
}
.story-sprite-dragon {
  left: -5%; top: 20%;
  width: clamp(220px, 28vw, 420px);
  opacity: 0.25;
}

/* ═══ Characters ═══ */
.characters-section {
  background: var(--cream);
}
.characters-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 2rem;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.character-card {
  text-align: center; padding: 2rem 1.5rem; border-radius: 16px;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(212,168,68,0.15);
  transition: transform 0.4s, box-shadow 0.4s;
}
.character-card:hover {
  transform: translateY(-6px); box-shadow: 0 12px 32px rgba(44,30,63,0.1);
}
.character-icon {
  width: 100px; height: 100px; border-radius: 50%;
  margin: 0 auto 1rem; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  background: rgba(212,168,68,0.08);
}
.character-icon img {
  width: 90%; height: 90%; object-fit: contain;
}
.character-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--teal-dark); margin-bottom: 0.5rem;
}
.character-card p { font-size: 0.9rem; color: var(--teal); line-height: 1.6; }

/* ═══ Author ═══ */
.author-section {
  background: var(--teal-dark); color: var(--cream); position: relative; overflow: hidden;
}
.author-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 80% 20%, rgba(212,168,68,0.1), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(196,90,90,0.08), transparent 60%);
}
.author-section .section-title { color: var(--gold-light); }
.author-section .section-ornament .line,
.author-section .section-ornament .diamond { background: var(--gold-light); }
.author-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 640px; margin: 0 auto;
}
.author-content p { font-size: 1.05rem; line-height: 1.85; color: var(--cream-dark); margin-bottom: 1.5rem; }
.author-content .author-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--gold-light);
}

/* ═══ Purchase — 3D Book ═══ */
.purchase-section {
  background: var(--cream);
}
.purchase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.purchase-info { text-align: left; }
.purchase-info .section-title { text-align: left; }
.purchase-info p {
  font-size: 1.05rem; color: var(--teal); line-height: 1.85;
  margin-bottom: 2rem;
}
.purchase-info .isbn {
  display: block; margin-top: 1rem;
  font-size: 0.8rem; color: var(--teal); letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 3D Book */
.book-3d-wrapper {
  display: flex; justify-content: center; align-items: center;
  perspective: 1200px;
  padding: 2rem 0;
}
.book-3d {
  position: relative;
  width: 280px; height: 340px;
  transform-style: preserve-3d;
  transform: rotateY(-25deg);
  transition: transform 0.6s ease;
}
.book-3d:hover {
  transform: rotateY(-10deg);
}
.book-3d-cover {
  position: absolute; inset: 0;
  transform-origin: left center;
  border-radius: 0 4px 4px 0;
  overflow: hidden;
  box-shadow: 6px 6px 18px rgba(44,30,63,0.2);
}
.book-3d-cover img {
  width: 100%; height: 100%; object-fit: cover;
}
.book-3d-spine {
  position: absolute;
  top: 0; left: 0;
  width: 30px; height: 100%;
  background: linear-gradient(90deg, #2A4F52, #3A6B6B);
  transform: rotateY(90deg) translateZ(0px) translateX(-15px);
  transform-origin: left center;
  border-radius: 4px 0 0 4px;
}
.book-3d-pages {
  position: absolute;
  top: 3px; right: -18px;
  width: 18px; height: calc(100% - 6px);
  background: linear-gradient(90deg,
    #f0ebe3 0%, #faf7f0 30%, #f0ebe3 50%,
    #faf7f0 70%, #ede8e0 100%
  );
  transform: rotateY(90deg);
  transform-origin: left center;
  border-radius: 0 2px 2px 0;
}

/* ═══ Footer ═══ */
footer {
  background: var(--night); color: var(--cream-dark); text-align: center; padding: 3rem 2rem;
}
footer .footer-inner { max-width: 600px; margin: 0 auto; }
footer .publisher {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--gold-light); margin-bottom: 0.5rem;
}
footer p { font-size: 0.8rem; opacity: 0.6; line-height: 1.6; }
footer .footer-links { margin-top: 1rem; display: flex; justify-content: center; gap: 1.5rem; }
footer .footer-links a {
  color: var(--gold-light); text-decoration: none; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; transition: opacity 0.3s;
}
footer .footer-links a:hover { opacity: 0.7; }

/* ═══ Modal ═══ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(44,30,63,0.5);
  backdrop-filter: blur(6px); z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 2rem; opacity: 0; transition: opacity 0.4s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: var(--cream); border-radius: 20px; padding: 2.5rem;
  max-width: 480px; width: 100%; position: relative;
  box-shadow: 0 24px 80px rgba(44,30,63,0.25);
  transform: translateY(20px); transition: transform 0.4s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.5rem; color: var(--teal);
  cursor: pointer; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.modal-close:hover { background: rgba(58,107,107,0.1); }
.modal h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--teal-dark); margin-bottom: 0.3rem;
}
.modal .modal-sub { font-size: 0.9rem; color: var(--teal); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 0.4rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid rgba(58,107,107,0.2); border-radius: 10px;
  font-family: 'Quicksand', sans-serif; font-size: 0.95rem;
  color: var(--teal-dark); background: rgba(255,255,255,0.7);
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,68,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.modal .btn-buy { width: 100%; justify-content: center; padding: 0.85rem; font-size: 0.9rem; }
.cf-turnstile { margin-bottom: 1.2rem; display: flex; justify-content: center; }
.form-status { text-align: center; padding: 1rem 0; font-weight: 600; }
.form-status.success { color: var(--forest); }
.form-status.error { color: var(--rose); }

/* ═══ Responsive ═══ */

/* Accessibility */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--teal-dark); color: white;
  padding: 0.75rem 1.5rem; border-radius: 0 0 8px 8px;
  z-index: 200; font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .carousel-track { animation: none !important; }
  .hero-bloom { animation: none !important; }
}

/* Touch targets */
@media (pointer: coarse) {
  .btn-buy, .btn-outline { min-height: 44px; min-width: 44px; }
  nav .nav-links a { padding: 8px 4px; }
  .modal-close { width: 44px; height: 44px; }
}

@media (max-width: 900px) {
  .purchase-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .purchase-info { text-align: center; }
  .purchase-info .section-title { text-align: center; }
  .section-ornament-left { justify-content: center; }
  .book-3d { width: 220px; height: 268px; }
}
@media (max-width: 768px) {
  nav { padding: 0.7rem 1.2rem; }
  nav .nav-links { gap: 0.8rem; }
  nav .nav-links a { font-size: 0.7rem; }
  nav .btn-buy.nav-buy { display: none; }
  .logo-img { height: 52px; }
  .hero-content { margin-top: -8vh; padding: 0 1.2rem; }
  .hero-logo { margin-top: 30px; }
  .hero-necklace img { max-width: 110px; }
  .section-inner { padding: 3.5rem 1.5rem; }
  .characters-grid { gap: 1rem; }
  .character-card { padding: 1.5rem 1rem; }
  .modal { padding: 2rem 1.5rem; }
  .carousel-track img { height: 160px; margin: 12px 8px; }
  .story-sprite-princess { opacity: 0.2; width: clamp(100px, 16vw, 180px); }
  .story-sprite-dragon { opacity: 0.15; width: clamp(140px, 20vw, 240px); }
  .gazette-card { flex: 0 1 320px; }
}
@media (max-width: 480px) {
  .characters-grid { grid-template-columns: 1fr; max-width: 320px; }
  nav .logo-img { height: 40px; }
  .story-sprite { display: none; }
  .book-3d { width: 180px; height: 220px; }
}
