* {
  box-sizing: border-box;
}

:root {
  color: #17202a;
  background: #f4f1ea;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

body {
  margin: 0;
}

.container,
main,
footer {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

header {
  position: relative;
  padding: 175px 0 0;
  background: #17202a;
  color: #fff;
}

header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 175px;
  background: url("../website banner.avif") center / contain no-repeat;
  background-color: #17202a;
  content: "";
}

header .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

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

h1 {
  display: none;
}

nav {
  width: min(100%, 760px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
}

nav a,
.hero a,
.cta a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #17202a;
  font-size: 0.92rem;
  transition: background-color 160ms ease, color 160ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  background: #e6b84d;
  color: #17202a;
}

.hero {
  position: relative;
  display: grid;
  min-height: 52vh;
  place-items: center;
  margin: 0 -1rem;
  padding: 4rem 1.5rem;
  color: #fff;
  text-align: center;
  background: url("../IMG_3976.JPG") center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 42, 0.62);
  content: "";
}

.overlay {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: 1.05;
}

.hero p {
  font-size: 1.2rem;
}

.page-intro {
  max-width: 760px;
  padding: 5rem 0 3rem;
}

.page-intro h2,
.about-grid h2,
.values h2 {
  margin-bottom: 1rem;
  color: #17202a;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.page-intro > p:last-child {
  max-width: 620px;
  font-size: 1.2rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: #9b2c2c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.8fr);
  gap: 3rem;
  padding: 3rem 0 5rem;
}

.about-grid p:not(.eyebrow) {
  max-width: 650px;
}

.about-highlight {
  align-self: start;
  padding: 2rem;
  border-top: 4px solid #9b2c2c;
  background: #fff;
}

.about-highlight strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.about-highlight ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.2rem;
}

.values {
  padding: 3rem 0 5rem;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value-item {
  padding: 1.5rem 0;
  border-top: 1px solid #9b2c2c;
}

.value-item span {
  color: #9b2c2c;
  font-weight: 700;
}

.instructor-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 3rem;
  padding: 3rem 0 5rem;
}

.instructor-copy h2 {
  margin-bottom: 1rem;
  color: #17202a;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  grid-column: 1 / -1;
}

.instructor-card {
  min-height: 180px;
  padding: 1.5rem;
  border-top: 4px solid #9b2c2c;
  background: #fff;
}

.instructor-card-featured {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0 1.5rem;
  grid-column: 1 / -1;
}

.instructor-photo {
  width: 180px;
  height: 220px;
  grid-row: span 2;
  object-fit: contain;
  object-position: center;
  background: #f2eee7;
}

.instructor-bio {
  grid-column: 2;
}

.instructor-bio p:last-child {
  margin-bottom: 0;
}

.instructor-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.instructor-role {
  margin-bottom: 0.75rem;
  color: #9b2c2c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instructor-card > p:last-child {
  margin-bottom: 0;
  color: #56616b;
}

.value-item h3 {
  margin: 0.75rem 0 0.35rem;
}

.about-cta {
  margin-bottom: 3rem;
}

.payment-options {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem;
  padding: 3rem 0 5rem;
}

.payment-list {
  display: grid;
  gap: 1rem;
}

.payment-option {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid #9b2c2c;
}

.payment-option h3 {
  margin-bottom: 0.35rem;
}

.payment-option p {
  margin-bottom: 0;
}

.payment-number {
  color: #9b2c2c;
  font-weight: 700;
}

.payment-note {
  margin-bottom: 5rem;
  padding: 2.5rem;
  border-left: 4px solid #9b2c2c;
  background: #fff;
}

.payment-note h2 {
  margin-bottom: 0.5rem;
}

.payment-note p {
  max-width: 680px;
}

.payment-note a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #9b2c2c;
  font-weight: 700;
}

.payment-methods {
  margin-bottom: 5rem;
  padding: 2.5rem;
  background: #fff;
}

.payment-methods h2 {
  margin-bottom: 1.5rem;
  color: #17202a;
  font-size: clamp(2rem, 4vw, 3rem);
}

.payment-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.payment-button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  background: #173f9b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.payment-button-venmo {
  background: #168bc2;
}

.payment-instructions {
  max-width: 720px;
  padding-top: 1.5rem;
  border-top: 1px solid #d8dde0;
}

.payment-instructions h3 {
  margin-bottom: 0.5rem;
}

.payment-instructions p {
  margin-bottom: 0.75rem;
}

.class-list,
.contact-grid {
  padding: 3rem 0 5rem;
}

.classes-page-image {
  margin: 2rem 0 0;
  background: #fff;
}

.classes-page-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 940 / 450;
  object-fit: contain;
}

.weekly-schedule {
  padding: 2rem 0 4rem;
}

.schedule-heading h2 {
  margin-bottom: 1.5rem;
  color: #17202a;
  font-size: clamp(2rem, 4vw, 3rem);
}

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

.schedule-card {
  min-height: 190px;
  padding: 1.5rem;
  border-top: 4px solid #9b2c2c;
  background: #fff;
}

.schedule-day {
  margin-bottom: 0.6rem;
  color: #9b2c2c;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-card h3 {
  margin-bottom: 0.4rem;
}

