/* =========================================================
   Mountaineer Elite Martial Arts — shared styles
   Brand: navy + gold (West Virginia mountaineer theme)
   ========================================================= */

:root {
  --navy:        #0f2a52;
  --navy-deep:   #0a1f3d;
  --navy-soft:   #16356a;
  --gold:        #f5b21a;
  --gold-bright: #ffc62b;
  --ink:         #1b2230;
  --muted:       #5a6577;
  --paper:       #ffffff;
  --mist:        #f3f6fb;
  --line:        #e2e8f2;
  --shadow:      0 10px 30px rgba(15, 42, 82, .10);
  --shadow-lg:   0 24px 60px rgba(10, 31, 61, .22);
  --radius:      14px;
  --maxw:        1140px;
  --font-head:   "Oswald", "Arial Narrow", sans-serif;
  --font-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-soft); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--navy);
  text-transform: uppercase;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 76px 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #dfe7f3; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}
.section--navy .eyebrow { color: var(--gold-bright); }

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-lead { max-width: 640px; color: var(--muted); margin-top: 14px; font-size: 1.06rem; }
.section--navy .section-lead { color: #b9c6dd; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  font-size: .98rem;
  padding: 14px 28px; border-radius: 9px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-bright); color: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245,178,26,.4); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 116px; }

