:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #253e34;
  background: #f5f3ec;
  color-scheme: light;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
.container {
  width: calc(100% - 3rem);
  max-width: 1120px;
  margin-inline: auto;
}
.site-header {
  padding-block: 1.8rem;
}
.brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}
.brand span {
  display: block;
  margin-top: 0.35rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-block: 2rem 5rem;
}
.eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: 3.8rem;
  font-size: clamp(2.6rem, 5.3vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-block: 1.2rem 1.5rem;
}
.intro {
  max-width: 33rem;
  font-size: 1.1rem;
  line-height: 1.7;
}
.booking {
  margin-top: 1.8rem;
  scroll-margin-top: 2rem;
}
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
  padding: 1rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
}
.primary {
  width: 100%;
  max-width: 22rem;
  color: #fff;
  background: #253e34;
}
.primary:disabled {
  opacity: 1;
  cursor: default;
}
.booking-note {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-block: 0.75rem 0;
}
.hero-image {
  position: relative;
  margin: 0;
  background: #e7e8de;
  border-radius: 48% 48% 8px 8px;
  overflow: hidden;
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-image figcaption {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
}
.courses {
  background: #e9ece3;
  padding-block: 4.5rem;
}
h2 {
  font-size: 2.8rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-block: 1rem;
}
.section-intro {
  max-width: 39rem;
  line-height: 1.7;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.course-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #f5f3ec;
  border: 1px solid #d3d9cb;
  border-radius: 8px;
}
.course-number {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h3 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin-block: 0.6rem;
}
.course-card > p:not(.course-number) {
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.secondary {
  margin-top: auto;
  padding-inline: 0;
  border-radius: 0;
  border-top: 1px solid #c7cec0;
  font-size: 0.9rem;
}
.secondary:hover {
  text-decoration: underline;
}
.primary:not(:disabled):hover {
  background: #365646;
}
.site-footer {
  padding-block: 2rem;
  font-size: 0.85rem;
}
.site-footer span {
  display: block;
  margin-top: 0.4rem;
}
:focus {
  outline: 3px solid #9a4c25;
  outline-offset: 5px;
}
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.8rem;
  background: #fff;
  transform: translateY(-200%);
  z-index: 1;
}
.skip-link:focus {
  transform: none;
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 2.5rem);
  }
  .site-header {
    padding-block: 1.3rem;
  }
  .brand {
    font-size: 1.35rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-block: 1.1rem 3rem;
  }
  h1 {
    margin-block: 0.9rem 1.1rem;
  }
  .intro {
    font-size: 1rem;
    line-height: 1.6;
  }
  .booking {
    margin-top: 1.4rem;
  }
  .primary {
    max-width: none;
  }
  .hero-image {
    max-width: 26rem;
    width: 100%;
    margin-inline: auto;
  }
  .hero-image img {
    height: 300px;
    object-fit: cover;
  }
  .courses {
    padding-block: 3rem;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.8rem;
  }
}

.privacy-footer {
  padding: 1.5rem;
  text-align: center;
}
.privacy-footer a {
  color: inherit;
  text-underline-offset: 0.2em;
}
