:root {
  --agora-red: oklch(56% 0.22 31);
  --red-deep: oklch(35% 0.16 31);
  --sun: oklch(79% 0.16 78);
  --violet: oklch(43% 0.16 305);
  --green: oklch(47% 0.12 156);
  --paper: oklch(95.8% 0.02 84);
  --paper-strong: oklch(91.8% 0.03 82);
  --ink: oklch(20% 0.025 55);
  --muted: oklch(39% 0.035 55);
  --white: oklch(99% 0 0);
  --shadow: 8px 8px 0 oklch(20% 0.025 55 / 0.18);
  --radius: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Fredoka", system-ui, sans-serif;
  line-height: 0.98;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.7rem, 12vw, 6rem);
  margin-bottom: 1.2rem;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 6.6vw, 4.7rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.45rem, 3.5vw, 2.15rem);
  margin-bottom: 0.35rem;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  height: 72px;
  padding: 0 clamp(1.25rem, 5.5vw, 4.8rem);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 178px;
  height: 54px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 1.7rem);
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.button,
.filter,
.text-link {
  min-height: 44px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
  width: 124px;
  min-height: 48px;
  padding-inline: 1.2rem;
}

.button:active,
.filter:active,
.text-link:active,
.category-card:active {
  transform: scale(0.98);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button-red {
  background: var(--agora-red);
  color: var(--white);
}

.button-light {
  background: var(--sun);
  color: var(--ink);
}

.button-outline {
  color: var(--white);
  border-color: var(--white);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 70px));
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6.2rem) clamp(1rem, 5vw, 4.5rem) clamp(7rem, 12vw, 9rem);
  background: var(--agora-red);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(62px, 8vw, 92px);
  background: var(--paper);
  clip-path: polygon(0 44%, 5% 72%, 10% 28%, 15% 72%, 20% 34%, 25% 80%, 30% 34%, 35% 72%, 40% 28%, 45% 72%, 50% 34%, 55% 80%, 60% 28%, 65% 72%, 70% 34%, 75% 80%, 80% 34%, 85% 72%, 90% 28%, 95% 72%, 100% 44%, 100% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.hero-lede {
  max-width: 42ch;
  margin-bottom: 0;
  color: oklch(99% 0 0 / 0.92);
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hand {
  font-family: "Caveat", cursive;
  font-weight: 700;
}

.hero-logo {
  width: clamp(190px, 22vw, 300px);
  margin-bottom: clamp(1.5rem, 4vw, 2.6rem);
}

.hero h1 {
  max-width: none;
  font-family: "Caveat", cursive;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 0.8rem;
}

.hero-doodle {
  position: absolute;
  top: clamp(2rem, 6vw, 4rem);
  right: clamp(1rem, 6vw, 6rem);
  width: min(25vw, 330px);
  height: 120px;
  border-top: 4px dotted oklch(99% 0 0 / 0.45);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hand {
  margin-bottom: 0.35rem;
  color: var(--sun);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.page-hero {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.25rem, 7vw, 5.4rem) 0 1rem;
}

.page-hero h1 {
  max-width: 10ch;
  text-shadow: 5px 5px 0 var(--agora-red);
}

.workshops-hero .hand {
  color: var(--agora-red);
}

.workshops-hero h1 {
  text-shadow: 5px 5px 0 var(--sun);
}

.workshops-hero + .courses-section {
  padding-top: clamp(1.6rem, 4vw, 3rem);
}

.agenda-hero {
  padding-bottom: 0.55rem;
}

.agenda-hero .hand {
  color: var(--sun);
}

.page-hero p:not(.hand) {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.home-section-head h2 {
  margin: 0;
  text-shadow: 4px 4px 0 var(--sun);
}

.section-link {
  color: var(--ink);
  border-bottom: 3px solid var(--agora-red);
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.about-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 4.5rem);
  background: var(--violet);
  color: var(--white);
}

.about-teaser h1,
.about-teaser h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.about-teaser h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
}

.about-teaser h2 span {
  color: var(--sun);
}

.about-teaser p:not(.hand) {
  max-width: 48ch;
  color: oklch(99% 0 0 / 0.86);
  font-size: 1.12rem;
}

.about-page {
  min-height: 0;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.62fr);
  padding-block: clamp(2.8rem, 6vw, 4.2rem);
}

.about-page .hand {
  color: var(--sun);
}

.about-page h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
}

