/* -------------------------------------------------------
   Amanda Van Lynn — Cute Gothic Unicorn/Fairy Homepage
   ------------------------------------------------------- */

/* Base / Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  color: var(--text);
  line-height: 1.6;

  /* NEW: Clean gothic-cute gradient background (no images) */
  background: radial-gradient(
      900px 600px at 15% 10%,
      rgba(168, 196, 255, 0.24),
      transparent 60%
    ),
    radial-gradient(
      800px 520px at 80% 15%,
      rgba(255, 126, 219, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #0d0b18 0%, #120f26 40%, #0a0814 100%);

  overflow-x: hidden; /* keeps your grids from overlapping */
}

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

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

:root {
  --bg: #070a14;
  --panel: rgba(14, 16, 38, 0.722);
  --panel-2: rgba(10, 15, 31, 0.549);
  --border: rgba(168, 196, 255, 0.22);

  --text: rgba(255, 255, 255, 0.922);
  --muted: rgba(255, 255, 255, 0.741);
  --faint: rgba(255, 255, 255, 0.561);

  /* NEW: blues + pinks */
  --fairy: #a8c4ff; /* sky glow */
  --unicorn: #e6e8ff; /* soft lavender-white */
  --silver: #cfcfe6; /* silvery thread */
  --pink: #ff7edb; /* candy goth pink */
  --rose: #ffb3e6; /* soft rose highlight */
  --violet: #7b61ff; /* magical violet */
  --teal: #43d7ff; /* aqua shimmer */

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);

  --radius: 18px;
  --radius-sm: 14px;
  --wrap: 1120px;
  --img-radius: 14px;
  --img-border: rgba(168, 196, 255, 0.16);
  --bordersize-sm: 1px;
  --bordersize-md: 2px;
  --bordersize-lg: 3px;
  --bordersize-xl: 4px;
  --panel-max: 1100px; /* overall section width */
  --book-min: 200px; /* minimum card width before wrapping */
  --cover-h: 360px;
}

/* Helpers */
.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip:focus {
  left: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 31, 0.8),
    rgba(10, 15, 31, 0.45)
  );
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 0;
}

.brand__logo {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  margin: 0 auto;
  justify-content: center;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.nav__link {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease,
    background 160ms ease, color 160ms ease;
}
.nav__link:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(168, 196, 255, 0.28);
  background: rgba(168, 196, 255, 0.08);
}
.nav__link--cta {
  border-color: rgba(255, 126, 219, 0.3);
  background: rgba(255, 126, 219, 0.1);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero__bg {
  position: absolute;
  inset: 0;

  /* Waterfall/pond background + deep overlay + pink/blue glow */
  background: radial-gradient(
      900px 520px at 20% 20%,
      rgba(255, 126, 219, 0.2),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 80% 25%,
      rgba(168, 196, 255, 0.28),
      transparent 60%
    ),
    linear-gradient(to bottom, rgba(7, 10, 20, 0.2), rgba(7, 10, 20, 0.9)),
    url("images/fairy-pond.jpg");

  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;

  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.06);
}

.hero__inner {
  position: relative;
  padding: 72px 0 46px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  margin: 0 auto;
  place-items: center;
  text-align: center;
}

.kicker {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 10px;
}

.hero__title {
  margin: 0 0 10px;
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.hero__sub {
  margin: 0 0 22px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 18px;
}

.glow {
  color: var(--unicorn);
  text-shadow: 0 0 16px rgba(168, 196, 255, 0.45),
    0 0 40px rgba(168, 196, 255, 0.2);
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.badge {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 15, 31, 0.5);
  border: 1px solid rgba(168, 196, 255, 0.18);
}

/* Feature card */
.card {
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 31, 0.4),
    rgba(10, 15, 31, 0.8)
  );
  border: var(--bordersize-md) solid rgba(168, 196, 255, 0.18);
  box-shadow: var(--shadow);
  display: flexbox;
  height: auto;
}
.card img {
  width: 50%;
  overflow: hidden;
  border-radius: var(--radius);
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.18);
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-top: 5%;
}
.card__body {
  padding: 16px 16px 18px;
}
.card__eyebrow {
  margin: 0 0 6px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}
