/* ============================================================
   Dover Darlings — Main Stylesheet
   Stack: HTML / CSS / JS only. No frameworks.
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Variables / Design Tokens
   ---------------------------------------------------------- */
:root {
  /* Palette */
  --color-cream:        #FBF7F2;
  --color-cream-dark:   #F3EDE4;
  --color-pink:         #E8A4B4;
  --color-pink-light:   #F5D5DF;
  --color-pink-dark:    #C97D96;
  --color-blue:         #8BAFC4;
  --color-blue-light:   #C5DCE9;
  --color-blue-dark:    #5D8FA8;
  --color-text:         #3D2B2B;
  --color-text-muted:   #7A6260;
  --color-border:       #DDD0C8;
  --color-white:        #FFFFFF;

  /* Typography */
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body:    'Segoe UI', Helvetica, Arial, sans-serif;

  --size-xs:   0.75rem;
  --size-sm:   0.875rem;
  --size-base: 1rem;
  --size-lg:   1.125rem;
  --size-xl:   1.375rem;
  --size-2xl:  1.75rem;
  --size-3xl:  2.25rem;
  --size-4xl:  3rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(61, 43, 43, 0.08);
  --shadow-md: 0 4px 16px rgba(61, 43, 43, 0.10);
  --shadow-lg: 0 8px 32px rgba(61, 43, 43, 0.12);

  /* Layout */
  --max-width: 1100px;
  --nav-height: 72px;
}

/* ----------------------------------------------------------
   2. Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-cream);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--size-base);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: var(--color-pink-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ----------------------------------------------------------
   3. Typography
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: normal;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: var(--size-4xl); }
h2 { font-size: var(--size-3xl); }
h3 { font-size: var(--size-2xl); }
h4 { font-size: var(--size-xl); }
h5 { font-size: var(--size-lg); }

p {
  margin-bottom: var(--space-sm);
  max-width: 66ch;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: var(--size-xl);
  color: var(--color-text-muted);
}

.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }

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

.section {
  padding-block: var(--space-xl);
}

.section--cream      { background-color: var(--color-cream); }
.section--cream-dark { background-color: var(--color-cream-dark); }
.section--pink-light { background-color: var(--color-pink-light); }
.section--blue-light { background-color: var(--color-blue-light); }
.section--white      { background-color: var(--color-white); }

/* ----------------------------------------------------------
   5. Section Heading Component
   ---------------------------------------------------------- */
.section-heading {
  margin-bottom: var(--space-lg);
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered p {
  margin-inline: auto;
}

.section-heading__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-pink-dark);
  margin-bottom: var(--space-xs);
}

.section-heading h2 {
  margin-bottom: var(--space-xs);
}

.section-heading p {
  color: var(--color-text-muted);
  font-size: var(--size-lg);
}

/* ----------------------------------------------------------
   6. Header & Navigation
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.site-logo__mark {
  width: 40px;
  height: 40px;
  background-color: var(--color-pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  /* PLACEHOLDER: Replace with actual logo image */
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: var(--size-xl);
  color: var(--color-text);
  line-height: 1.1;
}

.site-logo__text span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

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

.site-nav a {
  font-size: var(--size-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-text);
  border-color: var(--color-pink);
  text-decoration: none;
}

.site-nav__cta {
  background-color: var(--color-pink);
  color: var(--color-white) !important;
  border: none !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600;
  transition: background-color 0.15s !important;
}

