/* MMC WBL Landing — clean, modern, responsive */

@font-face {
  font-family: "Boowie";
  src: url("./assets/fonts/Web Fonts/boowie-webfont.woff2") format("woff2"),
    url("./assets/fonts/Web Fonts/boowie-webfont.woff") format("woff");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --bg: #050505;
  --bg2: #0b0b0b;
  --card: rgba(255, 255, 255, 0.05);
  --card2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.93);
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.56);
  --gold: #d7b46a;
  --gold-2: #b89344;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  --radius: 0px;
  --radius2: 0px;
  --container: 1120px;
  --gutter: 20px;
  --scroll-pad: 170px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-pad);
  background: radial-gradient(900px 540px at 20% -5%, rgba(215, 180, 106, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2) 40%, var(--bg) 100%);
}

/* Anchor targets should not hide behind sticky header */
section[id] {
  scroll-margin-top: var(--scroll-pad);
}

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  overflow-x: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(215, 180, 106, 0.55);
  transform: translateY(-140%);
  transition: transform 180ms ease;
  z-index: 1000;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid rgba(215, 180, 106, 0.65);
  outline-offset: 2px;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: static;
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid rgba(215, 180, 106, 0.18);
  backdrop-filter: none;
  transition: border-color 160ms ease, background 160ms ease;
}
.site-header--scrolled {
  background: rgba(0, 0, 0, 0.9);
  border-bottom-color: rgba(215, 180, 106, 0.28);
}
.site-header--light {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.site-header--light.site-header--scrolled {
  background: #fff;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.header-mast {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 6px 0 4px;
  gap: 6px;
}
.mast-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mast-logo img {
  width: clamp(120px, 16vw, 160px);
  height: auto;
}
.mast-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

@media (max-width: 900px) {
  .header-mast {
    padding: 6px 0 4px;
    gap: 4px;
  }
  .mast-logo img {
    width: min(150px, 62vw);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  border: 1px solid rgba(215, 180, 106, 0.55);
  box-shadow: none;
  font-family: "Boowie", ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.brand-name {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav--light {
  background: transparent;
}
.nav-link {
  padding: 8px 10px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(215, 180, 106, 0.25);
}
.nav-link--light {
  color: rgba(0, 0, 0, 0.78);
}
.nav-link--light:hover {
  color: rgba(0, 0, 0, 0.9);
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}
.nav-link--cta-light {
  background: transparent;
  color: rgba(0, 0, 0, 0.86);
  border-color: rgba(215, 180, 106, 0.65);
}
.nav-link--cta-light:hover {
  background: rgba(215, 180, 106, 0.12);
  border-color: rgba(215, 180, 106, 0.85);
}
.nav-link--cta {
  color: rgba(0, 0, 0, 0.92);
  background: linear-gradient(180deg, rgba(215, 180, 106, 0.98), rgba(184, 147, 68, 0.92));
  border-color: rgba(215, 180, 106, 0.7);
}
.nav-link--cta:hover {
  background: linear-gradient(180deg, rgba(215, 180, 106, 1), rgba(184, 147, 68, 0.98));
  border-color: rgba(215, 180, 106, 0.9);
}
nav a[aria-current="page"],
nav a[aria-current="true"] {
  border-color: rgba(215, 180, 106, 0.5);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.35);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle--light {
  border-color: rgba(0, 0, 0, 0.16);
  color: rgba(0, 0, 0, 0.9);
}
.nav-toggle--light .nav-toggle-bars,
.nav-toggle--light .nav-toggle-bars::before,
.nav-toggle--light .nav-toggle-bars::after {
  border-top-color: rgba(0, 0, 0, 0.78);
}
.nav-toggle:focus-visible {
  outline: 3px solid rgba(215, 180, 106, 0.65);
  outline-offset: 2px;
}
.nav-toggle-bars {
  width: 18px;
  height: 12px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars {
  border-top: 2px solid rgba(255, 255, 255, 0.85);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}
.nav-toggle-bars::before {
  top: 4px;
}
.nav-toggle-bars::after {
  top: 8px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero--image {
  padding: 0;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.hero-media {
  position: absolute;
  inset: -40px -40px auto -40px;
  height: 520px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.96)),
    url("./assets/final-home-page-splash-image-gradient.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  opacity: 0.9;
  transform: scale(1.02);
  border-bottom: 1px solid rgba(215, 180, 106, 0.18);
}
.hero-inner {
  position: relative;
  padding: 56px 0 34px;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-title::after {
  content: "";
  display: block;
  width: 96px;
  height: 2px;
  border-radius: 0;
  margin-top: 16px;
  background: linear-gradient(90deg, rgba(215, 180, 106, 0.95), rgba(215, 180, 106, 0.25));
}
.hero-lede {
  max-width: 62ch;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.pill {
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.2);
  background: rgba(0, 0, 0, 0.55);
  padding: 14px 14px 12px;
  box-shadow: none;
  backdrop-filter: none;
  border-left: 3px solid rgba(215, 180, 106, 0.65);
}
.pill-title {
  display: block;
  font-weight: 700;
}
.pill-sub {
  display: block;
  color: var(--faint);
  font-size: 13px;
  margin-top: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  box-shadow: none;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(215, 180, 106, 0.08);
  border-color: rgba(215, 180, 106, 0.6);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: 3px solid rgba(215, 180, 106, 0.65);
  outline-offset: 2px;
}
.btn-primary {
  border-color: rgba(215, 180, 106, 0.75);
  background: linear-gradient(180deg, rgba(215, 180, 106, 0.98), rgba(184, 147, 68, 0.92));
  color: rgba(0, 0, 0, 0.92);
}
.btn-primary:hover {
  border-color: rgba(215, 180, 106, 0.95);
  background: linear-gradient(180deg, rgba(215, 180, 106, 1), rgba(184, 147, 68, 0.98));
}
.btn-ghost {
  background: transparent;
}

/* Sections */
.section {
  padding: 64px 0;
}
.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(215, 180, 106, 0.12);
  border-bottom: 1px solid rgba(215, 180, 106, 0.12);
}
.section-bleed {
  padding-top: 40px;
}
.section-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.prose p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Layout */
.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.grid-2--center {
  align-items: center;
}

/* Media stack */
.media-stack {
  position: relative;
  min-height: 420px;
}
.media-card {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 106, 0.18);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: none;
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 180, 106, 0.3);
}
.media-card img {
  width: 100%;
  height: auto;
}
.media-card--offset {
  position: absolute;
  right: 0;
  bottom: -18px;
  width: min(88%, 360px);
  transform: rotate(1.2deg);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.18);
  background: rgba(0, 0, 0, 0.35);
  padding: 18px 16px 16px;
  box-shadow: none;
  transition: transform 160ms var(--ease-out), border-color 160ms ease, background 160ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 180, 106, 0.3);
  background: rgba(0, 0, 0, 0.42);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(215, 180, 106, 0.35);
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}
.card-icon svg {
  width: 22px;
  height: 22px;
}
.card-title {
  margin: 0 0 8px;
  font-size: 18px;
}
.card-text {
  margin: 0 0 14px;
  color: var(--muted);
}
.card-foot {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(215, 180, 106, 0.12);
  border: 1px solid rgba(215, 180, 106, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.badge--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.text-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(215, 180, 106, 0.65);
  text-underline-offset: 3px;
}
.text-link:hover {
  text-decoration-color: rgba(215, 180, 106, 0.95);
}

/* Image frame */
.image-frame {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 106, 0.18);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: none;
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.image-frame:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 180, 106, 0.3);
}
.image-frame--tall {
  min-height: 440px;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lessons list */
.lesson-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lesson-list li {
  padding: 14px 16px;
  border-left: 3px solid rgba(215, 180, 106, 0.65);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.35);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 160ms var(--ease-out), background 160ms ease, border-left-color 160ms ease;
}
.lesson-list li:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.42);
  border-left-color: rgba(215, 180, 106, 0.85);
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.feature {
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.18);
  background: rgba(0, 0, 0, 0.35);
  padding: 14px 14px 12px;
}
.feature-title {
  margin: 0 0 6px;
  font-size: 16px;
}
.feature-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.note {
  margin-top: 18px;
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.3);
  background: rgba(215, 180, 106, 0.08);
  padding: 14px 14px 12px;
}
.note-title {
  margin: 0 0 6px;
  font-weight: 800;
}
.note-text {
  margin: 0;
  color: var(--muted);
}

