:root {
  --ink: #1a201b;
  --charcoal: #242721;
  --forest: #263a2d;
  --moss: #6f7d45;
  --sage: #dfe6d8;
  --paper: #f5f0e6;
  --stone: #d4cab8;
  --clay: #8d5132;
  --ember: #c7833a;
  --white: #fffdf7;
  --danger: #9f392f;
  --success: #2f6f4e;
  --shadow: 0 24px 70px rgba(16, 22, 17, 0.18);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - var(--container)) / 2));
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(26, 32, 27, 0.94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand__logo {
  width: 42px;
  height: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand small {
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: rgba(255, 253, 247, 0.82);
  font-size: 0.94rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  padding: 11px;
  border: 1px solid rgba(255, 253, 247, 0.25);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 253, 247, 0.08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84svh;
  padding: 118px 0 64px;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero__image,
.hero__image img,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(12, 17, 14, 0.92) 0%, rgba(18, 23, 19, 0.78) 36%, rgba(20, 25, 21, 0.3) 72%, rgba(15, 18, 16, 0.48) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0.58) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline-start: max(20px, calc((100vw - var(--container)) / 2));
  margin-inline-end: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ember);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.85rem, 7vw, 5.9rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.hero__lead {
  max-width: 620px;
  color: rgba(255, 253, 247, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #1e160d;
  background: var(--ember);
  border-color: rgba(255, 253, 247, 0.14);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #d89448;
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 253, 247, 0.09);
  border-color: rgba(255, 253, 247, 0.28);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 253, 247, 0.15);
}

.button--small {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  color: var(--forest);
  background: var(--sage);
  border-color: rgba(38, 58, 45, 0.14);
}

.button--small:hover,
.button--small:focus-visible {
  background: #ccd9c5;
}

.button--full {
  width: 100%;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 0;
}

.hero__facts div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: var(--radius);
  background: rgba(20, 24, 21, 0.46);
}

.hero__facts dt {
  font-weight: 900;
}

.hero__facts dd {
  margin: 2px 0 0;
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.9rem;
}

.intro-band {
  color: var(--white);
  background: var(--forest);
}

.intro-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}

.intro-band p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 253, 247, 0.82);
}

.text-link {
  color: var(--white);
  font-weight: 800;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
  scroll-margin-top: 92px;
}

.section__heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section__heading p:last-child,
.split-grid > div:first-child p:last-child {
  color: rgba(26, 32, 27, 0.72);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-level-note {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0 0 24px;
  padding: 20px 22px;
  border-left: 4px solid var(--ember);
  background: rgba(199, 131, 58, 0.09);
}

.course-level-note strong {
  color: var(--ink);
}

.course-level-note p {
  margin: 0;
  color: rgba(26, 32, 27, 0.72);
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(38, 58, 45, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(43, 36, 25, 0.08);
}

.course-card--featured {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(38, 58, 45, 0.98), rgba(36, 39, 33, 0.98)),
    var(--forest);
  box-shadow: var(--shadow);
}

.course-card__tag {
  width: fit-content;
  margin-bottom: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--clay);
  background: #f1dfc7;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-card--featured .course-card__tag {
  color: #1f170e;
  background: var(--ember);
}

.course-card p:not(.course-card__tag),
.course-card li {
  color: rgba(26, 32, 27, 0.72);
}

.course-card--featured p:not(.course-card__tag),
.course-card--featured li {
  color: rgba(255, 253, 247, 0.78);
}

.course-card__price {
  margin: 18px 0 4px;
  padding: 15px 16px;
  border: 1px solid rgba(199, 131, 58, 0.26);
  border-radius: var(--radius);
  background: rgba(199, 131, 58, 0.1);
}

.course-card__price strong,
.course-card__price span {
  display: block;
}

.course-card__levels {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 12px;
  margin: 14px 0 0;
  font-size: 0.88rem;
}

.course-card__levels strong {
  color: var(--ink);
}

.course-card--featured .course-card__levels strong {
  color: var(--white);
}

.course-card__price strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.course-card__price span {
  margin-top: 5px;
  color: rgba(26, 32, 27, 0.64);
  font-size: 0.88rem;
  line-height: 1.45;
}

.course-card--featured .course-card__price {
  border-color: rgba(255, 253, 247, 0.22);
  background: rgba(255, 253, 247, 0.1);
}

.course-card--featured .course-card__price strong {
  color: var(--white);
}

.course-card--featured .course-card__price span {
  color: rgba(255, 253, 247, 0.72);
}