.site-nav__cta:hover {
  background-color: var(--color-pink-dark) !important;
  text-decoration: none !important;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ----------------------------------------------------------
   7. Footer
   ---------------------------------------------------------- */
.site-footer {
  background-color: var(--color-text);
  color: var(--color-cream);
  padding-block: var(--space-xl);
  margin-top: auto;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: var(--size-xl);
  color: var(--color-pink-light);
  margin-bottom: var(--space-xs);
}

.footer-brand p {
  color: #B0A0A0;
  font-size: var(--size-sm);
  max-width: 36ch;
}

.footer-col h4 {
  color: var(--color-pink-light);
  font-size: var(--size-sm);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  color: #B0A0A0;
  font-size: var(--size-sm);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul a:hover {
  color: var(--color-pink-light);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  text-align: center;
  color: #7A6A6A;
  font-size: var(--size-xs);
}

/* ----------------------------------------------------------
   8. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: var(--size-base);
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
  background-color: var(--color-pink);
  color: var(--color-white);
  border-color: var(--color-pink);
}

.btn--primary:hover {
  background-color: var(--color-pink-dark);
  border-color: var(--color-pink-dark);
  text-decoration: none;
  color: var(--color-white);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--secondary:hover {
  background-color: var(--color-cream-dark);
  text-decoration: none;
  color: var(--color-text);
}

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

.btn--outline-white:hover {
  background-color: rgba(255,255,255,0.12);
  text-decoration: none;
  color: var(--color-white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ----------------------------------------------------------
   9. Hero Section
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: var(--color-cream-dark);
  overflow: hidden;
}

.hero--realistic {
  /* Visual Mode: REALISTIC — trustworthy, grounded */
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  /* PLACEHOLDER: swap with realistic hero image */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(251, 247, 242, 0.92) 40%,
    rgba(251, 247, 242, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-pink-dark);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.hero__lead {
  font-size: var(--size-xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  max-width: 52ch;
}

/* ----------------------------------------------------------
   10. Image Placeholder Block
   ---------------------------------------------------------- */
.img-placeholder {
  width: 100%;
  background-color: var(--color-cream-dark);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: var(--size-sm);
  text-align: center;
  padding: var(--space-md);
  min-height: 200px;
}

.img-placeholder--storybook {
  background-color: var(--color-pink-light);
  border-color: var(--color-pink);
}

.img-placeholder__label {
  font-size: var(--size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ----------------------------------------------------------
   11. Card Grid
   ---------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--space-md);
}

.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card--storybook {
  background-color: var(--color-pink-light);
}

.card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: var(--color-cream-dark);
  /* PLACEHOLDER: actual image goes here */
}

.card__image--storybook {
  aspect-ratio: 3 / 4;
}

.card__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-cream-dark);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--size-sm);
}

.card__image-placeholder--storybook {
  background-color: var(--color-pink-light);
  aspect-ratio: 3 / 4;
}

.card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__eyebrow {
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-pink-dark);
  margin-bottom: 0.35rem;
}

.card__title {
  font-size: var(--size-xl);
  margin-bottom: var(--space-xs);
}

.card__text {
  color: var(--color-text-muted);
  font-size: var(--size-sm);
  flex: 1;
}

.card__link {
  margin-top: var(--space-sm);
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--color-pink-dark);
}

/* Character card variant */
.card--character {
  text-align: center;
  background-color: var(--color-white);
}

.card--character .card__image-placeholder--storybook {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  margin: var(--space-md) auto var(--space-sm);
  border: none;
}

.card--character .card__body {
  align-items: center;
}

.card__traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: var(--space-xs);
}

.trait-tag {
  background-color: var(--color-pink-light);
  color: var(--color-pink-dark);
  font-size: var(--size-xs);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* ----------------------------------------------------------
   12. CTA Band
   ---------------------------------------------------------- */
.cta-band {
  background-color: var(--color-pink-light);
  padding-block: var(--space-xl);
  text-align: center;
}

.cta-band--dark {
  background-color: var(--color-text);
  color: var(--color-cream);
}

.cta-band--dark h2 {
  color: var(--color-pink-light);
}

.cta-band--dark p {
  color: #B0A0A0;
}

.cta-band h2 {
  margin-bottom: var(--space-xs);
}

.cta-band p {
  color: var(--color-text-muted);
  font-size: var(--size-lg);
  margin-bottom: var(--space-lg);
  margin-inline: auto;
}

/* ----------------------------------------------------------
   13. Split Content Section
   ---------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split--reversed .split__media {
  order: 2;
}

.split--reversed .split__content {
  order: 1;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* ----------------------------------------------------------
   14. Feature Strip (3-column icon + text)
   ---------------------------------------------------------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-item {
  text-align: center;
  padding: var(--space-md);
}

.feature-item__icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--space-sm);
  background-color: var(--color-pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  /* PLACEHOLDER: replace emoji with SVG icon */
}

