:root {
  --ink: #221833;
  --muted: #655b76;
  --purple: #6c3bd2;
  --purple-dark: #3c1a78;
  --teal: #13b9b2;
  --teal-dark: #067f83;
  --yellow: #ffe681;
  --yellow-soft: #fff4bc;
  --pink: #ff6fae;
  --white: #fffdf8;
  --line: rgba(34, 24, 51, 0.14);
  --shadow: 0 24px 60px rgba(37, 20, 83, 0.18);
  --body-font: "Inter", Arial, sans-serif;
  --display-font: "Fredoka", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 230, 129, 0.65), transparent 24rem),
    linear-gradient(180deg, #fff9df 0%, #f6fffe 34%, #fffdf8 100%);
  font-family: var(--body-font);
  line-height: 1.5;
}

html:lang(th) {
  --body-font: "Noto Sans Thai", "Inter", Arial, sans-serif;
  --display-font: "Noto Sans Thai", "Inter", Arial, sans-serif;
}

html:lang(zh-CN) {
  --body-font: "Noto Sans SC", "Inter", Arial, sans-serif;
  --display-font: "Noto Sans SC", "Inter", Arial, sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 40px rgba(34, 24, 51, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: contain;
  background: white;
  box-shadow: 0 10px 22px rgba(108, 59, 210, 0.24);
}

.brand strong,
h1,
h2,
h3 {
  font-family: var(--display-font);
  line-height: 1;
}

.brand strong {
  display: block;
  font-size: 1.2rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.nav-cta,
.button,
.language-switcher summary,
.mobile-nav summary {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--purple-dark);
  background: rgba(108, 59, 210, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #180b28;
  background: var(--yellow);
  box-shadow: 0 10px 22px rgba(255, 206, 52, 0.3);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.language-switcher,
.mobile-nav {
  position: relative;
}

.mobile-nav {
  display: none;
}

.language-switcher summary,
.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  list-style: none;
  color: var(--purple-dark);
  background: rgba(108, 59, 210, 0.1);
  cursor: pointer;
}

.mobile-nav summary {
  justify-content: center;
  width: 44px;
  padding: 0;
  font-size: 1.2rem;
}

.language-switcher summary::-webkit-details-marker,
.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.language-switcher[open] summary,
.mobile-nav[open] summary {
  background: rgba(108, 59, 210, 0.16);
}

.language-switcher-code {
  display: inline-block;
  letter-spacing: 0;
  line-height: 1;
}

.flag-badge {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(34, 24, 51, 0.12);
  flex-shrink: 0;
}

.flag-en {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='3.5' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E")
    center/cover no-repeat;
}

.flag-th {
  background: linear-gradient(
    180deg,
    #a51931 0 20%,
    #f8f8f8 20% 35%,
    #2d2a4a 35% 65%,
    #f8f8f8 65% 80%,
    #a51931 80% 100%
  );
}

.flag-zh {
  background: #de2910;
}

.flag-zh::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 7px;
  height: 7px;
  background: #ffde00;
  clip-path: polygon(50% 0%, 61% 34%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 34%);
}

.language-switcher-caret {
  font-size: 0.75rem;
}

.language-switcher-menu,
.mobile-nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  padding: 8px;
  border: 1px solid rgba(34, 24, 51, 0.12);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 40px rgba(34, 24, 51, 0.16);
  backdrop-filter: blur(18px);
  z-index: 30;
}

.language-switcher-menu {
  min-width: 176px;
}

.mobile-nav-menu {
  min-width: 220px;
}

.language-switcher-menu a,
.mobile-nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.mobile-nav-menu a {
  justify-content: flex-start;
}

.language-switcher-menu a:hover,
.language-switcher-menu a[aria-current="page"],
.mobile-nav-menu a:hover {
  color: var(--purple-dark);
  background: rgba(108, 59, 210, 0.08);
}

.language-switcher-menu strong {
  font-family: var(--body-font);
}