.schedule-card p:not(.schedule-day) {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.schedule-card small {
  color: #56616b;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.class-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border-top: 4px solid #9b2c2c;
  background: #fff;
}

.class-card h3 {
  margin-bottom: 0.75rem;
}

.class-card a {
  margin-top: auto;
  padding-top: 1rem;
  color: #9b2c2c;
  font-weight: 700;
}

.class-tag {
  margin-bottom: 0.75rem;
  color: #9b2c2c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-note {
  margin-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 3rem;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-details p {
  margin-bottom: 0;
}

.contact-details a {
  color: #9b2c2c;
  font-weight: 700;
}

.contact-actions {
  display: inline-flex;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.contact-actions a {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 0.65rem;
  padding: 2rem;
  background: #fff;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #17202a;
  border-radius: 0.25rem;
  font: inherit;
}

.contact-form button {
  margin-top: 0.5rem;
  background: #17202a;
  color: #fff;
  cursor: pointer;
}

.photo-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  margin: 0 auto 5rem;
  padding: 1rem;
  background: #fff;
}

.photo-band img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.class-action-photo {
  object-fit: contain !important;
  object-position: center;
  background: #f2eee7;
}

.contact-community-photo {
  object-fit: contain !important;
  object-position: center;
  background: #f2eee7;
}

.photo-band h2 {
  max-width: 520px;
  margin-bottom: 0;
  color: #17202a;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.maps-link {
  display: inline-block;
  margin-top: 1rem;
  color: #9b2c2c;
  font-weight: 700;
}

.maps-address {
  margin-top: 0.5rem;
  font-style: normal;
}

.shop-intro {
  padding-bottom: 2rem;
}

.shop-content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 3rem;
  align-items: center;
  padding: 2rem 0 5rem;
}

.shop-copy h2 {
  margin-bottom: 1rem;
  color: #17202a;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.shop-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: #9b2c2c;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.shop-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.shop-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.curriculum-intro {
  padding-bottom: 2rem;
}

.access-gate,
.curriculum-content {
  margin-bottom: 5rem;
  padding: 2.5rem;
  background: #fff;
}

.access-gate {
  max-width: 560px;
  border-top: 4px solid #9b2c2c;
}

.access-gate h2 {
  margin-bottom: 1.5rem;
}

#password-form {
  display: grid;
  gap: 0.65rem;
  max-width: 380px;
}

#password-form input,
#password-form button,
.secondary-button {
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #17202a;
  border-radius: 0.25rem;
  font: inherit;
}

#password-form button,
.secondary-button {
  margin-top: 0.5rem;
  background: #17202a;
  color: #fff;
  cursor: pointer;
}

.curriculum-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.curriculum-heading-row h2 {
  margin-bottom: 0;
}

.secondary-button {
  margin-top: 0;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-top: 4px solid #9b2c2c;
  background: #f4f1ea;
}

.video-card h3 {
  margin-bottom: 0;
}

.video-card a {
  color: #9b2c2c;
  font-weight: 700;
}

.video-level {
  margin-bottom: 0.6rem;
  color: #56616b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-note {
  margin-top: 1rem;
  white-space: pre-line;
}

.level-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.level-card {
  display: grid;
  min-height: 150px;
  align-content: space-between;
  padding: 1.25rem;
  border-top: 4px solid #9b2c2c;
  background: #f4f1ea;
  color: #17202a;
  text-decoration: none;
}

.level-card:hover,
.level-card:focus-visible {
  background: #e6b84d;
}

.level-card span,
.level-card small {
  color: #9b2c2c;
  font-weight: 700;
}

.level-card strong {
  font-size: 1.15rem;
}

.level-card small {
  font-size: 0.8rem;
  font-weight: 400;
}

.student-community-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #9b2c2c;
  font-weight: 700;
}

.hero a,
.cta a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.25rem;
  background: #e6b84d;
  color: #17202a;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 3rem 0;
}

.feature {
  padding: 1.5rem;
  border-top: 4px solid #9b2c2c;
  background: #fff;
}

.cta {
  padding: 3rem 1.5rem;
  background: #e6b84d;
  text-align: center;
}

.signup-form {
  display: grid;
  gap: 0.65rem;
  max-width: 460px;
  margin: 1.5rem auto 0;
  text-align: left;
}

.signup-form input,
.signup-form select,
.signup-form button {
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #17202a;
  border-radius: 0.25rem;
  font: inherit;
}

.signup-form button {
  margin-top: 0.5rem;
  background: #17202a;
  color: #fff;
  cursor: pointer;
}

.form-message {
  min-height: 1.5rem;
  margin: 0.5rem 0 0;
  font-weight: 700;
}

footer {
  padding: 1.5rem 0;
  color: #56616b;
  text-align: center;
}

.footer-contact {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: #17202a;
  font-size: 0.95rem;
}

.footer-contact span {
  display: inline-flex;
  gap: 0.75rem;
}

.footer-contact a {
  color: #9b2c2c;
  font-weight: 700;
}

.footer-contact address {
  font-style: normal;
}

footer > p {
  margin-bottom: 0;
}

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

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

  .about-grid,
  .value-list,
  .payment-options,
  .class-grid,
  .contact-grid,
  .instructor-section,
  .shop-content,
  .photo-band,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

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

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

  .instructor-photo,
  .instructor-bio {
    grid-column: 1;
    grid-row: auto;
  }

  .instructor-photo {
    width: 100%;
    height: 280px;
  }

  .payment-note {
    padding: 1.5rem;
  }

  .payment-methods {
    padding: 1.5rem;
  }

  .access-gate,
  .curriculum-content {
    padding: 1.5rem;
  }

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

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

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

  .shop-gallery {
    grid-template-columns: 1fr;
  }

  .photo-band img {
    height: 220px;
  }
}
