/* =====================================================================
   ANSHU DANCE ACADEMY — Design System
   Palette : Deep Maroon #570B13 · Burgundy #39080B · Antique Gold #D9AC50
             Warm Cream #FFF0CE · Forest Green #243817 · Ivory #FFF9F0
   Type    : Playfair Display (headings) · Inter / Lato (body)
   ===================================================================== */

/* ------------------------------------------------ Tokens */
:root {
  --maroon: #570b13;
  --maroon-600: #6a1119;
  --burgundy: #39080b;
  --gold: #d9ac50;
  --gold-soft: #e8c888;
  --gold-deep: #b98a2f;
  --cream: #fff0ce;
  --forest: #243817;
  --ivory: #fff9f0;

  --ink: #2e2018;
  --ink-soft: #5b4a3f;
  --line: rgba(217, 172, 80, 0.35);
  --line-soft: rgba(87, 11, 19, 0.12);

  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Lato", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --shadow-sm: 0 4px 14px rgba(57, 8, 11, 0.08);
  --shadow-md: 0 14px 38px rgba(57, 8, 11, 0.14);
  --shadow-lg: 0 30px 70px rgba(57, 8, 11, 0.22);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Repeating Indian diamond-and-lotus motif */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23D9AC50' stroke-width='1'%3E%3Cpath d='M32 3 47 18 32 33 17 18z'/%3E%3Ccircle cx='32' cy='18' r='2.4'/%3E%3Cpath d='M0 46 16 30 32 46 48 30 64 46'/%3E%3Cpath d='M32 46v15'/%3E%3Cpath d='M26 61h12'/%3E%3C/g%3E%3C/svg%3E");
}

/* ------------------------------------------------ Reset / base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img { height: auto; }

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--gold-deep); }

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--maroon);
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; }

::selection { background: var(--gold); color: var(--burgundy); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ------------------------------------------------ Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(3.75rem, 7.5vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }
.section--maroon { background: var(--burgundy); color: var(--cream); }
.section--forest { background: var(--forest); color: var(--cream); }

.section--maroon h1,
.section--maroon h2,
.section--maroon h3,
.section--forest h1,
.section--forest h2,
.section--forest h3 { color: var(--cream); }

/* soft motif wash used on dark sections */
.section--pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 64px 64px;
  opacity: 0.07;
  pointer-events: none;
}

.section > .container { position: relative; z-index: 1; }

.text-center { text-align: center; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }
.mx-auto { margin-inline: auto; }
.lead { font-size: 1.075rem; color: var(--ink-soft); }
.section--maroon .lead,
.section--forest .lead { color: rgba(255, 240, 206, 0.82); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.section--maroon .eyebrow,
.section--forest .eyebrow { color: var(--gold); }

.italic { font-family: var(--font-display); font-style: italic; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--gold);
  color: var(--burgundy);
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------ Ornamental divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
  color: var(--gold);
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: clamp(40px, 12vw, 110px);
  background: linear-gradient(90deg, transparent, currentColor);
}
.divider::after { background: linear-gradient(90deg, currentColor, transparent); }
.divider span {
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: currentColor;
  box-shadow: 0 0 0 4px transparent;
}
.divider--start { justify-content: flex-start; }
.divider--start::before { width: 0; }
.divider--left { justify-content: flex-start; }
.divider--left::before { display: none; }

