/* =========================================================
   NORTHSIDE JIU-JITSU — Asheville, NC
   Design system: Norse / Viking dark warrior
   Palette pulled from the existing logo medallion
   ========================================================= */

:root {
  /* Core palette */
  --bg-obsidian:   #0a0908;
  --bg-iron:       #15110f;
  --bg-iron-2:     #1d1815;
  --surface:       #20191600;
  --hairline:      #2a201a;

  --copper:        #a64929;      /* from the logo */
  --copper-bright: #c25a36;
  --copper-deep:   #6b2412;
  --blood:         #7a1f12;

  --bone:          #f4ede0;
  --bone-muted:    #d8cfbe;
  --ash:           #948877;
  --gold:          #c9a86a;
  --gold-deep:     #8a6f3e;

  /* Typography */
  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-rune:    "MedievalSharp", "Cinzel", serif;
  --f-body:    "EB Garamond", "Crimson Text", Georgia, serif;
  --f-ui:      "Cormorant SC", "Cinzel", Georgia, serif;
  --f-mono:    ui-monospace, "SF Mono", Menlo, monospace;

  /* Sizing & motion */
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Shadows / depth */
  --shadow-deep: 0 30px 80px rgba(0,0,0,.55), 0 4px 12px rgba(0,0,0,.4);
  --inset-iron: inset 0 1px 0 rgba(255,255,255,.04), inset 0 -1px 0 rgba(0,0,0,.6);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-obsidian);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Subtle film grain over everything */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(166,73,41,.05), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(201,168,106,.04), transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
}

/* ----- Layout primitives ----- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark  { background: linear-gradient(180deg, var(--bg-obsidian) 0%, var(--bg-iron) 100%); }
.section--iron  {
  background:
    linear-gradient(180deg, var(--bg-iron) 0%, var(--bg-iron-2) 100%);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* ----- Typography ----- */
.eyebrow {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--copper-bright);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--copper);
  opacity: .6;
}
.eyebrow.eyebrow--left::after { display: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--bone);
  letter-spacing: .02em;
  margin: 0 0 .4em;
}

h1 {
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: .01em;
}
h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
}
h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; }
h4 { font-size: 18px; letter-spacing: .15em; text-transform: uppercase; font-family: var(--f-ui); color: var(--gold); }

p { margin: 0 0 1.1em; color: var(--bone-muted); }
p.lede {
  font-size: clamp(19px, 1.6vw, 22px);
  color: var(--bone);
  max-width: 62ch;
}

.runes {
  font-family: var(--f-rune);
  color: var(--copper);
  letter-spacing: .35em;
  font-size: 14px;
  opacity: .7;
  user-select: none;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--f-ui);
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  border: 1px solid var(--copper);
  background: var(--copper);
  color: var(--bone);
  border-radius: var(--radius);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 6px 24px rgba(166,73,41,.25), var(--inset-iron);
}
.btn:hover {
  background: var(--copper-bright);
  border-color: var(--copper-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(194,90,54,.4), var(--inset-iron);
}
.btn--ghost {
  background: transparent;
  border-color: var(--bone-muted);
  color: var(--bone);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(244,237,224,.06);
  border-color: var(--bone);
  box-shadow: none;
}
.btn--lg { padding: 20px 36px; font-size: 15px; }

/* Arrow glyph */
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(10,9,8,.85) 0%, rgba(10,9,8,0) 100%);
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease);
}
.nav.is-stuck {
  background: rgba(10,9,8,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  padding: 12px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav__logo img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  transition: height .35s var(--ease);
}
.nav.is-stuck .nav__logo img { height: 44px; width: 44px; }
.nav__brand {
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1.1;
}
.nav__brand small {
  display: block;
  font-family: var(--f-ui);
  color: var(--copper-bright);
  font-size: 10px;
  letter-spacing: .35em;
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bone-muted);
  transition: color .2s;
  position: relative;
  padding: 6px 0;
}
.nav__links a:hover { color: var(--copper-bright); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { flex-shrink: 0; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  color: var(--bone);
  width: 44px; height: 44px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/img/hero-1.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(.35) contrast(1.1) brightness(.55);
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(10,9,8,.55) 0%, rgba(10,9,8,.92) 75%),
    linear-gradient(180deg, rgba(10,9,8,.4) 0%, rgba(10,9,8,1) 100%);
}
.hero__content {
  max-width: 880px;
}
.hero h1 {
  text-transform: uppercase;
  letter-spacing: .015em;
  text-shadow: 0 4px 30px rgba(0,0,0,.7);
}
.hero h1 .accent {
  display: block;
  color: var(--copper-bright);
  font-family: var(--f-rune);
  font-size: .9em;
  letter-spacing: .04em;
  text-transform: none;
  margin-top: .15em;
}
.hero .lede {
  margin: 24px 0 38px;
  color: var(--bone);
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__foot {
  position: absolute;
  left: 0; right: 0; bottom: 32px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 var(--gutter);
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero__foot a { color: var(--bone-muted); transition: color .2s; }
.hero__foot a:hover { color: var(--copper-bright); }

.hero__runes {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--f-rune);
  color: var(--copper);
  letter-spacing: .5em;
  font-size: 22px;
  opacity: .35;
  user-select: none;
  pointer-events: none;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--copper));
  z-index: 1;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  transform: rotate(45deg);
}

