/* ==========================================================================
   Play'N Around Children's Theatre Company — Design System
   Palette extracted directly from the client's own logo (bright blue badge,
   hot pink, purple, orange, lime, gold). Bright, rounded, high-energy —
   built for the actual brand, not a generic template aesthetic.
   ========================================================================== */

:root {
  /* ---- Color tokens (sourced from the brand logo) ---- */
  --color-primary: #0074A6;       /* Logo Blue, darkened ~10% for AA text — header, nav, dark sections */
  --color-primary-light: #007BAF; /* Logo Blue, lightly darkened for AA — mobile nav, lighter fills */
  --color-secondary: #0081B8;     /* Logo Blue as sampled — decorative accents, icons, badges (not small text) */
  --color-accent: #C01760;        /* Logo Hot Pink (deepened for AA) — primary CTAs, emphasis */
  --color-accent-dark: #9E134F;   /* Hover/active state */
  --color-purple: #6B2C87;        /* Logo Purple — safe for text/links on light bg */
  --color-orange: #F97D00;        /* Logo Orange — decorative accents, borders, icons only */
  --color-orange-text: #BA5D00;   /* Darkened orange, AA-safe for text/buttons */
  --color-green: #7FB800;         /* Logo Lime Green — decorative accents only */
  --color-green-text: #4C6E00;    /* Darkened green, AA-safe for text/icons */
  --color-gold: #FDB515;          /* Logo Gold — decorative accents, borders, icons only */
  --color-bg: #FFFFFF;            /* Page background */
  --color-surface: #FFFFFF;       /* Cards, elevated panels */
  --color-surface-alt: #EEF7FC;   /* Alternate section tint (soft brand-blue tint) */
  --color-text: #1A1A1D;
  --color-text-muted: #5B5F6B;
  --color-border: #E1EBF2;
  --color-border-strong: #C7D6E2;
  --color-success: #2E7D5B;
  --color-success-bg: #E7F3EC;
  --color-warning: #C97A22;
  --color-warning-bg: #FBF0E1;
  --color-error: #C0392B;
  --color-error-bg: #FBEAE7;

  /* ---- Typography ---- */
  --font-display: 'Baloo 2', 'Fredoka', Georgia, sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-100: 0.8125rem;   /* 13px */
  --fs-200: 0.9375rem;   /* 15px */
  --fs-300: 1rem;        /* 16px */
  --fs-400: 1.125rem;    /* 18px */
  --fs-500: 1.375rem;    /* 22px */
  --fs-600: 1.75rem;     /* 28px */
  --fs-700: 2.25rem;     /* 36px */
  --fs-800: 3rem;        /* 48px */
  --fs-900: 3.75rem;     /* 60px */

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.6;

  /* ---- Spacing scale ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container-max: 1200px;
  --shadow-sm: 0 1px 3px rgba(0, 116, 166, 0.10);
  --shadow-md: 0 8px 24px rgba(0, 116, 166, 0.14);
  /* Two-tone ring stays visible against both light and dark section backgrounds */
  --focus-ring: 0 0 0 2px #fff, 0 0 0 4.5px var(--color-primary);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
/* The [hidden] attribute must always win over a class's `display` value
   (e.g. .alert{display:flex}) — without this, elements toggled via the
   hidden property/attribute in JS can render even while "hidden". */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-300);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-4);
  font-weight: 600;
}
h1 { font-size: var(--fs-900); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-500); }
h4 { font-size: var(--fs-400); font-family: var(--font-body); font-weight: 700; }
/* Applies h4's compact visual style to a heading tag chosen for correct
   document hierarchy (e.g. an h2 or h3 that must look smaller). Keeps
   heading LEVELS semantic while keeping visual SIZE a design choice. */
.heading-sm { font-size: var(--fs-400); font-family: var(--font-body); font-weight: 700; color: var(--color-primary); margin: 0 0 var(--space-4); line-height: var(--lh-tight); }

p { margin: 0 0 var(--space-4); color: var(--color-text); }
p.lede { font-size: var(--fs-400); color: var(--color-text-muted); }

a { color: var(--color-accent-dark); text-decoration-thickness: 1.5px; }
a:hover { color: var(--color-accent); }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); }

