:root {
  --ink: #173329;
  --green: #255d48;
  --green-dark: #163d30;
  --tomato: #ed533f;
  --yellow: #f3c54f;
  --blue: #3f9eb9;
  --navy: #071c67;
  --teal: #079ba7;
  --purple: #612494;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #cbd6cf;
  --muted: #66756e;
  --header-height: 86px;
  --page-gutter: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
}

body.dialog-open { overflow: hidden; }
.back-to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 3px 14px rgba(0,0,0,0.18); cursor: pointer; }
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--teal); }
.back-to-top:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.back-to-top svg { width: 24px; height: 24px; }
body.dialog-open .back-to-top { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.inline-wordmark { display: inline-block; width: 5.25em; height: 1.05em; max-width: 100%; vertical-align: -0.16em; }
.inline-wordmark img { display: block; width: 100%; height: 100%; object-fit: contain; clip-path: polygon(0 14%, 22% 14%, 22% 0, 33% 0, 33% 20%, 52% 20%, 52% 8%, 65% 8%, 65% 35%, 100% 35%, 100% 100%, 0 100%); }
.early-foundations .inline-wordmark { padding: 1px 3px; background: #fff; border-radius: 2px; }

.admission-bar {
  min-height: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px var(--page-gutter);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
}

.admission-bar p { margin: 0; text-align: center; }
.admission-bar strong { color: var(--yellow); }
.admission-bar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(255,255,255,0.72);
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
  font-weight: 700;
}
.admission-bar svg { width: 14px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 var(--page-gutter);
  background: var(--paper);
  border-bottom: 1px solid rgba(23, 51, 41, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-image,
.brand-crop {
  width: 132px;
  height: 92px;
}

.brand-wordmark-image {
  width: 190px;
  height: 52px;
}

.brand-wordmark-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-lockup { width: 210px; height: auto; display: flex; flex-direction: column; gap: 3px; padding: 8px 0; }
.brand-lockup img { width: 190px; height: 39px; }
.brand-subtitle { font-size: 12px; line-height: 1.2; font-weight: 700; color: var(--navy); }
.brand-tagline { font-size: 11px; line-height: 1.3; font-style: italic; color: var(--teal); }
.site-header .brand-lockup { width: 250px; gap: 2px; }
.site-header .brand-lockup > .header-wordmark { width: 230px; height: 46px; }
.header-logo-details { position: relative; display: block; width: 250px; height: 38px; overflow: hidden; }
.site-header .header-logo-details > img { position: absolute; width: 287px; max-width: none; height: auto; left: -14px; top: -166px; }
body { --header-height: 102px; }

.learning-gallery { padding: 75px var(--page-gutter) 85px; background: var(--white); }
.gallery-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 38px; }
.gallery-heading .kicker { margin-bottom: 14px; }
.gallery-heading h2 { margin: 0; font: 500 48px/1.1 "Fraunces", serif; }
.gallery-heading > p { margin: 0; color: var(--muted); line-height: 1.7; max-width: 530px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gallery-grid figure { margin: 0; min-width: 0; }
.gallery-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.gallery-grid .discovery-photo img { object-position: 85% center; }
.gallery-grid figcaption { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 22px 0 0; }
.gallery-grid figcaption > svg { width: 24px; height: 24px; color: var(--tomato); }
.gallery-grid figure:nth-child(2) svg { color: var(--teal); }
.gallery-grid figure:nth-child(3) svg { color: var(--green); }
.gallery-grid h3 { margin: 0 0 8px; font: 600 23px/1.2 "Fraunces", serif; }
.gallery-grid figcaption p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.gallery-note { margin: 22px 0 0; color: var(--muted); font-size: 11px; }

@media (max-width: 720px) {
  .site-header .brand-lockup { width: 185px; height: auto; }
  .site-header .brand-lockup img { width: 166px; height: 34px; }
  .site-header .brand-lockup > .header-wordmark { width: 176px; height: 36px; }
  .header-logo-details { width: 185px; height: 29px; }
  .site-header .header-logo-details > img { width: 212px; height: auto; left: -10px; top: -123px; }
  .brand-subtitle { font-size: 11px; }
  .brand-tagline { font-size: 10px; }
  .learning-gallery { padding: 65px 20px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 24px; }
  .gallery-heading h2 { font-size: 36px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 34px; }
}

.brand-crop {
  display: block;
}

.brand-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tomato);
  color: var(--white);
  font: 600 27px/1 "Fraunces", serif;
}

.brand strong {
  display: block;
  font: 600 24px/1 "Fraunces", serif;
}

.desktop-nav { display: flex; gap: 18px; margin-left: auto; }
.desktop-nav a { font-size: 13px; font-weight: 600; white-space: nowrap; }
.desktop-nav a:hover { color: var(--tomato); }

.header-cta,
.mobile-menu button {
  height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 4px;
  padding: 0 18px;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
}

.header-cta svg { width: 17px; }
.header-cta { flex: none; white-space: nowrap; }
@media (max-width: 1100px) {
  .desktop-nav, .header-cta { display: none; }
  .site-header .menu-button { display: grid; }
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.mobile-menu {
  position: absolute;
  z-index: 19;
  top: auto;
  width: 100%;
  padding: 20px var(--page-gutter) 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 32px rgba(20, 45, 35, 0.12);
}

.mobile-menu a { display: block; padding: 13px 0; font-weight: 600; }
.mobile-menu button { width: 100%; justify-content: center; margin-top: 10px; }

.hero {
  position: relative;
  min-height: calc(92svh - var(--header-height) - 36px);
  max-height: 860px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/thinkseum-hero-v2.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 35, 27, 0.84) 0%, rgba(12, 35, 27, 0.55) 34%, rgba(12, 35, 27, 0.04) 67%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 55%);
  padding: clamp(75px, 12vh, 130px) var(--page-gutter) 140px;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  width: max-content;
  max-width: calc(100vw - 2 * var(--page-gutter));
  font: 600 clamp(68px, 9vw, 142px)/0.8 "Fraunces", serif;
  letter-spacing: 0;
}