.course-card ul,
.check-list {
  padding: 0;
  margin: 20px 0 26px;
  list-style: none;
}

.course-card li,
.check-list li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
}

.course-card li::before,
.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  content: "";
  transform: translateY(-50%);
}

.price-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.price-info article {
  padding: 24px;
  border: 1px solid rgba(38, 58, 45, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.72);
}

.price-info h3 {
  margin-bottom: 12px;
}

.price-info .check-list {
  margin-bottom: 0;
}

.availability {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.78), rgba(223, 230, 216, 0.72)),
    var(--sage);
}

.availability-list {
  display: grid;
  gap: 14px;
}

.availability-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(160px, 0.55fr) minmax(190px, 0.62fr) 150px;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(38, 58, 45, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(43, 36, 25, 0.08);
}

.availability-card__date {
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.availability-card h3 {
  margin-bottom: 8px;
}

.availability-card__main p:last-child,
.availability-card__capacity p {
  color: rgba(26, 32, 27, 0.7);
}

.availability-card__main p:last-child {
  margin-bottom: 0;
}

.availability-card__meta {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.availability-card__place {
  color: rgba(26, 32, 27, 0.68);
  font-weight: 750;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(111, 125, 69, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.availability-card--limited .availability-badge {
  color: #6d3b1f;
  background: rgba(199, 131, 58, 0.2);
}

.availability-card--full {
  opacity: 0.78;
}

.availability-card--full .availability-badge {
  color: #6b2f27;
  background: rgba(159, 57, 47, 0.13);
}

.availability-card__capacity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
  font-size: 0.92rem;
}

.availability-card__capacity-row span {
  color: rgba(26, 32, 27, 0.64);
  font-weight: 750;
}

.availability-card__capacity-row strong {
  color: var(--ink);
  font-weight: 950;
}

.availability-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(38, 58, 45, 0.12);
}

.availability-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--moss);
}

.availability-card--limited .availability-meter span {
  background: var(--ember);
}

.availability-card--full .availability-meter span {
  background: var(--danger);
}

.availability-card__capacity p {
  margin: 8px 0 0;
  font-size: 0.86rem;
}

.availability-card .button:disabled {
  color: rgba(26, 32, 27, 0.48);
  background: rgba(38, 58, 45, 0.12);
  cursor: not-allowed;
  transform: none;
}

.section--split {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(26, 32, 27, 0.95), rgba(47, 58, 45, 0.96)),
    var(--charcoal);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.split-grid > div:first-child {
  position: sticky;
  top: 112px;
}

.skill-list {
  display: grid;
  gap: 14px;
}

.skill-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 253, 247, 0.16);
}

.skill-list article:last-child {
  border-bottom: 1px solid rgba(255, 253, 247, 0.16);
}

.skill-list span {
  grid-row: 1 / span 2;
  color: var(--ember);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.skill-list h3,
.skill-list p {
  grid-column: 2;
}

.skill-list p,
.section--split .split-grid > div:first-child p:last-child {
  color: rgba(255, 253, 247, 0.72);
}

.skill-list p {
  margin-bottom: 0;
}

.instructors {
  background:
    linear-gradient(180deg, rgba(245, 240, 230, 0.94), rgba(223, 230, 216, 0.72)),
    var(--paper);
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.instructor-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(38, 58, 45, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(43, 36, 25, 0.1);
}

.instructor-card__media {
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: var(--white);
}

.instructor-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.instructor-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 34px);
}

.instructor-card__role {
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.instructor-card__body p:not(.instructor-card__role),
.instructor-card__body li {
  color: rgba(26, 32, 27, 0.72);
}

.instructor-card__more {
  margin: 14px 0 0;
}

.instructor-card__more summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(38, 58, 45, 0.18);
  border-radius: var(--radius);
  color: var(--forest);
  background: rgba(111, 125, 69, 0.1);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.instructor-card__more summary::-webkit-details-marker {
  display: none;
}

.instructor-card__more summary:hover,
.instructor-card__more summary:focus-visible {
  background: rgba(111, 125, 69, 0.16);
}

.instructor-card__more p {
  margin: 14px 0 0;
}

.instructor-card__more .summary-less {
  display: none;
}

.instructor-card__more[open] .summary-more {
  display: none;
}

.instructor-card__more[open] .summary-less {
  display: inline;
}

.instructor-card__body ul {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.instructor-card__body li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
}

.instructor-card__body li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  content: "";
  transform: translateY(-50%);
}

