:root {
  --ink: #171717;
  --muted: #5c6168;
  --paper: #fffdf8;
  --panel: #ffffff;
  --line: #ddd8cf;
  --red: #b20f18;
  --red-dark: #7e0910;
  --gold: #d9a441;
  --green: #2d6f61;
  --blue: #234c78;
  --shadow: 0 18px 50px rgba(22, 20, 17, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 253, 248, 0.86), rgba(255, 253, 248, 0.96)),
    url("../images/bg1.jpg") center top / 900px auto repeat;
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--red-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--red);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-strip {
  min-height: 28px;
  background:
    linear-gradient(90deg, rgba(126, 9, 16, 0.94), rgba(34, 35, 38, 0.9)),
    url("../images/topbar2.jpg") center / cover no-repeat;
  border-bottom: 4px solid var(--gold);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: clamp(118px, 16vw, 174px);
  height: auto;
  max-height: 62px;
  object-fit: contain;
  flex: 0 0 auto;
  background: #151515;
  border-radius: 6px;
  padding: 6px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-kicker {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: #242424;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  background: var(--red);
  color: #fff;
  outline: none;
}

main {
  flex: 1;
}

.hero {
  padding: 30px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: clamp(330px, 50vw, 560px);
  background: #181818;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.66));
}

.slide-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.slide-caption strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 5vw, 3.4rem);
  line-height: 1.02;
  margin-bottom: 8px;
}

.slide-caption span {
  display: block;
  max-width: 680px;
  font-size: clamp(0.98rem, 2vw, 1.2rem);
}

.carousel-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.carousel-button {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  margin: 0 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--red);
  outline: 3px solid rgba(255, 255, 255, 0.45);
}

.carousel-dots {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 12px;
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  z-index: 4;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(22, 20, 17, 0.1);
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow {
  color: var(--red-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 4.3rem);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  margin: 0 0 18px;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin: 0 0 12px;
}

p {
  margin: 0 0 16px;
}

.lede {
  color: #333;
  font-size: 1.08rem;
}

.hero-panel .lede {
  max-width: 32ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--red-dark);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.button:hover,
.button:focus-visible {
  background: var(--red-dark);
  color: #fff;
  outline: 3px solid rgba(178, 15, 24, 0.2);
}

.button.secondary {
  background: #fff;
  color: var(--red-dark);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: #fff4f4;
  color: var(--red-dark);
}

.section {
  padding: clamp(34px, 6vw, 72px) 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
}

.hero-grid > *,
.split > *,
.feature-grid > *,
.instructor-list > *,
.contact-grid > *,
.price-list > *,
.video-grid > * {
  min-width: 0;
}

.content-block {
  max-width: 760px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.media-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f5f1e9;
  box-shadow: 0 14px 36px rgba(22, 20, 17, 0.12);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(22, 20, 17, 0.08);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card-body {
  padding: 18px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.page-hero {
  padding: clamp(34px, 7vw, 76px) 0 clamp(26px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.93), rgba(255, 253, 248, 0.76)),
    url("../images/topbar2.jpg") center / cover no-repeat;
}

.page-hero .wrap {
  display: grid;
  gap: 14px;
}

.page-hero p {
  max-width: 740px;
  margin: 0;
  font-size: 1.08rem;
  color: #333;
}

.article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 12px 34px rgba(22, 20, 17, 0.08);
}

.article + .article {
  margin-top: 22px;
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 42px);
  align-items: start;
}

.instructor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.instructor-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.instructor-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.schedule-table th {
  width: 32%;
  background: #f4eee3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom: 0;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.price-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.price-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--red-dark);
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.contact-callout {
  background: var(--red-dark);
  color: #fff;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-callout h2,
.contact-callout a {
  color: #fff;
}

.contact-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  padding: 28px 0;
  background: #1d1b19;
  color: #f4eee3;
  border-top: 4px solid var(--gold);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #fff;
}

.footer-address {
  color: #d6cfc3;
}

.not-found {
  min-height: 56vh;
  display: grid;
  align-items: center;
}

@media (max-width: 900px) {
  .header-inner,
  .hero-grid,
  .split,
  .split.reverse,
  .bio-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: grid;
    justify-items: start;
    padding: 14px 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .feature-grid,
  .instructor-list,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .brand img {
    width: 112px;
    max-height: 54px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-kicker {
    font-size: 0.72rem;
  }

  .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .main-nav a {
    text-align: center;
    padding: 10px 8px;
  }

  .carousel {
    min-height: 360px;
  }

  .slide-caption {
    left: 16px;
    right: 16px;
    bottom: 30px;
  }

  .carousel-button {
    width: 36px;
    height: 36px;
    margin: 0 8px;
    font-size: 1.6rem;
  }

  .carousel-dots {
    left: 14px;
    right: 14px;
    flex-wrap: wrap;
  }

  .carousel-dots button {
    width: 9px;
    height: 9px;
  }

  .hero-panel {
    padding: 20px;
  }

  .feature-grid,
  .price-list,
  .contact-gallery {
    grid-template-columns: 1fr;
  }

  .instructor-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .instructor-card img {
    width: 92px;
    height: 92px;
  }

  .schedule-table,
  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table th,
  .schedule-table td {
    display: block;
    width: 100%;
  }

  .schedule-table th {
    border-bottom: 0;
  }
}
