/* ══════════════════════════════════════════════════════════════
   Tow Survive & Thrive Supervisor Summit — shared stylesheet
   Feb 17-18, 2027 · San Antonio, TX
   ══════════════════════════════════════════════════════════════ */

:root {
  --black:      #0B0B0B;
  --ink:        #131313;
  --panel:      #171717;
  --panel-2:    #1F1F1F;
  --line:       #2E2E2E;
  --yellow:     #F5C200;
  --yellow-dk:  #C79E00;
  --orange:     #E87722;
  --red:        #D92B2B;
  --white:      #FFFFFF;
  --grey:       #B4B4B4;
  --grey-dim:   #8A8A8A;

  --shell:      1140px;
  --radius:     4px;

  --font-head:  "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--yellow); }

[hidden] { display: none !important; }

/* ─── layout ─────────────────────────────────────────────── */

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.alt { background: var(--ink); }

.hazard {
  height: 8px;
  background: repeating-linear-gradient(
    45deg, var(--yellow) 0 14px, var(--black) 14px 28px);
}

/* ─── type ───────────────────────────────────────────────── */

h1, h2, h3, .display {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .01em;
  margin: 0;
}

h2 { font-size: clamp(34px, 5vw, 54px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--yellow);
  flex: none;
}
.eyebrow.center { justify-content: center; }

.lede {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--grey);
  max-width: 62ch;
  margin: 20px 0 0;
}
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--grey); }
.dim   { color: var(--grey-dim); font-size: 15px; }
.hl    { color: var(--yellow); }

/* ─── buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); background: #ffd426; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; color: var(--yellow); }
.btn--ghost:hover { background: var(--yellow); color: var(--black); }
.btn--wide { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 14px; }

/* ─── top banner ─────────────────────────────────────────── */

.topbar { background: var(--black); border-bottom: 1px solid var(--line); }
.topbar__in {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; padding: 12px 24px; flex-wrap: wrap;
}
.topbar__logo { height: 30px; width: auto; }
.topbar__div { width: 1px; height: 26px; background: var(--line); }
.topbar__mid { text-align: center; line-height: 1.25; }
.topbar__name {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; display: block;
}
.topbar__name em { font-style: normal; color: var(--yellow); }
.topbar__sub {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--grey-dim);
}
.topbar__pow {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey-dim); display: block; margin-bottom: 3px;
}
.topbar__rs { height: 24px; width: auto; }
.topbar__tag {
  font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--yellow); display: block; margin-top: 3px;
}

/* ─── nav ────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,11,11,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 24px;
  max-width: var(--shell); margin: 0 auto;
}
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey); text-decoration: none;
}
.nav__links a:hover { color: var(--yellow); }
.nav__brand {
  font-family: var(--font-head); font-size: 17px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--white); text-decoration: none;
}
.nav__brand em { font-style: normal; color: var(--yellow); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ─── cards / grids ──────────────────────────────────────── */

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--grey); font-size: 16px; }

.num {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  color: var(--yellow); letter-spacing: .1em; display: block; margin-bottom: 10px;
}

/* ─── stat strip ─────────────────────────────────────────── */

.stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats > div { padding: 26px 16px; text-align: center; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b {
  font-family: var(--font-head); font-size: clamp(28px, 4vw, 42px);
  color: var(--yellow); display: block; line-height: 1;
}
.stats span {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey-dim); display: block; margin-top: 8px;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2n) { border-right: 0; }
  .stats > div { border-bottom: 1px solid var(--line); }
  .stats > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ─── checklist ──────────────────────────────────────────── */

.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative; padding: 0 0 0 30px; margin-bottom: 13px;
  color: var(--grey); font-size: 16px; line-height: 1.5;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 14px;
  border: solid var(--yellow); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.checks li:last-child { margin-bottom: 0; }

/* ─── footer ─────────────────────────────────────────────── */

.foot { background: var(--black); border-top: 1px solid var(--line); padding: 44px 0 60px; }
.foot__in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--grey); text-decoration: none; }
.foot a:hover { color: var(--yellow); }

/* ─── modal ──────────────────────────────────────────────── */

.backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.86);
  display: none; align-items: flex-start; justify-content: center;
  padding: 28px 16px; overflow-y: auto;
}
.backdrop.open { display: flex; }

.modal {
  width: 100%; max-width: 620px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.modal__close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: 0; color: var(--grey);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.modal__close:hover { color: var(--yellow); }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 7px;
}
.field label .req { color: var(--yellow); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--panel-2); color: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--yellow);
}
.field textarea { min-height: 88px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

.subhead {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--yellow);
  margin: 26px 0 14px; padding-top: 20px; border-top: 1px solid var(--line);
}
.subhead:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.attendee {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
}
.attendee__n {
  font-family: var(--font-head); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 12px;
}

.terms { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 8px; }
.terms input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--yellow); }
.terms span { font-size: 14px; color: var(--grey); line-height: 1.55; }

.err { color: var(--red); font-size: 14px; margin: 8px 0 0; }
.status { font-size: 15px; margin-top: 14px; text-align: center; }

/* total bar inside the modal */
.total {
  display: flex; align-items: baseline; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--yellow);
  border-radius: var(--radius); padding: 16px 20px; margin: 20px 0 4px;
}
.total__lbl { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.total__amt { font-family: var(--font-head); font-size: 36px; color: var(--yellow); line-height: 1; }
.total__calc { font-size: 13px; color: var(--grey-dim); }

/* ─── sticky mobile CTA ──────────────────────────────────── */

.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(11,11,11,.97);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 14px;
}
.stickybar__t { font-size: 13px; color: var(--grey); line-height: 1.3; }
.stickybar__t b { display: block; color: var(--white); font-family: var(--font-head); font-size: 15px; text-transform: uppercase; }
@media (max-width: 860px) { .stickybar { display: flex; } body { padding-bottom: 78px; } }

@media (max-width: 700px) {
  .topbar__div { display: none; }
  .topbar__in { gap: 14px; }
}