.hero-line {
  margin: 28px 0 14px;
  color: var(--yellow);
  font: 500 clamp(25px, 3vw, 40px)/1.05 "Fraunces", serif;
}

.brand-pronunciation {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}
.brand-pronunciation strong { font-weight: 700; }
.brand-pronunciation span { opacity: 0.85; }
.brand-pronunciation a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.4); }
.brand-pronunciation svg { width: 16px; height: 16px; }

.name-story {
  position: relative;
  overflow: hidden;
  padding: 85px var(--page-gutter);
  background-color: #d9eefb;
  background-image: url("assets/thinkseum-sky.png");
  background-size: cover;
  background-position: center;
}
.name-story > .kicker { margin-bottom: 18px; text-align: center; }
.name-story-intro { max-width: 600px; margin: 0 auto; color: #244b47; text-align: center; font-size: 18px; line-height: 1.7; }
.name-story h2 { margin: 0; padding-top: 72px; font: 500 54px/1.1 "Fraunces", serif; letter-spacing: 0; text-align: center; }
.heading-wordmark { position: relative; }
#ladybug-perch { position: absolute; left: 54%; top: 9%; width: 10%; height: 91%; }
.sky-ladybug { position: absolute; top: 0; left: 0; width: 48px; height: 48px; visibility: hidden; pointer-events: none; z-index: 1; }
.sky-ladybug-sprite { display: block; width: 100%; height: 100%; background: url("assets/thinkseum-ladybug-sprite.png") 100% 0 / 300% 100% no-repeat; }
.sky-ladybug.is-flying .sky-ladybug-sprite { animation: ladybug-wingbeat 180ms steps(1, end) infinite; }
.ladybug-trail { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ladybug-trail-dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--navy); animation: ladybug-trail-fade 2200ms ease-out forwards; }
@keyframes ladybug-wingbeat { 0%, 100% { background-position: 0 0; } 50% { background-position: 50% 0; } }
@keyframes ladybug-trail-fade { from { opacity: 0.55; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sky-ladybug.is-flying .sky-ladybug-sprite { animation: none; }
  .ladybug-trail { display: none; }
}
.name-guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: center; margin-top: 38px; }
.name-guide-mascot { display: block; width: min(100%, 280px); height: 300px; object-fit: contain; }
.name-guide-conversation { min-width: 0; width: 100%; max-width: 760px; }
.name-guide-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-bottom: 22px; border-bottom: 1px solid #b4ccd5; }
.name-guide-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 12px 0; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--ink); cursor: pointer; font-weight: 600; }
.name-guide-tabs button[aria-selected="true"] { border-bottom-color: var(--teal); color: var(--navy); }
.name-guide-tabs svg { width: 18px; height: 18px; }
.name-guide-tabs button:focus-visible, .name-guide-panel:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.name-guide-bubble { position: relative; min-height: 420px; padding: 28px 32px; background: white; border-radius: 8px; }
.name-guide-bubble::before { content: ""; position: absolute; left: 50%; top: -16px; transform: translateX(-50%); border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 17px solid white; }
.name-guide-panel[hidden] { display: none; }
.guide-speaker { margin: 0 0 12px; font-size: 12px; font-weight: 700; color: var(--teal); }
.name-guide-panel h3 { margin: 0 0 16px; font: 600 30px/1.2 "Fraunces", serif; color: var(--navy); }
.name-guide-panel > p:not(.guide-speaker) { margin: 0; font-size: 17px; line-height: 1.7; }
.name-guide-panel .guide-name-equation { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 20px !important; color: var(--teal); }
.name-pronunciation { margin-top: 24px; padding-top: 18px; border-top: 1px solid #d7e8ed; }
.pronunciation-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pronunciation-heading > svg { flex: none; width: 25px; height: 25px; color: var(--navy); }
.pronunciation-heading h3 { margin: 0; font-size: 16px; }
.pronunciation-help { margin: 12px 0 0; font-size: 17px; line-height: 1.7; }
.sounds-like-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.sounds-like-word, .name-say .sounds-like-word { display: inline-flex; flex-wrap: nowrap; align-items: baseline; gap: 0; margin: 0; font: 600 38px/1.2 "Fraunces", serif; }
.sound-zeum { white-space: nowrap; }
.sound-think { color: var(--navy); }
.sound-zee { color: var(--teal); }
.sound-um { color: var(--purple); }
.sound-dot:nth-child(2) { color: var(--tomato); }
.sound-dot { color: #bf8600; }
.pronunciation-play { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 8px; border: 0; border-radius: 50%; color: var(--navy); background: #fff0b8; cursor: pointer; }
.pronunciation-play:hover, .pronunciation-play[aria-pressed="true"] { color: white; background: var(--teal); }
.pronunciation-play:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.pronunciation-play svg { width: 26px; height: 26px; stroke: var(--navy); fill: var(--navy); }
.pronunciation-play:hover svg, .pronunciation-play[aria-pressed="true"] svg { stroke: white; fill: white; }
.pronunciation-status { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.pronunciation-status:empty { display: none; }
.name-explanation { max-width: 900px; margin: 48px auto 0; padding-top: 32px; border-top: 1px solid rgba(23,51,41,0.3); }
.name-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.name-parts h3 { margin: 0 0 12px; color: var(--navy); font: 600 28px/1.2 "Fraunces", serif; }
.name-parts p, .name-meaning, .name-say p { margin: 0; font-size: 17px; line-height: 1.7; }
.name-meaning { margin: 28px 0; }
.name-meaning strong { color: var(--navy); }
.name-say { display: flex; align-items: start; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(23,51,41,0.3); }
.name-say > svg { flex: none; width: 24px; height: 24px; color: var(--navy); }
.name-say h3 { margin: 0 0 10px; font-size: 16px; }
.name-say .pronunciation-help { margin-top: 12px; }
.explorer-aside { display: flex; align-items: center; gap: 24px; padding: 26px 0; }
.explorer-aside img { flex: none; width: 96px; height: 110px; object-fit: contain; }
.explorer-aside > div { max-width: 700px; }
.explorer-aside p:not(.guide-speaker) { margin: 0; font-size: 18px; line-height: 1.6; }
.explorer-aside-light .guide-speaker { color: var(--yellow); }
.explorer-aside-light p:not(.guide-speaker) { color: rgba(255,255,255,0.9); }

@media (max-width: 720px) {
  .name-story { padding: 65px 20px; }
  .name-story h2 { font-size: 36px; }
  .name-guide { gap: 12px; margin-top: 22px; }
  .name-guide-mascot { width: min(100%, 190px); height: 190px; }
  .name-guide-tabs { gap: 4px 18px; }
  .name-guide-bubble { padding: 24px; min-height: 560px; }
  .name-guide-panel h3 { font-size: 26px; }
  .sounds-like-word, .name-say .sounds-like-word { font-size: 30px; }
  .name-parts { grid-template-columns: 1fr; gap: 24px; }
  .explorer-aside { gap: 16px; align-items: start; }
  .explorer-aside img { width: 70px; height: 86px; }
  .explorer-aside p:not(.guide-speaker) { font-size: 16px; }
}

@media (max-width: 360px) {
  .sounds-like-word, .name-say .sounds-like-word { font-size: 25px; }
  .sounds-like-row { gap: 8px; }
  .pronunciation-play { width: 40px; height: 40px; }
}

.hero-body { max-width: 510px; margin: 0; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; }

.hero-actions,
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.visit-actions .button { gap: 8px; }
.contact-chevron { width: 16px; height: 16px; transition: transform 180ms ease; }
#contact-toggle[aria-expanded="true"] .contact-chevron { transform: rotate(180deg); }
.contact-options { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-options[hidden] { display: none; }
.contact-options h3 { margin: 0 0 8px; font-size: 20px; }
.contact-email > a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.contact-whatsapp { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.whatsapp-qr { flex: 0 0 180px; background: #fff; border-radius: 4px; }
.whatsapp-qr img { display: block; width: 180px; height: 180px; }
.contact-whatsapp p { margin: 0 0 12px; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.whatsapp-link svg { width: 18px; height: 18px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.button-primary { background: var(--tomato); color: var(--white); }
.button-primary:hover { background: #d94432; }
.button-quiet { border-color: rgba(255,255,255,0.6); color: var(--white); }
.button-quiet:hover { background: rgba(255,255,255,0.12); }
.button-outline { border-color: var(--green); background: transparent; color: var(--green); }
.button-outline:hover { background: var(--green); color: var(--white); }

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: var(--page-gutter);
  width: 190px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.scroll-cue svg { width: 18px; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-strip > div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(18px, 3vw, 40px);
  border-right: 1px solid var(--line);
}

.proof-strip > div:first-child { padding-left: 0; }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong { font: 600 30px/1 "Fraunces", serif; color: var(--navy); }
.proof-strip span { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.manifesto,
.day,
.early-foundations {
  padding: 100px var(--page-gutter);
  background: var(--green-dark);
  color: var(--white);
}

.foundations-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.foundations-intro h2 {
  margin: 0;
  font: 500 54px/1.08 "Fraunces", serif;
  letter-spacing: 0;
}

.foundations-intro p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  line-height: 1.7;
}

.foundations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 0 36px;
  margin-top: 50px;
}

.foundation-tile {
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.foundations-grid svg { width: 25px; height: 25px; color: var(--yellow); }
.foundations-grid h3 { margin: 20px 0 10px; font: 600 25px/1.15 "Fraunces", serif; }
.foundation-tile summary { position: relative; display: block; padding-right: 32px; cursor: pointer; list-style: none; }
.foundation-tile summary::-webkit-details-marker { display: none; }
.foundation-tile summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 8px; }
.foundation-tile summary:hover h3 { color: var(--yellow); }
.foundation-tile summary > span { display: block; color: rgba(255,255,255,0.75); line-height: 1.6; }
.foundation-tile .foundation-toggle { position: absolute; top: 0; right: 0; transition: transform 180ms ease; }
.foundation-tile[open] .foundation-toggle { transform: rotate(45deg); }
.foundation-tile figure { margin: 22px 0 0; }
.foundation-tile img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.foundation-tile figcaption { margin-top: 10px; color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.5; }
.foundation-image-note { margin: 4px 0 0; color: rgba(255,255,255,0.6); font-size: 12px; }
.early-foundations { background: #fff2a6; color: var(--ink); }
.early-foundations .foundations-intro h2 { color: var(--navy); }
.early-foundations .foundations-intro p { color: #3a5149; }
.early-foundations .foundations-grid { gap: 28px; align-items: stretch; }
.early-foundations .foundation-tile { padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #fff; }
.early-foundations .foundation-tile:nth-child(3n + 2) { background: #e4f5fb; }
.early-foundations .foundation-tile:nth-child(3n) { background: #ffebef; }
.early-foundations .foundation-tile figure { margin: 0; }
.early-foundations .foundation-tile img { border-radius: 0; }
.foundation-copy { padding: 24px; }
.early-foundations .foundation-copy svg { color: #087b85; }
.early-foundations .foundation-copy h3 { margin: 12px 0 10px; color: var(--navy); }
.foundation-copy p { margin: 0; color: #3a5149; line-height: 1.6; }
.early-foundations .foundation-image-note { margin-top: 20px; color: #526056; }
.early-foundations .explorer-aside { color: var(--ink); }
.early-foundations .explorer-aside .guide-speaker { color: #087b85; }
.early-foundations .explorer-aside p:not(.guide-speaker) { color: #173329; }
@media (min-width: 721px) and (max-width: 980px) {
  .early-foundations .foundations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .foundations-intro { grid-template-columns: 1fr; gap: 28px; }
  .foundations-intro h2 { font-size: 46px; }
}

@media (max-width: 720px) {
  .early-foundations { padding: 75px 20px; }
  .foundations-intro h2 { font-size: 36px; }
  .foundations-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .foundation-tile { padding: 25px 0; }
  .foundations-closing { font-size: 27px; }
}

.curriculum {
  padding: clamp(80px, 11vw, 150px) var(--page-gutter);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-label span { color: var(--tomato); }
.section-label p { margin: 0; }
.section-label::after { content: ""; width: 46px; height: 1px; background: currentColor; opacity: 0.4; }
.section-label-light { color: rgba(255,255,255,0.72); }

.manifesto-copy {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(320px, 1.5fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.manifesto {
  position: relative;
  overflow: hidden;
  padding-bottom: 260px;
  color: var(--ink);
  background-color: #f0f7ed;
  background-image: url("assets/thinkseum-grass-border.png");
  background-position: center bottom;
  background-size: auto 280px;
  background-repeat: repeat-x;
}
.manifesto .section-label { color: var(--ink); }
.manifesto .section-label p { display: inline-flex; align-items: center; gap: 10px; }
.manifesto .section-label .inline-wordmark { width: 140px; height: 28px; vertical-align: middle; }
.manifesto .manifesto-copy > p:last-child, .manifesto .principles p { color: #405848; }
.grass-playground { position: absolute; left: 0; bottom: 0; width: 100%; height: 240px; pointer-events: none; }
.grass-frog { position: absolute; left: 0; bottom: 32px; width: 88px; height: 88px; visibility: hidden; }
.grass-frog-sprite { display: block; width: 100%; height: 100%; background: url("assets/thinkseum-frog-purple-sprite.png") 0 0 / 300% 100% no-repeat; }
.grass-frog.is-hopping .grass-frog-sprite { animation: frog-hop-pose var(--hop-duration, 900ms) steps(1, end) forwards; }
@keyframes frog-hop-pose { 0%, 100% { background-position: 0 0; } 15% { background-position: 50% 0; } 85% { background-position: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .grass-frog.is-hopping .grass-frog-sprite { animation: none; } }

.kicker { margin: 0; color: var(--tomato); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

.manifesto h2,
.programs h2,
.day h2,
.visit h2,
.dialog h2 {
  margin: 0;
  font: 500 clamp(38px, 5vw, 72px)/1.03 "Fraunces", serif;
  letter-spacing: 0;
}

.manifesto-copy > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(65px, 9vw, 110px);
}

.principles article { min-height: 280px; padding: 42px clamp(20px, 3vw, 46px); }
.principles article:first-child { padding-left: 0; }
.principles article:last-child { border-right: 0; }
.principles h3 { margin: 28px 0 12px; font: 600 26px/1.1 "Fraunces", serif; }
.principles p { max-width: 330px; margin: 0; color: var(--muted); line-height: 1.65; }

.principle-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--white); }
.principle-icon svg { width: 21px; }
.tomato { background: var(--tomato); }
.blue { background: var(--blue); }
.yellow { background: var(--yellow); color: var(--ink); }

.curriculum {
  background: #eef5f2;
  border-top: 1px solid var(--line);
}

.curriculum-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(360px, 1.5fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.curriculum h2 {
  margin: 0;
  font: 500 clamp(38px, 5vw, 72px)/1.03 "Fraunces", serif;
  letter-spacing: 0;
}

.curriculum-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.curriculum-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(65px, 8vw, 100px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.curriculum-pillars article {
  min-height: 250px;
  padding: 38px clamp(22px, 3vw, 44px);
  border-right: 1px solid var(--line);
}

.curriculum-pillars article:first-child { padding-left: 0; }
.curriculum-pillars article:last-child { border-right: 0; }
.pillar-number { margin: 0; color: var(--teal); font-size: 12px; font-weight: 700; }
.curriculum-pillars h3 { margin: 34px 0 12px; font: 600 25px/1.15 "Fraunces", serif; }
.curriculum-pillars article > p:last-child { margin: 0; color: var(--muted); line-height: 1.65; }

.curriculum-note {
  display: grid;
  grid-template-columns: 58px minmax(0, 760px);
  gap: 22px;
  align-items: start;
  margin-top: 46px;
}

.curriculum-note > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
}

.curriculum-note svg { width: 23px; }
.curriculum-note .kicker { margin: 2px 0 8px; color: var(--navy); }
.curriculum-note div > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }

.learning-domains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(65px, 8vw, 100px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.learning-domains article {
  min-height: 270px;
  padding: 38px clamp(20px, 2.6vw, 38px);
  border-right: 1px solid var(--line);
}

.learning-domains article:first-child { padding-left: 0; }
.learning-domains article:last-child { border-right: 0; }
.learning-domains svg { width: 26px; height: 26px; color: var(--teal); }
.learning-domains h3 { margin: 32px 0 12px; font: 600 23px/1.15 "Fraunces", serif; }
.learning-domains p { margin: 0; color: var(--muted); line-height: 1.65; }

.programs { padding: clamp(75px, 10vw, 125px) var(--page-gutter); background: var(--navy); color: var(--white); }
.programs-heading { display: grid; grid-template-columns: 0.8fr 2fr; gap: 40px; }
.launch-programs .programs-heading > div > p:last-child { max-width: 580px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.launch-program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 48px; }
.launch-program { min-width: 0; }
.launch-program > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 28px; }
.launch-program .program-age { letter-spacing: 0; }
.launch-program h3 { margin: 10px 0 16px; font: 500 32px/1.2 "Fraunces", serif; }
.launch-program > p:not(.program-age) { max-width: 490px; color: rgba(255,255,255,0.8); line-height: 1.65; }
.launch-program .programs-more { margin-top: 16px; padding-inline: 0; border-top: 0; border-right: 0; border-left: 0; background: none; cursor: pointer; font: inherit; }
.launch-programs > .gallery-note { margin-top: 32px; color: rgba(255,255,255,0.65); }
@media (max-width: 720px) {
  .launch-program-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .launch-program h3 { font-size: 28px; }
}
.programs .kicker { color: var(--yellow); margin-bottom: 18px; }
.programs h2 { max-width: 750px; }
.program-list { margin-top: 70px; border-top: 1px solid rgba(255,255,255,0.24); }

.programs-more {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.65);
  color: var(--white);
  font-weight: 700;
}

.programs-more svg { width: 18px; }

.program-row {
  min-height: 170px;
  display: grid;
  grid-template-columns: 70px minmax(220px, 1fr) minmax(280px, 1.2fr) 54px;
  align-items: center;
  gap: clamp(18px, 3vw, 50px);
  border-bottom: 1px solid rgba(255,255,255,0.24);
}

.program-number { color: var(--yellow); font: 500 22px "Fraunces", serif; }
.program-age { margin: 0 0 8px; color: rgba(255,255,255,0.65); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.program-row h3 { margin: 0; font: 500 clamp(28px, 3vw, 43px)/1 "Fraunces", serif; }
.program-row > p:nth-child(3) { color: rgba(255,255,255,0.72); line-height: 1.65; }

.icon-button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.icon-button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.icon-button svg { width: 20px; }

.campus {
  padding: clamp(80px, 11vw, 150px) var(--page-gutter);
  background: #e8f2ed;
}

.campus-heading {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: clamp(45px, 9vw, 140px);
  align-items: end;
}

.campus-heading .kicker { margin-bottom: 18px; }
.campus h2,
.admission-path h2,
.questions h2 {
  margin: 0;
  font: 500 clamp(38px, 5vw, 72px)/1.03 "Fraunces", serif;
  letter-spacing: 0;
}

.campus-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.campus-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(60px, 8vw, 95px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.campus-zone {
  position: relative;
  min-height: 340px;
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
}

.campus-zone + .campus-zone { border-left: 1px solid var(--line); }
.campus-zone small { display: block; margin-top: 0; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.campus-zone h3 { margin: 44px 0 18px; font: 600 27px/1.15 "Fraunces", serif; }
.campus-zone ul { display: grid; gap: 9px; margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.outdoor-zone { background: var(--yellow); }
.outdoor-zone > svg { position: absolute; right: 38px; top: 48px; width: 72px; height: 72px; color: var(--green); }
.campus-promise { display: grid; grid-template-columns: 34px minmax(0, 760px); gap: 16px; align-items: start; margin-top: 30px; }
.campus-promise svg { width: 24px; color: var(--green); }
.campus-promise p { margin: 0; color: var(--muted); line-height: 1.65; }
.campus-promise strong { color: var(--ink); }
.campus-facilities { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.community { padding: 80px var(--page-gutter); background: #fff; }
.community-heading { max-width: 680px; margin-bottom: 44px; }
.community h2 { margin: 0 0 18px; font: 500 42px/1.15 "Fraunces", serif; }
.community-heading > p:last-child { color: var(--muted); line-height: 1.7; }
.community-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.community-channel { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.community-channel .channel-icon { width: 30px; height: 30px; color: var(--teal); margin-bottom: 18px; }
.brand-icon { display: inline-block; width: 24px; height: 24px; flex: none; mask: var(--brand-logo) center / contain no-repeat; -webkit-mask: var(--brand-logo) center / contain no-repeat; background-color: var(--brand-color); }
.brand-icon-whatsapp { --brand-logo: url("assets/whatsapp-brand.svg"); --brand-color: #25d366; }
.brand-icon-instagram { --brand-logo: url("assets/instagram-brand.svg"); --brand-color: #e4405f; }
.brand-icon-facebook { --brand-logo: url("assets/facebook-brand.svg"); --brand-color: #0866ff; }
.community-channel h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.4; }
.community-channel > p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }
.social-qr { display: block; background: #fff; }
.social-qr img { display: block; width: 180px; height: 180px; }
.channel-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.channel-link svg { width: 18px; height: 18px; flex: none; }
.community-channel > .community-privacy { margin: 14px 0 0; font-size: 12px; max-width: 280px; }
.footer-socials { display: flex; align-items: center; gap: 8px; }
.footer-socials a { display: grid; place-items: center; width: 44px; height: 44px; }
.footer-socials svg { width: 22px; height: 22px; }
@media (max-width: 720px) {
  .community { padding: 65px 20px; }
  .community h2 { font-size: 34px; }
  .community-channels { grid-template-columns: 1fr; gap: 36px; }
  .community-channel + .community-channel { border-top: 1px solid var(--line); padding-top: 32px; }
}
.campus-facilities .kicker { margin: 0 0 28px; color: var(--teal); }
.facilities-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 28px; padding: 0; margin: 0; list-style: none; }
.facilities-list li { display: flex; align-items: center; gap: 16px; min-width: 0; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.4; }
.facilities-list svg { width: 36px; height: 36px; flex: 0 0 36px; color: var(--navy); stroke-width: 1.5; }
.facilities-note { max-width: 700px; margin: 28px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 900px) {
  .facilities-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 540px) {
  .facilities-list { grid-template-columns: 1fr; }
}

.day-intro { display: grid; grid-template-columns: 0.8fr 2fr; gap: 40px; align-items: start; }
.day-intro h2 { max-width: 900px; }

.rhythm { margin-top: clamp(60px, 8vw, 100px); }
.rhythm-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
.rhythm-tabs button { min-height: 56px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.rhythm-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--tomato); }

.rhythm-panel {
  min-height: 260px;
  display: grid;
  grid-template-columns: 0.6fr 2fr 180px;
  gap: 40px;
  align-items: center;
  padding: 45px 0;
  border-bottom: 1px solid var(--line);
}

.rhythm-time { color: var(--tomato); font-weight: 700; }
.rhythm-panel h3 { margin: 0 0 12px; font: 500 clamp(31px, 4vw, 50px)/1 "Fraunces", serif; }
.rhythm-panel p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.rhythm-symbol { width: 140px; height: 140px; display: grid; place-items: center; justify-self: end; border-radius: 50%; background: var(--yellow); color: var(--green-dark); }
.rhythm-symbol svg { width: 48px; height: 48px; }

.admission-path {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(55px, 10vw, 150px);
  padding: clamp(80px, 10vw, 135px) var(--page-gutter);
  background: var(--green-dark);
  color: var(--white);
}

.admission-path .kicker { margin-bottom: 20px; color: var(--yellow); }
.admission-path ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.24); }
.admission-path li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,0.24); }
.admission-path li > span { color: var(--yellow); font-size: 12px; font-weight: 700; }
.admission-path h3 { margin: 0 0 7px; font: 600 25px/1.1 "Fraunces", serif; }
.admission-path li p { margin: 0; color: rgba(255,255,255,0.7); line-height: 1.55; }

.questions { padding: clamp(80px, 11vw, 150px) var(--page-gutter); }
.questions-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(55px, 10vw, 150px); align-items: start; }
.questions .kicker { margin-bottom: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 76px; display: grid; grid-template-columns: 1fr 24px; gap: 18px; align-items: center; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 19px; color: var(--tomato); transition: transform 180ms ease; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { margin: -4px 40px 26px 0; color: var(--muted); line-height: 1.7; }

.voice-band {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
  background: var(--blue);
  color: var(--white);
}

.voice-band blockquote { margin: 0; padding: clamp(70px, 9vw, 120px) var(--page-gutter); }
.voice-band blockquote p { max-width: 950px; margin: 0; font: 500 clamp(38px, 5vw, 72px)/1.08 "Fraunces", serif; }
.voice-note { display: flex; flex-direction: column; justify-content: space-between; gap: 60px; padding: clamp(48px, 6vw, 80px); background: var(--yellow); color: var(--ink); }
.voice-note span { font: 600 82px/1 "Fraunces", serif; }
.voice-note p { margin: 0; font-size: 17px; line-height: 1.65; }

.visit {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
  padding: clamp(85px, 11vw, 150px) var(--page-gutter);
}

.visit .kicker { margin-bottom: 20px; }
.visit h2 { max-width: 800px; }
.visit-copy > p:not(.kicker) { max-width: 650px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.visit-details { border-top: 1px solid var(--line); }
.visit-details > div { display: grid; grid-template-columns: 32px 1fr; gap: 15px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.visit-details svg { width: 20px; color: var(--tomato); }
.visit-details span { font-size: 14px; line-height: 1.5; }
.visit-details small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand connect" "bottom bottom";
  gap: 12px 40px;
  align-items: center;
  padding: 38px var(--page-gutter) 22px;
  background: #f3faf8;
  border-top: 3px solid #0096a1;
  color: var(--ink);
}

.footer-brand.brand-lockup { grid-area: brand; width: 250px; height: auto; min-height: 97px; padding: 8px 10px; background: transparent; gap: 0; align-items: flex-start; }
.footer-brand img { mix-blend-mode: multiply; }
.footer-brand > .footer-wordmark { width: 230px; height: 46px; flex: none; }
.footer-brand .header-logo-details { width: 230px; height: 35px; flex: none; }
.footer-brand .header-logo-details > img { position: absolute; width: 264px; max-width: none; height: auto; left: -13px; top: -153px; }
footer p { margin: 0; color: #405c52; font-size: 13px; line-height: 1.6; }
.footer-bottom { grid-area: bottom; display: flex; align-items: center; justify-content: flex-end; gap: 16px 24px; flex-wrap: wrap; padding-top: 16px; padding-inline-end: max(72px, env(safe-area-inset-right)); margin-top: 10px; text-align: right; }
.footer-description { margin: 0; }
.footer-copyright { margin: 0; font-size: 12px; white-space: nowrap; }
.footer-connect { grid-area: connect; }
.footer-connect > p { font: 500 22px/1.35 "Fraunces", serif; color: #173329; margin-bottom: 14px; }
footer .footer-socials { width: min(100%, 300px); margin-inline: auto; gap: 0; justify-content: space-evenly; }
footer .footer-socials a { background: white; border: 1px solid #d5e6df; border-radius: 50%; transition: transform 180ms ease, border-color 180ms ease; }
footer .footer-socials a:hover { transform: translateY(-3px); border-color: #0096a1; }
footer .footer-socials a:focus-visible { outline: 2px solid #0096a1; outline-offset: 4px; }

.scroll-bee-layer { position: fixed; inset: 0; z-index: 15; pointer-events: none; overflow: hidden; }
.scroll-bee-layer[hidden], body.dialog-open .scroll-bee-layer { display: none; }
.scroll-bee { position: absolute; top: 0; left: 0; width: 30px; height: 30px; }
.bee-body { position: absolute; top: 13px; left: 6px; width: 24px; height: 15px; border: 1px solid #6c5327; border-radius: 50%; background: repeating-linear-gradient(90deg, #ffd252 0 6px, #423b34 6px 9px); }
.bee-head { position: absolute; top: 15px; left: 1px; width: 11px; height: 11px; border-radius: 50%; background: #423b34; }
.bee-head::after { content: ""; position: absolute; top: 3px; left: 2px; width: 3px; height: 3px; border-radius: 50%; background: white; }
.bee-wing { position: absolute; top: 2px; left: 12px; width: 10px; height: 16px; border: 1px solid #78b5bd; border-radius: 60%; background: #e5f8fc; transform-origin: bottom center; transform: rotate(25deg); }
.bee-wing-back { left: 5px; transform: rotate(-25deg); }
.is-flying .bee-wing { animation: bee-wingbeat 140ms ease-in-out infinite alternate; }
.bee-trail-dot { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #779f93; animation: bee-dot-fade 1200ms ease-out forwards; }
@keyframes bee-wingbeat { to { transform: rotate(-30deg) scaleX(.55); } }
@keyframes bee-dot-fade { from { opacity: .65; } to { opacity: 0; transform: scale(.3); } }
@media (prefers-reduced-motion: reduce) { .scroll-bee-layer { display: none; } footer .footer-socials a { transition: none; } }

.dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  border: 0;
  border-radius: 6px;
  padding: clamp(28px, 5vw, 60px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(13, 39, 29, 0.3);
}

.dialog::backdrop { background: rgba(10, 28, 22, 0.72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.dialog-heading { padding-right: 38px; }
.dialog-heading .eyebrow { margin-bottom: 14px; color: var(--tomato); }
.dialog h2 { font-size: clamp(34px, 5vw, 54px); }
.dialog-heading > p:last-child { color: var(--muted); }
.interest-dialog h2 { font-size: 36px; line-height: 1.2; }
.interest-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin: 24px 0; }
.interest-actions .button { gap: 8px; padding-block: 12px; text-align: center; }
.interest-actions svg { width: 18px; height: 18px; flex: none; }
.interest-email { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.interest-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.admission-path.open-house-preview {
  color: #173329;
  background: #eef8fc url("assets/thinkseum-grass-border.png") center bottom / auto 125px repeat-x;
  padding-bottom: 160px;
}
.open-house-preview h2, .open-house-preview h3 { color: #173329; }
.open-house-preview .kicker { color: #067984; }
.open-house-preview > div > p:not(.kicker), .open-house-preview li p { color: #37534a; line-height: 1.7; }
.open-house-preview .inline-wordmark { width: 6.5em; height: 1.6em; padding: 2px 4px; background: #fff; border-radius: 3px; }
.open-house-preview ol { border-top-color: #bfd6d2; }
.open-house-preview li { border-bottom-color: #bfd6d2; }
.open-house-preview li > span { display: grid; place-items: center; width: 44px; height: 44px; color: #067984; background: #ffdf70; border-radius: 50%; }
.open-house-preview > div > .button { margin-top: 14px; }
.open-house-preview li > span svg { width: 26px; height: 26px; }
.tour-dialog { width: min(840px, calc(100% - 24px)); height: min(900px, calc(100svh - 24px)); padding: 26px; }
.tour-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.tour-dialog .dialog-heading { flex: none; }
.tour-dialog h2 { font-size: 32px; line-height: 1.2; }
.tour-dialog .dialog-heading .eyebrow { margin-bottom: 8px; }
.tour-form-frame { display: block; width: 100%; min-height: 0; flex: 1; border: 0; background: white; }
.tour-form-footer { flex: none; margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.tour-form-footer a { display: inline-flex; align-items: center; gap: 5px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.tour-form-footer svg { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .tour-dialog[open] { padding: 22px 12px 16px; }
  .tour-dialog h2 { font-size: 26px; }
  .tour-dialog .dialog-heading > p:last-child { font-size: 14px; }
  .tour-dialog .dialog-close { top: 12px; right: 12px; }
}

.sample-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.sample-form label, .sample-form fieldset { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.sample-form label:has(textarea), .sample-form fieldset, .form-submit, .form-note { grid-column: 1 / -1; }
.sample-form input, .sample-form select, .sample-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 3px; padding: 13px 14px; background: var(--white); color: var(--ink); outline: 0; font-weight: 400; }
.sample-form input:focus, .sample-form select:focus, .sample-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,158,185,0.14); }
.sample-form fieldset { margin: 0; border: 0; padding: 0; }
.sample-form legend { margin-bottom: 10px; }
.slot-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot-picker label { display: block; cursor: pointer; }
.slot-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot-picker span { display: block; padding: 12px; border: 1px solid var(--line); border-radius: 3px; text-align: center; line-height: 1.5; }
.slot-picker input:checked + span { border-color: var(--green); background: var(--green); color: var(--white); }
.form-submit { width: 100%; margin-top: 4px; }
.form-note { margin: -8px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.toast {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 48px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 4px;
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(20, 45, 35, 0.24);
}

.toast[hidden] { display: none; }
.toast svg { width: 19px; color: var(--yellow); }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: grid; }
  .hero-copy { width: 70%; }
  .manifesto-copy, .curriculum-heading { grid-template-columns: 0.6fr 1.5fr; }
  .manifesto-copy > p:last-child, .curriculum-heading > p:last-child { grid-column: 2; }
  .programs-heading, .day-intro { grid-template-columns: 0.6fr 1.6fr; }
  .program-row { grid-template-columns: 40px minmax(200px, 0.9fr) 1.2fr 50px; }
  .voice-band { grid-template-columns: 1.5fr 0.7fr; }
  .learning-domains { grid-template-columns: 1fr 1fr; }
  .learning-domains article:nth-child(2) { border-right: 0; }
  .learning-domains article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .admission-path, .questions-layout { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; align-items: start; }
  .visit-details { max-width: 620px; }
}

@media (max-width: 720px) {
  :root { --header-height: 78px; }
  .site-header { padding: 0 20px; }
  .brand-wordmark-image { width: 164px; height: 46px; }
  .mobile-menu { padding-left: 20px; padding-right: 20px; }

  .admission-bar { justify-content: center; padding-inline: 20px; }
  .hero { min-height: calc(90svh - var(--header-height) - 36px); }
  .hero-media { background-position: 61% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(12,35,27,0.82) 0%, rgba(12,35,27,0.50) 58%, rgba(12,35,27,0.68) 100%); }
  .hero-copy { width: 100%; padding: 70px 20px 120px; }
  .hero h1 { font-size: clamp(52px, 15vw, 68px); }
  .hero-line { max-width: 330px; }
  .hero-body { max-width: 390px; font-size: 16px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { right: 0; width: 175px; height: 62px; }

  .proof-strip { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .proof-strip > div { min-height: 105px; padding: 20px 16px; border-bottom: 1px solid var(--line); }
  .proof-strip > div:first-child { padding-left: 0; }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .proof-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
  .proof-strip > div:nth-child(3) { padding-left: 0; }
  .proof-strip strong { font-size: 25px; }

  .manifesto, .day, .curriculum { padding: 75px 20px; }
  .manifesto { padding-bottom: 210px; background-size: auto 220px; }
  .grass-playground { height: 190px; }
  .grass-frog { width: 76px; height: 76px; }
  .section-label { margin-bottom: 35px; }
  .manifesto-copy, .curriculum-heading, .programs-heading, .day-intro { grid-template-columns: 1fr; gap: 22px; }
  .manifesto-copy > p:last-child, .curriculum-heading > p:last-child { grid-column: auto; margin-top: 0; }
  .manifesto h2, .curriculum h2, .programs h2, .campus h2, .day h2, .admission-path h2, .questions h2, .visit h2 { font-size: clamp(36px, 11vw, 52px); }

  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article:first-child { min-height: 0; padding: 32px 0; }
  .principles article:last-child { border-bottom: 0; }

  .curriculum-pillars { grid-template-columns: 1fr; margin-top: 52px; }
  .curriculum-pillars article, .curriculum-pillars article:first-child { min-height: 0; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .curriculum-pillars article:last-child { border-bottom: 0; }
  .curriculum-pillars h3 { margin-top: 20px; }
  .curriculum-note { grid-template-columns: 46px 1fr; gap: 16px; }
  .curriculum-note > span { width: 44px; height: 44px; }
  .learning-domains { grid-template-columns: 1fr; margin-top: 52px; }
  .learning-domains article, .learning-domains article:first-child { min-height: 0; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .learning-domains article:last-child { border-bottom: 0; }
  .learning-domains h3 { margin-top: 20px; }

  .programs { padding: 72px 20px; }
  .program-list { margin-top: 45px; }
  .program-row { grid-template-columns: 36px 1fr 44px; gap: 14px; padding: 28px 0; }
  .program-row > p:nth-child(3) { grid-column: 2 / -1; margin: 0; }
  .icon-button { grid-column: 3; grid-row: 1; width: 42px; height: 42px; }

  .campus { padding: 75px 20px; }
  .campus-heading { grid-template-columns: 1fr; gap: 25px; }
  .campus-plan { grid-template-columns: 1fr; margin-top: 48px; }
  .campus-zone { min-height: 300px; padding: 34px 24px; }
  .campus-zone + .campus-zone { border-left: 0; border-top: 1px solid var(--line); }
  .outdoor-zone > svg { right: 24px; top: 32px; width: 52px; height: 52px; }

  .rhythm-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .rhythm-tabs::-webkit-scrollbar { display: none; }
  .rhythm-tabs button { flex: 0 0 95px; }
  .rhythm-panel { min-height: 340px; grid-template-columns: 1fr 88px; gap: 24px; }
  .rhythm-time { grid-column: 1 / -1; align-self: end; }
  .rhythm-symbol { width: 78px; height: 78px; grid-column: 2; grid-row: 2; }
  .rhythm-symbol svg { width: 30px; height: 30px; }

  .admission-path, .questions { padding: 75px 20px; }
  .admission-path { gap: 48px; }
  .questions-layout { gap: 48px; }
  .faq-list summary { min-height: 70px; }

  .voice-band { grid-template-columns: 1fr; }
  .voice-band blockquote { padding: 70px 20px; }
  .voice-band blockquote p { font-size: clamp(37px, 11vw, 54px); }
  .voice-note { padding: 38px 20px; gap: 30px; }
  .voice-note span { font-size: 60px; }

  .visit { padding: 75px 20px; gap: 55px; }
  .visit-actions .button { width: 100%; }
  footer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "connect" "bottom"; gap: 16px; padding: 28px 20px; }
  footer p { margin: 0; }
  .footer-brand { max-width: 100%; }

  .dialog { padding: 52px 20px 26px; }
  .sample-form { grid-template-columns: 1fr; }
  .sample-form label, .sample-form fieldset, .form-submit, .form-note { grid-column: 1; }
  .slot-picker { gap: 6px; }
  .slot-picker span { padding: 9px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