/* =========================================================
   THE PATH (3-step onboarding)
   ========================================================= */
.path {
  text-align: center;
}
.path__header { max-width: 720px; margin: 0 auto 60px; }
.path__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-top: 30px;
  position: relative;
}
.path__grid::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 16%; right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: .35;
}
.path__step {
  position: relative;
  padding-top: 20px;
}
.path__num {
  width: 80px; height: 80px;
  margin: 0 auto 26px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-rune);
  font-size: 32px;
  color: var(--copper-bright);
  background: var(--bg-obsidian);
  box-shadow: 0 0 0 6px var(--bg-obsidian), 0 0 30px rgba(166,73,41,.25);
  position: relative;
  z-index: 1;
}
.path__step h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 18px;
  color: var(--bone);
}
.path__step p { font-size: 16px; }

/* =========================================================
   PROGRAMS
   ========================================================= */
.programs__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.programs__head .lede { max-width: 48ch; }
.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.program {
  position: relative;
  padding: 40px 32px 36px;
  background:
    linear-gradient(180deg, rgba(32,25,22,.92), rgba(20,16,14,.92));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  isolation: isolate;
}
.program::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(166,73,41,.18), transparent 60%);
  opacity: .6;
  z-index: -1;
}
.program::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .15 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .5;
  pointer-events: none;
  z-index: -1;
}
.program:hover {
  transform: translateY(-4px);
  border-color: var(--copper);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.program__rune {
  font-family: var(--f-rune);
  font-size: 36px;
  color: var(--copper-bright);
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}
.program h3 {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 22px;
}
.program__meta {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--copper-bright);
  text-transform: uppercase;
  margin: -6px 0 16px;
}
.program p { font-size: 16px; margin-bottom: 22px; }
.program__link {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--bone);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s, gap .2s;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.program__link:hover { color: var(--copper-bright); gap: 12px; }

/* =========================================================
   SCHEDULE
   ========================================================= */
.schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
.schedule__copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.schedule__copy .eyebrow { grid-column: 1; margin: 0; }
.schedule__copy h2 { grid-column: 1; margin: 8px 0 0; }
.schedule__copy p { grid-column: 2; margin: 0; }
.schedule__copy p + p { grid-column: 2; margin-top: 12px; }
.schedule__copy .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.schedule__list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}
.schedule__list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  font-family: var(--f-ui);
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.schedule__list li:last-child { border-bottom: 1px solid var(--hairline); }
.schedule__list .day { color: var(--bone); }
.schedule__list .times { color: var(--copper-bright); text-align: right; }

