.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto auto 8% -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(248, 187, 214, 0.24),
    transparent 72%
  );
  pointer-events: none;
  filter: blur(10px);
}

.page-shell::after {
  inset: 6% -140px auto auto;
  background: radial-gradient(
    circle,
    rgba(204, 173, 232, 0.22),
    transparent 72%
  );
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(152, 120, 152, 0.12);
}

.brand {
  width: 158px;
  flex-shrink: 0;
}

.brand img {
  width: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  font-size: 0.96rem;
  color: var(--text-soft);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent), var(--heading));
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 46px;
  padding: 0.85rem 1.25rem;
  color: white;
  background: linear-gradient(135deg, #f29bc0 0%, #c86ab1 48%, #7f4ca5 100%);
  box-shadow: 0 12px 28px rgba(164, 88, 143, 0.24);
}

main {
  padding: 2.5rem 0 4rem;
}

section {
  margin-top: 2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 2rem 0 3rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.intro {
  max-width: 62ch;
  margin-top: 1.35rem;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-highlights {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.cesu-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 1.4rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(182, 127, 177, 0.18);
  border-radius: 999px;
  color: var(--heading);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(152, 120, 152, 0.12);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-highlights li,
.schedule-card li {
  position: relative;
  padding-left: 1.6rem;
}

.hero-highlights li::before,
.schedule-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--heading));
  box-shadow: 0 0 0 6px rgba(242, 143, 186, 0.12);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.visual-card {
  position: relative;
  width: min(100%, 430px);
  padding: 1.2rem;
  border-radius: 38px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 245, 249, 0.76)
  );
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 30px;
  border: 1px solid rgba(224, 163, 199, 0.28);
  pointer-events: none;
}

.visual-card img {
  border-radius: 28px;
}

.visual-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.visual-card-logo img {
  width: min(100%, 320px);
}

.floating-note {
  position: absolute;
  left: -0.2rem;
  bottom: 1rem;
  max-width: 240px;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 28px rgba(170, 117, 160, 0.14);
  backdrop-filter: blur(12px);
}

.note-title {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.note-text {
  color: var(--text-soft);
}

.hero-mobile-note {
  display: none;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.section-lead {
  margin-top: 0.85rem;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.story-grid,
.services-grid,
.schedule-grid,
.contact-section {
  display: grid;
  gap: 1.35rem;
}

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

.story-card,
.schedule-card,
.coverage-card {
  padding: 2rem;
}

.story-card p + p,
.schedule-card p + p {
  margin-top: 1rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  padding: 1.8rem;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(247, 188, 216, 0.4),
    transparent 72%
  );
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  font-size: 0.94rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--heading));
  box-shadow: 0 14px 24px rgba(171, 102, 148, 0.24);
}

.service-card p {
  color: var(--text-soft);
}

.schedule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.schedule-card ul {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
  list-style: none;
  padding-left: 0;
}

.cesu-panel {
  padding: 2rem;
}

.cesu-panel p + p {
  margin-top: 1rem;
}

.small-note {
  margin-top: 1rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.coverage-card {
  padding: 2.2rem;
  text-align: center;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 243, 249, 0.78)
    ),
    radial-gradient(
      circle at top right,
      rgba(244, 184, 218, 0.28),
      transparent 32%
    );
}

.contact-cta-panel {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.contact-cta-actions {
  justify-content: center;
}

.flyer-share-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 1.35rem;
  align-items: start;
}

.flyer-preview-card {
  padding: 1.2rem;
  border-radius: 38px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 245, 249, 0.76)
  );
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.flyer-preview-card img {
  width: 100%;
  border-radius: 28px;
}