/* Team */
.team-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.team-card {
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.18);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  box-shadow: none;
  transition: transform 160ms var(--ease-out), border-color 160ms ease, background 160ms ease;
  isolation: isolate;
}
.team-card:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 180, 106, 0.3);
  background: rgba(0, 0, 0, 0.42);
}
.team-card[data-selected="true"] {
  border-color: rgba(215, 180, 106, 0.55);
}
.team-photo {
  position: relative;
  border-bottom: 1px solid rgba(215, 180, 106, 0.14);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.18) 35%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
  opacity: 0.95;
  transition: opacity 180ms ease;
}
.team-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 420ms var(--ease-out), filter 420ms var(--ease-out);
}
.team-card:hover .team-photo img {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.03);
}
.team-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}
.team-name {
  margin: 0;
  font-size: 18px;
  line-height: 1.12;
}
.team-role {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.team-overlay-text {
  min-width: 0;
}
.team-overlay-text .team-name,
.team-overlay-text .team-role {
  color: rgba(255, 255, 255, 0.92);
}
.team-overlay-text .team-role {
  color: rgba(255, 255, 255, 0.7);
}
.team-toggle {
  flex: none;
  appearance: none;
  border: 1px solid rgba(215, 180, 106, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 0;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.team-toggle:hover {
  transform: translateY(-1px);
  background: rgba(215, 180, 106, 0.1);
  border-color: rgba(215, 180, 106, 0.6);
}
.team-toggle:active {
  transform: translateY(0);
}
.team-toggle:focus-visible {
  outline: 3px solid rgba(215, 180, 106, 0.65);
  outline-offset: 2px;
}
.team-toggle[aria-expanded="true"] {
  background: rgba(215, 180, 106, 0.16);
  border-color: rgba(215, 180, 106, 0.75);
}

/* Right drawer (off-canvas) */
html.team-drawer-open,
html.team-drawer-open body {
  overflow: hidden;
}
.team-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 80;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.team-drawer-backdrop.is-open {
  opacity: 1;
}
.team-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(520px, 92vw);
  background: radial-gradient(900px 540px at 20% -5%, rgba(215, 180, 106, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.86), rgba(11, 11, 11, 0.92));
  border-left: 1px solid rgba(215, 180, 106, 0.22);
  box-shadow: -28px 0 70px rgba(0, 0, 0, 0.65);
  transform: translateX(102%);
  transition: transform 360ms var(--ease-out);
  z-index: 90;
  display: grid;
  grid-template-rows: auto 1fr;
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}
.team-drawer-panel.is-open {
  transform: translateX(0);
}
.team-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(215, 180, 106, 0.14);
  background: rgba(0, 0, 0, 0.45);
}
.team-drawer-eyebrow {
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
}
.team-drawer-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.team-drawer-role {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}
.team-drawer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.team-drawer-btn {
  flex: none;
  appearance: none;
  border: 1px solid rgba(215, 180, 106, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
  border-radius: 0;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.team-drawer-btn:hover {
  background: rgba(215, 180, 106, 0.1);
  border-color: rgba(215, 180, 106, 0.6);
  transform: translateY(-1px);
}
.team-drawer-btn:active {
  transform: translateY(0);
}
.team-drawer-btn:focus-visible {
  outline: 3px solid rgba(215, 180, 106, 0.65);
  outline-offset: 2px;
}
.team-drawer-btn--close {
  padding: 10px 12px;
}
.team-drawer-body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.team-drawer-media {
  position: relative;
  border-bottom: 1px solid rgba(215, 180, 106, 0.14);
  background: rgba(0, 0, 0, 0.35);
}
.team-drawer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /*
    Keep the drawer image clean: only a subtle bottom fade (no full-image dark wash).
    This helps the photo look crisp while still adding a bit of depth at the bottom edge.
  */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 64%,
    rgba(0, 0, 0, 0.22) 86%,
    rgba(0, 0, 0, 0.42) 100%
  );
  pointer-events: none;
}
.team-drawer-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  transform: translate3d(0, var(--media-shift, 0px), 0) scale(1.03);
  will-change: transform;
}
.team-drawer-bio {
  padding: 18px 18px 22px;
  display: grid;
  gap: 12px;
  font-size: 16px;
  line-height: 1.78;
}
.team-drawer-bio p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}
.team-drawer-bio p + p {
  border-top: 1px solid rgba(215, 180, 106, 0.08);
  padding-top: 12px;
}