.card__title {
  margin: 0 0 8px;
  font-size: 22px;
}
.card__text {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.24);
  background: rgba(168, 196, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  letter-spacing: 0.04em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease,
    border-color 160ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(168, 196, 255, 0.4);
  background: rgba(168, 196, 255, 0.16);
}
.btn--primary {
  background: linear-gradient(
    135deg,
    rgba(168, 196, 255, 0.22),
    rgba(255, 126, 219, 0.16),
    rgba(207, 207, 230, 0.1)
  );
  border-color: rgba(168, 196, 255, 0.45);
  box-shadow: 0 0 26px rgba(168, 196, 255, 0.18);
}

.btn--primary:hover {
  border-color: rgba(255, 126, 219, 0.45);
  box-shadow: 0 0 34px rgba(168, 196, 255, 0.22),
    0 0 30px rgba(255, 126, 219, 0.16);
}
.btn--ghost {
  background: rgba(10, 15, 31, 0.38);
}
.btn--small {
  padding: 10px 14px;
  font-size: 14px;
}
.btn--full {
  width: 100%;
}
.btn--orange {
  background: linear-gradient(
    135deg,
    rgba(199, 106, 42, 0.28),
    rgba(168, 196, 255, 0.1)
  );
  border-color: rgba(199, 106, 42, 0.5);
}
.btn--orange:hover {
  border-color: rgba(255, 180, 120, 0.55);
}

/* Divider */
.hero__divider {
  position: relative;
  padding: 18px 0 24px;
}
.rune-divider {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  opacity: 0.95;
}
.rune-divider span {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 196, 255, 0.55),
    transparent
  );
  position: relative;
  overflow: hidden;
}
.rune-divider span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 50%,
    rgba(168, 196, 255, 0.95),
    transparent 45%
  );
  transform: translateX(-100%);
  animation: runeSweep 2.8s linear infinite;
}
.rune-divider span:nth-child(2)::after {
  animation-delay: 0.2s;
}
.rune-divider span:nth-child(3)::after {
  animation-delay: 0.4s;
}
.rune-divider span:nth-child(4)::after {
  animation-delay: 0.6s;
}
.rune-divider span:nth-child(5)::after {
  animation-delay: 0.8s;
}

@keyframes runeSweep {
  to {
    transform: translateX(100%);
  }
}

/* Sparkles (CSS particle illusion) */
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(168, 196, 255, 0.85);
  box-shadow: 0 0 14px rgba(168, 196, 255, 0.45),
    0 0 28px rgba(168, 196, 255, 0.2);
  opacity: 0;
  animation: floaty 6.8s ease-in-out infinite;
}

@keyframes floaty {
  0% {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  50% {
    transform: translateY(-26px) scale(1.2);
    opacity: 0.55;
  }
  85% {
    opacity: 0.75;
  }
  100% {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
  }
}

/* Position sparkles */
.s1 {
  left: 10%;
  top: 25%;
  animation-delay: 0s;
}
.s2 {
  left: 18%;
  top: 55%;
  animation-delay: 0.8s;
}
.s3 {
  left: 30%;
  top: 18%;
  animation-delay: 1.6s;
}
.s4 {
  left: 42%;
  top: 40%;
  animation-delay: 2.2s;
}
.s5 {
  left: 52%;
  top: 20%;
  animation-delay: 3.1s;
}
.s6 {
  left: 60%;
  top: 55%;
  animation-delay: 1.2s;
}
.s7 {
  left: 70%;
  top: 30%;
  animation-delay: 2.7s;
}
.s8 {
  left: 78%;
  top: 62%;
  animation-delay: 0.4s;
}
.s9 {
  left: 86%;
  top: 22%;
  animation-delay: 3.6s;
}
.s10 {
  left: 92%;
  top: 48%;
  animation-delay: 2s;
}
.s11 {
  left: 36%;
  top: 70%;
  animation-delay: 4s;
}
.s12 {
  left: 64%;
  top: 75%;
  animation-delay: 4.6s;
}

/* Section layout */
.section {
  padding: 70px 0;
}

.section--alt {
  background: radial-gradient(
      900px 520px at 15% 25%,
      rgba(255, 126, 219, 0.1),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 85% 35%,
      rgba(168, 196, 255, 0.14),
      transparent 60%
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(7, 10, 20, 0));
  border-top: var(--bordersize-sm) solid rgba(168, 196, 255, 0.16);
  border-bottom: var(--bordersize-sm) solid rgba(168, 196, 255, 0.16);
}

.section__header {
  margin-bottom: 18px;
}

.section__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
}

