:root {
  --tinta-caneta: #252b50;
  --azul-guache: #3448c5;
  --papel-lilas: #eeebfa;
  --lapis-lima: #dcebab;
  --amarelo-papel: #ffdc79;
  --recorte-goiaba: #f5a086;
  --papel-branco: #fffefa;
  --texto-suave: #63657a;
  --line: #dddee6;
  --display: "Fredoka", sans-serif;
  --body: "DM Sans", sans-serif;
  --hand: "Caveat", cursive;
  --wrap: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body {
  margin: 0;
  background: var(--papel-branco);
  color: var(--tinta-caneta);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3,
blockquote {
  margin: 0;
}
button {
  border: 0;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
::selection {
  background: var(--amarelo-papel);
  color: var(--tinta-caneta);
}
:focus-visible {
  outline: 3px solid var(--azul-guache);
  outline-offset: 5px;
}
a,
button,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  width: min(var(--wrap), calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: 112px;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.7px;
  font-weight: 700;
}
.blue-text {
  color: var(--azul-guache);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -1.6px;
}
h2 {
  font-size: 56px;
}
h3 {
  font-size: 40px;
}
.handwritten {
  font-family: var(--hand);
  font-size: 29px;
  line-height: 1.2;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -80px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--tinta-caneta);
  color: #fff;
}
.skip-link:focus {
  top: 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 58px;
  padding: 16px 23px;
  background: var(--azul-guache);
  color: white;
  border: 1px solid var(--azul-guache);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.22s,
    box-shadow 0.22s,
    transform 0.22s;
  white-space: nowrap;
}
.button svg {
  width: 21px;
  height: 21px;
}
.button-small {
  min-height: 46px;
  border-radius: 9px;
  padding: 12px 18px;
  font-size: 13px;
  gap: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.text-link svg {
  width: 21px;
  transition: transform 0.2s;
}
.text-link > span {
  font-size: 22px;
}
.circle-button {
  width: 48px;
  height: 48px;
  border: 1px solid #c8c9d6;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: transparent;
  transition:
    background 0.2s,
    color 0.2s;
}
.circle-button:disabled {
  opacity: 0.35;
  cursor: default;
}
.flip {
  transform: rotate(180deg);
}
/* A quiet navigation leaves the paper collage as the visual signature. */
.header {
  height: 100px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--papel-lilas);
  transition:
    box-shadow 0.2s,
    background 0.2s;
}
.header.scrolled {
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 3px 22px #252b5009;
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: block;
  width: 180px;
  flex-shrink: 0;
}
.brand img {
  width: 100%;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav > a:not(.button) {
  font-size: 13px;
  font-weight: 600;
  position: relative;
}
.nav > a:not(.button)::after {
  content: "";
  height: 3px;
  background: var(--azul-guache);
  border-radius: 4px;
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav > a[aria-current]::after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
}
/* Hero: layered paper, the actual school, a handful of pencils. */
.hero {
  background: var(--papel-lilas);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 32px;
  min-height: 677px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 75px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 1.25px;
}
.little-sun {
  color: var(--azul-guache);
  font-size: 26px;
  line-height: 1;
}
.hero h1 {
  font-size: clamp(65px, 6.05vw, 91px);
  letter-spacing: -2.5px;
  line-height: 1.025;
  margin: 23px 0 29px;
  font-weight: 500;
}
.discovery {
  color: var(--azul-guache);
  position: relative;
  display: inline-block;
}
.discovery > svg {
  position: absolute;
  left: 0;
  bottom: -13px;
  width: 100%;
  height: 22px;
  stroke: var(--recorte-goiaba);
  stroke-width: 4;
  stroke-dasharray: 1100;
  stroke-dashoffset: 0;
}
.hero-description {
  font-size: 16px;
  line-height: 1.8;
  color: #565b75;
  max-width: 450px;
}
.hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 28px;
}
.hero-actions .text-link {
  font-size: 12px;
  gap: 9px;
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  margin-top: 39px;
  color: var(--texto-suave);
  letter-spacing: 0.05px;
}
.hero-location svg {
  width: 15px;
  height: 17px;
}
.hero-location strong {
  font-weight: 500;
}
.location-dot {
  margin-inline: 6px;
}
.hero-art {
  height: 520px;
  position: relative;
  margin-top: 15px;
  isolation: isolate;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}
.photo-backdrop {
  position: absolute;
  left: 7%;
  right: 2%;
  top: 24px;
  bottom: 52px;
  border-radius: 48% 49% 18% 14% / 48% 48% 15% 15%;
  background: var(--azul-guache);
  transform: rotate(7deg);
}
.hero-photo {
  position: absolute;
  top: 15px;
  left: 4%;
  width: 91%;
  height: 426px;
  transform: perspective(1100px) rotate(-5deg) rotateX(var(--tilt-y))
    rotateY(var(--tilt-x));
  border: 9px solid var(--papel-branco);
  border-bottom-width: 48px;
  border-radius: 48% 48% 10% 12% / 45% 45% 9% 10%;
  background: var(--papel-branco);
  transition: transform 0.35s ease-out;
  box-shadow: 0 10px 18px #252b500b;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 48% 48% 4% 7% / 45% 45% 3% 6%;
  object-position: 49% 50%;
}
.hero-photo figcaption {
  position: absolute;
  bottom: -37px;
  left: 24px;
  right: 24px;
  text-align: center;
  font-family: var(--hand);
  font-size: 25px;
  line-height: 1;
}
.hero-photo figcaption span {
  margin-right: 10px;
}
.paper-seal {
  position: absolute;
  right: -20px;
  top: -4px;
  width: 146px;
  height: 146px;
  transform: rotate(13deg);
  z-index: 3;
  filter: drop-shadow(0 5px 0 #252b5006);
}
.paper-seal > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--amarelo-papel);
}
.paper-seal > span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1.05;
  font-family: var(--hand);
  font-size: 25px;
}
.paper-seal b {
  font-weight: 600;
  font-size: 28px;
}
.paper-seal span svg {
  width: 18px;
  height: 18px;
  margin-top: 8px;
}
.mini-photo {
  position: absolute;
  right: -12px;
  bottom: 1px;
  width: 191px;
  padding: 9px 9px 31px;
  background: var(--papel-branco);
  transform: rotate(9deg);
  box-shadow: 0 8px 28px #252b5015;
  z-index: 4;
}
.mini-photo img {
  width: 100%;
  height: 143px;
  object-fit: cover;
}
.mini-photo figcaption {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  text-align: center;
  font: 18px var(--hand);
}
.hero-doodle {
  position: absolute;
  left: 25%;
  bottom: 14px;
  width: 138px;
  height: 96px;
  stroke: var(--azul-guache);
  stroke-width: 2.3;
}
.art-note {
  position: absolute;
  left: 2%;
  bottom: 17px;
  font: 25px/1 var(--hand);
  transform: rotate(-9deg);
  color: var(--azul-guache);
}
.values-ribbon {
  background: var(--lapis-lima);
  padding: 23px 0;
  transform: rotate(-1.2deg);
  margin: -5px -10px 16px;
  width: calc(100% + 20px);
}
.values-ribbon > div {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  max-width: 1500px;
  margin: auto;
  padding-inline: 28px;
  white-space: nowrap;
}
.values-ribbon span {
  font: 500 25px var(--display);
  letter-spacing: -0.2px;
}
.values-ribbon svg {
  width: 28px;
  height: 28px;
  color: var(--azul-guache);
}
/* A real classroom, rather than stock pictures of children. */
.school {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.school-visual {
  position: relative;
  padding: 15px 20px 35px 6px;
}
.school-photo {
  background: #f4d4c5;
  padding: 17px 17px 58px;
  border-radius: 140px 140px 22px 22px;
  transform: rotate(-3deg);
  position: relative;
}
.school-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 125px 125px 12px 12px;
}
.school-photo figcaption {
  font: 25px var(--hand);
  position: absolute;
  bottom: 17px;
  left: 0;
  width: 100%;
  text-align: center;
}
.school-sticker {
  position: absolute;
  right: -11px;
  bottom: 1px;
  background: var(--lapis-lima);
  width: 153px;
  height: 147px;
  border-radius: 44% 51% 43% 48%;
  transform: rotate(12deg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-direction: column;
}
.school-sticker svg {
  width: 29px;
  height: 29px;
}
.school-sticker span {
  font: 500 23px/1.02 var(--display);
  text-align: center;
}
.school-copy .eyebrow {
  margin-bottom: 22px;
}
.school-copy h2 {
  margin-bottom: 26px;
}
.school-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.85;
  color: var(--texto-suave);
}
.school-copy > p + p {
  margin-top: 15px;
}
.principles {
  display: flex;
  gap: 24px;
  margin: 29px 0 24px;
  flex-wrap: wrap;
}
.principles > div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}
.principles svg {
  width: 23px;
  color: var(--azul-guache);
}
.school-copy .school-note {
  font-size: 12px !important;
  line-height: 1.6 !important;
  max-width: 390px;
}
/* Age tabs are a real sequence. All panels stay readable without JavaScript. */
.classes-section {
  background: #f5f5f0;
  border-radius: 48px 48px 0 0;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 47px;
}
.section-heading .eyebrow {
  margin-bottom: 20px;
}
.section-heading > p,
.gallery-intro > p {
  font-size: 14px;
  color: var(--texto-suave);
  line-height: 1.8;
  flex-shrink: 0;
}
.classes-section h2 {
  font-size: 52px;
}
.class-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.class-tab {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  border-radius: 15px;
  background: #eaeae5;
  padding: 23px 20px;
  position: relative;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
  min-width: 0;
}
.class-tab > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.class-tab b {
  font: 500 24px var(--display);
  white-space: nowrap;
  letter-spacing: -0.4px;
}
.class-tab small {
  font-size: 10px;
  margin-top: 4px;
  white-space: nowrap;
}
.class-tab .tab-arrow {
  margin-left: auto;
  align-self: flex-start;
  font-size: 19px;
  line-height: 1;
}
.class-tab[aria-selected="true"] {
  background: var(--azul-guache);
  color: white;
}
.tab-shape {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 33px;
  height: 38px;
  font-size: 43px;
  line-height: 1;
  color: var(--azul-guache);
}
.class-tab[aria-selected="true"] .tab-shape {
  color: var(--amarelo-papel);
}
.shape-arch {
  width: 28px;
  height: 32px;
  border-radius: 18px 18px 0 0;
  background: var(--recorte-goiaba);
  margin-inline: 3px;
}
.shape-flower svg {
  width: 34px;
  height: 34px;
  color: #748446;
}
.shape-star {
  color: #9975aa;
}
.class-panel {
  display: grid;
  grid-template-columns: 0.96fr 1fr;
  min-height: 455px;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}
