:root {
  color-scheme: light;
  --ink: #182024;
  --muted: #5e686b;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #d9ded9;
  --green: #116b54;
  --gold: #d8a028;
  --red: #b64032;
  --blue: #265b8f;
  --shadow: 0 18px 50px rgba(24, 32, 36, 0.12);
  --soft-shadow: 0 12px 30px rgba(24, 32, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: clamp(8rem, 18vw, 12rem);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nowrap {
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 31rem);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(100vh - 4rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.hero-copy {
  max-width: 46rem;
  min-width: 0;
}

.hero-tail {
  min-width: 0;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  background: #edf5f2;
  color: var(--green);
  border: 1px solid #c9ddd6;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  color: var(--ink);
  font-size: clamp(3.2rem, 10vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  color: var(--green);
  font-size: 1.08rem;
}

.hero-copy p:not(.eyebrow, .welcome-badge) {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  overflow-wrap: break-word;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 42rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.75rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: var(--green);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 800;
  text-decoration: none;
}

.button-secondary {
  background: var(--surface);
  color: var(--green);
  border: 1px solid var(--green);
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  background: #0d5945;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #e8f1ee;
  color: #0d5945;
}

.hero-mark,
.hero-photo-placeholder,
.hero-photo {
  width: min(100%, 34rem);
  margin: 0;
  justify-self: center;
  text-align: center;
}

.hero-photo {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.hero-photo figcaption {
  padding: 0.85rem 1rem;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 900;
}

.hero-photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 24rem;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(17, 107, 84, 0.1), rgba(216, 160, 40, 0.16)),
    #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  color: var(--muted);
  font-weight: 900;
}

.hero-image {
  width: 100%;
  background: #ffffff;
  filter: drop-shadow(0 2rem 2.5rem rgba(24, 32, 36, 0.12));
}

.hero-mark figcaption {
  margin-top: 1rem;
  color: var(--green);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.community-photo {
  padding: 0 clamp(1rem, 4vw, 4rem) clamp(3rem, 7vw, 6rem);
}

.community-photo figure,
.gallery-photo {
  margin: 0;
}

.community-photo figure {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.community-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.community-photo figcaption {
  padding: 0.85rem 1rem;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 900;
}

.section-accent {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-contact {
  background: #edf5f2;
}

.section-inner {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.section-intro {
  max-width: 48rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.details-grid,
.class-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.details-grid article,
.class-option {
  min-height: 13rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
}

.class-option {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.class-option h3,
.class-option p {
  margin-bottom: 0;
}

.class-type {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.class-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
}

.class-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  background: #edf5f2;
  color: var(--green);
  border: 1px solid #c9ddd6;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.class-link-secondary {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}

.class-link:hover,
.class-link:focus-visible {
  background: var(--green);
  color: #ffffff;
}

.class-link-secondary:hover,
.class-link-secondary:focus-visible {
  background: #f7f4ed;
  color: var(--ink);
}

.details-grid p,
.split p {
  color: var(--muted);
}

.class-note {
  max-width: 48rem;
  margin: 1.5rem auto 0;
  padding: 1rem 1.25rem;
  background: #edf5f2;
  color: var(--green);
  border: 1px solid #c9ddd6;
  border-radius: 8px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 900;
  text-align: center;
}

.venue-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(18rem, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #f7f4ed;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.venue-preview h3 {
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.venue-preview p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.venue-images {
  display: grid;
  grid-template-columns: minmax(7rem, 0.45fr) minmax(12rem, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.venue-images img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.venue-images img:first-child {
  object-fit: contain;
  padding: 1rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1fr);
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: start;
}

.split > p {
  max-width: 43rem;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.split > div:last-child p:last-child {
  margin-bottom: 0;
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.about-logo {
  width: 100%;
  max-width: 22rem;
  justify-self: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.about-profile p:not(.eyebrow) {
  max-width: 43rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.about-profile p:not(.eyebrow):last-child {
  margin-bottom: 0;
}

.teacher-profile {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.teacher-photo {
  display: block;
  width: 100%;
  min-height: 20rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.teacher-profile p:not(.eyebrow) {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.expect-photo-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 1.5rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.expect-photo-strip img {
  width: 100%;
  height: 100%;
  min-height: clamp(11rem, 22vw, 17rem);
  object-fit: cover;
  background: var(--surface);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 1.5rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: var(--surface);
}

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

.event-card-copy {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.event-date {
  margin-bottom: 0.65rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card p:not(.event-date) {
  color: var(--muted);
}

.event-note {
  max-width: 48rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.5rem;
}

.expect-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 1rem;
  align-content: start;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.expect-grid article:nth-child(-n + 2) {
  border-top-color: var(--gold);
}

.expect-grid h3,
.expect-grid p {
  grid-column: 2;
}

.expect-marker {
  display: inline-grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: #edf5f2;
  color: var(--green);
  border: 1px solid #c9ddd6;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.expect-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 1.5rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  min-height: 13rem;
  aspect-ratio: 4 / 3;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(17, 107, 84, 0.08), rgba(216, 160, 40, 0.12)),
    var(--surface);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.gallery-photo {
  position: relative;
  overflow: hidden;
  min-height: 13rem;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-photo figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.35rem 0.55rem;
  background: rgba(24, 32, 36, 0.78);
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
}

.gallery-photo-large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 8 / 6;
}

.contact-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0;
}

.contact-option {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-height: 7rem;
  padding: 1.1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid #c9ddd6;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.contact-option span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-option strong {
  color: var(--green);
  font-size: clamp(1rem, 2vw, 1.15rem);
  overflow-wrap: anywhere;
}

.contact-option small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-option-primary {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
  box-shadow: var(--soft-shadow);
}

.contact-option-primary span,
.contact-option-primary strong,
.contact-option-primary small {
  color: #ffffff;
}

.contact-option:hover,
.contact-option:focus-visible {
  background: #edf5f2;
  border-color: var(--green);
  transform: translateY(-2px);
}

.contact-option-primary:hover,
.contact-option-primary:focus-visible {
  background: #0d5945;
}

.contact-prompts {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.contact-prompts li {
  position: relative;
  padding-left: 1.4rem;
}

.contact-prompts li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.site-footer {
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .welcome-badge {
    justify-self: start;
    order: 1;
  }

  .hero-copy h1 {
    order: 2;
  }

  .hero-copy > p {
    order: 3;
  }

  .hero-photo {
    order: 4;
  }

  .hero-tail {
    order: 5;
  }

  .hero-mark {
    width: min(100%, 24rem);
  }

  .details-grid,
  .class-options,
  .venue-preview,
  .about-profile,
  .teacher-profile,
  .events-grid,
  .expect-grid,
  .gallery-grid,
  .expect-photo-strip,
  .contact-options,
  .split {
    grid-template-columns: 1fr;
  }

  .gallery-photo-large {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .venue-images {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-nav {
    gap: 0.6rem;
  }

  .site-header {
    padding-block: 0.75rem;
  }

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

  .brand-logo {
    width: 9rem;
  }

  .site-nav {
    width: 100%;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .hero {
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .hero-copy p:not(.eyebrow, .welcome-badge) {
    max-width: 32ch;
    font-size: 1rem;
  }

  .welcome-badge {
    min-height: 2rem;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

  .hero-highlights {
    gap: 0.45rem;
    margin-top: 1rem;
  }

  .hero-highlights li {
    min-height: 2.1rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
  }

  .community-photo img {
    aspect-ratio: 4 / 3;
  }

  html {
    scroll-padding-top: 10rem;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .details-grid article {
    min-height: auto;
  }
}