/* ------------------------------------------------ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.85rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--burgundy);
  box-shadow: 0 10px 26px rgba(217, 172, 80, 0.32);
}
.btn--gold:hover { color: var(--burgundy); background: var(--gold-soft); box-shadow: 0 14px 32px rgba(217, 172, 80, 0.45); }

.btn--outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--outline:hover { background: var(--gold); color: var(--burgundy); }

.btn--maroon {
  background: var(--maroon);
  color: var(--cream);
}
.btn--maroon:hover { background: var(--maroon-600); color: #fff; }

.btn--whatsapp {
  background: #1f7a4d;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--whatsapp:hover { background: #176340; color: #fff; }

.btn--sm { padding: 0.7rem 1.35rem; font-size: 0.75rem; }
.btn--lg { padding: 1.05rem 2.4rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--maroon .link-arrow,
.section--forest .link-arrow { color: var(--gold); }

/* ------------------------------------------------ Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(57, 8, 11, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 172, 80, 0.28);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(45, 6, 9, 0.98);
  box-shadow: 0 12px 34px rgba(20, 2, 4, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--cream);
  flex-shrink: 0;
}
.brand:hover { color: var(--cream); }
.brand__mark {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(217, 172, 80, 0.4);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.5rem);
  list-style: none;
}
.nav__link {
  position: relative;
  display: block;
  padding: 0.4rem 0.15rem;
  color: rgba(255, 240, 206, 0.88);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--gold); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--cream);
  margin-inline: auto;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before,
.nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------ Hero (home) */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 20%, rgba(217, 172, 80, 0.28), transparent 55%),
    linear-gradient(155deg, #39080b 0%, #570b13 48%, #6d2410 100%);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 64px 64px;
  opacity: 0.08;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero h1 {
  color: var(--cream);
  margin-bottom: 0.35em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.hero h1 .italic {
  display: block;
  font-size: 0.44em;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 0.35em;
}
.hero__desc {
  font-size: 1.06rem;
  color: rgba(255, 240, 206, 0.85);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(217, 172, 80, 0.28);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.hero__stat span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 240, 206, 0.7);
}

.hero__visual { position: relative; justify-self: center; width: min(100%, 500px); }
.hero__frame {
  position: relative;
  border: 1px solid rgba(217, 172, 80, 0.55);
  padding: 14px;
  border-radius: 220px 220px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 240, 206, 0.08), rgba(255, 240, 206, 0.02));
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(217, 172, 80, 0.3);
  border-radius: inherit;
  pointer-events: none;
}
.hero__frame img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  object-position: top center;
  border-radius: 200px 200px 4px 4px;
}
.hero__glow {
  position: absolute;
  inset: -14% -10%;
  background: radial-gradient(50% 45% at 50% 35%, rgba(217, 172, 80, 0.4), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
.hero__badge {
  position: absolute;
  bottom: -18px;
  left: -14px;
  background: var(--cream);
  color: var(--maroon);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
  box-shadow: var(--shadow-md);
  max-width: 190px;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.hero__badge span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }

.hero__lamp {
  position: absolute;
  right: 6%;
  bottom: -6px;
  width: 62px;
  opacity: 0.85;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

/* ------------------------------------------------ Page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 82% 10%, rgba(217, 172, 80, 0.26), transparent 58%),
    linear-gradient(160deg, #39080b, #570b13 70%, #5c1a12);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 5.25rem) 0;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 64px 64px;
  opacity: 0.08;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--cream); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255, 240, 206, 0.82); max-width: 60ch; margin-inline: auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 240, 206, 0.6);
  margin-top: 1.25rem;
}
.breadcrumb a { color: rgba(255, 240, 206, 0.85); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "◆"; margin-right: 0.6rem; font-size: 0.5rem; color: var(--gold); vertical-align: middle; }

/* ------------------------------------------------ Section heading block */
.section-head { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head--start { text-align: left; margin-inline: 0; }

/* ------------------------------------------------ Split layout */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--media-first .split__media { order: -1; }

.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split__media--wide img { aspect-ratio: 3 / 2; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: -1;
}
.split__media--flip::after { inset: 16px 16px -16px -16px; }

/* ------------------------------------------------ Highlight list */
.highlights { list-style: none; display: grid; gap: 1rem; margin-top: 1.75rem; }
.highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-weight: 600;
  color: var(--maroon);
}
.highlights svg { flex: 0 0 26px; color: var(--gold-deep); margin-top: 2px; }
.highlights small { display: block; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; }

/* ------------------------------------------------ Cards: dance styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.style-card {
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.style-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.style-card__media { position: relative; overflow: hidden; }
.style-card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.style-card:hover .style-card__media img { transform: scale(1.06); }
.style-card__tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(57, 8, 11, 0.86);
  color: var(--gold);
  border: 1px solid rgba(217, 172, 80, 0.5);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.style-card__body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.style-card__body h3 { margin-bottom: 0.35rem; }
.style-card__body p { color: var(--ink-soft); font-size: 0.95rem; }
.style-card__body .link-arrow { margin-top: auto; padding-top: 1.1rem; }

/* ------------------------------------------------ Info cards (schedule) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}
.info-card {
  position: relative;
  border: 1px solid rgba(217, 172, 80, 0.5);
  border-radius: var(--radius);
  padding: 2.25rem 1.9rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.info-card--maroon { background: linear-gradient(165deg, #570b13, #3d080e); color: var(--cream); }
.info-card--forest { background: linear-gradient(165deg, #2c431c, #1c2b12); color: var(--cream); }
.info-card--gold { background: linear-gradient(165deg, #d9ac50, #c2953b); color: var(--burgundy); }
.info-card::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 150px; height: 150px;
  border: 1px solid rgba(217, 172, 80, 0.28);
  transform: rotate(45deg);
  pointer-events: none;
}
.info-card__icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(217, 172, 80, 0.6);
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 240, 206, 0.07);
}
.info-card--gold .info-card__icon { color: var(--burgundy); border-color: rgba(57, 8, 11, 0.35); background: rgba(255, 255, 255, 0.25); }
.info-card h3 { margin: 0.5rem 0 0; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; }
.info-card--maroon h3,
.info-card--forest h3 { color: var(--gold); }
.info-card--gold h3 { color: var(--burgundy); }
.info-card__highlight { font-family: var(--font-display); font-style: italic; font-size: 1.28rem; }
.info-card--maroon .info-card__highlight,
.info-card--forest .info-card__highlight { color: var(--cream); }
.info-card p { font-size: 0.93rem; }
.info-card--maroon p,
.info-card--forest p { color: rgba(255, 240, 206, 0.78); }
.info-card--gold p { color: rgba(57, 8, 11, 0.8); }
.info-card .btn { margin-top: auto; }

/* ------------------------------------------------ Feature columns */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
}
.feature { display: flex; flex-direction: column; align-items: center; }
.feature__icon {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px rgba(87, 11, 19, 0.24);
  position: relative;
}
.feature__icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.feature h3 { margin: 1.4rem 0 0.4rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* ------------------------------------------------ Instructor */
.instructor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.instructor__photo {
  position: relative;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 180px 180px 6px 6px;
  background: rgba(255, 240, 206, 0.5);
}
.instructor__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 165px 165px 4px 4px;
}
.instructor__meta { list-style: none; display: grid; gap: 0.9rem; margin: 1.5rem 0 0; }
.instructor__meta li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
}
.instructor__meta dt,
.instructor__meta strong {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.instructor__meta span { color: var(--ink-soft); }
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--maroon);
  margin: 1.6rem 0 0;
}
.section--maroon .quote-block,
.section--forest .quote-block { color: var(--cream); border-color: var(--gold); }

