:root {
  --paper: #efe6d2;
  --ink: #2a261f;
  --muted: #5c564c;
  --olive: #31402c;
  --moss: #243024;
  --cream: #f7f1e4;
  --line: #d9cfb8;
  --max: 980px;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --serif: "Literata", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: 0.06em; line-height: 1.12; text-transform: uppercase; overflow-wrap: anywhere; }
h1 { font-size: clamp(52px, 9vw, 92px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
[id] { scroll-margin-top: 84px; }

.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(239, 230, 210, 0.94);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.logo { text-decoration: none; font-family: var(--display); letter-spacing: 0.18em; font-size: 22px; text-transform: uppercase; }
.nav { display: flex; gap: 16px; align-items: center; }
.nav a { text-decoration: none; font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.nav a.is-active { color: var(--olive); }
.nav__cta { display: none; }
.menu-btn {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}
.btn--dark { background: var(--olive); color: var(--cream); }
.btn--line { background: transparent; border-color: currentColor; color: inherit; }

.sheet {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 40px;
  background: var(--cream);
  box-shadow: 0 18px 50px rgba(42, 38, 31, 0.08);
  overflow: hidden;
}

.hero { position: relative; min-height: 460px; background: #cfc4aa; overflow: hidden; }
.shot {
  position: absolute;
  object-fit: cover;
  border: 6px solid #f7f1e4;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.shot--a { width: 34%; height: 42%; left: 4%; top: 8%; transform: rotate(-6deg); }
.shot--b { width: 28%; height: 34%; left: 33%; top: 4%; transform: rotate(2deg); }
.shot--c { width: 30%; height: 38%; right: 5%; top: 10%; transform: rotate(5deg); }
.shot--d { width: 26%; height: 30%; left: 8%; bottom: 8%; transform: rotate(4deg); }
.shot--e { width: 32%; height: 36%; right: 8%; bottom: 6%; transform: rotate(-3deg); }
.hero__title {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  width: min(86%, 560px);
  background: rgba(28, 24, 16, 0.34);
  padding: 14px 16px;
}
.hero__title h1 { color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.hero__title p { color: #fff; margin-top: 8px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); }

.filmstrip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: #1c1c1a;
  padding: 8px 10px;
}
.filmstrip i {
  width: 16px;
  height: 12px;
  background: var(--paper);
  border-radius: 2px;
  display: block;
}

.block { padding: 36px 28px; }
.block--tight { padding-bottom: 10px; }
.block--flush { padding-left: 0; padding-right: 0; }
.kicker {
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--olive);
  margin-bottom: 10px;
}
.lead { color: var(--muted); max-width: 62ch; margin-top: 12px; }

.audience { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 10px; padding: 0 18px 28px; }
.card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: #fff;
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.card figcaption {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(transparent, rgba(20, 24, 16, 0.78));
}
.card h3 { font-size: 22px; }
.card p { margin-top: 6px; font-size: 15px; }
.card--wide { grid-column: 1 / -1; min-height: 180px; }
.stack { display: grid; gap: 10px; }

.program { padding: 10px 28px 36px; }
.lesson {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.lesson img { width: 150px; height: 100px; object-fit: cover; }
.lesson h3 { font-size: 20px; margin-bottom: 6px; }
.lesson p { color: var(--muted); }

.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 28px 36px;
}
.price {
  border: 1px solid var(--line);
  background: #fffaf2;
  padding: 18px;
  min-width: 0;
}
.price svg { width: 72px; height: 48px; margin-bottom: 10px; }
.price strong { display: block; font-family: var(--display); letter-spacing: 0.08em; font-size: 28px; margin: 8px 0; }
.price p { color: var(--muted); }
.price .btn { margin-top: 14px; }

.faq { padding: 8px 28px 36px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 22px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 16px;
}
.faq__icon { width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 50%; position: relative; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq__icon::before { width: 10px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 10px; }
.faq__item.is-open .faq__icon::after { display: none; }
.faq__a { display: grid; grid-template-rows: 0fr; }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq__a p { margin: 0 0 14px; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.footer { padding: 8px 28px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); gap: 16px; }
.footer h2 { font-size: 13px; margin-bottom: 8px; }
.footer a { display: block; text-decoration: none; color: var(--muted); padding: 3px 0; }
.footer a[aria-current="page"], .footer a:hover { color: var(--ink); }
.footer__bar {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.soft { margin-top: 8px; color: var(--muted); max-width: 36ch; }

.page { padding: 32px 28px 20px; }
.page h1 { max-width: 14ch; }
.page .lead { margin-bottom: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 22px; align-items: center; margin-top: 28px; }
.frame { position: relative; min-height: 320px; overflow: hidden; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prose-block p + p { margin-top: 12px; }
.prose-block p, .prose p, .prose li { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.step { background: #fffaf2; border: 1px solid var(--line); padding: 16px; min-width: 0; }
.step b { font-family: var(--display); letter-spacing: 0.08em; }
.step p { margin-top: 8px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 14px; margin-top: 22px; }
.panel { background: #fffaf2; border: 1px solid var(--line); padding: 18px; min-width: 0; }
.info-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.info-list span { display: block; font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; color: var(--olive); }
.form { display: grid; gap: 12px; margin-top: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; margin-bottom: 6px; font-family: var(--display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px; }
.field textarea { min-height: 120px; resize: vertical; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #8d2b24; background: #fff6f4; }
.field-error { color: #8d2b24; font-size: 14px; margin-top: 4px; }
.field-error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 4px; }
.form-status { margin-top: 12px; background: #e7f0e4; color: #1d4a32; padding: 12px; }
.form-status[hidden] { display: none !important; }
.map { margin-top: 16px; height: 300px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 26px; margin: 26px 0 8px; }
.prose ul { padding-left: 18px; }
.prose p + p, .prose ul { margin-top: 10px; }
.updated { margin-top: 8px; color: var(--muted); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    z-index: 5;
  }
  .nav.is-open { display: flex; }
  .nav.is-open .nav__cta { display: inline-flex; }
  .audience, .prices, .faq-layout, .split, .contact-grid, .form-row, .steps, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .lesson { grid-template-columns: minmax(0, 1fr); }
  .lesson img { width: 100%; height: 160px; }
  .hero { min-height: 420px; }
  .shot--b, .shot--c, .shot--d { display: none; }
  .hero__title { width: min(92%, 340px); }
  .block, .program, .faq, .footer, .page { padding-left: 16px; padding-right: 16px; }
  .prices, .audience { padding-left: 16px; padding-right: 16px; }
  .page .block--flush { padding-left: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
