:root {
  --bg: #0d0f12;
  --bg-soft: #151920;
  --panel: rgba(19, 24, 31, 0.9);
  --panel-strong: #1b2129;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f1e8;
  --muted: #b4b8c0;
  --accent: #cf6a32;
  --accent-bright: #f59d52;
  --accent-deep: #7a3112;
  --success: #95b66f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(207, 106, 50, 0.18), transparent 32%),
    linear-gradient(180deg, #0d0f12 0%, #0a0c10 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 18px),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 100%);
  background-size: 22px 22px, 100% 100%;
  opacity: 0.35;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

.site-header,
.site-footer,
.hero,
.mission-strip,
.section-block,
.hero-panel,
.feature-card,
.step-card,
.info-card,
.quote-card,
.resource-card,
.leadership-panel,
.schedule-card,
.glossary-card {
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.84);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(245, 157, 82, 0.45);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 157, 82, 0.24), rgba(122, 49, 18, 0.45));
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong,
.footer-brand,
h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-copy strong {
  font-size: 1.1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(245, 157, 82, 0.35);
  border-radius: 999px;
  color: var(--text) !important;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 28px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(180deg, rgba(21, 25, 32, 0.94), rgba(10, 12, 16, 0.95));
  box-shadow: var(--shadow);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 12, 18, 0.78) 0%, rgba(9, 12, 18, 0.52) 46%, rgba(9, 12, 18, 0.68) 100%),
    linear-gradient(180deg, rgba(13, 15, 18, 0.04), rgba(13, 15, 18, 0.4)),
    url("./sunrise.JPG");
  background-position: center 58%;
  background-size: cover;
  opacity: 0.80;
  filter: saturate(0.9) contrast(0.9);
  transform: scale(1.03);
  z-index: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 0;
}

.eyebrow,
.section-label,
.panel-kicker,
.card-index,
.schedule-meta span,
.resource-card span {
  color: var(--accent-bright);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6.3vw, 5.8rem);
  line-height: 0.92;
  max-width: 10ch;
}

.hero-title {
  font-size: clamp(2.5rem, 4.9vw, 4.6rem);
  line-height: 0.94;
  max-width: 15ch;
  transform: translateY(-28px); /* move top text up */
}

.hero-line {
  display: block;
}

.hero-line-wide {
  white-space: nowrap;
}

.hero-title .hero-line > span {
  white-space: nowrap;
}

.hero-lede,
.section-heading > p,
.stack > p,
.feature-card p,
.step-card p,
.info-card p,
.quote-card p,
.leadership-panel,
.resource-card strong,
.site-footer p,
.mission-strip p,
.schedule-card p,
.glossary-card p {
  color: var(--muted);
}

.hero-lede {
  transform: translateY(-22px);
}

.hero-actions,
.callout-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  transform: translateY(36px); /* increase or decrease this */
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible,
.resource-link:hover,
.resource-link:focus-visible,
.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #140c08;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  transform: translateY(48px); /* move buttons + stat boxes down */
}

.hero-stats li,
.hero-panel article,
.feature-card,
.step-card,
.info-card,
.quote-card,
.leadership-panel,
.resource-card,
.schedule-card,
.glossary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}

.hero-stats li {
  padding: 16px;
}

.hero-stats strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
}

.hero-stats span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.hero-panel {
  padding: 24px 24px 24px 12px; /* was just 24px */
  margin-left: 72px;            /* tweak this number */
  border: 1px solid rgba(245, 157, 82, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(122, 49, 18, 0.18), rgba(15, 18, 24, 0.92)),
    var(--panel);
}

.panel-grid {
  display: grid;
  gap: 28px;
}

.hero-panel article {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px;
}

.hero-panel article span,
.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(245, 157, 82, 0.12);
  color: var(--accent-bright);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-panel h2,
.step-card h3,
.feature-card h3,
.info-card h3,
.leadership-panel h3,
.resource-card strong,
.schedule-card h3,
.glossary-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.hero-panel h2 {
  margin: 0;
}

.hero-panel article span {
  margin-bottom: 0;
}

.hero-panel article p {
  width: 100%;
  margin: 0;
}

.mission-strip,
.section-block,
.site-footer {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 21, 28, 0.88);
  box-shadow: var(--shadow);
}

.mission-strip,
.section-block,
.site-footer {
  padding: 32px;
}

.photo-stack {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.photo-stack > .mission-strip,
.photo-stack > .section-block {
  margin-top: 0;
}

.section-photo-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(13, 16, 22, 0.72);
}

.section-photo-card > * {
  position: relative;
  z-index: 1;
}

.section-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.92) contrast(0.95) brightness(1.08);
  z-index: 0;
}

.section-photo-top::before {
  background-image: url("./better.JPG?v=5");
  background-position: center 58%;
  opacity: 0.50;
}

.section-photo-bottom::before {
  background:
    linear-gradient(90deg, rgba(9, 12, 18, 0.82) 0%, rgba(9, 12, 18, 0.62) 50%, rgba(9, 12, 18, 0.8) 100%),
    linear-gradient(180deg, rgba(13, 15, 18, 0.14), rgba(13, 15, 18, 0.38)),
    url("./workout.JPG");
  background-position: center 72%;
  opacity: 0.52;
}

.section-photo-top {
  min-height: 420px;
}

.section-photo-bottom {
  min-height: 520px;
}