/* ------------------------------------------------ Gallery */
.gallery {
  columns: 3;
  column-gap: 18px;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--maroon);
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); opacity: 0.82; }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(57, 8, 11, 0.72));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0.9rem 1rem;
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.35s var(--ease);
}
.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption { transform: translateY(0); opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  place-items: center;
  background: rgba(28, 4, 6, 0.94);
  backdrop-filter: blur(4px);
  padding: clamp(1rem, 4vw, 2.5rem);
}
.lightbox.is-open { display: grid; }
.lightbox__figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox__figure img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border: 1px solid rgba(217, 172, 80, 0.5);
  border-radius: var(--radius);
}
.lightbox__caption { color: var(--cream); margin-top: 1rem; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lightbox__counter { display: block; color: var(--gold); font-size: 0.72rem; letter-spacing: 0.24em; margin-top: 0.35rem; }
.lightbox__btn {
  position: absolute;
  background: rgba(255, 240, 206, 0.08);
  border: 1px solid rgba(217, 172, 80, 0.5);
  color: var(--cream);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.lightbox__btn:hover { background: var(--gold); color: var(--burgundy); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover,
.lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

/* ------------------------------------------------ Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}
.testimonial {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.testimonial__mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--gold); }
.testimonial__text { font-family: var(--font-display); font-style: italic; font-size: 1.06rem; color: var(--maroon); }
.testimonial__who { margin-top: auto; display: flex; align-items: center; gap: 0.85rem; }
.testimonial__avatar {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.testimonial__name { font-weight: 700; font-size: 0.92rem; color: var(--maroon); }
.testimonial__role { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }

/* ------------------------------------------------ Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.form-card {
  background: rgba(255, 240, 206, 0.05);
  border: 1px solid rgba(217, 172, 80, 0.4);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.field .optional { color: rgba(255, 240, 206, 0.5); text-transform: none; letter-spacing: 0.04em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255, 249, 240, 0.96);
  border: 1px solid rgba(217, 172, 80, 0.35);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--maroon) 50%), linear-gradient(135deg, var(--maroon) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 172, 80, 0.28);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #e4736f; box-shadow: 0 0 0 3px rgba(228, 115, 111, 0.22); }
.field__error { font-size: 0.75rem; color: #ffb3ae; min-height: 1em; }
.form-note { font-size: 0.8rem; color: rgba(255, 240, 206, 0.6); margin-top: 0.9rem; }
.form-status {
  display: none;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.35rem;
  font-size: 0.92rem;
  background: rgba(217, 172, 80, 0.12);
  color: var(--cream);
}
.form-status.is-visible { display: flex; }
.form-status--error { border-color: #e4736f; background: rgba(228, 115, 111, 0.14); }
.form-status svg { flex: 0 0 22px; margin-top: 2px; }
.form-status strong { display: block; }

.contact-aside { display: grid; gap: 1.1rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(217, 172, 80, 0.28);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  background: rgba(255, 240, 206, 0.04);
}
.contact-item__icon {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 1px solid rgba(217, 172, 80, 0.5);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.contact-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.contact-item a,
.contact-item span { color: rgba(255, 240, 206, 0.9); font-size: 0.95rem; }
.contact-item a:hover { color: var(--gold); }
.social-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.4rem; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(217, 172, 80, 0.5);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-btn:hover { background: var(--gold); color: var(--burgundy); transform: translateY(-3px); }

/* ------------------------------------------------ CTA banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(57, 8, 11, 0.88), rgba(57, 8, 11, 0.78));
  z-index: -1;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 64px 64px;
  opacity: 0.07;
  z-index: -1;
}
.cta-banner h2 { color: var(--cream); }
.cta-banner p { color: rgba(255, 240, 206, 0.85); max-width: 52ch; margin-inline: auto 0; }
.cta-banner .measure { margin-inline: auto; }

/* ------------------------------------------------ Footer */
.site-footer {
  background: var(--burgundy);
  color: rgba(255, 240, 206, 0.78);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 64px 64px;
  opacity: 0.05;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
}
.site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; display: grid; gap: 0.6rem; }
.footer-links a { color: rgba(255, 240, 206, 0.78); font-size: 0.93rem; }
.footer-links a:hover { color: var(--gold); }
.footer-brand p { font-size: 0.93rem; margin-top: 1rem; max-width: 34ch; }
.footer-contact { list-style: none; display: grid; gap: 0.75rem; font-size: 0.93rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { flex: 0 0 18px; color: var(--gold); margin-top: 3px; }
.footer-contact a { color: rgba(255, 240, 206, 0.78); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(217, 172, 80, 0.22);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 240, 206, 0.75); }
.footer-bottom a:hover { color: var(--gold); }

/* ------------------------------------------------ Misc lists */
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
}
.section--maroon .pill-list li,
.section--forest .pill-list li { color: var(--cream); }

.steps { counter-reset: step; list-style: none; display: grid; gap: 1.4rem; margin-top: 1.5rem; }
.steps li { position: relative; padding-left: 3.4rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
}
.section--maroon .steps li::before { color: var(--gold); }
.steps strong { display: block; color: var(--maroon); }
.section--maroon .steps strong { color: var(--cream); }
.steps p { font-size: 0.93rem; color: var(--ink-soft); margin: 0.15rem 0 0; }
.section--maroon .steps p { color: rgba(255, 240, 206, 0.78); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.schedule { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--ivory); }
table.schedule th,
table.schedule td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 0.94rem; }
table.schedule thead th {
  background: var(--maroon);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
table.schedule tbody tr:hover { background: rgba(217, 172, 80, 0.08); }
table.schedule td strong { color: var(--maroon); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { columns: 2; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }

  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(45, 6, 9, 0.99);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    font-size: 0.9rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(217, 172, 80, 0.16);
  }
  .nav__link::after { display: none; }
  .nav__cta { display: none; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero__visual { order: -1; width: min(100%, 420px); }
  .hero__frame { border-radius: 180px 180px 8px 8px; }
  .hero__frame img { border-radius: 165px 165px 4px 4px; }
  .hero__lamp { display: none; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split--media-first .split__media,
  .split__media { order: 0; }
  .split__media--flip::after { inset: 14px 14px -14px -14px; }
  .split__media::after { inset: 14px -14px -14px 14px; }

  .instructor-grid { grid-template-columns: minmax(0, 1fr); }
  .instructor__photo { width: min(100%, 460px); margin-inline: auto; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 0.97rem; }
  .brand__mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand__name { font-size: 0.88rem; letter-spacing: 0.12em; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -14px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .instructor__meta li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { columns: 1; }
  .lightbox__prev, .lightbox__next { width: 44px; height: 44px; }
  .lightbox__figure img { max-height: 64vh; }
  .info-card { padding: 1.85rem 1.5rem; }
}

@media (max-width: 380px) {
  .brand__text { display: none; }
}

/* ------------------------------------------------ Motion / print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .lightbox, .cta-banner { display: none !important; }
  body { background: #fff; }
}