.schedule__frame {
  position: relative;
  padding: 18px;
  background: linear-gradient(180deg, #1a1410, #0e0a08);
  border: 1px solid var(--copper-deep);
  border-radius: var(--radius);
  box-shadow:
    inset 0 0 0 1px rgba(166,73,41,.15),
    0 30px 60px rgba(0,0,0,.55);
}
.schedule__frame::before, .schedule__frame::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--copper);
  opacity: .7;
}
.schedule__frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.schedule__frame::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.schedule__frame img {
  width: 100%;
  border-radius: var(--radius);
  filter: contrast(1.05) brightness(.96);
}

/* Semantic schedule table (TIME rows × DAY cols) */
.schedule__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--f-ui);
  color: var(--bone);
  background: linear-gradient(180deg, #150f0c, #0c0907);
  border-radius: var(--radius);
  overflow: hidden;
  table-layout: fixed;
}
.schedule__table thead th {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper-bright);
  padding: 16px 8px;
  background: linear-gradient(180deg, #1c1612, #15110e);
  border-bottom: 1px solid var(--copper-deep);
  text-align: center;
  font-weight: 500;
}
.schedule__table thead th.th-time {
  text-align: left;
  padding-left: 18px;
  color: var(--ash);
}
.schedule__table thead th.th-accent {
  color: var(--copper-bright);
  background: linear-gradient(180deg, rgba(166,73,41,.18), #15110e);
}
.schedule__table thead th.th-muted {
  color: var(--ash);
  opacity: .6;
}
.schedule__table tbody th {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: left;
  padding: 14px 10px 14px 18px;
  background: rgba(0,0,0,.25);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-weight: 400;
  white-space: nowrap;
}
.schedule__table tbody tr:last-child th,
.schedule__table tbody tr:last-child td { border-bottom: none; }

.schedule__table .cell {
  padding: 14px 10px;
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  text-align: center;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .02em;
  line-height: 1.25;
  color: var(--bone);
  background: rgba(244,237,224,.012);
  transition: background .2s;
  vertical-align: middle;
}
.schedule__table .cell:last-child { border-right: none; }
.schedule__table tbody tr:hover .cell:not(.cell--off) { background: rgba(166,73,41,.06); }

.schedule__table .cell--gi    { color: var(--bone); }
.schedule__table .cell--nogi  { color: var(--bone-muted); }
.schedule__table .cell--kids  { color: var(--gold); }
.schedule__table .cell--comp  { color: var(--copper-bright); font-weight: 500; }
.schedule__table .cell--keiko { color: var(--copper-bright); font-style: italic; }
.schedule__table .cell--off {
  color: transparent;
  background: rgba(0,0,0,.35);
}
.schedule__table .cell--off::before {
  content: "—";
  color: var(--hairline);
  font-family: var(--f-body);
}
/* Saturday column highlight */
.schedule__table tbody td:nth-child(7):not(.cell--off) {
  background: rgba(166,73,41,.05);
}

.schedule__legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 22px 0 0;
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ash);
  flex-wrap: wrap;
}
.schedule__legend span { display: inline-flex; align-items: center; }
.schedule__legend .dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 8px;
  background: var(--copper);
  border-radius: 2px;
}
.schedule__legend .dot--gi { background: var(--bone); }
.schedule__legend .dot--nogi { background: var(--bone-muted); opacity: .6; }
.schedule__legend .dot--kids { background: var(--gold); }
.schedule__legend .dot--comp { background: var(--copper-bright); }
.schedule__legend .dot--keiko { background: var(--copper); }

/* Instructor monogram placeholder (for missing photos) */
.instructor__photo--monogram {
  background:
    radial-gradient(circle at 50% 30%, rgba(166,73,41,.18), transparent 70%),
    linear-gradient(180deg, #1a1410, #0c0807);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.instructor__photo--monogram::after { display: none; }
.instructor__photo--monogram::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid var(--copper-deep);
  border-radius: var(--radius);
  pointer-events: none;
  opacity: .5;
}
.monogram {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
}
.monogram__runes {
  font-family: var(--f-rune);
  color: var(--copper);
  font-size: 14px;
  letter-spacing: .4em;
  opacity: .75;
}
.monogram__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--f-rune);
  font-size: clamp(70px, 12vw, 120px);
  color: var(--copper-bright);
  line-height: 1;
  margin: 6px 0;
  text-shadow: 0 4px 30px rgba(166,73,41,.4);
}
.monogram__amp {
  font-family: var(--f-display);
  font-size: .55em;
  color: var(--copper);
  opacity: .7;
  margin-top: .1em;
}
.monogram__label {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 4px;
}
.monogram__sub {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ash);
}

