:root {
  --paper: #f7f5f0;
  --ink: #151412;
  --muted: #706b62;
  --line: #ddd8ce;
  --panel: #fffdf8;
  --accent: #8d6b45;
  --green: #405847;
  --shadow: 0 18px 48px rgba(35, 31, 26, 0.12);
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 216, 206, 0.78);
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  white-space: nowrap;
}

.nav-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
}

.nav-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-tabs a:hover,
.nav-tabs a:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

.nav-tabs .external-link {
  color: var(--green);
}

.instagram-link {
  width: 54px;
  min-height: 46px;
  padding-inline: 12px;
}

.instagram-link svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  place-items: center end;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 17, 14, 0.08), rgba(19, 17, 14, 0.22) 48%, rgba(19, 17, 14, 0.77)),
    linear-gradient(0deg, rgba(19, 17, 14, 0.36), transparent 54%);
}

.hero-content {
  position: relative;
  width: min(650px, calc(100% - 36px));
  margin-left: auto;
  padding: min(14vh, 120px) clamp(18px, 5vw, 70px);
  color: #fffaf0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ead8bd;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4.25rem, 10vw, 8.4rem);
}

h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.hero-copy {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 760;
  text-align: center;
  text-transform: uppercase;
}

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

.button-ghost {
  border-color: rgba(255, 250, 240, 0.42);
  color: #fffaf0;
}

.button-dark {
  background: var(--ink);
  color: #fffaf0;
}

.button:hover {
  transform: translateY(-1px);
}

.section {
  width: 100%;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 70px);
}

.split {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 8vw, 110px);
  max-width: 1180px;
  margin: 0 auto;
}

.biography-copy {
  max-width: 760px;
  color: #312e29;
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

.biography-copy p,
.booking-intro p,
.contact-copy {
  margin: 0 0 20px;
}

.biography-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 7vw, 90px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.biography-photo {
  margin: 0;
}

.biography-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.biography-copy h2 {
  margin-bottom: 26px;
}

.teaching-section {
  border-top: 1px solid var(--line);
  background: #fbf8f1;
}

.teaching-copy .button {
  margin-top: 10px;
}

.booking-section {
  overflow-x: hidden;
  border-block: 1px solid var(--line);
  background: #fdfbf6;
}

.booking-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 440px);
  gap: clamp(24px, 7vw, 92px);
  max-width: 1280px;
  margin: 0 auto 42px;
}

.booking-intro p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
}

.lesson-notes {
  align-self: end;
  margin: 0;
  padding: 0;
  color: #3b3833;
  list-style: none;
}

.lesson-notes li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.booking-flow {
  max-width: 1280px;
  margin: 0 auto;
}

.booking-panel,
.contact-form {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
  font-weight: 780;
}

.panel-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: inset 0 -5px 0 rgba(21, 20, 18, 0.16);
}

.lesson-list {
  width: 100%;
}

.lesson-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 148px;
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
}

.lesson-item h3 {
  margin-bottom: 6px;
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 780;
  line-height: 1.24;
}

.lesson-item p {
  margin: 0 0 8px;
  color: #45413b;
}

.lesson-description {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.95rem;
}

.lesson-button {
  min-width: 112px;
}

.cal-booking-card:last-child {
  border-bottom: 0;
}

.contact-section {
  background: var(--paper);
}

.contact-copy {
  max-width: 390px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 7px;
  color: #3d3932;
  font-size: 0.9rem;
  font-weight: 720;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.lesson-button:focus-visible,
.button:focus-visible {
  border-color: var(--green);
  outline: 3px solid rgba(64, 88, 71, 0.18);
}

.booking-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--green);
  font-size: 0.92rem;
}

.booking-status.is-error {
  color: #8a2f21;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Tablet and mobile */
@media (max-width: 900px) {
  :root {
    --header-height: 116px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-tabs {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .split,
  .biography-layout {
    grid-template-columns: 1fr;
  }

  .booking-intro {
    display: block;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .booking-intro > div,
  .booking-intro .lesson-notes {
    width: 100%;
    max-width: 100%;
  }

  .booking-intro h2 {
    max-width: 100%;
  }

  .booking-intro p {
    max-width: 100%;
  }

  .lesson-notes {
    margin-top: 20px;
  }

  .booking-flow,
  .booking-panel,
  .lesson-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* Phone */
@media (max-width: 620px) {
  :root {
    --header-height: 178px;
  }

  .site-header {
    padding: 18px 18px 20px;
  }

  .brand {
    font-size: 1.8rem;
  }

  .nav-tabs {
    gap: 10px 14px;
  }

  .nav-tabs a {
    min-height: 34px;
    padding: 6px 0;
    border-radius: 0;
    font-size: 0.78rem;
  }

  .instagram-link {
    width: auto;
    min-height: 34px;
    padding: 0;
  }

  .instagram-link svg {
    width: 28px;
    height: 28px;
  }

  .section {
    padding: 56px 18px;
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    place-items: end start;
  }

  .hero-content {
    width: 100%;
    padding: 44px 18px 64px;
  }

  h1 {
    font-size: clamp(3.7rem, 20vw, 5.4rem);
  }

  h2 {
    font-size: clamp(3rem, 16vw, 4.15rem);
    line-height: 0.95;
  }

  .booking-section {
    padding: 56px 18px;
  }

  .booking-intro {
    display: block;
    width: 100%;
    margin: 0 0 28px;
  }

  .booking-intro h2 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(3rem, 16vw, 4.15rem);
    line-height: 0.95;
    overflow-wrap: normal;
    word-break: normal;
  }

  .booking-intro p {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.45;
  }

  .lesson-notes {
    width: 100%;
    margin-top: 22px;
  }

  .lesson-notes li {
    font-size: 1rem;
  }

  .booking-flow,
  .booking-panel,
  .lesson-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .panel-title {
    padding: 20px 18px;
    font-size: 1rem;
  }

  .lesson-item {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 24px 18px;
  }

  .lesson-item h3 {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .lesson-item p {
    margin-bottom: 16px;
    font-size: 1rem;
  }

  .lesson-button {
    width: 100%;
    min-width: 0;
    margin-top: 18px;
  }

  .site-footer {
    display: grid;
  }
}