.practice {
  background: var(--charcoal);
  color: var(--white);
}

.practice .section__heading p:last-child {
  color: rgba(255, 253, 247, 0.72);
}

.practice-category {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 253, 247, 0.16);
}

.practice-category + .practice-category {
  margin-top: 42px;
}

.practice-category__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.practice-category__heading h3 {
  margin-bottom: 8px;
}

.practice-category__heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.72);
}

.practice-category__heading span {
  min-width: max-content;
  color: var(--ember);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-note {
  margin-bottom: 24px;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.07);
}

.practice-note > p {
  max-width: 920px;
  margin-bottom: 22px;
  color: rgba(255, 253, 247, 0.8);
  font-size: 1.03rem;
}

.practice-note__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.practice-note__grid article {
  padding-top: 16px;
  border-top: 1px solid rgba(199, 131, 58, 0.45);
}

.practice-note__grid h4 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
}

.practice-note__grid p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.7);
  font-size: 0.94rem;
}

.practice-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.practice-gallery__item {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.08);
}

.practice-gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 372px;
}

.practice-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.practice-gallery__item:hover img,
.practice-gallery__item:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.completed-gallery-section {
  background:
    linear-gradient(180deg, rgba(245, 240, 230, 0.92), rgba(223, 230, 216, 0.78)),
    var(--paper);
}

.completed-gallery-list {
  display: grid;
  gap: 18px;
}

.completed-gallery {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(38, 58, 45, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 46px rgba(43, 36, 25, 0.1);
}

.completed-gallery__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.completed-gallery__date {
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.completed-gallery__intro p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(26, 32, 27, 0.72);
}

.completed-gallery__intro dl {
  display: grid;
  gap: 10px;
  min-width: 190px;
  margin: 0;
}

.completed-gallery__intro dl div {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(111, 125, 69, 0.12);
}

.completed-gallery__intro dt {
  color: rgba(26, 32, 27, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.completed-gallery__intro dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.completed-gallery__viewer {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background: #121712;
}

.completed-gallery__viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.completed-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 247, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(18, 23, 18, 0.72);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.completed-gallery__nav:hover,
.completed-gallery__nav:focus-visible {
  background: rgba(18, 23, 18, 0.9);
}

.completed-gallery__nav--prev {
  left: 14px;
}

.completed-gallery__nav--next {
  right: 14px;
}

.completed-gallery__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: rgba(26, 32, 27, 0.68);
  font-size: 0.92rem;
  font-weight: 800;
}

.completed-gallery__toolbar a {
  color: var(--forest);
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.completed-gallery__thumbs {
  display: grid;
  grid-auto-columns: minmax(94px, 128px);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.completed-gallery__thumb {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  aspect-ratio: 4 / 3;
  background: #121712;
  cursor: pointer;
}

.completed-gallery__thumb.is-active {
  border-color: var(--ember);
}

.completed-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.completed-gallery__thumb:hover img,
.completed-gallery__thumb:focus-visible img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.04);
}

.process {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.3), rgba(212, 202, 184, 0.5)),
    var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 28px 24px;
  border: 1px solid rgba(38, 58, 45, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.7);
  counter-increment: process;
}

.process-list li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  content: counter(process);
}

.process-list p {
  margin-bottom: 0;
  color: rgba(26, 32, 27, 0.72);
}

.location {
  color: var(--white);
  background: var(--clay);
}

.location__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 6vw, 88px);
  align-items: center;
}

.location p {
  color: rgba(255, 253, 247, 0.8);
}

.location__note {
  padding: 28px;
  border: 1px solid rgba(255, 253, 247, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.1);
}

.location__note p {
  margin: 8px 0 0;
}

