@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');

:root {
  --red-050: #ffeeee;
  --red-100: #facdcd;
  --red-200: #f29b9b;
  --red-300: #e66a6a;
  --red-400: #d64545;
  --red-500: #ba2525;
  --red-600: #a61b1b;
  --red-700: #911111;
  --red-800: #780a0a;
  --red-900: #610404;
  --yellow-050: #fffbea;
  --yellow-100: #fff3c4;
  --yellow-200: #fce588;
  --yellow-300: #fadb5f;
  --yellow-400: #f7c948;
  --yellow-500: #f0b429;
  --yellow-600: #de911d;
  --yellow-700: #cb6e17;
  --yellow-800: #b44d12;
  --yellow-900: #8d2b0b;
  --warm-grey-050: #faf9f7;
  --warm-grey-100: #e8e6e1;
  --warm-grey-200: #d3cec4;
  --warm-grey-300: #b8b2a7;
  --warm-grey-400: #a39e93;
  --warm-grey-500: #857f72;
  --warm-grey-600: #625d52;
  --warm-grey-700: #504a40;
  --warm-grey-800: #423d33;
  --warm-grey-900: #27241d;
  --cyan-050: #e0fcff;
  --cyan-100: #bef8fd;
  --cyan-200: #87eaf2;
  --cyan-300: #54d1db;
  --cyan-400: #38bec9;
  --cyan-500: #2cb1bc;
  --cyan-600: #14919b;
  --cyan-700: #0e7c86;
  --cyan-800: #0a6c74;
  --cyan-900: #044e54;
  --lime-green-050: #f2fde0;
  --lime-green-100: #e2f7c2;
  --lime-green-200: #c7ea8f;
  --lime-green-300: #abdb5e;
  --lime-green-400: #94c843;
  --lime-green-500: #7bb026;
  --lime-green-600: #63921a;
  --lime-green-700: #507712;
  --lime-green-800: #42600c;
  --lime-green-900: #2b4005;

  --ink: var(--warm-grey-900);
  --ink-soft: var(--warm-grey-600);
  --paper: var(--warm-grey-050);
  --white: #ffffff;
  --green: var(--red-600);
  --green-dark: var(--red-900);
  --lime: var(--yellow-400);
  --coral: var(--cyan-700);
  --yellow: var(--yellow-500);
  --line: var(--warm-grey-200);
  --display: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(250, 249, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.4rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.site-nav a:hover {
  color: var(--coral);
}
.site-nav .nav-cta {
  padding: 10px 18px;
  background: var(--green);
  color: white;
}
.site-nav .nav-cta:hover {
  background: var(--green-dark);
  color: white;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
}
h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}
h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
}
h3 {
  font-size: 1.6rem;
}
.eyebrow {
  margin: 0 0 18px;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section {
  padding: 110px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}
.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}
.section-lead {
  margin-top: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.35;
}
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 1px solid;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.text-link:hover {
  color: var(--coral);
}

.home-hero {
  min-height: min(760px, calc(100vh - 130px));
  display: grid;
  align-items: end;
  position: relative;
  color: white;
  background-color: var(--green-dark);
  background-image: linear-gradient(
      90deg,
      rgba(97, 4, 4, 0.97) 0%,
      rgba(97, 4, 4, 0.82) 55%,
      rgba(97, 4, 4, 0.18) 100%
    ),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}
.hero-content {
  padding-top: 100px;
  padding-bottom: 90px;
}
.hero-content h1 {
  max-width: 850px;
  margin-bottom: 24px;
}
.hero-lead {
  max-width: 620px;
  font-size: 1.2rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 12px 22px;
  font: 700 0.92rem var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--lime);
  color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--yellow);
}
.btn-light,
.btn-secondary {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}
.home-hero .btn-light {
  color: white;
}
.btn-secondary:hover {
  background: var(--green);
  color: white;
}

.about-section {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12%;
  align-items: start;
}
.about-grid h2 {
  max-width: 500px;
}
.about-copy {
  padding-top: 38px;
}

.lessons-section {
  background: var(--paper);
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.lesson-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.lesson-card:nth-child(2n) {
  background: var(--lime-green-050);
}
.lesson-number {
  margin-bottom: 62px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
}
.lesson-card h3 {
  margin-bottom: 18px;
}
.lesson-card p {
  color: var(--ink-soft);
  font-size: 0.93rem;
}
.lesson-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
}
.lesson-card > a {
  font-weight: 700;
  text-decoration: none;
}
.lesson-card > a:hover {
  color: var(--coral);
}