/* =========================================================
   INSTRUCTORS
   ========================================================= */
.instructors__head { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.instructors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.instructor {
  position: relative;
}
.instructor__photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 28px;
  background: var(--bg-iron);
}
.instructor__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(.35) contrast(1.08);
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.instructor:hover .instructor__photo img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.08);
}
.instructor__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,9,8,.85) 100%);
  pointer-events: none;
}
.instructor__tag {
  position: absolute;
  bottom: 20px; left: 20px;
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(10,9,8,.78);
  border: 1px solid var(--copper);
  padding: 7px 14px;
  z-index: 1;
  backdrop-filter: blur(6px);
}
.instructor h3 {
  font-family: var(--f-display);
  font-size: 32px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.instructor__role {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--copper-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.instructor__creds {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.instructor__creds li {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--bone-muted);
  text-transform: uppercase;
  padding-left: 22px;
  position: relative;
}
.instructor__creds li::before {
  content: "ᛟ";
  position: absolute;
  left: 0;
  color: var(--copper);
  font-family: var(--f-rune);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid {
  max-width: 820px;
  margin: 60px auto 0;
}
.faq__item {
  border-bottom: 1px solid var(--hairline);
}
.faq__item:first-child { border-top: 1px solid var(--hairline); }
.faq__q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--bone);
  text-align: left;
  padding: 28px 50px 28px 0;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: .01em;
  position: relative;
  transition: color .2s;
}
.faq__q:hover { color: var(--copper-bright); }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-rune);
  font-size: 28px;
  color: var(--copper);
  transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__q::after {
  content: "−";
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  padding: 0 60px 0 0;
}
.faq__item.is-open .faq__a {
  max-height: 500px;
  padding-bottom: 28px;
}
.faq__a p { color: var(--bone-muted); font-size: 17px; margin: 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__form-wrap h2 { margin-bottom: 16px; }
.contact__form-wrap .lede { margin-bottom: 36px; }
.contact__sidebar { display: flex; flex-direction: column; gap: 36px; }
.contact__details {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__details li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: start;
}
.contact__details .label {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--copper-bright);
  display: block;
  margin-bottom: 4px;
}
.contact__details a {
  color: var(--bone);
  font-size: 20px;
  font-family: var(--f-display);
  letter-spacing: .02em;
  transition: color .2s;
}
.contact__details a:hover { color: var(--copper-bright); }
.contact__details .rune {
  font-family: var(--f-rune);
  color: var(--copper);
  font-size: 22px;
  line-height: 1;
  margin-top: 4px;
}

.contact__map {
  aspect-ratio: 4/3;
  background: var(--bg-iron);
  border: 1px solid var(--copper-deep);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.contact__map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: invert(.9) hue-rotate(180deg) brightness(.85) contrast(.95);
}

/* =========================================================
   TRIAL FORM (Netlify Forms)
   ========================================================= */
.trial-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: linear-gradient(180deg, rgba(32,25,22,.6), rgba(20,16,14,.6));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  position: relative;
}
.trial-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(166,73,41,.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.trial-form > * { position: relative; z-index: 1; }

.trial-form__hp {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.trial-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.trial-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trial-form__field > span {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--copper-bright);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.trial-form__field > span small {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ash);
  font-weight: normal;
}

.trial-form input[type="text"],
.trial-form input[type="email"],
.trial-form input[type="tel"],
.trial-form select,
.trial-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--bone);
  background: var(--bg-obsidian);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.trial-form input:hover,
.trial-form select:hover,
.trial-form textarea:hover { border-color: var(--copper-deep); }
.trial-form input:focus,
.trial-form select:focus,
.trial-form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(166,73,41,.18);
  background: #0d0a08;
}
.trial-form input::placeholder,
.trial-form textarea::placeholder { color: var(--ash); opacity: .7; }