.flyer-share-panel {
  padding: 2rem;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.action-feedback {
  margin-top: 0.9rem;
  min-height: 1.4rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.action-feedback[data-state="success"] {
  color: #6d3160;
}

.action-feedback[data-state="error"] {
  color: #a44a67;
}

.share-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.share-link,
.share-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(182, 127, 177, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--heading);
  box-shadow: 0 10px 24px rgba(152, 120, 152, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.flyer-page-main {
  padding: 2.5rem 0 4rem;
}

.flyer-page-hero {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0 0.75rem;
}

.thank-you-main {
  padding: 2.5rem 0 4rem;
}

.thank-you-section {
  margin-top: 2rem;
}

.thank-you-panel {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.contact-section {
  grid-template-columns: 0.94fr 1.06fr;
  align-items: start;
}

.contact-copy {
  padding-top: 1rem;
}

.contact-page-main {
  padding: 2.5rem 0 4rem;
}

.contact-hero {
  padding: 1.5rem 0 0.75rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.4rem 1.5rem;
}

.contact-details strong {
  color: var(--heading);
}

.form-panel {
  padding: 1.5rem;
  background: var(--panel-strong);
}

.form-alert {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.form-alert-success {
  color: #6d3160;
  background: rgba(244, 214, 231, 0.78);
  border: 1px solid rgba(209, 130, 172, 0.26);
}

.form-alert-error {
  color: #843d59;
  background: rgba(255, 229, 232, 0.9);
  border: 1px solid rgba(212, 137, 150, 0.32);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.5rem;
}

.form-row label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--heading);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: white;
  border: 1px solid rgba(188, 138, 185, 0.22);
  border-radius: 18px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(144, 87, 167, 0.58);
  box-shadow: 0 0 0 5px rgba(242, 143, 186, 0.12);
  transform: translateY(-1px);
}

.form-row textarea {
  resize: vertical;
  min-height: 150px;
}

.field-error {
  font-size: 0.9rem;
  color: #a44a67;
}

.turnstile-wrap {
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.form-note a,
.site-footer a,
.contact-details a,
.legal-card a {
  color: var(--heading);
  text-decoration: underline;
  text-decoration-color: rgba(125, 76, 160, 0.35);
  text-underline-offset: 0.2rem;
}

.form-row-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2.5rem;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.legal-main {
  padding: 2.5rem 0 4rem;
}

.legal-hero {
  padding: 1.5rem 0 0.75rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.legal-card {
  padding: 1.8rem;
}

.legal-card p + p {
  margin-top: 0.8rem;
}

.legal-card h2 + p {
  margin-top: 1rem;
}

.legal-card h2:not(:first-child) {
  margin-top: 1.5rem;
}

.legal-note {
  font-size: 0.94rem;
  color: var(--text-soft);
}

@media (max-width: 1040px) {
  .hero,
  .flyer-share-section,
  .contact-section,
  .story-grid,
  .services-grid,
  .schedule-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  h1 {
    max-width: 100%;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  main,
  .legal-main,
  .contact-page-main,
  .flyer-page-main,
  .thank-you-main {
    padding-top: 1.2rem;
  }

  .hero-actions,
  .share-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .share-links-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-mobile-note {
    display: block;
    margin-top: 1.25rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(182, 127, 177, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(152, 120, 152, 0.08);
  }

  .hero-mobile-note-title {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
  }

  .hero-mobile-note p {
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .story-card,
  .schedule-card,
  .coverage-card,
  .form-panel,
  .cesu-panel,
  .legal-card,
  .flyer-share-panel,
  .thank-you-panel {
    padding: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-mobile-note {
    padding: 0.95rem 0.9rem;
  }

  .hero-mobile-note p {
    font-size: 0.94rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .share-actions,
  .share-links-grid,
  .floating-note,
  .contact-cta-section {
    display: none !important;
  }

  body {
    background: white;
  }

  .page-shell::before,
  .page-shell::after {
    display: none;
  }

  .flyer-share-section {
    display: block;
  }

  .flyer-preview-card,
  .flyer-share-panel,
  .visual-card {
    box-shadow: none;
    border: none;
    background: white;
    padding: 0;
  }

  .flyer-share-panel {
    display: none;
  }

  .flyer-preview-card img {
    max-height: 100vh;
    width: auto;
    margin: 0 auto;
  }
}