.reasons-section {
  overflow: hidden;
  background: var(--green);
  color: white;
}
.reasons-section h2 {
  max-width: 720px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 60px;
}
.reasons-grid article {
  min-height: 260px;
  padding: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}
.reasons-grid article:first-child {
  border-left: 0;
}
.reasons-grid strong {
  color: var(--lime);
  font-size: 0.78rem;
}
.reasons-grid h3 {
  margin-top: 58px;
  margin-bottom: 14px;
}
.reasons-grid p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.instructors-section {
  background: var(--white);
}
.instructor-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.instructor-tile {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--ink);
  color: white;
  text-decoration: none;
}
.instructor-tile img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  transition: transform 500ms ease;
}
.instructor-tile::after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(39, 36, 29, 0.9));
}
.instructor-tile > span {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 24px;
  left: 26px;
}
.instructor-tile strong,
.instructor-tile small {
  display: block;
}
.instructor-tile strong {
  font: 600 1.8rem var(--display);
}
.instructor-tile small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
}
.instructor-tile:hover img {
  transform: scale(1.035);
}

.contact-section {
  background: var(--cyan-200);
  color: var(--warm-grey-900);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10%;
}
.contact-intro h2 {
  margin-bottom: 28px;
}
.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  font-weight: 700;
}
.contact-form {
  display: grid;
  gap: 11px;
  padding: 38px;
  background: var(--white);
  color: var(--ink);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-row > div {
  display: grid;
  gap: 11px;
}
label {
  font-size: 0.8rem;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--warm-grey-400);
  border-radius: 0;
  padding: 11px 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.contact-form .btn {
  justify-self: start;
  margin-top: 18px;
  background: var(--green);
  color: white;
}
.hidden-field {
  display: none;
}

main > .page-head,
main > .stack,
main > .grid {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.page-head {
  padding-top: 95px;
  padding-bottom: 48px;
}
.page-head h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.page-head p {
  max-width: 720px;
  font-size: 1.08rem;
}
.stack {
  display: grid;
  gap: 18px;
  padding-bottom: 100px;
}
.grid {
  display: grid;
  gap: 22px;
  padding-bottom: 100px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
}
.card h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}
.card h3 {
  margin-top: 28px;
}
.card ul {
  padding-left: 20px;
}
.card a:not(.btn) {
  text-decoration-color: var(--coral);
  text-underline-offset: 3px;
}
.service-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}
.price {
  margin: 0;
  color: var(--coral);
  font-weight: 700;
  font-size: 1.4rem;
}
.muted {
  color: var(--ink-soft);
}
.profile img,
.profile-detail img {
  margin: 0 auto;
  width: 75%;
  max-height: 360px;
  object-fit: fill;
  margin-bottom: 25px;
  background: var(--cyan-050);
}
.profile-detail {
  align-items: start;
}
.booking-form {
  display: grid;
  gap: 10px;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  margin-bottom: 8px;
}

.site-footer {
  padding: 70px 0;
  background: var(--warm-grey-900);
  color: white;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 60px;
}
.footer-wrap p {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.68);
}
.footer-wrap a {
  text-decoration: none;
}
.footer-brand {
  font: 600 2rem var(--display);
}
.footer-wrap nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 18px;
  }
  .site-nav a:not(.nav-cta) {
    display: none;
  }
  .lesson-grid,
  .reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reasons-grid article:nth-child(3) {
    border-left: 0;
  }
  .instructor-strip {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    gap: 6%;
  }
}

@media (max-width: 650px) {
  .container,
  main > .page-head,
  main > .stack,
  main > .grid {
    width: min(100% - 28px, 1160px);
  }
  .header-wrap {
    min-height: 68px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .site-nav .nav-cta {
    padding: 9px 12px;
    font-size: 0.82rem;
  }
  .home-hero {
    min-height: calc(100svh - 120px);
    background-position: left center;
  }
  .hero-content {
    padding-bottom: 54px;
  }
  .hero-content h1 {
    font-size: 3.4rem;
  }
  .section {
    padding: 76px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading .text-link {
    margin-top: 20px;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-copy {
    padding-top: 0;
  }
  .lesson-grid,
  .reasons-grid,
  .instructor-strip,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
  .lesson-card {
    min-height: 340px;
  }
  .reasons-grid article {
    min-height: 220px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }
  .reasons-grid article:first-child {
    border-top: 0;
  }
  .instructor-tile {
    min-height: 350px;
  }
  .contact-form {
    padding: 25px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .page-head {
    padding-top: 70px;
  }
  .card {
    padding: 22px;
  }
  .service-top {
    display: block;
  }
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .instructor-tile img {
    transition: none;
  }
}
