@font-face {
  font-family: Lalezar;
  src: url("/fonts/Lalezar-Arabic.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
:root {
  --paper: #fff8ee;
  --ink: #2e3a2f;
  --leaf: #4e9b54;
  --sun: #ffc53d;
  --coral: #ff7b6b;
  --sky: #6fc3e8;
  --cream: #fff8ee;
  --teal: #2f6b39;
}
body {
  background-color: var(--paper);
}
body:not(.age-upper) h1,
body:not(.age-upper) .section-title {
  font-family: Lalezar, Vazirmatn, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}
.site-header {
  background: #fffdf6f5;
}
.desktop-nav {
  font-size: 0.8rem;
  gap: 0.7rem;
}
.hero {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 12px solid #ffc53d50;
  border-radius: 50%;
  left: -45px;
  top: 20px;
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(3.6rem, 6.6vw, 6.5rem);
  line-height: 1.12;
}
.hero-stage-surface {
  background: #ffc53d;
  border-radius: 46% 46% 20% 20% / 18% 20% 20% 20%;
  box-shadow: 9px 12px 0 #2f6b391c;
}
.hero-stage-ticket {
  background: #4e9b54;
}
.hero .eyebrow {
  background: #e9f5e4;
}
.button-accent {
  background: var(--sun);
  color: var(--ink);
}
.button-accent:hover {
  background: #f4b824;
}
.journey article {
  border-radius: 28px;
  background: #e9f5e4;
}
.journey article:nth-child(2) {
  background: #fff1ce;
}
.journey article:nth-child(3) {
  background: #e3f2fa;
  color: var(--ink);
  border-color: #bfdae8;
}
.journey article:nth-child(3) strong,
.journey article:nth-child(3) p,
.journey article:nth-child(3) small {
  color: var(--ink);
}
.journey article:nth-child(3) .journey-range {
  color: #4798ba;
}
.section-cream {
  background: #fff1ce;
}
.admissions-card {
  background: #ffe7e1;
}
.contact-band {
  background: #2f6b39;
}
.article-card,
.feature-tile {
  border-radius: 22px;
}
.feature-stack {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}
.feature-detail {
  padding: 1.2rem;
  border: 1px solid #d9e5d7;
  border-radius: 16px;
  background: #fff;
  margin-block: 0.8rem;
  min-width: 0;
}
.feature-detail summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  min-height: 44px;
}
.feature-detail[open] summary {
  margin-bottom: 1rem;
}
.feature-detail .panel-card {
  box-shadow: none;
  margin-block: 1rem;
  border-color: #e7ece4;
}
.feature-message {
  padding: 1.3rem;
  border-bottom: 1px solid #dce6d8;
}
.feature-message.unread {
  border-inline-start: 4px solid #4e9b54;
  background: #f1f8ec;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.panel-form textarea,
.form-grid textarea,
.field textarea {
  width: 100%;
  min-height: 110px;
  padding: 0.8rem;
  border: 1px solid #b7c6b5;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.panel-form input[type="checkbox"],
.check-row input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  accent-color: #2f6b39;
}
.honeypot {
  position: absolute !important;
  inset: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}
.full {
  grid-column: 1/-1;
}
.field {
  min-width: 0;
}
.field input,
.field select {
  max-width: 100%;
}
.audience-controls,
.question-editor {
  border: 1px solid #d9e5d7;
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}
.question-editor {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 0.8rem;
}
.question-editor legend {
  font-weight: bold;
}
.form-questions {
  min-width: 0;
}
.feature-tile {
  padding: 1.5rem;
  border: 1px solid #dce7d6;
  background: #fff;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.feature-feedback {
  background: #eef6e9;
  border-inline-start: 3px solid #4e9b54;
  padding: 1rem;
  margin-block: 1rem;
}
.history-entry {
  display: block;
  margin-block: 0.4rem;
}
.schedule-editor {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-block: 0.8rem;
  max-width: 100%;
}
.schedule-editor fieldset {
  flex: 0 0 180px;
  min-width: 0;
  border: 1px solid #d9e5d7;
  border-radius: 10px;
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
}
.quiz-question {
  padding: 1.5rem;
  margin-block: 1rem;
  border: 1px solid #dce7d6;
  border-radius: 16px;
  background: white;
}
.quiz-question input[type="radio"],
.quiz-question input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #4e9b54;
  vertical-align: middle;
  margin-inline: 0.5rem;
}
.quiz-question textarea {
  width: 100%;
  min-height: 180px;
  font: inherit;
  padding: 1rem;
}
.quiz-question fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.quiz-question label {
  display: block;
  padding: 0.5rem;
}
.quiz-question .answer > div {
  margin-block: 0.6rem;
}
.quiz-timer {
  position: sticky;
  top: 90px;
  background: #fff1ce;
  border-radius: 12px;
  padding: 1rem;
  z-index: 3;
}
.public-filters {
  display: flex;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.public-filters .field {
  flex: 1;
}
.public-filters select {
  padding: 0.7rem;
  font: inherit;
  border: 1px solid #becdb9;
  border-radius: 10px;
}
.faq-item {
  border-bottom: 1px solid #d9e5d7;
  padding: 1.4rem 0;
}
.faq-item summary {
  font-weight: bold;
  cursor: pointer;
  min-height: 44px;
}
.gallery-albums {
  display: grid;
  gap: 3rem;
}
.gallery-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-media figure {
  margin: 0;
}
.gallery-media img,
.gallery-media video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  background: #e9f5e4;
}
.gallery-media figcaption {
  padding: 0.5rem;
  color: #5b6a5c;
  font-size: 0.88rem;
}
.calendar-agenda {
  display: grid;
  gap: 1rem;
}
.calendar-entry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #dce7d6;
}
.calendar-entry time {
  font-weight: bold;
  color: #2f6b39;
}
.calendar-entry h2 {
  margin: 0.2rem 0;
}
.portal-main,
.panel-card {
  min-width: 0;
}
.portal-main h1 {
  font-family: Vazirmatn, sans-serif !important;
  font-size: 1.9rem;
}
.portal-main .button {
  min-height: 44px;
}
.portal-main .panel-form .check-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}
@media (max-width: 1250px) {
  .desktop-nav,
  .desktop-only {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .header-inner {
    justify-content: space-between;
  }
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: 3.7rem;
  }
  .feature-detail {
    padding: 0.9rem;
  }
  .library-grid,
  .question-editor,
  .gallery-media {
    grid-template-columns: 1fr;
  }
  .calendar-entry {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .gallery-media img,
  .gallery-media video {
    height: auto;
    max-height: 450px;
  }
  .public-filters {
    align-items: stretch;
    flex-direction: column;
  }
  .portal-main h1 {
    font-size: 1.5rem;
  }
  .quiz-question {
    padding: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