.section-photo-bottom .section-heading {
  margin-bottom: 28px;
}

.section-photo-bottom .schedule-grid {
  position: relative;
  z-index: 1;
}

.schedule-empty {
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(14, 18, 24, 0.5);
  color: var(--muted);
  text-align: center;
}

.section-photo-bottom .schedule-card {
  background: rgba(14, 18, 24, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-photo-bottom .filter-chip {
  background: rgba(13, 16, 22, 0.62);
}

.section-photo-bottom .filter-chip[aria-pressed="true"] {
  background: rgba(245, 157, 82, 0.18);
}

.section-photo-bottom .section-heading > p,
.section-photo-bottom .schedule-card p,
.section-photo-top .principles p {
  color: rgba(244, 241, 232, 0.82);
}

.section-photo-top .principles article {
  border-left-color: rgba(245, 157, 82, 0.38);
}

.section-photo-top .principles h3,
.section-photo-bottom .section-heading h2,
.section-photo-top h2 {
  color: var(--text);
}

.section-photo-top .section-label,
.section-photo-bottom .section-label {
  color: #ffae63;
}

.section-photo-top::after,
.section-photo-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-photo-top::after {
  background:
    linear-gradient(90deg, rgba(9, 12, 18, 0.82) 0%, rgba(9, 12, 18, 0.62) 50%, rgba(9, 12, 18, 0.8) 100%),
    linear-gradient(180deg, rgba(13, 15, 18, 0.14), rgba(13, 15, 18, 0.38)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(0deg, rgba(6, 7, 10, 0.16), transparent 30%);
}

.section-photo-bottom::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(0deg, rgba(6, 7, 10, 0.16), transparent 30%);
}

.mission-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: 24px;
}

.principles,
.three-up,
.steps,
.resource-grid,
.schedule-grid,
.glossary-grid {
  display: grid;
  gap: 16px;
}

.principles {
  grid-template-columns: 1fr 1.12fr 1.22fr 1fr 1.12fr;
}

.principles article {
  display: grid;
  grid-template-rows: minmax(84px, auto) 1fr;
  align-content: start;
  padding-left: 16px;
  border-left: 1px solid rgba(245, 157, 82, 0.24);
}

.principles h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.05;
}

.section-heading,
.split-layout {
  display: grid;
  gap: 24px;
}

.section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2,
.split-layout h2,
.mission-strip h2 {
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.split-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: stretch;
}

.split-layout.reverse {
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1fr);
}

.stack,
.card-stack {
  display: grid;
  gap: 16px;
}

.info-card,
.feature-card,
.step-card,
.quote-card,
.leadership-panel,
.schedule-card,
.glossary-card {
  padding: 22px;
}

.card-index {
  margin: 0 0 12px;
}

.quote-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(245, 157, 82, 0.12), transparent),
    var(--panel);
}

.quote-card p {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 0.94;
  color: var(--text);
  text-transform: uppercase;
}

.impact-card {
  gap: 18px;
}

.impact-kicker {
  color: var(--accent-bright);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  font-weight: 700;
}

.impact-list {
  display: grid;
  gap: 14px;
}

.impact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.impact-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.impact-item p {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  text-transform: none;
  color: var(--text);
}

.impact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 157, 82, 0.28);
  border-radius: 14px;
  background: rgba(245, 157, 82, 0.1);
}

.impact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-bright);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.three-up,
.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 10px 14px;
  cursor: pointer;
}

.filter-chip[aria-pressed="true"] {
  border-color: rgba(245, 157, 82, 0.55);
  background: rgba(245, 157, 82, 0.12);
}

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

.schedule-card {
  position: relative;
  overflow: hidden;
}

.schedule-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-bright), transparent 70%);
}

.schedule-card h3 {
  padding-right: 48px;
}

.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 10px;
}

.schedule-meta span {
  letter-spacing: 0.08em;
}

.schedule-card .location {
  color: var(--text);
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.schedule-card .location a {
  color: var(--accent-bright);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.schedule-card .location a:hover,
.schedule-card .location a:focus-visible {
  color: var(--text);
}

.search-field input {
  width: min(360px, 100%);
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.8);
  color: var(--text);
  padding: 0 18px;
}

.glossary-grid {
  gap: 24px;
}

.glossary-section {
  display: grid;
  gap: 14px;
}

.glossary-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glossary-term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.glossary-card {
  display: grid;
  gap: 8px;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(15, 19, 25, 0.82);
}

.glossary-card p {
  margin: 0;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 24px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
}

.leadership-panel {
  display: grid;
  align-content: start;
  gap: 12px;
}

.resource-link {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.resource-grid {
  margin-top: 8px;
}

.resource-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.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;
}

@media (max-width: 1080px) {
  .hero,
  .mission-strip,
  .section-heading,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }

  .principles,
  .three-up,
  .steps,
  .resource-grid,
  .schedule-grid,
  .glossary-term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-shell {
    padding: 16px;
  }

  .site-header {
    top: 10px;
    align-items: flex-start;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(10, 12, 16, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .mission-strip,
  .section-block,
  .site-footer {
    padding: 24px;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.9rem);
    max-width: 100%;
  }

  .hero-line-wide {
    white-space: normal;
  }

  .hero-stats,
  .principles,
  .three-up,
  .steps,
  .resource-grid,
  .schedule-grid,
  .glossary-term-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