.about-page p:not(.hand) {
  max-width: 43ch;
  font-size: 1.04rem;
}

.week-preview h2 {
  max-width: none;
  margin-bottom: 1.4rem;
  text-shadow: 4px 4px 0 var(--green);
}

.week-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.week-cards article,
.week-cards a {
  min-height: 118px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 1rem;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
}

.week-cards strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.1rem;
}

.week-cards span {
  color: var(--muted);
  font-size: 0.92rem;
}

.home-cta {
  width: min(980px, calc(100% - 2rem));
  margin: clamp(2rem, 6vw, 4rem) auto clamp(4rem, 8vw, 6rem);
  border-radius: 22px;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--sun);
  text-align: center;
}

.home-cta h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.home-cta p {
  font-family: "Caveat", cursive;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.intro-strip {
  display: flex;
  justify-content: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  text-align: center;
}

.intro-strip p {
  margin: 0;
}

.section-heading {
  display: block;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 18ch;
}

.section-heading p:last-child {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.find-section .hand,
.courses-section .hand,
.schedule .hand {
  color: var(--agora-red);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 1.1rem;
  color: var(--white);
  text-decoration: none;
  transition: transform 180ms ease;
}

.category-card span {
  font-family: "Caveat", cursive;
  font-size: 1.9rem;
  font-weight: 700;
}

.category-card strong {
  max-width: 13ch;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.category-card.symbol {
  background: var(--sun);
  color: var(--ink);
}

.category-card.word {
  background: var(--agora-red);
}

.category-card.scene {
  background: var(--violet);
}

.category-card.movement {
  background: var(--green);
}

.category-card.more {
  align-items: center;
  justify-content: center;
  border: 2px dashed oklch(20% 0.025 55 / 0.28);
  background: var(--paper-strong);
  color: var(--muted);
  text-align: center;
}

.category-card.more strong {
  font-family: "Caveat", cursive;
  font-size: 1.8rem;
  font-weight: 700;
}

.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.filter {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 2px solid oklch(20% 0.025 55 / 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 0.65rem 1rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.filter::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: currentColor;
}

.filter[data-filter="all"]::before {
  background: var(--ink);
}

.filter[data-filter="saberes"]::before {
  background: var(--sun);
}

.filter[data-filter="palabra"]::before {
  background: var(--agora-red);
}

.filter[data-filter="escena"]::before {
  background: var(--violet);
}

.filter[data-filter="movimiento"]::before {
  background: var(--green);
}

.filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.filter.is-active::before {
  background: currentColor;
}

.filter.is-active[data-filter="saberes"] {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--ink);
}

.filter.is-active[data-filter="palabra"] {
  border-color: var(--agora-red);
  background: var(--agora-red);
  color: var(--white);
}

.filter.is-active[data-filter="escena"] {
  border-color: var(--violet);
  background: var(--violet);
  color: var(--white);
}

.filter.is-active[data-filter="movimiento"] {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease;
  scroll-margin-top: 120px;
}

.course-card[data-detail-url] {
  cursor: pointer;
}

.course-card:focus-visible {
  transform: translateY(-3px);
}

.course-card[hidden] {
  display: none;
}

.course-card img {
  width: 100%;
  aspect-ratio: 4 / 5.25;
  object-fit: cover;
}

.course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 0.95rem 1rem 1rem;
}

.tag {
  align-self: flex-start;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.scene .tag {
  background: var(--violet);
}

.movement .tag {
  background: var(--green);
}

.word .tag {
  background: var(--agora-red);
}

.symbol .tag {
  background: var(--sun);
  color: var(--ink);
}

.subtitle {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.course-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
  font-family: "Fredoka", system-ui, sans-serif;
}

.price-now {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
}

.price-unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.price-save {
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--green);
}

.price-save del {
  color: var(--muted);
  font-weight: 500;
}

.price-save strong {
  color: var(--green);
}

.promo-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  background: var(--sun);
  color: var(--ink);
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.course-body > p:not(.subtitle) {
  display: none;
}

.course-meta {
  display: grid;
  gap: 0;
  margin: auto 0 0.9rem;
}

.course-meta div {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  padding-top: 0;
}

dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

dd {
  margin: 0;
  text-align: right;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 0.2rem;
  color: var(--agora-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  transition: transform 180ms ease;
}

.workshop-detail {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.3rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.workshop-detail-panel[hidden] {
  display: none;
}

.detail-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.workshop-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.workshop-detail-layout > img {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--ink);
  object-fit: cover;
}

.detail-copy h1 {
  max-width: 11ch;
  margin-bottom: 0.5rem;
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  text-shadow: none;
}

.detail-kicker {
  margin-bottom: 1.3rem;
  color: var(--ink);
  font-family: "Caveat", cursive;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
}

.detail-copy > p:not(.detail-kicker) {
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.detail-table {
  display: grid;
  margin: 1.6rem 0 1.4rem;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 16px;
}

.detail-table div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 1rem;
  border-top: 2px dashed oklch(20% 0.025 55 / 0.18);
}

.detail-table div:first-child {
  border-top: 0;
}

.detail-table dd {
  color: var(--ink);
  font-weight: 800;
}

.detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.detail-actions .hand {
  margin: 0;
  color: var(--muted);
  font-size: 1.55rem;
}

.purpose {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.purpose .hand {
  color: var(--violet);
}

.purpose-copy p:last-child {
  max-width: 54ch;
  font-size: 1.18rem;
}

.pillars {
  display: grid;
  gap: 1rem;
}

.pillars article {
  padding: clamp(1rem, 3vw, 1.6rem);
  background: var(--paper-strong);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

.pillars span {
  font-family: "Caveat", cursive;
  color: var(--agora-red);
  font-size: 2.2rem;
  font-weight: 700;
}

.about-section {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.8rem, 5vw, 4rem);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: end;
}

.about-hero .hand {
  color: var(--green);
}

.about-hero p:last-child {
  max-width: 56ch;
  font-size: 1.14rem;
}

.values-list {
  display: grid;
  gap: 0;
}

.values-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  border-top: 2px dashed oklch(20% 0.025 55 / 0.2);
  padding: clamp(0.95rem, 2vw, 1.25rem) 0;
}

.values-list article:last-child {
  border-bottom: 2px dashed oklch(20% 0.025 55 / 0.2);
}

.values-list span {
  color: var(--agora-red);
  font-family: "Caveat", cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1;
}

.values-list p {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.72rem);
  font-weight: 600;
  line-height: 1.18;
}

.belief-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  border-radius: 0;
  padding: clamp(0.9rem, 2vw, 1.2rem) 0 0;
  background: transparent;
  color: var(--ink);
}

.belief-band article {
  border-top: 3px solid var(--green);
  border-radius: 0;
  padding: 0.8rem 0 0;
}

.belief-band span {
  display: block;
  color: var(--green);
  font-family: "Caveat", cursive;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

.belief-band p {
  margin: 0.35rem 0 0;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.gallery-section {
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1rem, 5vw, 4.5rem) clamp(3.4rem, 7vw, 5.2rem);
  background: var(--paper);
  color: var(--ink);
}

.gallery-heading {
  max-width: var(--max);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin: 0 auto 1rem;
}

.gallery-heading h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 3px 3px 0 var(--sun);
}

.gallery-heading a {
  color: var(--green);
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
}

.gallery-grid {
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  border-radius: 10px;
  object-fit: cover;
}

.schedule {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(280px, 1fr);
  gap: 2rem;
}

.schedule .section-heading {
  display: block;
  margin: 0;
}

.schedule-list {
  display: grid;
  gap: 0.58rem;
}

.schedule-list article {
  display: grid;
  grid-template-columns: minmax(90px, 0.25fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-bottom: 2px dashed oklch(20% 0.025 55 / 0.2);
  padding: 0.9rem 0;
}

.schedule-list strong {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.2rem;
}

.schedule-list a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.schedule-list a span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--agora-red);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.schedule-list a:hover span,
.schedule-list a:focus-visible span {
  background: var(--ink);
}

.schedule-page {
  max-width: 760px;
  padding-top: 0.55rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.schedule-page .schedule-list article {
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: var(--paper);
}

.schedule-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.visit {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
  padding: clamp(3.2rem, 7vw, 5.2rem) max(clamp(1rem, 5vw, 4.5rem), calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.visit-page {
  min-height: auto;
}

.visit .hand {
  color: var(--green);
}

.visit h1 {
  text-shadow: 5px 5px 0 var(--sun);
}

.visit-copy p:not(.hand) {
  max-width: 44ch;
  color: var(--muted);
}

.audience-chips {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.audience-chips span {
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.visit-card {
  grid-column: 1;
  border: 2px solid var(--ink);
  border-radius: 12px;
}

.visit-card {
  display: grid;
  gap: 0.95rem;
  padding: clamp(1rem, 2.4vw, 1.3rem);
  background: var(--white);
  color: var(--ink);
}

.visit-card h3 {
  font-size: 1.35rem;
}

.visit-card p {
  margin-bottom: 0.35rem;
}

.map-card {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 430px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-strong);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.88) contrast(0.96);
}

.map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-top: 2px solid var(--ink);
  background: var(--sun);
  color: var(--ink);
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1rem, 5vw, 4.5rem) 1.4rem;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(130px, 0.75fr) minmax(220px, 1fr) minmax(230px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin: 0 auto;
  padding-bottom: 2.2rem;
  border-bottom: 2px dashed oklch(96% 0.018 84 / 0.24);
}

.site-footer img {
  width: 150px;
  margin-bottom: 0.7rem;
}

.site-footer h2 {
  max-width: none;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: normal;
  text-wrap: nowrap;
}

.site-footer p {
  max-width: 34ch;
  margin: 0 0 0.8rem;
  color: oklch(96% 0.018 84 / 0.72);
  overflow-wrap: normal;
  text-wrap: pretty;
}

.site-footer a:not(.button) {
  display: block;
  margin-bottom: 0.55rem;
  color: oklch(96% 0.018 84 / 0.88);
  text-decoration: none;
}

.footer-hand {
  color: var(--sun) !important;
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  font-weight: 700;
}

.footer-bottom {
  max-width: var(--max);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 auto;
  padding-top: 1.2rem;
  color: oklch(96% 0.018 84 / 0.6);
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  box-shadow: var(--shadow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: var(--white);
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .filter:hover,
  .text-link:hover,
  .category-card:hover,
  .course-card:hover {
    transform: translateY(-3px);
  }

  .site-footer a:hover,
  .nav a:hover,
  .gallery-heading a:hover {
    color: var(--sun);
  }
}

@media (max-width: 980px) {
  .category-grid,
  .course-grid,
  .week-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .visit {
    grid-template-columns: 1fr;
  }

  .visit-copy,
  .visit-card,
  .map-card {
    grid-column: 1;
    grid-row: auto;
  }

  .map-card,
  .map-card iframe {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    height: auto;
    min-height: 72px;
    padding-block: 0.45rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 0.1rem;
  }

  .nav a {
    min-height: 48px;
    padding: 0.35rem 0.2rem;
    border-bottom: 1px solid oklch(20% 0.025 55 / 0.12);
  }

  .header-cta {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.4rem;
  }

  .site-header.is-open .nav,
  .site-header.is-open .header-cta {
    display: flex;
  }

  .hero,
  .section-heading,
  .about-teaser,
  .purpose,
  .about-hero,
  .schedule,
  .visit,
  .workshop-detail-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .hero-doodle {
    opacity: 0.45;
    right: -2rem;
  }

  .values-list article,
  .schedule-list article {
    grid-template-columns: 1fr;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .site-header > .button {
    width: 100%;
  }

  .category-grid,
  .course-grid,
  .week-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions .button,
  .visit-card .button,
  .footer-grid .button {
    width: 100%;
  }

  .course-card dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  dd {
    text-align: left;
  }

  .schedule-list a {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-table div,
  .detail-actions {
    align-items: flex-start;
    flex-direction: column;
  }

}

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