/* Brand wordmark */
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 98px; width: auto; display: block; flex: none; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.32rem;
  color: var(--navy); text-transform: uppercase; letter-spacing: .02em;
}
.brand__name b { color: var(--gold); }
.brand__sub {
  font-family: var(--font-head); font-weight: 500; font-size: .62rem;
  letter-spacing: .34em; color: var(--muted); text-transform: uppercase; margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; text-transform: uppercase;
  letter-spacing: .05em; font-size: .96rem; color: var(--navy);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover, .nav__links a.is-active { border-bottom-color: var(--gold); }
.nav__cta { margin-left: 6px; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav__toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(140deg, rgba(10,31,61,.93) 0%, rgba(15,42,82,.84) 55%, rgba(15,42,82,.74) 100%),
    radial-gradient(900px 500px at 80% -10%, rgba(245,178,26,.22), transparent 60%),
    url('images/hero.jpg') center/cover no-repeat,
    var(--navy-deep);
}
.hero__inner { position: relative; z-index: 2; padding: 96px 0 104px; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,178,26,.16); color: var(--gold-bright);
  border: 1px solid rgba(245,178,26,.4); border-radius: 999px;
  padding: 7px 16px; font-family: var(--font-head); font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 18px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero__lead { font-size: 1.22rem; color: #cdd8ec; max-width: 580px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* faint mountain range at the base of the hero */
.hero__range { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 1; opacity: .5; }

/* ---------- Generic page header (inner pages) ---------- */
.page-head { background: var(--navy); color: #fff; padding: 70px 0 64px; text-align: center; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head p { color: #b9c6dd; max-width: 620px; margin: 14px auto 0; font-size: 1.08rem; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft)); margin-bottom: 18px;
}
.card__icon svg { width: 30px; height: 30px; stroke: var(--gold-bright); }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
  background: var(--gold); border-radius: 6px; padding: 4px 10px; margin-bottom: 14px;
}

/* value strip */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value svg { width: 30px; height: 30px; stroke: var(--gold); flex: none; margin-top: 4px; }
.value h4 { font-size: 1.08rem; margin-bottom: 4px; }
.value p { color: var(--muted); font-size: .97rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split__media {
  border-radius: var(--radius); min-height: 340px; box-shadow: var(--shadow-lg);
  background:
    linear-gradient(160deg, rgba(10,31,61,.55), rgba(15,42,82,.25)),
    repeating-linear-gradient(45deg, #12305d, #12305d 22px, #14366b 22px, #14366b 44px);
  display: grid; place-items: center; color: rgba(255,255,255,.55);
  font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; text-align:center; padding: 20px;
}
.split ul { list-style: none; margin-top: 18px; }
.split li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--muted); }
.split li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--gold); border-radius: 4px; box-shadow: inset 0 0 0 3px var(--navy);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy-deep); text-align: center; padding: 64px 0;
}
.cta-band h2 { color: var(--navy-deep); font-size: clamp(1.8rem,4vw,2.8rem); }
.cta-band p { max-width: 560px; margin: 12px auto 26px; font-weight: 500; color: #3a2f08; }

/* ---------- Schedule table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
table.schedule { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
table.schedule th, table.schedule td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.schedule thead th {
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
}
table.schedule tbody tr:nth-child(even) { background: var(--mist); }
table.schedule td:first-child { font-weight: 700; color: var(--navy); }
.pill { display:inline-block; background: var(--gold); color: var(--navy-deep); font-family: var(--font-head); font-weight:600; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; padding:3px 9px; border-radius: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-list svg { width: 26px; height: 26px; stroke: var(--gold); flex: none; margin-top: 3px; }
.info-list b { display:block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.info-list span, .info-list a { color: var(--muted); }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow); }

form.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
form.contact label { display:block; font-family: var(--font-head); text-transform: uppercase; letter-spacing:.04em; font-size:.82rem; color: var(--navy); margin: 0 0 6px; }
form.contact input, form.contact textarea, form.contact select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-family: var(--font-body); font-size: 1rem; margin-bottom: 18px; background: var(--mist);
}
form.contact input:focus, form.contact textarea:focus, form.contact select:focus { outline: 2px solid var(--gold); border-color: var(--gold); background:#fff; }

/* ---------- Donate ---------- */
.give-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.give-card { text-align:center; border-top: 5px solid var(--gold); }
.give-card .amt { font-family: var(--font-head); font-size: 2.4rem; color: var(--navy); }
.impact { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }

/* ---------- Notice (editor placeholder marker) ---------- */
.notice {
  background: #fff8e6; border: 1px dashed var(--gold); color: #7a5a00;
  border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin: 14px 0;
}
.notice b { color: #7a5a00; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aab8d2; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color:#fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: .08em; }
.site-footer a { color: #aab8d2; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-brand .brand__name { color:#fff; }
.footer-brand p { margin-top: 12px; font-size: .95rem; max-width: 300px; }
.social { display:flex; gap: 12px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 9px; background: rgba(255,255,255,.08); display:grid; place-items:center; }
.social a:hover { background: var(--gold); }
.social svg { width: 20px; height: 20px; fill:#fff; }
.social a:hover svg { fill: var(--navy-deep); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display:flex; justify-content: space-between; gap:14px; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4, .values, .give-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split__media { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 86px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 22px 18px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:hover, .nav__links a.is-active { border-bottom-color: var(--line); color: var(--gold); }
  .nav__cta { margin: 10px 0 0; }
  .section { padding: 56px 0; }
  .grid--3, .grid--4, .values, .give-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* launch tweaks */
.nav__cta .btn { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 721px) { .nav__links { gap: 14px; } .nav__links a { font-size: .82rem; } }

/* Full logo lockup in the header */
@media (max-width: 720px) {
  .nav { height: 86px; }
  .brand__logo { height: 68px; }
}
@media (max-width: 380px) {
  .nav { height: 76px; }
  .brand__logo { height: 58px; }
}

/* Logo watermarks standing in for photos we don't have yet */
.media-mark { display: grid; place-items: center; padding: 24px; }
.media-mark img {
  width: min(78%, 320px); height: auto; display: block;
  opacity: .62; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}
.hero__mark {
  position: absolute; z-index: 0; pointer-events: none;
  right: -60px; top: 50%; transform: translateY(-50%);
  width: 520px; height: auto; opacity: .10;
}
@media (max-width: 1100px) { .hero__mark { display: none; } }

/* Grid children must be allowed to shrink below their content's intrinsic width,
   otherwise a wide image (e.g. the tournament poster) blows out the page. */
.split > * { min-width: 0; }
.split img { max-width: 100%; height: auto; }

/* ---------- Belt progression ---------- */
.belts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 16px; }
.belt {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.belt__bar {
  display: block; height: 15px; border-radius: 8px; margin-bottom: 14px;
  border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 1px 2px rgba(0,0,0,.15);
}
.belt__n {
  font-family: var(--font-head); font-size: .72rem; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 2px;
}
.belt__name {
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  letter-spacing: .03em; text-transform: uppercase; color: var(--navy); line-height: 1.25;
}
@media (max-width: 520px) { .belts { grid-template-columns: 1fr 1fr; } }