/* Visible focus states everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  z-index: 1000;
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-7); }
}

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

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--color-secondary);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-block: var(--space-2);
  gap: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
/* The real logo artwork (300x200 source, 1.5:1) carries the full
   wordmark + tagline, so the header just needs to size it — no
   separate text or wrapping to manage, which also sidesteps the
   header-height-clipping problem a two-line text lockup would create
   on narrow phones. */
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
.footer-logo {
  height: 76px;
  width: auto;
  display: block;
}

@media (max-width: 420px) {
  .brand-logo { height: 40px; }
  .header-actions { gap: var(--space-2); }
  .btn-header { padding: 0.55rem 0.8rem; font-size: 0.75rem; }
}

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #F2EFE7;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-200);
  padding: var(--space-2) 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.header-actions { display: flex; align-items: center; gap: var(--space-4); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  background: var(--color-primary-light);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--space-4) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mobile-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: rgba(253,181,21,0.22); color: var(--color-gold); }
.mobile-nav .btn { margin-top: var(--space-3); width: 100%; justify-content: center; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-200);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary); color: #fff; }

.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-header {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  font-size: var(--fs-100);
  padding: 0.6rem 1.1rem;
}
.btn-header:hover { background: var(--color-accent-dark); color: #fff; }

.btn-block { width: 100%; }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--fs-300); }

/* ==========================================================================
   Layout helpers / sections
   ========================================================================== */
.section { padding-block: var(--space-9); }
.section-tight { padding-block: var(--space-7); }
.section-alt { background: var(--color-surface-alt); }
.section-dark {
  background: var(--color-primary);
  color: #F2EFE7;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #D9DEEA; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-100);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-3);
}
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--color-gold); }

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-7);
}
.section-head.centered { margin-inline: auto; text-align: center; }

/* Ticket-stub divider — signature motif, used sparingly between key sections */
.ticket-divider {
  position: relative;
  height: 28px;
  background: var(--color-bg);
}
.ticket-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, transparent 8px, var(--color-surface) 8.5px);
  background-size: 32px 32px;
  background-position: center top;
  background-repeat: repeat-x;
}
.ticket-divider.flip::before { transform: scaleY(-1); }

/* ==========================================================================
   Grid utilities
   ========================================================================== */
.grid { display: grid; gap: var(--space-6); }
.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); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.two-col {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.1fr 0.9fr; }
  .two-col.reverse { grid-template-columns: 0.9fr 1.1fr; }
  .two-col.reverse > *:first-child { order: 2; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--color-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: var(--space-9) var(--space-8);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,81,116,0.96) 0%, rgba(0,81,116,0.90) 32%, rgba(0,81,116,0.68) 55%, rgba(0,81,116,0.32) 78%, rgba(0,81,116,0.18) 100%);
}
.hero .spot { z-index: 1; }
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-7);
}
@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}
.hero-eyebrow {
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-100);
  margin-bottom: var(--space-4);
}
.hero h1 { color: #fff; font-size: var(--fs-800); margin-bottom: var(--space-5); }
.hero p.lede { color: #D9DEEA; font-size: var(--fs-400); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-fact strong { display: block; font-family: var(--font-display); font-size: var(--fs-500); color: var(--color-gold); }
.hero-fact span { font-size: var(--fs-100); color: #C7CEDE; text-transform: uppercase; letter-spacing: 0.05em; }

.hero-art { position: relative; }

/* Decorative spotlight circles (SVG-free CSS shapes) */
.spot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(253,181,21,0.35), rgba(253,181,21,0) 70%);
  pointer-events: none;
}

/* Curtain stripes accent bar */
.curtain-bar {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--color-accent) 0px, var(--color-accent) 28px,
    var(--color-accent-dark) 28px, var(--color-accent-dark) 56px
  );
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  height: 100%;
}
.card-program {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 5px solid var(--color-secondary);
}

/* Standalone framed poster (featured sections, not inside a show-card grid) */
.poster-frame {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
  max-width: 340px;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}

