: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;
  --rc-car-photo: url("assets/rc-car-workshop.jpg");
}

* {
  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;
}

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%
  );
}

.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;
  max-width: 1060px;
  margin: 0 auto;
}

.promise-grid article,
.program-card,
.project-list article,
.component-card,
.signup-form,
.visit-panel,
.visit-choice-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-hero-card {
  min-height: min(560px, calc(100vh - 130px));
  padding: clamp(22px, 3.2vw, 34px);
  justify-content: flex-start;
}

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

.workshop-card .workshop-date {
  font-size: 0.9rem;
}

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

.workshop-hero-card h2 {
  max-width: 600px;
  margin: 0 0 14px;
  color: white;
  font-size: clamp(2.2rem, 4.5vw, 3.85rem);
  line-height: 1;
}

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

.workshop-hero-card > p:not(.workshop-date):not(.workshop-location):not(.pricing-note) {
  max-width: 620px;
  font-size: clamp(0.94rem, 1.15vw, 1.02rem);
  line-height: 1.5;
}

.pricing-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 230, 129, 0.34);
  border-radius: 8px;
  background: rgba(255, 230, 129, 0.12);
}

.workshop-hero-card .pricing-note {
  max-width: 610px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pricing-note strong {
  color: var(--yellow-soft);
}

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

.workshop-hero-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(0.86rem, 1vw, 0.95rem);
}

.workshop-hero-card li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

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

.workshop-age-note {
  margin: 0 0 12px;
  color: var(--purple-dark);
  font-size: 0.98rem;
  font-weight: 900;
}

.workshop-card .workshop-location {
  font-size: 0.9rem;
}

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

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

.workshop-hero-card .workshop-actions {
  margin-top: 16px;
}

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

.workshop-learn-more {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.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%),
    var(--rc-car-photo) right center/cover;
  transform: scaleX(-1);
  transform-origin: center;
  z-index: 0;
  opacity: 1;
}

.workshop-hero-card::before {
  background:
    linear-gradient(90deg, rgba(47, 23, 103, 0.98) 0%, rgba(78, 37, 157, 0.9) 34%, rgba(78, 37, 157, 0.5) 56%, rgba(47, 23, 103, 0.05) 100%),
    var(--rc-car-photo) center center/cover;
  transform: none;
}

.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;
}

.workshop-hero-card .card-topline {
  margin-bottom: 30px;
}

.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;
}

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

.component-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
}

.component-card h3 {
  margin: 0;
  color: var(--purple-dark);
  font-size: 1.25rem;
}

.component-card p {
  margin: 0;
  font-weight: 700;
}

.component-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19, 185, 178, 0.18), rgba(108, 59, 210, 0.16)),
    #f6fffe;
}

.component-visual::before,
.component-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.component-visual.microcontroller,
.component-visual.motor-driver,
.component-visual.motors,
.component-visual.coding {
  background-color: #eefcff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.component-visual.microcontroller {
  background-image: url("assets/esp32.png");
}

.component-visual.motor-driver {
  background-image: url("assets/motordriver.png");
}

.component-visual.motors {
  background-image: url("assets/dcmotors.png");
}

.component-visual.coding {
  background-image: url("assets/arduinoide.png");
}

.component-visual.microcontroller::before,
.component-visual.microcontroller::after,
.component-visual.motor-driver::before,
.component-visual.motor-driver::after,
.component-visual.motors::before,
.component-visual.motors::after,
.component-visual.coding::before,
.component-visual.coding::after {
  content: none;
}

.microcontroller::before {
  width: 86px;
  height: 56px;
  border: 4px solid #e9fff8;
  border-radius: 8px;
  background: #0a8f73;
  box-shadow:
    -52px -20px 0 -18px #ffe681,
    -52px 0 0 -18px #ffe681,
    -52px 20px 0 -18px #ffe681,
    52px -20px 0 -18px #ffe681,
    52px 0 0 -18px #ffe681,
    52px 20px 0 -18px #ffe681;
}

.microcontroller::after {
  width: 34px;
  height: 24px;
  border-radius: 5px;
  background: #221833;
}

.potentiometer::before {
  width: 82px;
  height: 82px;
  border: 12px solid #13b9b2;
  border-radius: 999px;
  background: #fffdf8;
  box-shadow: 0 12px 0 rgba(34, 24, 51, 0.12);
}

.potentiometer::after {
  width: 58px;
  height: 10px;
  border-radius: 999px;
  background: var(--purple-dark);
  transform: translate(-50%, -50%) rotate(-34deg);
}

