:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5d6266;
  --paper: #fbfaf7;
  --panel: #f1ece4;
  --line: #d9d2c8;
  --wine: #772536;
  --green: #243f3a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--wine);
  text-underline-offset: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.brand-name {
  font-weight: 750;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

nav a:hover {
  color: var(--wine);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin-bottom: 16px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(50px, 8vw, 88px);
  line-height: 0.98;
}

.page-title {
  font-size: clamp(36px, 5vw, 58px);
}

h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

p {
  margin: 0;
}

.lede {
  max-width: 610px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
}

.lede.compact {
  margin-bottom: 0;
  font-size: 19px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 4px;
  color: white;
  background: var(--wine);
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--green);
}

.hero-image {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section {
  padding: clamp(62px, 8vw, 96px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.lessons-section {
  background: var(--panel);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.body-copy {
  display: grid;
  gap: 18px;
}

.body-copy p,
.details p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.details {
  display: grid;
  gap: 24px;
}

.details > div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.details > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-line a {
  color: var(--wine);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.inquiry-page {
  border-top: 0;
  padding-top: clamp(44px, 6vw, 72px);
  background: linear-gradient(180deg, var(--paper) 0%, #f4efe7 100%);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: min(1080px, 100%);
  margin: 0 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.inquiry-aside {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(28px, 4vw, 42px);
  color: white;
  background: var(--green);
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.08);
}

.inquiry-aside .section-label {
  margin: 0;
  color: #d6a65d;
}

.inquiry-aside p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.65;
}

.inquiry-note {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.inquiry-note strong {
  font-size: 15px;
}

.inquiry-note span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.08);
}

.form-section-title {
  margin-top: 8px;
  padding-top: 4px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fcfbf8;
  font: 15px/1.45 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: 2px solid rgba(119, 37, 54, 0.25);
  border-color: var(--wine);
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 700;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 10px;
}

.form-status[data-state="success"] {
  color: #1f6b45;
}

.form-status[data-state="error"] {
  color: var(--wine);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: #d9d2c8;
  background: var(--ink);
  font-size: 14px;
}

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

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .inquiry-page {
    padding-top: 0;
  }

  .inquiry-layout {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .inquiry-aside {
    padding: 34px 20px;
    box-shadow: none;
  }

  .inquiry-form {
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