/* Production/show poster cards */
.show-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.show-card-media {
  aspect-ratio: 3 / 4;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.show-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* Full poster, uncropped — these are complete artwork with text set
     right to the edge, so object-fit:cover would clip title text. A
     shared aspect-ratio box + contain keeps every card the same size
     while showing each image in full, regardless of its own dimensions. */
}
.show-card-body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.show-card-body h3 { margin-bottom: var(--space-2); }
.show-card-body p { margin-bottom: 0; color: var(--color-text-muted); font-size: var(--fs-200); }
.show-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-weight: 700;
  font-size: var(--fs-200);
  color: var(--color-accent-dark);
  text-decoration: none;
}
.show-card-cta:hover { color: var(--color-accent); text-decoration: underline; }
.show-card-cta::after { content: '→'; transition: transform 0.15s ease; }
.show-card-cta:hover::after { transform: translateX(3px); }

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-6) 0;
  margin-bottom: var(--space-4);
}
.partner-strip img {
  height: 96px;
  width: auto;
  filter: grayscale(0%);
}
@media (max-width: 480px) {
  .partner-strip img { height: 72px; }
}
.card-program.variant-b { border-top-color: var(--color-accent); }
.card-program.variant-c { border-top-color: var(--color-primary); }
.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}
.card-program h3 { margin-bottom: var(--space-2); }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.tag {
  font-size: var(--fs-100);
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

/* Process steps */
/* Quote / press-mention cards */
.quote-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.quote-card p {
  font-size: var(--fs-400);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  position: relative;
}
.quote-card p::before { content: '\201C'; }
.quote-card p::after { content: '\201D'; }
.quote-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--color-accent-dark);
  font-size: var(--fs-200);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding-top: var(--space-6);
  border-top: 2px solid var(--color-border-strong);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.9em;
  left: 0;
  background: var(--color-bg);
  padding-right: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--fs-500);
  color: var(--color-accent);
  font-weight: 700;
}
.section-alt .step::before { background: var(--color-surface-alt); }

/* Benefit list with check marks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
}
.check-list .icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-success-bg);
  color: var(--color-success);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* Audience path cards (home) */
.path-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.path-card .eyebrow { margin-bottom: 0; }

/* Quote / pull-quote panel (no fabricated attribution used site-wide) */
.pull-quote {
  border-left: 4px solid var(--color-secondary);
  padding-left: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--fs-500);
  color: var(--color-primary);
  margin: var(--space-6) 0;
}