.breadboard::before {
  width: 124px;
  height: 78px;
  border: 3px solid rgba(34, 24, 51, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle, rgba(34, 24, 51, 0.38) 0 2px, transparent 2.5px) 11px 13px/18px 18px,
    linear-gradient(90deg, rgba(255, 111, 174, 0.8) 0 5px, transparent 5px calc(100% - 5px), rgba(19, 185, 178, 0.85) calc(100% - 5px)),
    #fffdf8;
}

.breadboard::after {
  width: 4px;
  height: 72px;
  background: rgba(34, 24, 51, 0.14);
}

.motor-driver::before {
  width: 104px;
  height: 64px;
  border-radius: 10px;
  background: #6c3bd2;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.16),
    -42px 0 0 -22px #221833,
    42px 0 0 -22px #221833;
}

.motor-driver::after {
  width: 54px;
  height: 26px;
  border-radius: 6px;
  background: #ffe681;
}

.motors::before,
.motors::after {
  width: 62px;
  height: 42px;
  border-radius: 999px 999px 14px 14px;
  background: #221833;
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, 0.16);
}

.motors::before {
  transform: translate(-78%, -50%) rotate(-10deg);
}

.motors::after {
  transform: translate(-20%, -50%) rotate(10deg);
  background: #13b9b2;
}

.wiring::before {
  width: 132px;
  height: 80px;
  border: 8px solid transparent;
  border-top-color: #ff6fae;
  border-left-color: #13b9b2;
  border-radius: 34px;
  transform: translate(-50%, -42%) rotate(-8deg);
}

.wiring::after {
  width: 92px;
  height: 46px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #221833 0 18%, #ffe681 18% 82%, #221833 82% 100%);
  transform: translate(-50%, 18%);
}

.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;
}

.visit-choice-panel {
  display: grid;
  gap: 14px;
  border-radius: 8px;
  padding: 18px;
}

.choice-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px 16px;
  align-content: center;
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.choice-card .choice-visual {
  position: relative;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 16px;
  color: white;
  background:
    linear-gradient(135deg, rgba(19, 185, 178, 0.26), rgba(108, 59, 210, 0.18)),
    #f6fffe;
  font-family: var(--display-font);
  font-size: 1.2rem;
  font-weight: 700;
}

.choice-visual::before,
.choice-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
}

.rc-car-visual::before {
  width: 38px;
  height: 20px;
  border-radius: 16px 16px 8px 8px;
  background: var(--teal);
  box-shadow: inset 0 -6px 0 rgba(34, 24, 51, 0.16);
  transform: translate(-50%, -62%);
}

.rc-car-visual::after {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--purple-dark);
  box-shadow:
    26px 0 0 var(--purple-dark),
    6px -22px 0 -3px var(--yellow),
    18px -22px 0 -3px var(--yellow);
  transform: translate(-18px, 5px);
}

.calendar-visual::before {
  width: 38px;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--purple-dark) 0 12px, #fffdf8 12px 100%);
  box-shadow: inset 0 0 0 3px var(--purple-dark);
  transform: translate(-50%, -50%);
}

.calendar-visual::after {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--teal);
  box-shadow:
    10px 0 0 var(--teal),
    20px 0 0 var(--teal),
    0 10px 0 var(--pink),
    10px 10px 0 var(--pink),
    20px 10px 0 var(--pink);
  transform: translate(-15px, -2px);
}

.choice-card strong {
  color: var(--purple-dark);
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.choice-card p {
  margin: 0;
  font-weight: 700;
}

.choice-card-accent {
  color: #170b24;
  background: var(--yellow);
}

.choice-card-accent p,
.choice-card-accent strong {
  color: #170b24;
}

.choice-card-accent .choice-visual {
  background: var(--purple-dark);
}

.choice-card-accent .calendar-visual::before {
  background:
    linear-gradient(180deg, var(--teal) 0 12px, #fffdf8 12px 100%);
  box-shadow: inset 0 0 0 3px var(--teal);
}

.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: center;
  gap: 12px;
  color: var(--muted);
  line-height: 1.2;
}

.check-option input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  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,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 700;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 116px;
  padding: 14px;
  resize: vertical;
}

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%);
}

.reserve-page .site-header .nav-cta {
  background: var(--yellow);
}

.reserve-hero {
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  align-items: start;
  padding-top: 156px;
}

.reserve-hero .visit-panel,
.reserve-hero .signup-form {
  padding: 22px;
}

.reserve-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(108, 59, 210, 0.12), rgba(19, 185, 178, 0.12)),
    rgba(255, 253, 248, 0.92);
}

.reserve-panel h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.45rem, 4.2vw, 4.25rem);
}

.reserve-panel > p:not(.section-kicker) {
  max-width: 620px;
  font-size: 1rem;
  font-weight: 700;
}

.reserve-form {
  align-content: start;
  gap: 14px 16px;
}