.faq {
  background:
    linear-gradient(180deg, rgba(245, 240, 230, 0.78), rgba(223, 230, 216, 0.74)),
    var(--sage);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.faq__grid .section__heading {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(38, 58, 45, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(43, 36, 25, 0.07);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--forest);
  background: rgba(111, 125, 69, 0.16);
  font-size: 1.25rem;
  line-height: 1;
  content: "+";
  transition: transform 160ms ease, background 160ms ease;
}

.faq-item[open] summary::after {
  background: rgba(199, 131, 58, 0.22);
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: rgba(26, 32, 27, 0.72);
}

.application {
  background:
    linear-gradient(90deg, rgba(223, 230, 216, 0.72), rgba(245, 240, 230, 0.55)),
    var(--paper);
}

.application__grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.application__copy {
  position: sticky;
  top: 112px;
}

.application__copy p {
  color: rgba(26, 32, 27, 0.72);
}

.application-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(38, 58, 45, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  margin-bottom: 16px;
}

.field-group label,
.consent {
  display: block;
  margin-bottom: 7px;
  font-size: 0.92rem;
  font-weight: 800;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(38, 58, 45, 0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fbf8f0;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-group textarea {
  min-height: 132px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--ember);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(199, 131, 58, 0.18);
}

.field-help {
  margin: 7px 0 0;
  color: rgba(26, 32, 27, 0.64);
  font-size: 0.82rem;
  line-height: 1.45;
}

.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 18px 0 22px;
  color: rgba(26, 32, 27, 0.78);
  font-weight: 600;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--forest);
}

.consent a {
  color: var(--forest);
  font-weight: 900;
}

.form-note {
  margin: 14px 0 0;
  color: rgba(26, 32, 27, 0.6);
  font-size: 0.88rem;
}

.form-status {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 750;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  color: var(--success);
  background: rgba(47, 111, 78, 0.12);
}

.form-status--error {
  color: var(--danger);
  background: rgba(159, 57, 47, 0.11);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 253, 247, 0.74);
  background: var(--charcoal);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 42px;
}

.brand--footer {
  margin-bottom: 14px;
  color: var(--white);
}

.site-footer p {
  max-width: 460px;
  margin-bottom: 0;
}

.site-footer p + p {
  margin-top: 8px;
}

.site-footer strong,
.site-footer a {
  display: block;
}

.site-footer strong {
  margin-bottom: 10px;
  color: var(--white);
}

.site-footer a {
  margin: 4px 0;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.legal {
  min-height: 100svh;
  padding: 132px 0 90px;
  background: var(--paper);
}

.legal__content {
  max-width: 860px;
}

.legal__content h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.legal__content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal__content p {
  color: rgba(26, 32, 27, 0.74);
}

.legal__content a {
  color: var(--forest);
  font-weight: 800;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legal-list {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding-left: 1.2rem;
  color: rgba(26, 32, 27, 0.74);
}

.legal-list li::marker {
  color: var(--ember);
}

@media (max-width: 980px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.87rem;
  }

  .course-grid,
  .instructor-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability-card {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.6fr);
  }

  .instructor-card__media {
    aspect-ratio: 16 / 11;
  }

  .instructor-card__media img {
    object-fit: cover;
  }

  .practice-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practice-note__grid {
    grid-template-columns: 1fr;
  }

  .practice-gallery__item--featured {
    grid-column: span 2;
  }

  .completed-gallery__intro {
    grid-template-columns: 1fr;
  }

  .completed-gallery__intro dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .application__grid,
  .location__inner,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .split-grid > div:first-child,
  .application__copy,
  .faq__grid .section__heading {
    position: static;
  }

  .location__note {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    padding: 12px 14px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 70px 14px auto;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 253, 247, 0.12);
    border-radius: var(--radius);
    background: rgba(26, 32, 27, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
    border-radius: var(--radius);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 253, 247, 0.08);
  }

  .hero {
    min-height: auto;
    padding: 98px 0 40px;
  }

  .hero__image img {
    object-position: 68% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(12, 17, 14, 0.9), rgba(18, 23, 19, 0.68)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.48));
  }

  .hero__content {
    margin-inline: auto;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero__facts,
  .form-row,
  .intro-band__grid,
  .price-info,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .intro-band__grid {
    gap: 16px;
  }

  .course-grid,
  .instructor-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .course-level-note {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .availability-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .availability-card .button {
    width: 100%;
  }

  .instructor-card__media {
    aspect-ratio: 4 / 3;
  }

  .practice-category__heading {
    display: grid;
    gap: 10px;
  }

  .practice-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-gallery__item,
  .practice-gallery__item--featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 160px;
    aspect-ratio: 1 / 1;
  }

  .completed-gallery__viewer {
    aspect-ratio: 4 / 3;
  }

  .completed-gallery__nav {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }

  .completed-gallery__intro dl {
    grid-template-columns: 1fr;
  }

  .skill-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
  }

  .footer__grid {
    gap: 28px;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .legal-page .site-header {
    align-items: center;
  }

  .legal-page .site-nav {
    position: static;
    display: flex;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .legal-page .site-nav a {
    padding: 8px;
    font-size: 0.86rem;
  }
}