/* Series blocks */
.series {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius);
  border: var(--bordersize-md) solid rgba(168, 196, 255, 0.18);
  background: rgba(10, 15, 31, 0.45);
  box-shadow: var(--shadow-soft);
  justify-content: center;
  margin: 0 auto;
}

.series--reverse {
    display: grid;
  grid-template-columns: 50% 50%;
  margin: 0 auto;
  gap: 20px;
  justify-content: center;
}

.series--reverse .series__media {
  order: 2;
}

.series__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.16);
  object-fit: contain;
  display: flex;
  justify-items: center;
  margin: 0 auto;
  max-width: 50%;
}

.series__content {
  padding: 6px 6px 10px;
  margin: 0 auto;
    justify-content: center;
    
}

.series__title {
  margin: 0 0 10px;
  font-size: 26px;
  justify-content: center;
}

.series__desc {
  margin: 0 0 14px;
  color: var(--muted);
  justify-content: center;
}

.series__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
}
.list li {
  margin: 6px 0;
}

/* Panel wrapper */
.panel {
  margin-top: 26px;
  padding: 18px;
  border-radius: var(--radius);
  border: var(--bordersize-md) solid rgba(168, 196, 255, 0.18);
  background: rgba(10, 15, 31, 0.4);
  box-shadow: var(--shadow-soft);

  /* NEW: makes it "resizable" */
  width: min(var(--panel-max), 100%);
  margin-left: auto;
  margin-right: auto;
}

/* Heading */
.panel__head {
  margin-bottom: 16px;
}
.panel__title {
  margin: 0 0 6px;
  font-size: 26px;
}
.panel__sub {
  margin: 0;
  color: var(--muted);
}

/* Books grid */
.grid {
  display: grid;
  gap: 16px;
}

/* NEW: auto-fit makes it responsive + resizable */
.books {
  grid-template-columns: repeat(auto-fit, minmax(var(--book-min), 1fr));
  align-items: start;
}

/* Book cards */
.book {
  width: auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.14);
  background: rgba(10, 15, 31, 0.52);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 160ms ease, border-color 160ms ease;
  justify-content: center;
}

.book:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 196, 255, 0.32);
}

/* NEW: consistent cover sizing */
.book img {
  width: auto;
  height: var(--cover-h);
  object-fit: contain; /* keeps it pretty */
  display: block; /* not flex */
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.14);
  background: rgba(10, 15, 31, 0.52);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  justify-items: center;
  margin: 0 auto;
  margin-top: 5%;
}

/* Body */
.book__body {
  padding: 14px 14px 16px;
}
.book__meta {
  margin: 0 0 6px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.book__title {
  margin: 0 0 8px;
  font-size: 20px;
}
.book__desc {
  margin: 0 0 12px;
  color: var(--muted);
}
/* Two column about */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.lead {
  margin-top: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.quote {
  margin: 18px 0 14px;
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius);
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.18);
  background: rgba(168, 196, 255, 0.06);
  position: relative;
}
.quote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-style: italic;
}
.quote__sigil {
  position: absolute;
  right: 14px;
  top: 10px;
  opacity: 0.85;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 999px;
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.18);
  background: rgba(10, 15, 31, 0.4);
  color: rgba(255, 255, 255, 0.82);
}

/* Framed image */
.frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.16);
  background: rgba(10, 15, 31, 0.55);
  box-shadow: var(--shadow-soft);
}
.frame__caption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 14px;
  text-align: center;
}