.mobile-nav-menu .mobile-nav-cta {
  margin-top: 4px;
  color: #170b24;
  background: var(--yellow);
  box-shadow: 0 10px 22px rgba(255, 206, 52, 0.24);
}

.mobile-nav-menu .mobile-nav-cta:hover {
  color: #170b24;
  background: var(--yellow);
}

.language-switcher-menu span {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 156px max(24px, calc((100vw - 1120px) / 2)) 64px;
  overflow: hidden;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(40, 19, 71, 0.9) 0%, rgba(49, 20, 82, 0.72) 38%, rgba(12, 126, 128, 0.14) 70%, rgba(255, 246, 201, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 244, 188, 0.08), rgba(255, 253, 248, 0.4) 92%, #fffdf8 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(600px, 100%);
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.connect-section .section-kicker,
.detail-section .section-kicker,
.schedule-callout .section-kicker,
.map-section .section-kicker {
  color: var(--purple);
}

h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 230, 129, 0.42);
  border-radius: 8px;
  color: #fff8c8;
  background: rgba(34, 24, 51, 0.58);
  box-shadow: 0 18px 42px rgba(20, 10, 39, 0.28);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
}

.button.primary {
  color: #170b24;
  background: var(--yellow);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.proof-strip span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #f9fffe;
  background: rgba(19, 185, 178, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 0.85rem;
  font-weight: 800;
}

section:not(.hero) {
  padding: 78px max(24px, calc((100vw - 1120px) / 2));
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.4fr;
  gap: 34px;
  align-items: start;
}

.intro-copy h2,
.section-heading h2,
.projects-section h2,
.visit-section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.intro-section .section-kicker,
.programs-section .section-kicker,
.projects-section .section-kicker,
.lab-flow .section-kicker,
.visit-section .section-kicker {
  color: var(--teal-dark);
}

.promise-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workshop-feature {
  display: grid;
}

.promise-grid article,
.program-card,
.project-list article,
.signup-form,
.visit-panel {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
}

.promise-grid article,
.program-card {
  border-radius: 8px;
  padding: 24px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: #132b31;
  background: var(--yellow);
  font-size: 1.1rem;
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

p {
  color: var(--muted);
}

.programs-section {
  background:
    linear-gradient(120deg, rgba(108, 59, 210, 0.1), rgba(19, 185, 178, 0.1)),
    #f8fbff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.program-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
}

.workshop-card {
  min-height: 360px;
}

.workshop-date {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.workshop-card h3 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.workshop-card p {
  max-width: 840px;
  font-size: 1.16rem;
}

.workshop-card ul {
  margin-top: 28px;
}

.workshop-location {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
}

.featured-card .workshop-location {
  color: rgba(255, 255, 255, 0.8);
}

.workshop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: flex-start;
  margin-top: 16px;
}

.workshop-join,
.workshop-learn-more {
  color: #170b24;
  background: var(--yellow);
  box-shadow: 0 14px 28px rgba(255, 206, 52, 0.28);
}

.featured-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #4e259d, #2f1767);
  color: white;
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(78, 37, 157, 1) 0%, rgba(47, 23, 103, 0.98) 44%, rgba(47, 23, 103, 0.28) 64%, rgba(47, 23, 103, 0.02) 100%),
    url("https://images.pexels.com/photos/29321557/pexels-photo-29321557.jpeg?cs=srgb&dl=pexels-sergeistarostin-29321557.jpg&fm=jpg") right center/cover;
  transform: scaleX(-1);
  transform-origin: center;
  z-index: 0;
  opacity: 1;
}

.featured-card > * {
  position: relative;
  z-index: 1;
}

.featured-card p,
.featured-card li {
  color: rgba(255, 255, 255, 0.8);
}