/* Alerts */
.alert {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: var(--fs-200);
}
.alert-info { background: var(--color-surface-alt); border-color: var(--color-border-strong); color: var(--color-text); }
.alert-success { background: var(--color-success-bg); border-color: var(--color-success); color: #1c4a35; }
.alert-error { background: var(--color-error-bg); border-color: var(--color-error); color: #7d251c; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: var(--fs-100);
  color: var(--color-text-muted);
  padding-block: var(--space-4);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: var(--space-2); color: var(--color-border-strong); }
.breadcrumbs li[aria-current] { color: var(--color-text); font-weight: 600; }

/* FAQ Accordion */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-400);
  color: var(--color-primary);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  position: relative;
}
.faq-question .plus::before, .faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-question .plus::before { width: 12px; height: 2px; }
.faq-question .plus::after { width: 2px; height: 12px; transition: transform 0.15s ease; }
.faq-question[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.faq-answer[data-open="true"] { max-height: 800px; }
.faq-answer-inner { padding-bottom: var(--space-5); color: var(--color-text-muted); max-width: 68ch; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-weight: 700;
  font-size: var(--fs-200);
  color: var(--color-primary);
}
.field .hint { font-size: var(--fs-100); color: var(--color-text-muted); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-300);
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:invalid[data-touched="true"],
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}
.field-error {
  color: var(--color-error);
  font-size: var(--fs-100);
  font-weight: 600;
  display: none;
}
.field.has-error .field-error { display: block; }
.required-mark { color: var(--color-accent-dark); }
.form-privacy { font-size: var(--fs-100); color: var(--color-text-muted); margin-top: var(--space-3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-primary);
  color: #C7CEDE;
  padding-block: var(--space-8) var(--space-6);
}
.footer-grid {
  display: grid;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-brand { color: #fff; font-family: var(--font-display); font-size: var(--fs-500); margin-bottom: var(--space-3); text-decoration: none; display: inline-block; }
.footer-col h2 { color: #fff; font-family: var(--font-body); font-size: var(--fs-200); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-4); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a { color: #C7CEDE; text-decoration: none; }
.footer-col a:hover { color: var(--color-gold); }
.footer-newsletter { margin-top: var(--space-5); max-width: 340px; }
.footer-newsletter-row { display: flex; gap: var(--space-2); }
.footer-newsletter-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: var(--fs-200);
}
.footer-newsletter-row input[type="email"]::placeholder { color: #A9B4C9; }
.footer-newsletter-row input[type="email"]:focus { outline: none; box-shadow: 0 0 0 2px var(--color-gold); }
.footer-newsletter-row .btn { padding: 0.6rem 1.1rem; font-size: var(--fs-200); white-space: nowrap; }
.footer-newsletter-note { font-size: var(--fs-100); color: #A9B4C9; margin: var(--space-2) 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--fs-100);
}
.footer-legal { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer-legal a { color: #A9B2C7; text-decoration: none; }
.footer-legal a:hover { color: var(--color-gold); }
.footer-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
  color: #C7CEDE;
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-6);
}
.footer-credentials span[aria-hidden="true"] { color: var(--color-gold); }

/* ==========================================================================
   Misc utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flow > * + * { margin-top: var(--space-4); }
.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1.5px solid var(--color-border-strong);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: var(--fs-100);
  font-weight: 700;
  color: var(--color-primary);
}

.cta-band {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #FFFFFF; }
.cta-band .btn-secondary { color: #fff; border-color: #fff; }
.cta-band .btn-secondary:hover { background: #fff; color: var(--color-accent); }

/* 404 page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.error-code {
  font-family: var(--font-display);
  font-size: var(--fs-900);
  color: var(--color-secondary);
  -webkit-text-stroke: 2px var(--color-primary);
}

/* Table (for pricing/logistics comparisons if needed) */
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-200); }
.data-table th, .data-table td { text-align: left; padding: var(--space-4); border-bottom: 1px solid var(--color-border); }
.data-table th { color: var(--color-primary); font-family: var(--font-display); font-weight: 600; }

/* Print */
@media print {
  .site-header, .site-footer, .hero-ctas, .nav-toggle { display: none; }
}

/* ==========================================================================
   Organic layer — curves, asymmetry, and flowing shapes
   Softens the underlying grid without touching layout structure or the
   evenly-framed image grids (show cards, poster frames stay true rectangles
   so nothing gets clipped or misaligned).
   ========================================================================== */

/* Decorative spotlight blobs — organic instead of perfect circles */
.spot {
  border-radius: 62% 38% 55% 45% / 45% 55% 42% 58%;
}

/* Buttons soften into full pills */
.btn { border-radius: 999px; }
.show-card-cta { border-radius: 0; } /* underline-style link, not a button — unaffected */

/* Card family gets a shared asymmetric "leaf" radius instead of uniform corners */
.card,
.path-card,
.quote-card,
.poster-frame,
.faq-item,
.alert {
  border-radius: 30px 14px 30px 14px / 14px 30px 14px 30px;
}
.cta-band {
  border-radius: 56px 20px 56px 20px / 20px 56px 20px 56px;
}
/* Nested media inside a card should follow the card's own curve, not fight it */
.poster-frame img { border-radius: 22px 8px 22px 8px / 8px 22px 8px 22px; }

/* Wavy top/bottom edges wherever a background color changes, added automatically
   to every section-alt / section-dark instance — no markup changes needed. */
.section-alt, .section-dark { position: relative; }
.section-alt::before, .section-alt::after,
.section-dark::before, .section-dark::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 44px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
/* Position each wave OUTSIDE the section's own box, so it paints over
   whatever comes before/after rather than sitting invisibly on top of the
   section's own matching background color. */
.section-alt::before, .section-dark::before { top: -44px; }
.section-alt::after, .section-dark::after { bottom: -44px; transform: scaleY(-1); }
.section-alt::before, .section-alt::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,32 C200,58 400,4 600,22 C800,40 1000,4 1200,26 L1200,60 L0,60 Z' fill='%23EEF7FC'/%3E%3C/svg%3E");
}
.section-dark::before, .section-dark::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,32 C200,58 400,4 600,22 C800,40 1000,4 1200,26 L1200,60 L0,60 Z' fill='%230074A6'/%3E%3C/svg%3E");
}

/* Curtain bar becomes a scalloped valance instead of a flat striped rectangle */
.curtain-bar {
  height: 22px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H120 V10 C110,22 100,22 90,10 C80,22 70,22 60,10 C50,22 40,22 30,10 C20,22 10,22 0,10 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H120 V10 C110,22 100,22 90,10 C80,22 70,22 60,10 C50,22 40,22 30,10 C20,22 10,22 0,10 Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: 120px 22px;
  mask-size: 120px 22px;
}

/* Hero decorative circles drift slightly off-grid for asymmetry */
.hero .spot:nth-of-type(1) { transform: rotate(-6deg); }
.hero .spot:nth-of-type(2) { transform: rotate(8deg); }