/* Gallery */
.gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
}

.gallery__main {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.16);
  background: rgba(10, 15, 31, 0.52);
  box-shadow: var(--shadow);

  /* NEW: size control for the glowing book container */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.gallery__main img {
  /* NEW: make the glowing book smaller + aesthetic */
  width: min(380px, 80%);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 36px rgba(168, 196, 255, 0.28),
    0 0 14px rgba(255, 126, 219, 0.18);
  transform: scale(1);
  transition: transform 220ms ease, filter 220ms ease;
  filter: brightness(1.05) saturate(1.1);
}

.gallery__main:hover img {
  transform: scale(1.02);
  filter: brightness(1.18) saturate(1.15);
}

.gallery__main figcaption {
  text-align: center;
  max-width: 46ch;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-bottom: 6px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.gallery__side {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 16px;
  border-radius: var(--radius);
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.16);
  background: rgba(10, 15, 31, 0.45);
  box-shadow: var(--shadow-soft);
}
.mini-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.mini-card p {
  margin: 0 0 12px;
  color: var(--muted);
}
.mini-card--sparkle {
  background: radial-gradient(
      450px 180px at 30% 30%,
      rgba(168, 196, 255, 0.14),
      transparent 55%
    ),
    rgba(10, 15, 31, 0.45);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.form {
  padding: 18px;
  border-radius: var(--radius);
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.18);
  background: rgba(10, 15, 31, 0.52);
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field__label {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.field__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: var(--bordersize-sm) solid rgba(168, 196, 255, 0.18);
  background: rgba(10, 15, 31, 0.45);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.field__input:focus {
  border-color: rgba(168, 196, 255, 0.42);
  background: rgba(10, 15, 31, 0.62);
}
.field__input--area {
  resize: vertical;
  min-height: 120px;
}

.fineprint {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

/* Footer */
.site-footer {
  border-top: var(--bordersize-sm) solid rgba(168, 196, 255, 0.12);
  background: rgba(10, 15, 31, 0.6);
  padding: 26px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 14px;
}

.footer__links {
  display: flex;
  gap: 14px;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.7);
}
.footer__links a:hover {
  color: rgba(255, 255, 255, 0.92);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 58px 0 42px;
  }
  .hero__feature {
    max-width: 560px;
  }
  .books {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .series,
  .series--reverse {
    grid-template-columns: 1fr;
  }
  .series--reverse .series__media {
    order: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  .sparkle,
  .rune-divider span::after {
    animation: none !important;
  }
  .btn,
  .book {
    transition: none !important;
  }
}
@keyframes magicFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.gallery__main img {
  animation: magicFloat 4s ease-in-out infinite;
}
.form-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(168, 196, 255, 0.18);
  background: rgba(10, 15, 31, 0.35);
  color: rgba(255, 255, 255, 0.82);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 14px;
}

.form-status[data-state="success"] {
  border-color: rgba(120, 255, 210, 0.25);
}

.form-status[data-state="error"] {
  border-color: rgba(255, 126, 219, 0.25);
}

.resources {
  color: rgba(10, 15, 31, 0.6);
}
@media (min-width: 800px) {
  .series__media .series__content {display: flex
  flex-direction: column}
 }
/* ===== Under Construction ===== */
.uc{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(168,196,255,0.18);
  background:
    radial-gradient(700px 260px at 20% 20%, rgba(168,196,255,0.14), transparent 55%),
    radial-gradient(700px 260px at 80% 35%, rgba(255,126,219,0.12), transparent 55%),
    rgba(10,15,31,0.42);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.uc::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(500px 220px at 30% 10%, rgba(255,126,219,0.10), transparent 60%),
    radial-gradient(520px 240px at 70% 90%, rgba(168,196,255,0.10), transparent 60%);
  pointer-events:none;
  filter: blur(10px);
  opacity: 0.9;
}

.uc__top{
  position: relative;
  z-index: 1;
}

.uc__kicker{
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(168,196,255,0.18);
  background: rgba(10,15,31,0.38);
  color: rgba(255,255,255,0.82);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.uc__title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.08;
}

.uc__sub{
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 52ch;
}

.uc__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--ghost{
  border: 1px solid rgba(168,196,255,0.22);
  background: rgba(10,15,31,0.28);
  color: rgba(255,255,255,0.9);
}

.btn--ghost:hover{
  border-color: rgba(255,126,219,0.30);
}

/* Card */
.uc__card{
  position: relative;
  z-index: 1;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(168,196,255,0.16);
  background: rgba(10,15,31,0.48);
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

.uc__row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.uc__label{
  color: rgba(255,255,255,0.72);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.uc__value{
  color: rgba(255,255,255,0.86);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
}

/* Progress bar */
.uc__bar{
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(168,196,255,0.18);
  background: rgba(7,10,20,0.55);
  overflow: hidden;
  margin: 10px 0 14px;
}

.uc__barFill{
  height: 100%;
  width: var(--p, 45%);
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(168,196,255,0.75),
      rgba(255,126,219,0.55),
      rgba(207,207,230,0.55)
    );
  box-shadow: 0 0 16px rgba(168,196,255,0.18);
  position: relative;
}

/* Sparkle shimmer */
.uc__barFill::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: translateX(-60%);
  animation: ucShimmer 2.2s ease-in-out infinite;
  opacity: 0.9;
}

@keyframes ucShimmer{
  0%   { transform: translateX(-60%); }
  100% { transform: translateX(160%); }
}

.uc__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.78);
}