.class-image {
  position: relative;
  min-width: 0;
  padding: 16px;
}
.class-image > img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  min-height: 400px;
  object-fit: cover;
  border-radius: 16px;
}
.photo-label {
  position: absolute;
  bottom: 34px;
  left: 34px;
  background: #fffefaef;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 11px;
}
.class-content {
  padding: 39px 46px 36px;
}
.pill {
  display: inline-block;
  background: var(--papel-lilas);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 5px;
}
.class-content h3 {
  margin: 18px 0;
  font-size: 42px;
}
.class-content > p {
  font-size: 14px;
  color: var(--texto-suave);
  line-height: 1.8;
  max-width: 450px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 23px;
  font-size: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
}
.check-list li::before {
  content: "✓";
  color: var(--azul-guache);
  font-weight: 700;
  flex-shrink: 0;
}
.class-content .text-link {
  font-size: 13px;
  color: var(--azul-guache);
}
.classes-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 11px;
  color: var(--texto-suave);
}
.classes-footnote svg {
  width: 16px;
  height: 16px;
}
.class-panel.entering .class-content {
  animation: panel-in 0.4s ease both;
}
.class-panel.entering .class-image {
  animation: panel-in 0.45s ease both;
}
/* Native horizontal scrolling remains available on touch and keyboard. */
.space-section {
  overflow: hidden;
  padding-bottom: 85px;
}
.gallery-controls {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 21px;
}
.gallery-progress {
  font-size: 12px;
  margin-left: 13px;
  letter-spacing: 2px;
}
.gallery {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px max(56px, calc((100vw - var(--wrap)) / 2)) 18px;
  scroll-padding-inline: max(56px, calc((100vw - var(--wrap)) / 2));
  overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar {
  display: none;
}
.gallery-card {
  padding: 0;
  background: transparent;
  text-align: left;
  flex: 0 0 380px;
  scroll-snap-align: start;
  min-width: 0;
}
.gallery-photo {
  display: block;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}
.gallery-photo > img {
  width: 100%;
  height: 295px;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-card:nth-child(2n) .gallery-photo {
  border-radius: 80px 22px 22px 22px;
}
.enlarge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  background: var(--papel-branco);
  border-radius: 50%;
  font-size: 21px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.gallery-caption {
  display: flex;
  flex-direction: column;
  padding: 18px 1px 0;
}
.gallery-caption b {
  font: 500 23px var(--display);
  letter-spacing: -0.3px;
}
.gallery-caption > span {
  font-size: 11px;
  color: var(--texto-suave);
  margin-top: 6px;
}
.gallery-hint {
  font-size: 11px;
  color: var(--texto-suave);
  margin-top: 18px;
}
.gallery-hint a {
  font-weight: 600;
  color: var(--tinta-caneta);
  display: inline-block;
  margin-left: 9px;
}
.activities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  padding-top: 65px;
}
.activities-visual h2 {
  margin-top: 22px;
}
.activity-art {
  position: relative;
  margin-top: 30px;
  width: 89%;
  isolation: isolate;
}
.activity-art > img {
  width: 100%;
  height: 335px;
  object-fit: cover;
  border-radius: 18px 110px 18px 18px;
}
.activity-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 11px;
  background: #fffefaea;
  border-radius: 5px;
  padding: 7px 12px;
}
.activity-flower {
  width: 104px;
  height: 104px;
  position: absolute;
  right: -43px;
  top: 47px;
  color: var(--amarelo-papel);
  transform: rotate(12deg);
  z-index: -1;
}
.activities-visual > .handwritten {
  color: var(--azul-guache);
  margin-top: 21px;
  transform: rotate(-3deg);
  font-size: 25px;
}
.activity-list {
  padding-top: 6px;
}
.activity-lead {
  font-size: 14px;
  color: var(--texto-suave);
  max-width: 400px;
  margin-bottom: 29px;
}
.activity {
  border-bottom: 1px solid var(--line);
}
.activity summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font: 500 31px var(--display);
}
summary::-webkit-details-marker {
  display: none;
}
.activity-symbol {
  width: 35px;
  text-align: center;
  font-size: 32px;
  color: var(--azul-guache);
}
.activity:nth-of-type(2) .activity-symbol {
  color: #b56347;
}
.activity:nth-of-type(3) .activity-symbol {
  color: #64813f;
}
.activity:nth-of-type(4) .activity-symbol {
  color: #9768a5;
}
.activity:nth-of-type(5) .activity-symbol {
  color: #b78a21;
}
.activity-toggle {
  width: 26px;
  height: 26px;
  border: 1px solid #c7c8d3;
  border-radius: 50%;
  margin-left: auto;
  position: relative;
}
.activity-toggle:before,
.activity-toggle:after {
  content: "";
  width: 9px;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 7.5px;
  top: 11.5px;
  transition: transform 0.2s;
}
.activity-toggle:after {
  transform: rotate(90deg);
}
.activity[open] .activity-toggle:after {
  transform: rotate(0deg);
}
.activity[open] .activity-toggle {
  background: var(--azul-guache);
  color: #fff;
  border-color: var(--azul-guache);
}
.activity-body {
  padding: 0 28px 25px 55px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--texto-suave);
}
.activity-body > span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--azul-guache);
  margin-top: 15px;
}
.activity[open] .activity-body {
  animation: panel-in 0.25s ease;
}
.quote-section {
  background: var(--azul-guache);
  color: var(--papel-branco);
  padding: 78px 0 85px;
  position: relative;
  overflow: hidden;
}
.quote-section > .wrap {
  position: relative;
}
.quote-section blockquote {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: auto;
}
.quote-section blockquote p {
  font: 500 clamp(40px, 4.6vw, 66px) / 1.13 var(--display);
  letter-spacing: -1px;
}
.quote-section blockquote p span {
  color: var(--amarelo-papel);
}
.quote-section cite {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 2px;
  display: block;
  margin-top: 28px;
}
.quote-flower {
  position: absolute;
  left: 2%;
  top: 30%;
  height: 116px;
  width: 116px;
  color: var(--recorte-goiaba);
  transform: rotate(-8deg);
}
.quote-note {
  position: absolute;
  right: 1%;
  bottom: 15px;
  transform: rotate(10deg);
  font: 28px/1.1 var(--hand);
  color: var(--lapis-lima);
}
.enrollment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
}
.enrollment-copy h2 {
  margin: 20px 0 24px;
}
.enrollment-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
  max-width: 400px;
  color: var(--texto-suave);
}
.enrollment-copy .text-link {
  margin-top: 27px;
  color: var(--azul-guache);
}
.faq {
  padding-top: 19px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 23px 0;
}
.faq summary > span {
  font-size: 23px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq details[open] summary > span {
  transform: rotate(45deg);
}
.faq details > p,
.faq details > div {
  font-size: 13px;
  color: var(--texto-suave);
  padding: 0 30px 24px 0;
  line-height: 1.9;
}
.faq ul {
  padding-left: 18px;
}
.faq a {
  text-decoration: underline;
}
.visit-section {
  background: var(--papel-lilas);
  padding: 83px 0 90px;
  border-radius: 48px 48px 0 0;
  overflow: hidden;
}
.visit-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}
.visit-copy h2 {
  font-size: 72px;
  margin: 24px 0;
}
.visit-copy h2 span {
  color: var(--azul-guache);
}
.visit-copy > p:not(.eyebrow) {
  font-size: 15px;
  color: var(--texto-suave);
  line-height: 1.8;
}
.visit-copy > .button {
  margin-top: 27px;
  gap: 45px;
}
.visit-note {
  display: block;
  font-size: 11px;
  color: var(--texto-suave);
  margin-top: 15px;
}
.address-card {
  background: var(--papel-branco);
  border-radius: 15px;
  padding: 37px 36px;
  position: relative;
  transform: rotate(2deg);
  max-width: 420px;
  margin-left: auto;
  width: 100%;
  box-shadow: 8px 9px 0 #d9d6ef;
}
.address-pin {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--recorte-goiaba);
  position: absolute;
  right: 25px;
  top: -23px;
  transform: rotate(-13deg);
}
.address-pin svg {
  width: 28px;
  height: 28px;
}
.address-card > .handwritten {
  font-size: 26px;
  color: var(--azul-guache);
  margin-bottom: 22px;
}
.address-card h3 {
  font-size: 28px;
  letter-spacing: -0.5px;
}
.address-card > p:not(.handwritten) {
  font-size: 14px;
  line-height: 1.75;
  color: var(--texto-suave);
  margin-top: 12px;
}
.address-card > .text-link {
  margin-top: 21px;
  font-size: 12px;
  color: var(--azul-guache);
}
.address-phones {
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px dashed #d4d4e0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.address-phones a {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}
.address-phones span {
  font-size: 10px;
  font-weight: 400;
  color: var(--texto-suave);
}
.footer {
  padding-top: 43px;
  padding-bottom: 25px;
}
.footer-main {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-bottom: 34px;
}
.footer-main > .brand {
  width: 165px;
}
.footer-main > p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--texto-suave);
}
.social-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
}
.social-links a {
  display: flex;
  gap: 10px;
  align-items: center;
}
.social-links svg {
  width: 15px;
  height: 15px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  font-size: 10px;
  color: var(--texto-suave);
}
/* Native dialogs provide keyboard focus containment and Escape handling. */
dialog {
  border: 0;
  color: var(--tinta-caneta);
  padding: 0;
  max-height: calc(100dvh - 40px);
}
dialog::backdrop {
  background: #202543bb;
  backdrop-filter: blur(9px);
}
.dialog-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 50%;
  font: 30px/1 var(--body);
  background: #fffefaef;
  z-index: 3;
  color: var(--tinta-caneta);
}
.lightbox {
  background: transparent;
  width: min(1080px, calc(100% - 48px));
  max-width: none;
  overflow: visible;
}
.lightbox figure {
  margin: 0;
  text-align: center;
}
.lightbox figure > img {
  width: 100%;
  height: min(70dvh, 740px);
  object-fit: contain;
  border-radius: 15px;
}
.lightbox figcaption {
  color: white;
  font-size: 14px;
  margin-top: 18px;
  padding-inline: 48px;
}
.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  color: #fff;
  margin-top: 15px;
  font-size: 12px;
}
.lightbox .circle-button {
  color: #fff;
  border-color: #ffffff70;
}
.visit-dialog {
  width: 540px;
  max-width: calc(100% - 32px);
  background: var(--papel-branco);
  border-radius: 24px;
  padding: 42px;
  overscroll-behavior: contain;
}
.dialog-heading .eyebrow {
  font-size: 10px;
  color: var(--azul-guache);
  padding-right: 28px;
}
.dialog-heading h2 {
  font-size: 45px;
  margin: 16px 0;
}
.dialog-heading > p:last-child {
  font-size: 13px;
  color: var(--texto-suave);
  line-height: 1.8;
}
#visit-form {
  margin-top: 24px;
}
#visit-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0 7px;
}
#visit-form label > span {
  font-weight: 400;
  color: var(--texto-suave);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d6d6e2;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: var(--tinta-caneta);
}
textarea {
  resize: vertical;
  min-height: 95px;
}
input[aria-invalid="true"] {
  border-color: #b52c36;
}
.field-error {
  display: block;
  font-size: 11px;
  color: #b52c36;
  margin-top: 5px;
}
#visit-form .button {
  width: 100%;
  margin-top: 23px;
  justify-content: space-between;
}
.form-note {
  font-size: 10px;
  line-height: 1.7;
  color: var(--texto-suave);
  margin-top: 13px;
}
.form-status {
  font-size: 12px;
  margin-top: 12px;
  color: var(--azul-guache);
}
.form-status a {
  text-decoration: underline;
  font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: #2739a8;
    box-shadow: 0 6px 0 #252b501a;
    transform: translateY(-3px);
  }
  .nav > a:not(.button):hover:after {
    transform: scaleX(1);
  }
  .text-link:hover svg {
    transform: translateX(5px);
  }
  .circle-button:not(:disabled):hover {
    background: var(--azul-guache);
    color: #fff;
    border-color: var(--azul-guache);
  }
  .class-tab:hover:not([aria-selected="true"]) {
    background: #dedee2;
    transform: translateY(-3px);
  }
  .gallery-card:hover img {
    transform: scale(1.045);
  }
  .gallery-card:hover .enlarge {
    background: var(--amarelo-papel);
    transform: rotate(8deg);
  }
  .social-links a:hover {
    color: var(--azul-guache);
  }
  .activity summary:hover,
  .faq summary:hover {
    color: var(--azul-guache);
  }
}
@keyframes intro-copy {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes intro-art {
  from {
    opacity: 0;
    transform: translateY(36px) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
@keyframes draw-line {
  from {
    stroke-dashoffset: 1100;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes panel-in {
  from {
    opacity: 0.3;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .eyebrow {
    animation: intro-copy 0.6s 0.05s both;
  }
  .hero h1 {
    animation: intro-copy 0.75s 0.15s both;
  }
  .hero-description {
    animation: intro-copy 0.7s 0.28s both;
  }
  .hero-actions,
  .hero-location {
    animation: intro-copy 0.7s 0.4s both;
  }
  .hero-art {
    animation: intro-art 0.95s 0.18s both;
  }
  .discovery > svg {
    animation: draw-line 1.15s 0.55s both;
  }
}
@media (min-width: 1600px) {
  .hero-inner {
    min-height: 740px;
  }
  .hero-art {
    height: 560px;
  }
  .hero-photo {
    height: 465px;
  }
  .hero h1 {
    font-size: 91px;
  }
}
@media (max-width: 1190px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .nav {
    gap: 23px;
  }
  .brand {
    width: 160px;
  }
  .hero-inner {
    gap: 18px;
    min-height: 630px;
  }
  .hero h1 {
    font-size: 6.2vw;
  }
  .hero-art {
    height: 455px;
  }
  .hero-photo {
    height: 360px;
  }
  .paper-seal {
    width: 125px;
    height: 125px;
    right: -6px;
  }
  .paper-seal > span {
    font-size: 23px;
  }
  .paper-seal b {
    font-size: 26px;
  }
  .mini-photo {
    width: 164px;
    right: -5px;
    bottom: 0;
  }
  .mini-photo img {
    height: 124px;
  }
  .mini-photo figcaption {
    font-size: 16px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    font-size: 12px;
    gap: 13px;
    padding: 15px 17px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-location {
    font-size: 9px;
    flex-wrap: wrap;
  }
  .section {
    padding-block: 85px;
  }
  h2 {
    font-size: 47px;
  }
  .school {
    gap: 65px;
  }
  .school-photo img {
    height: 385px;
  }
  .principles {
    gap: 16px;
  }
  .principles > div {
    font-size: 11px;
  }
  .classes-section h2 {
    font-size: 44px;
  }
  .class-tab {
    padding: 20px 13px;
    gap: 10px;
  }
  .class-tab b {
    font-size: 21px;
  }
  .tab-shape {
    width: 26px;
    font-size: 35px;
  }
  .shape-flower svg {
    width: 28px;
  }
  .class-tab small {
    font-size: 9px;
  }
  .class-tab .tab-arrow {
    font-size: 16px;
  }
  .class-content {
    padding: 30px;
  }
  .class-content h3 {
    font-size: 36px;
  }
  .class-content > p {
    font-size: 13px;
  }
  .class-image > img {
    min-height: 400px;
  }
  .gallery {
    padding-inline: 36px;
    scroll-padding-inline: 36px;
  }
  .activities,
  .enrollment {
    gap: 70px;
  }
  .activity-art {
    width: 94%;
  }
  .activities-visual > .handwritten {
    font-size: 23px;
  }
  .quote-flower {
    left: 0;
    width: 85px;
    height: 85px;
  }
  .quote-note {
    right: 0;
    font-size: 23px;
  }
  .visit-inner {
    gap: 65px;
  }
  .visit-copy h2 {
    font-size: 63px;
  }
  .visit-copy .eyebrow {
    font-size: 10px;
  }
  .address-card {
    padding: 33px 28px;
  }
  .footer-bottom {
    font-size: 9px;
  }
}
@media (max-width: 960px) {
  .header {
    height: 86px;
  }
  .brand {
    width: 148px;
  }
  .nav {
    gap: 18px;
  }
  .nav > a:not(.button) {
    font-size: 11px;
  }
  .button-small {
    font-size: 11px;
    gap: 10px;
    padding: 11px 13px;
  }
  .hero-inner {
    min-height: 595px;
    grid-template-columns: 1.12fr 1fr;
    padding-bottom: 59px;
  }
  .hero h1 {
    font-size: 6.15vw;
    letter-spacing: -1.5px;
  }
  .hero .eyebrow {
    font-size: 8px;
    gap: 6px;
    letter-spacing: 0.8px;
  }
  .little-sun {
    font-size: 21px;
  }
  .hero-actions {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }
  .hero-actions .button {
    min-height: 50px;
  }
  .hero-location {
    margin-top: 24px;
    align-items: flex-start;
  }
  .hero-location > span {
    max-width: 240px;
  }
  .hero-location strong {
    display: block;
  }
  .location-dot {
    display: none;
  }
  .hero-art {
    height: 408px;
    margin-top: 4px;
  }
  .hero-photo {
    height: 320px;
    border-width: 7px;
    border-bottom-width: 41px;
  }
  .hero-photo figcaption {
    font-size: 21px;
    bottom: -31px;
    left: 5px;
    right: 5px;
  }
  .paper-seal {
    width: 108px;
    height: 108px;
    top: -3px;
  }
  .paper-seal > span {
    font-size: 20px;
  }
  .paper-seal b {
    font-size: 22px;
  }
  .paper-seal span svg {
    width: 14px;
    height: 14px;
    margin-top: 5px;
  }
  .photo-backdrop {
    bottom: 55px;
  }
  .mini-photo {
    width: 144px;
    bottom: 2px;
  }
  .mini-photo img {
    height: 104px;
  }
  .mini-photo figcaption {
    font-size: 14px;
  }
  .hero-doodle {
    left: 22%;
    width: 95px;
    height: 84px;
    bottom: 2px;
  }
  .art-note {
    font-size: 21px;
    left: -2%;
    bottom: 14px;
  }
  .values-ribbon {
    padding-block: 19px;
  }
  .values-ribbon span {
    font-size: 21px;
  }
  .values-ribbon svg {
    width: 22px;
    height: 22px;
  }
  .values-ribbon > div {
    gap: 20px;
    padding-inline: 22px;
  }
  .school {
    gap: 49px;
  }
  .school-photo {
    padding: 12px 12px 49px;
    border-radius: 100px 100px 18px 18px;
  }
  .school-photo img {
    height: 385px;
    border-radius: 90px 90px 10px 10px;
  }
  .school-photo figcaption {
    font-size: 21px;
    bottom: 14px;
  }
  .school-sticker {
    width: 126px;
    height: 120px;
    right: 0;
  }
  .school-sticker span {
    font-size: 20px;
  }
  .school-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .school h2 {
    font-size: 44px;
  }
  .principles {
    margin-block: 20px;
    gap: 12px;
  }
  .section-heading {
    gap: 20px;
  }
  .section-heading > p,
  .gallery-intro > p {
    font-size: 12px;
  }
  .classes-section h2 {
    font-size: 40px;
  }
  .class-tab {
    padding: 20px 11px;
    gap: 8px;
  }
  .class-tab b {
    font-size: 19px;
  }
  .class-tab small {
    font-size: 8px;
  }
  .class-tab .tab-arrow {
    display: none;
  }
  .class-tabs {
    gap: 8px;
  }
  .class-content {
    padding: 30px 25px;
  }
  .class-content h3 {
    font-size: 33px;
  }
  .class-content > p {
    font-size: 12px;
  }
  .check-list {
    font-size: 11px;
  }
  .class-image > img {
    min-height: 390px;
  }
  .class-panel {
    min-height: 420px;
  }
  .photo-label {
    font-size: 9px;
    left: 27px;
    bottom: 29px;
    padding: 8px;
  }
  .gallery-card {
    flex-basis: 335px;
  }
  .gallery-photo > img {
    height: 267px;
  }
  .activities {
    gap: 60px;
  }
  .activity-art > img {
    height: 308px;
  }
  .activity-flower {
    right: -30px;
    width: 85px;
    height: 85px;
  }
  .activities-visual > .handwritten {
    font-size: 21px;
  }
  .activity summary {
    padding-block: 20px;
    font-size: 28px;
  }
  .activity-body {
    padding-left: 52px;
    padding-right: 5px;
    font-size: 12px;
  }
  .activity-lead {
    font-size: 13px;
  }
  .enrollment {
    gap: 60px;
  }
  .faq summary {
    font-size: 13px;
  }
  .faq details > p,
  .faq details > div {
    font-size: 12px;
  }
  .visit-inner {
    gap: 50px;
  }
  .visit-copy h2 {
    font-size: 57px;
  }
  .address-card {
    padding: 30px 23px;
  }
  .address-card h3 {
    font-size: 25px;
  }
  .address-phones a {
    font-size: 14px;
  }
  .footer-main {
    gap: 30px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 68px;
  }
  .header {
    height: 80px;
  }
  .brand {
    width: 150px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 13px;
    background: transparent;
    padding: 12px 0 12px 12px;
    font-size: 12px;
    font-weight: 600;
  }
  .menu-lines {
    position: relative;
    width: 23px;
    height: 18px;
  }
  .menu-lines:before,
  .menu-lines:after {
    content: "";
    position: absolute;
    left: 0;
    width: 23px;
    height: 2px;
    background: var(--tinta-caneta);
    transition:
      transform 0.25s,
      top 0.25s;
  }
  .menu-lines:before {
    top: 4px;
  }
  .menu-lines:after {
    top: 12px;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines:before {
    top: 8px;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-lines:after {
    top: 8px;
    transform: rotate(-45deg);
  }
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--papel-branco);
    padding: 22px 25px 30px;
    border-bottom: 1px solid #dbd7eb;
    box-shadow: 0 20px 20px #252b5010;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 80px);
    overflow: auto;
  }
  .nav.is-open {
    display: flex;
  }
  .nav > a:not(.button) {
    font: 500 29px var(--display);
    padding: 13px 0;
  }
  .nav > a:not(.button):after {
    display: none;
  }
  .nav .button {
    margin-top: 19px;
    min-height: 52px;
    font-size: 14px;
    justify-content: space-between;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 35px;
    padding-bottom: 34px;
    min-height: 0;
  }
  .hero-copy {
    max-width: 600px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .little-sun {
    font-size: 21px;
  }
  .hero h1 {
    font-size: clamp(37px, 11.6vw, 74px);
    letter-spacing: -1.6px;
    margin-top: 21px;
    margin-bottom: 26px;
    line-height: 1.01;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.8;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-top: 23px;
    flex-wrap: wrap;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 15px 18px;
    gap: 19px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-location {
    font-size: 9px;
    margin-top: 23px;
    align-items: center;
  }
  .hero-location > span {
    max-width: none;
  }
  .hero-location strong {
    display: inline;
  }
  .location-dot {
    display: inline;
    margin-inline: 4px;
  }
  .hero-art {
    width: min(460px, 94%);
    height: 440px;
    margin: 19px auto 0;
  }
  .hero-photo {
    height: 353px;
    left: 4%;
    width: 87%;
    border-bottom-width: 44px;
  }
  .hero-photo figcaption {
    font-size: 24px;
    bottom: -34px;
  }
  .photo-backdrop {
    left: 9%;
    right: 7%;
    bottom: 62px;
  }
  .paper-seal {
    width: 115px;
    height: 115px;
    right: -2px;
    top: 0;
  }
  .mini-photo {
    width: 150px;
    right: 2%;
    bottom: 1px;
  }
  .mini-photo img {
    height: 108px;
  }
  .mini-photo figcaption {
    font-size: 15px;
  }
  .hero-doodle {
    left: 30%;
    width: 110px;
    height: 85px;
    bottom: 1px;
  }
  .art-note {
    left: 5%;
    font-size: 25px;
    bottom: 17px;
  }
  .values-ribbon {
    padding: 17px 0;
    margin-bottom: 11px;
  }
  .values-ribbon > div {
    justify-content: flex-start;
    gap: 21px;
    padding-inline: 23px;
  }
  .values-ribbon span {
    font-size: 22px;
  }
  .values-ribbon svg {
    width: 23px;
    height: 23px;
  }
  .school {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .school-copy {
    order: -1;
  }
  .school-copy h2 {
    font-size: 47px;
  }
  .school-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .school-copy h2 .blue-text {
    display: inline;
  }
  .school-copy h2 {
    max-width: 500px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .school-copy .eyebrow {
    margin-bottom: 19px;
  }
  .principles {
    gap: 20px;
    margin-block: 25px;
  }
  .principles > div {
    font-size: 12px;
  }
  .school-copy .school-note {
    max-width: 100%;
    font-size: 11px !important;
  }
  .school-visual {
    width: min(465px, 93%);
    margin-inline: auto;
    padding: 0 10px 29px 0;
  }
  .school-photo img {
    height: 365px;
  }
  .school-photo {
    padding: 13px 13px 50px;
    border-radius: 115px 115px 20px 20px;
  }
  .school-photo figcaption {
    font-size: 25px;
  }
  .school-sticker {
    right: -10px;
    bottom: 0;
  }
  .classes-section {
    border-radius: 30px 30px 0 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 29px;
  }
  .section-heading .eyebrow {
    margin-bottom: 17px;
  }
  .section-heading h2,
  .classes-section h2 {
    font-size: 44px;
  }
  .section-heading > p {
    font-size: 13px;
    margin-top: 18px;
  }
  .class-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 13px;
  }
  .class-tab {
    padding: 17px 13px;
    gap: 11px;
    border-radius: 12px;
  }
  .class-tab b {
    font-size: 22px;
  }
  .class-tab small {
    font-size: 9px;
  }
  .tab-shape {
    width: 26px;
    font-size: 35px;
  }
  .class-panel {
    grid-template-columns: 1fr;
    border-radius: 18px;
    min-height: 0;
  }
  .class-image {
    padding: 12px 12px 0;
  }
  .class-image > img {
    height: 255px;
    min-height: 0;
    border-radius: 12px;
    object-position: center;
  }
  .photo-label {
    font-size: 9px;
    left: 26px;
    bottom: 14px;
  }
  .class-content {
    padding: 28px 25px 30px;
  }
  .class-content h3 {
    font-size: 36px;
  }
  .class-content > p {
    font-size: 13px;
    max-width: none;
  }
  .check-list {
    font-size: 11px;
    margin-top: 18px;
  }
  .class-content .text-link {
    font-size: 13px;
  }
  .pill {
    font-size: 9px;
  }
  .classes-footnote {
    text-align: center;
    font-size: 10px;
    align-items: flex-start;
    padding: 0 10px;
  }
  .classes-footnote svg {
    margin-top: 3px;
  }
  .gallery-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 23px;
  }
  .gallery-intro > p {
    font-size: 12px;
  }
  .gallery-controls {
    margin-top: 0;
    gap: 6px;
    flex-shrink: 0;
  }
  .circle-button {
    width: 41px;
    height: 41px;
  }
  .gallery-progress {
    display: none;
  }
  .gallery {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
    gap: 17px;
  }
  .gallery-card {
    flex-basis: min(82vw, 360px);
  }
  .gallery-photo > img {
    height: 270px;
  }
  .gallery-caption b {
    font-size: 21px;
  }
  .gallery-caption > span {
    font-size: 10px;
  }
  .gallery-hint {
    font-size: 10px;
    line-height: 1.8;
    margin-top: 13px;
  }
  .gallery-hint a {
    margin-left: 0;
    display: block;
    margin-top: 5px;
  }
  .activities {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 0;
  }
  .activities-visual h2 {
    font-size: 47px;
    margin-top: 18px;
  }
  .activity-art {
    width: 94%;
    max-width: 440px;
    margin-top: 27px;
  }
  .activity-art > img {
    height: 310px;
    object-position: 50% 40%;
  }
  .activity-flower {
    right: -25px;
  }
  .activities-visual > .handwritten {
    font-size: 25px;
    margin-top: 17px;
  }
  .activity-list {
    padding-top: 5px;
  }
  .activity-lead {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 13px;
  }
  .activity summary {
    font-size: 29px;
    padding: 21px 0;
  }
  .activity-body {
    font-size: 13px;
    padding-right: 20px;
  }
  .quote-section {
    padding: 68px 0 72px;
  }
  .quote-section blockquote p {
    font-size: 38px;
    letter-spacing: -0.6px;
  }
  .quote-section cite {
    font-size: 9px;
    margin-top: 23px;
  }
  .quote-flower {
    left: -34px;
    top: -39px;
    width: 69px;
    height: 69px;
    opacity: 0.8;
  }
  .quote-note {
    font-size: 21px;
    right: 0;
    bottom: -54px;
  }
  .enrollment {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .enrollment-copy h2 {
    font-size: 45px;
  }
  .enrollment-copy > p:not(.eyebrow) {
    font-size: 13px;
    max-width: none;
  }
  .enrollment-copy .text-link {
    font-size: 13px;
  }
  .faq {
    padding-top: 0;
  }
  .faq summary {
    font-size: 14px;
  }
  .faq details > p,
  .faq details > div {
    font-size: 13px;
  }
  .visit-section {
    padding: 63px 0 65px;
    border-radius: 30px 30px 0 0;
  }
  .visit-inner {
    grid-template-columns: 1fr;
    gap: 53px;
  }
  .visit-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  .visit-copy h2 {
    font-size: 59px;
    margin: 23px 0;
  }
  .visit-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .visit-note {
    font-size: 10px;
  }
  .address-card {
    margin: auto;
    max-width: 420px;
    padding: 33px 27px;
    width: calc(100% - 12px);
  }
  .address-card > .handwritten {
    font-size: 27px;
  }
  .address-card h3 {
    font-size: 29px;
  }
  .address-phones a {
    font-size: 15px;
  }
  .footer {
    padding-top: 36px;
  }
  .footer-main {
    flex-wrap: wrap;
    column-gap: 25px;
    row-gap: 28px;
    padding-bottom: 28px;
    justify-content: space-between;
  }
  .footer-main > .brand {
    width: 148px;
  }
  .footer-main > p {
    font-size: 11px;
  }
  .social-links {
    margin: 0;
    width: 100%;
    gap: 28px;
    font-size: 12px;
  }
  .footer-bottom {
    align-items: flex-start;
    font-size: 9px;
    gap: 20px;
  }
  .footer-bottom > a {
    white-space: nowrap;
  }
  .visit-dialog {
    padding: 34px 25px 28px;
  }
  .dialog-heading h2 {
    font-size: 39px;
  }
  .dialog-heading > p:last-child {
    font-size: 12px;
  }
  .lightbox {
    width: calc(100% - 20px);
  }
  .lightbox figure > img {
    height: 61dvh;
  }
  .lightbox figcaption {
    font-size: 12px;
    padding-inline: 20px;
  }
  .lightbox .dialog-close {
    top: 5px;
    right: 5px;
  }
}
@media (max-width: 400px) {
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    font-size: 11px;
    padding-inline: 15px;
    gap: 12px;
  }
  .hero-actions .text-link {
    font-size: 10px;
    gap: 5px;
  }
  .hero h1 {
    font-size: clamp(36px, 11.6vw, 46px);
  }
  .hero .eyebrow {
    font-size: 7.5px;
    letter-spacing: 0.75px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-art {
    height: 354px;
    width: 96%;
    margin-top: 16px;
  }
  .hero-photo {
    height: 282px;
  }
  .photo-backdrop {
    bottom: 47px;
  }
  .hero-photo figcaption {
    font-size: 20px;
  }
  .paper-seal {
    width: 101px;
    height: 101px;
    right: -1px;
  }
  .paper-seal > span {
    font-size: 18px;
  }
  .paper-seal b {
    font-size: 21px;
  }
  .mini-photo {
    width: 128px;
    bottom: 0;
    right: 0;
    padding: 7px 7px 27px;
  }
  .mini-photo img {
    height: 92px;
  }
  .mini-photo figcaption {
    font-size: 13px;
  }
  .art-note {
    font-size: 22px;
    left: 1%;
    bottom: 10px;
  }
  .hero-doodle {
    width: 86px;
    height: 70px;
    left: 29%;
    bottom: 0;
  }
  .hero-location {
    font-size: 8px;
    gap: 5px;
  }
  .hero-location svg {
    width: 13px;
  }
  .school-photo img {
    height: 302px;
  }
  .school h2,
  .section-heading h2,
  .classes-section h2,
  .activities-visual h2,
  .enrollment-copy h2 {
    font-size: 41px;
  }
  .class-tab b {
    font-size: 20px;
  }
  .class-tab small {
    font-size: 8px;
  }
  .class-tab {
    gap: 9px;
    padding: 16px 10px;
  }
  .class-content {
    padding: 25px 22px;
  }
  .class-content h3 {
    font-size: 33px;
  }
  .check-list {
    font-size: 10px;
  }
  .activity-art > img {
    height: 280px;
  }
  .quote-section blockquote p {
    font-size: 35px;
  }
  .visit-copy h2 {
    font-size: 53px;
  }
  .principles {
    gap: 16px;
  }
  .principles > div {
    font-size: 11px;
  }
  .gallery-intro > p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-photo {
    transform: rotate(-5deg) !important;
  }
}

.hero-photo figcaption {
  width: 73%;
  left: 8px;
  right: auto;
}

.school-photo figcaption {
  width: calc(100% - 96px);
  left: 12px;
}
.class-tab small {
  font-size: 10px;
  white-space: normal;
  line-height: 1.45;
}
@media (max-width: 760px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .class-tab small {
    font-size: 9px;
  }
}