/* Premium “stagger in” text reveal */
.team-drawer-paragraph {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  transition-delay: var(--p-delay, 0ms);
  will-change: opacity, transform;
}
.team-drawer-panel.is-open.content-ready .team-drawer-paragraph {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Banner */
.banner {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 106, 0.18);
  box-shadow: none;
  background: rgba(0, 0, 0, 0.35);
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.banner:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 180, 106, 0.3);
}

/* Scroll reveal (subtle, professional) */
html.has-reveal .reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.has-reveal .reveal.reveal-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.banner-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.72) 46%, rgba(0, 0, 0, 0.92) 100%),
    url("./assets/events-header.png");
  background-size: cover;
  background-position: top;
  opacity: 0.9;
}
.banner-body {
  position: relative;
  padding: 28px;
  display: grid;
  gap: 10px;
}
.banner-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
}
.banner-text {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}
.banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Contact form */
.contact {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.field-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 0;
  border: 1px solid rgba(215, 180, 106, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  outline: none;
}
.field-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.field-input:focus {
  border-color: rgba(215, 180, 106, 0.8);
  box-shadow: 0 0 0 4px rgba(215, 180, 106, 0.16);
}
.field-textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.fineprint {
  margin: 0;
  color: var(--faint);
  font-size: 13px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(215, 180, 106, 0.18);
  padding: 26px 0;
  background: rgba(0, 0, 0, 0.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  align-items: center;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.footer-logo:focus-visible {
  outline: 3px solid rgba(215, 180, 106, 0.65);
  outline-offset: 3px;
}
.footer-logo-mark {
  /* Fallback: render the PNG then approximate “white” via filter. */
  display: block;
  width: 168px;
  height: 40px;
  background: url("./assets/nav-logo.png") left center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(1);
}
@supports ((-webkit-mask-image: url("./assets/nav-logo.png")) or (mask-image: url("./assets/nav-logo.png"))) {
  .footer-logo-mark {
    /* Preferred: use alpha mask so logo is truly solid white. */
    background: #fff;
    filter: none;
    -webkit-mask-image: url("./assets/nav-logo.png");
    mask-image: url("./assets/nav-logo.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: left center;
    mask-position: left center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
}
.brand-mark--small {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.footer-title {
  font-weight: 800;
}
.footer-sub {
  color: var(--muted);
  font-size: 13px;
}
.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 0;
}
.footer-nav a:hover {
  color: var(--text);
  background: rgba(215, 180, 106, 0.08);
}
.footer-meta {
  color: var(--faint);
  font-size: 13px;
  text-align: right;
}

/* Mobile nav */
@media (max-width: 900px) {
  :root {
    --scroll-pad: 120px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .lesson-list {
    grid-template-columns: 1fr;
  }
  .media-stack {
    min-height: 0;
  }
  .media-card--offset {
    position: static;
    width: auto;
    transform: none;
    margin-top: 12px;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-drawer-panel {
    width: 100vw;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .footer-meta {
    text-align: left;
  }

  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 52px;
    margin: 0 auto;
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    padding: 12px;
    border-radius: 0;
    border: 1px solid rgba(215, 180, 106, 0.24);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: none;
    box-shadow: none;
    display: grid;
    gap: 8px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }
  .site-nav[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    padding: 10px 12px;
  }

  .site-nav--light {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.96);
  }
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.has-reveal .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .team-photo img,
  .team-toggle,
  .team-photo::after {
    transition: none !important;
  }
  .team-drawer-backdrop,
  .team-drawer-panel,
  .team-drawer-paragraph,
  .team-drawer-media img,
  .team-drawer-btn {
    transition: none !important;
  }
  .btn,
  .site-header,
  .site-nav,
  .skip-link {
    transition: none !important;
  }
}