.reserve-form label {
  align-content: start;
}

.reserve-form input,
.reserve-form select {
  min-height: 44px;
}

.reserve-form input,
.reserve-form select,
.reserve-form textarea {
  border-radius: 7px;
  font-size: 0.95rem;
}

.reserve-form textarea {
  min-height: 92px;
}

.reserve-form button {
  min-height: 46px;
}

.reserve-price-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.reserve-price-stack article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.reserve-price-stack span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reserve-price-stack strong {
  display: block;
  margin: 6px 0;
  color: var(--purple-dark);
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1;
}

.reserve-price-stack p {
  margin: 0;
  font-weight: 700;
}

.reserve-form .form-wide {
  grid-column: 1 / -1;
}

.reserve-details {
  padding-top: 0;
}

.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: 1fr;
  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%),
    var(--rc-car-photo) 58% center/cover;
}

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

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

.detail-copy-photo .workshop-age-note {
  color: var(--yellow-soft);
}

.learning-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 371px);
  gap: 0;
  align-items: stretch;
  width: 100%;
  height: 660px;
  margin-top: 22px;
}

.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: start;
  gap: 12px;
  padding: 28px;
  background: linear-gradient(180deg, #4e259d, #2f1767);
}

.learning-showcase .learning-panel {
  position: relative;
  z-index: 2;
  justify-self: start;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.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;
}

.learning-image-panel {
  position: relative;
  min-height: 0;
  height: 100%;
  aspect-ratio: 9 / 16;
  margin: 0 0 0 -1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #221833;
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
}

.learning-image-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(47, 23, 103, 0.42), rgba(47, 23, 103, 0.08)),
    linear-gradient(180deg, rgba(34, 24, 51, 0.08), rgba(34, 24, 51, 0.28));
  pointer-events: none;
}

.learning-image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.video-placeholder-section {
  display: grid;
  padding-top: 0;
}

.video-placeholder {
  display: grid;
  place-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1120px;
  min-height: 0;
  max-height: 660px;
  aspect-ratio: 16 / 9;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(108, 59, 210, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(108, 59, 210, 0.18), rgba(19, 185, 178, 0.16)),
    rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 38px rgba(34, 24, 51, 0.08);
  text-align: center;
}

.video-placeholder iframe,
.video-placeholder video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-placeholder .section-kicker {
  margin-bottom: 8px;
  color: var(--teal-dark);
}

.video-placeholder h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(2rem, 5vw, 4rem);
}

.video-play {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  color: #170b24;
  background: var(--yellow);
  box-shadow: 0 16px 32px rgba(255, 206, 52, 0.3);
  font-size: 2rem;
}

.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;
}

.outcome-list {
  display: grid;
  gap: 18px;
}

.outcome-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.outcome-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.outcome-list h3 {
  margin: 0 0 8px;
  color: var(--yellow-soft);
  font-size: 1.35rem;
}

.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,
  .learning-showcase,
  .detail-band,
  .schedule-callout,
  .reserve-callout {
    grid-template-columns: 1fr;
  }

  .learning-showcase {
    width: 100%;
    height: auto;
  }

  .learning-image-panel {
    display: none;
  }

  .reserve-callout {
    display: grid;
  }

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

  .workshop-feature {
    max-width: none;
  }

  .workshop-hero-card {
    min-height: auto;
  }

  .workshop-hero-card::before {
    background:
      linear-gradient(180deg, rgba(47, 23, 103, 0.98) 0%, rgba(78, 37, 157, 0.86) 58%, rgba(47, 23, 103, 0.68) 100%),
      var(--rc-car-photo) center center/cover;
  }

  .workshop-hero-card h2,
  .workshop-hero-card > p:not(.workshop-date):not(.workshop-location):not(.pricing-note),
  .workshop-hero-card .pricing-note,
  .workshop-hero-card ul {
    max-width: none;
  }

  .workshop-hero-card .card-topline {
    margin-bottom: 24px;
  }
}

@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,
  .component-gallery,
  .flow-steps,
  .signup-form,
  .learning-showcase,
  .detail-grid,
  .connect-grid,
  .reserve-price-stack {
    grid-template-columns: 1fr;
  }

  .choice-card {
    grid-template-columns: 1fr;
  }

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

  .workshop-hero-card {
    padding: 20px;
  }

  .workshop-hero-card h2 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .workshop-date,
  .workshop-card .workshop-date {
    font-size: 0.82rem;
  }

  .workshop-hero-card ul {
    padding: 0;
  }

  .workshop-actions,
  .workshop-actions .button {
    width: 100%;
  }

  .footer-nav {
    gap: 12px;
  }

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

  footer {
    display: grid;
  }
}