.uc__list li{
  margin: 8px 0;
}

.uc__fineprint{
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 13px;
}

/* Mobile: stack */
@media (max-width: 900px){
  .uc{
    grid-template-columns: 1fr;
  }
}
/* ===== Fairy Dust Layer (CSS-only) ===== */
.uc__dust{
  position: absolute;
  inset: -40px;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  filter: blur(0.2px);
}

/* Two drifting sparkle sheets */
.uc__dust::before,
.uc__dust::after{
  content:"";
  position:absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 520px 520px;
  mix-blend-mode: screen;
  opacity: 1;
  animation: dustDrift 18s linear infinite;
}

/* Blue-white sparkles */
.uc__dust::before{
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(210,235,255,0.95), transparent 60%),
    radial-gradient(1.2px 1.2px at 22% 62%, rgba(168,196,255,0.85), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 28%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(1px 1px at 52% 72%, rgba(210,235,255,0.75), transparent 60%),
    radial-gradient(1.8px 1.8px at 66% 40%, rgba(168,196,255,0.9), transparent 60%),
    radial-gradient(1.2px 1.2px at 78% 18%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(1px 1px at 84% 66%, rgba(210,235,255,0.8), transparent 60%),
    radial-gradient(2px 2px at 92% 42%, rgba(168,196,255,0.85), transparent 60%);
}

/* Pink-lilac sparkles (offset + slower) */
.uc__dust::after{
  background-size: 640px 640px;
  opacity: 1;
  animation-duration: 26s;
  animation-direction: reverse;
  background-image:
    radial-gradient(1.6px 1.6px at 16% 34%, rgba(255,126,219,0.75), transparent 60%),
    radial-gradient(1.2px 1.2px at 28% 78%, rgba(255,180,240,0.65), transparent 60%),
    radial-gradient(2.2px 2.2px at 44% 16%, rgba(255,126,219,0.70), transparent 60%),
    radial-gradient(1.1px 1.1px at 58% 54%, rgba(255,180,240,0.55), transparent 60%),
    radial-gradient(1.8px 1.8px at 72% 82%, rgba(255,126,219,0.65), transparent 60%),
    radial-gradient(1.3px 1.3px at 88% 24%, rgba(255,180,240,0.55), transparent 60%);
}

/* Drift animation */
@keyframes dustDrift{
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-120px, 90px, 0); }
}

/* Make sure your content sits above the dust */
.uc__top,
.uc__card{
  position: relative;
  z-index: 1;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .uc__dust::before,
  .uc__dust::after{
    animation: none;
  }
}