.trial-form textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

.trial-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--copper) 50%),
    linear-gradient(135deg, var(--copper) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}
.trial-form select option {
  background: var(--bg-obsidian);
  color: var(--bone);
}

.trial-form__submit {
  margin-top: 12px;
  justify-content: center;
  width: 100%;
  font-size: 14px;
  padding: 18px 28px;
}

.trial-form__alt {
  text-align: center;
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 4px 0 0;
}
.trial-form__alt a {
  color: var(--copper-bright);
  border-bottom: 1px solid var(--copper-deep);
  transition: border-color .2s;
}
.trial-form__alt a:hover { border-bottom-color: var(--copper-bright); }

/* Success state — replaces form when ?success=true */
.form-success {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(180deg, rgba(32,25,22,.6), rgba(20,16,14,.6));
  border: 1px solid var(--copper-deep);
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(166,73,41,.2);
}
.form-success__rune {
  font-family: var(--f-rune);
  font-size: 56px;
  color: var(--copper-bright);
  margin: 0 0 16px;
  line-height: 1;
}
.form-success h3 {
  font-family: var(--f-display);
  font-size: 32px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 14px;
}
.form-success p {
  font-size: 17px;
  color: var(--bone-muted);
  margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #050403;
  border-top: 1px solid var(--hairline);
  padding: 80px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer__brand img { height: 90px; width: 90px; margin-bottom: 18px; }
.footer__brand p { font-size: 15px; color: var(--ash); max-width: 30ch; }
.footer h4 {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--copper-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  color: var(--bone-muted);
  font-size: 14px;
  transition: color .2s;
  font-family: var(--f-body);
}
.footer ul a:hover { color: var(--copper-bright); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ash);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom .lineage { color: var(--copper-bright); }

/* =========================================================
   DIVIDERS / FLOURISHES
   ========================================================= */
.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 36px auto;
  color: var(--copper);
  font-family: var(--f-rune);
  font-size: 18px;
  opacity: .6;
}
.flourish::before, .flourish::after {
  content: "";
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

/* =========================================================
   ANIMATIONS — scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: fixed;
    inset: 80px var(--gutter) auto;
    flex-direction: column;
    gap: 0;
    background: var(--bg-iron);
    border: 1px solid var(--hairline);
    padding: 12px 0;
    border-radius: var(--radius);
  }
  .nav.is-open .nav__links a {
    display: block;
    padding: 18px 22px;
    border-bottom: 1px solid var(--hairline);
    width: 100%;
  }
  .nav.is-open .nav__links li:last-child a { border-bottom: none; }

  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-top: 110px;
    padding-bottom: 32px;
    min-height: 90vh;
  }
  .hero__content { width: 100%; flex: 0 0 auto; }
  .hero__runes, .hero__scroll { display: none; }
  .hero__foot {
    position: static;
    padding: 40px var(--gutter) 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    flex: 0 0 auto;
  }
  .hero__foot a, .hero__foot span { font-size: 11px; }

  .path__grid { grid-template-columns: 1fr; gap: 48px; }
  .path__grid::before { display: none; }

  .programs__grid { grid-template-columns: 1fr 1fr; }

  .schedule { grid-template-columns: 1fr; gap: 40px; }
  .schedule__copy { grid-template-columns: 1fr; gap: 16px; }
  .schedule__copy .eyebrow, .schedule__copy h2, .schedule__copy p, .schedule__copy .btn { grid-column: 1; }
  .schedule__frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .schedule__table { min-width: 760px; }

  .instructors__grid { grid-template-columns: 1fr; gap: 64px; }

  .contact { grid-template-columns: 1fr; gap: 48px; }
  .contact__map { aspect-ratio: 16/10; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .programs__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1; justify-content: center; padding: 16px 18px; }
  .schedule__legend { gap: 14px 18px; font-size: 10px; }
  .trial-form { padding: 22px; }
  .trial-form__row { grid-template-columns: 1fr; }
}