.camp-card {
  background: linear-gradient(180deg, #fff8d0, #fffdf8);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 40px;
}

.tag,
.age {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(19, 185, 178, 0.13);
}

.featured-card .tag,
.featured-card .age {
  background: rgba(255, 255, 255, 0.16);
}

ul {
  margin: auto 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.projects-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: start;
}

.section-copy {
  max-width: 520px;
  font-size: 1.08rem;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border-radius: 8px;
}

.project-list span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: white;
  background: var(--teal);
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 700;
}

.project-list p {
  margin: 0;
}

.lab-flow {
  background: #221833;
  color: white;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.flow-steps li {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.flow-steps span {
  display: block;
  margin-bottom: 42px;
  color: var(--yellow);
  font-family: var(--display-font);
  font-size: 2.15rem;
}

.visit-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.visit-panel,
.signup-form {
  border-radius: 8px;
  padding: 28px;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--purple-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.signup-form label:last-of-type {
  grid-column: 1 / -1;
}

.signup-form .check-option {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.35;
}

.check-option input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--purple);
}

.form-thanks {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 250px;
  text-align: center;
}

.form-thanks h3 {
  margin: 0 0 8px;
  color: var(--purple-dark);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.form-thanks p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1.2rem;
  font-weight: 900;
}

.hidden-submit-frame {
  width: 0;
  height: 0;
  border: 0;
  visibility: hidden;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 700;
}

select:invalid {
  color: #8b8497;
}

select option {
  color: var(--ink);
}

.signup-form button {
  grid-column: 1 / -1;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.bottom-cta {
  padding: 0 max(24px, calc((100vw - 1120px) / 2)) 34px;
}

.bottom-cta a {
  display: grid;
  place-items: center;
  min-height: 82px;
  border-radius: 8px;
  color: #170b24;
  background: var(--yellow);
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
  font-family: var(--display-font);
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  font-weight: 700;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  color: white;
  background: var(--purple-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

footer strong {
  display: block;
}

footer span {
  color: rgba(255, 255, 255, 0.72);
}

.footer-copy {
  display: grid;
  gap: 6px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.detail-page {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 230, 129, 0.65), transparent 24rem),
    linear-gradient(180deg, #fff9df 0%, #f6fffe 34%, #fffdf8 100%);
}

.about-page {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 230, 129, 0.65), transparent 24rem),
    linear-gradient(180deg, #fff9df 0%, #f6fffe 34%, #fffdf8 100%);
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 156px max(24px, calc((100vw - 1120px) / 2)) 78px;
}

.about-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
}

.about-panel h1,
.about-panel h2,
.about-panel p {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.about-panel h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.about-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-panel p {
  font-size: 1.08rem;
  font-weight: 700;
}

.about-support {
  background: linear-gradient(180deg, rgba(19, 185, 178, 0.1), rgba(108, 59, 210, 0.08)), rgba(255, 253, 248, 0.9);
}

.about-photo-panel {
  color: white;
  background:
    linear-gradient(90deg, rgba(34, 24, 51, 0.82) 0%, rgba(34, 24, 51, 0.58) 48%, rgba(34, 24, 51, 0.18) 100%),
    url("https://images.pexels.com/photos/7869090/pexels-photo-7869090.jpeg?cs=srgb&dl=pexels-vanessa-loring-7869090.jpg&fm=jpg") center/cover;
}

.about-photo-panel p,
.about-photo-panel h1,
.about-photo-panel .section-kicker {
  color: white;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: stretch;
  padding: 156px max(24px, calc((100vw - 1120px) / 2)) 78px;
}

.detail-copy,
.detail-panel,
.detail-grid article,
.detail-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
}

.detail-copy {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.detail-copy .eyebrow {
  color: var(--teal-dark);
}

.detail-copy h1,
.detail-copy p,
.detail-copy .hero-actions,
.detail-copy .eyebrow {
  position: relative;
  z-index: 1;
}

.detail-copy h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
}

.detail-copy p {
  max-width: 720px;
  font-size: 1.2rem;
  font-weight: 700;
}

.detail-copy-photo {
  color: white;
  background:
    linear-gradient(90deg, rgba(34, 24, 51, 0.82) 0%, rgba(34, 24, 51, 0.56) 48%, rgba(34, 24, 51, 0.18) 100%),
    url("https://images.pexels.com/photos/29321557/pexels-photo-29321557.jpeg?cs=srgb&dl=pexels-sergeistarostin-29321557.jpg&fm=jpg") center/cover;
}

.detail-copy-photo p,
.detail-copy-photo h1,
.detail-copy-photo .eyebrow {
  color: white;
}

.detail-copy-photo .eyebrow {
  color: var(--yellow-soft);
}

.button.light {
  color: #170b24;
  border-color: rgba(255, 230, 129, 0.42);
  background: var(--yellow);
  box-shadow: 0 10px 22px rgba(255, 206, 52, 0.3);
}

.detail-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  background: linear-gradient(180deg, #4e259d, #2f1767);
}

.learning-panel h2 {
  margin: 0 0 10px;
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.learning-panel details {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.learning-panel summary {
  min-height: 46px;
  padding: 12px 14px;
  cursor: pointer;
  list-style-position: inside;
  font-weight: 900;
}

.learning-panel p {
  margin: 0;
  padding: 0 14px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 700;
}

.detail-section {
  padding: 78px max(24px, calc((100vw - 1120px) / 2));
}

.schedule-callout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
}

.schedule-callout h3,
.schedule-callout p {
  margin: 0;
}

.schedule-callout p:not(.section-kicker) {
  font-weight: 700;
}

.schedule-download {
  color: #170b24;
  background: var(--yellow);
  white-space: nowrap;
}

.map-section {
  padding-top: 0;
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
}

.location-copy h2,
.location-copy p {
  margin: 0;
}

.location-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.location-copy p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.detail-grid article {
  padding: 24px;
}

.detail-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  margin: 0 max(24px, calc((100vw - 1120px) / 2)) 78px;
  padding: 34px;
  background: var(--purple-dark);
  color: white;
}

.detail-band .section-kicker,
.detail-band p {
  color: rgba(255, 255, 255, 0.78);
}

.detail-band h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.detail-band p {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.reserve-callout {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  margin: 0 max(24px, calc((100vw - 1120px) / 2)) 78px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
}

.reserve-callout h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
}

.reserve-callout .button {
  min-height: 40px;
  padding: 0 18px;
  width: auto;
  min-width: 0;
  font-size: 0.95rem;
}

.connect-section {
  background:
    linear-gradient(120deg, rgba(19, 185, 178, 0.08), rgba(108, 59, 210, 0.08)),
    #fffdf8;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.connect-card {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
}

.connect-card strong {
  font-family: var(--display-font);
  font-size: 1.35rem;
}

.connect-card span {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: 680px;
    padding-top: 132px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(40, 19, 71, 0.92) 0%, rgba(49, 20, 82, 0.68) 72%, rgba(12, 126, 128, 0.08) 100%),
      linear-gradient(180deg, rgba(255, 244, 188, 0.08), #fffdf8 100%);
  }

  .intro-section,
  .projects-section,
  .visit-section,
  .about-hero,
  .detail-hero,
  .detail-band,
  .schedule-callout,
  .reserve-callout {
    grid-template-columns: 1fr;
  }

  .reserve-callout {
    display: grid;
  }

  .promise-grid,
  .program-grid,
  .flow-steps,
  .detail-grid,
  .connect-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 18px;
  }

  .brand small {
    display: none;
  }

  .language-switcher summary {
    padding: 0 12px;
  }

  .language-switcher-menu {
    right: -4px;
    min-width: 160px;
  }

  .mobile-nav-menu {
    right: 0;
    min-width: 200px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  section:not(.hero) {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-heading {
    display: block;
  }

  .promise-grid,
  .program-grid,
  .flow-steps,
  .signup-form,
  .detail-grid,
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: auto;
  }

  .footer-nav {
    gap: 12px;
  }

  .project-list article {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
  }
}