.feature-item h3 {
  font-size: var(--size-xl);
  margin-bottom: var(--space-xs);
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: var(--size-sm);
  margin-inline: auto;
}

/* ----------------------------------------------------------
   15. Gallery Grid
   ---------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--color-cream-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-section-label {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-sm) 0 var(--space-xs);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-lg);
}

.gallery-divider {
  border: none;
  border-top: 2px solid var(--color-border);
  margin-block: var(--space-xl);
}

/* ----------------------------------------------------------
   16. Page Hero (interior pages)
   ---------------------------------------------------------- */
.page-hero {
  background-color: var(--color-cream-dark);
  padding-block: var(--space-xl);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-hero__label {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-pink-dark);
  margin-bottom: var(--space-xs);
}

.page-hero h1 {
  margin-bottom: var(--space-xs);
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: var(--size-xl);
  margin-inline: auto;
  max-width: 60ch;
}

/* ----------------------------------------------------------
   17. Storybook Mode Overrides
   ---------------------------------------------------------- */
.storybook-mode {
  /* Visual Mode: STORYBOOK — warm, imaginative */
  background-color: var(--color-pink-light);
}

.storybook-mode .section-heading__label {
  color: var(--color-blue-dark);
}

/* ----------------------------------------------------------
   18. Responsive
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .card-grid--3,
  .card-grid--4,
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split--reversed .split__media,
  .split--reversed .split__content {
    order: unset;
  }

  .site-footer .container {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  h1 { font-size: var(--size-3xl); }
  h2 { font-size: var(--size-2xl); }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: var(--space-sm);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: var(--size-base);
    padding-block: 0.4rem;
    width: 100%;
  }

  .card-grid--3,
  .card-grid--4,
  .card-grid--2,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 420px;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ----------------------------------------------------------
   19. Newsletter Signup Form
   ---------------------------------------------------------- */
.newsletter-section {
  background-color: var(--color-blue-light);
  padding-block: var(--space-xl);
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 500px;
  margin: var(--space-md) auto 0;
}

.newsletter-form__input {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--size-base);
  color: var(--color-text);
  background-color: var(--color-white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.newsletter-form__input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(139, 175, 196, 0.2);
}

.newsletter-form__input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-note {
  font-size: var(--size-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* ----------------------------------------------------------
   20. Content Type Badges (Article / Video / Event)
   ---------------------------------------------------------- */
.content-type-badge {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.4rem;
}

.content-type-badge--article {
  background-color: var(--color-pink-light);
  color: var(--color-pink-dark);
}

.content-type-badge--video {
  background-color: var(--color-blue-light);
  color: var(--color-blue-dark);
}

.content-type-badge--event {
  background-color: #E8F5ED;
  color: #3A7A52;
}

/* ----------------------------------------------------------
   21. Content Card (news / updates feed)
   ---------------------------------------------------------- */
.content-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--color-cream-dark);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--size-sm);
  overflow: hidden;
}

.content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.card:hover .content-card__media img {
  transform: scale(1.03);
}

.content-card__date {
  font-size: var(--size-xs);
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
  font-style: italic;
}

/* ----------------------------------------------------------
   22. Video Placeholder
   ---------------------------------------------------------- */
.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2E1F2B 0%, #5A3F50 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  overflow: hidden;
}

.video-placeholder__play {
  width: 72px;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-placeholder__label {
  font-size: var(--size-sm);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding-inline: var(--space-md);
  max-width: 40ch;
}

/* ----------------------------------------------------------
   23. Whimsical storybook shimmer (extends section 17)
   ---------------------------------------------------------- */
.storybook-mode {
  background-color: var(--color-pink-light);
  background-image:
    radial-gradient(ellipse at 10% 15%, rgba(197, 220, 233, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 85%, rgba(245, 213, 223, 0.5) 0%, transparent 55%),
    radial-gradient(circle, rgba(232, 164, 180, 0.55) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(139, 175, 196, 0.45) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 64px 64px;
  background-position: 0 0, 0 0, 7px 7px, 22px 22px;
}

/* Video grid for storybooks media hub */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }
}
