/* =================================================================
   GIT RIGHT — Sports Performance
   Global stylesheet
   -----------------------------------------------------------------
   1.  Design tokens (CSS variables)
   2.  Reset & base
   3.  Typography helpers
   4.  Buttons
   5.  Layout: container & sections
   6.  Header / navigation
   7.  Hero
   8.  Feature rows & icons
   9.  Cards (training options / mental / management)
   10. Check lists
   11. Testimonials
   12. Apply form
   13. Camo CTA bands
   14. Footer
   15. Reveal animation
   16. Responsive
   ================================================================= */

/* ---------- 1. Design tokens ------------------------------------ */
:root {
  --bg:        #0d0d0d;
  --bg-2:      #141414;
  --bg-3:      #1a1a1a;
  --card:      #161616;
  --card-2:    #1e1e1e;
  --line:      #2b2b2b;
  --line-soft: #232323;

  --accent:      #d4f500;   /* signature lime-chartreuse */
  --accent-deep: #b9d600;
  --logo:        #f2ec00;   /* pure wordmark yellow      */

  --white:  #ffffff;
  --text:   #ededed;
  --muted:  #9a9a9a;
  --muted-2:#bcbcbc;

  --maxw: 1180px;
  --pad:  clamp(20px, 5vw, 64px);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-label:   "Oswald", sans-serif;
  --font-body:    "Barlow", system-ui, sans-serif;
}

/* ---------- 2. Reset & base ------------------------------------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* Icon SVGs always fill their (fixed-size) container — prevents
   unconstrained inline SVGs from ballooning in non-Chromium browsers. */
.ic svg { width: 100%; height: 100%; display: block; }
.ic { min-width: 0; }

::selection { background: var(--accent); color: #111; }

/* ---------- 3. Typography helpers ------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.display .white  { color: var(--white); display: block; }
.display .accent { color: var(--accent); display: block; }

.eyebrow {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-size: 0.82rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.5px;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1;
}

.lede {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  line-height: 1.25;
}
.lede.accent { color: var(--accent); }

.muted { color: var(--muted); }

/* ---------- 4. Buttons ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.95rem;
  padding: 0.95em 1.7em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.1em; height: 1.1em; }

.btn--solid {
  background: var(--accent);
  color: #101010;
}
.btn--solid:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(212,245,0,.6);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #101010;
  transform: translateY(-2px);
}

.btn--sm { padding: 0.7em 1.25em; font-size: 0.82rem; letter-spacing: 1px; }

/* ---------- 5. Layout: container & sections -------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section        { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(40px, 6vw, 70px); }
.section--alt   { background: var(--bg-2); }
.section--line  { border-top: 1px solid var(--line-soft); }
.section--line-alt  { border-top: 1px solid var(--line-soft); background: url("../images/camo-dark.jpg"); }

/* ---------- 6. Header / navigation ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: url("../images/camo-dark.jpg");
  /* background: linear-gradient(rgba(10,11,7,.72), rgba(10,11,7,.72)), url("../images/camo-dark.jpg"); */
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(0,0,0,.6);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,.9);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}
.brand { flex: 0 0 auto; }
.brand img { height: 42px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  color: var(--white);
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
  transition: color .15s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover,
.nav-links li:not(.nav-cta) > a[aria-current="page"] { color: var(--accent); }
.nav-links a:hover::after,
.nav-links li:not(.nav-cta) > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta a:hover { color: #101010; }

.nav-cta { margin-left: 4px; }

/* hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  position: relative;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after  { position: absolute; top:  8px; }
.nav-toggle.open span               { background: transparent; }
.nav-toggle.open span::before        { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span::after         { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 7. Hero -------------------------------------------- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 80px);
}
.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  margin-bottom: 1.1rem;
}
.hero-copy { max-width: 46ch; min-width: 0; }
.hero-copy .lede { margin-bottom: 1.1rem; }
.hero-copy p.muted { font-size: 1.02rem; max-width: 40ch; }
.hero-cta { margin-top: 1.8rem; display: flex; gap: 14px; flex-wrap: wrap; }

/* hero image with cinematic blend into the dark bg */
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(13,13,13,0) 30%),
              linear-gradient(0deg, rgba(13,13,13,.35), rgba(13,13,13,0) 40%);
  pointer-events: none;
}

/* full-bleed hero variant (image as background) */
.hero--bleed { min-height: 70vh; display: flex; align-items: center; }
.hero--bleed .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero--bleed .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  /*background: linear-gradient(90deg, rgba(13,13,13,.96) 0%, rgba(13,13,13,.72) 42%, rgba(13,13,13,.35) 100%);*/
}
.hero--bleed .container { position: relative; z-index: 2; }
.hero--bleed .hero-copy { max-width: 52ch; }

/* ---------- 8. Feature rows & icons ---------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 30px) clamp(30px, 6vw, 80px);
  margin-top: 2.2rem;
}
.feature {
  display: flex;
  align-items: center;
  gap: 18px;
}
.feature .ic {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  color: var(--accent);
}
.feature .ic svg { width: 100%; height: 100%; }
.feature .label {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: var(--white);
}

/* list-style feature (mental / management): icon + title + sub */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px) clamp(40px, 7vw, 90px);
  margin-top: 2.4rem;
}
.feature-list.one-col { grid-template-columns: 1fr; max-width: 720px; }
.feat-item { display: flex; gap: 20px; align-items: flex-start; }
.feat-item .ic { flex: 0 0 auto; width: 46px; height: 46px; color: var(--accent); }
.feat-item h3 {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-size: 1.18rem;
  margin-bottom: 2px;
}
.feat-item p { color: var(--muted-2); font-size: 0.98rem; }

/* ---------- 9. Cards ------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 2.4rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 30px 22px;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: var(--card-2);
}
.card .badge {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent);
}
.card .badge svg { width: 32px; height: 32px; }
.card h3 {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- 10. Check lists ------------------------------------ */
.check-list { list-style: none; margin-top: 1.6rem; display: grid; gap: 16px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  font-size: 1rem;
}
.check-list .ic { flex: 0 0 auto; width: 26px; height: 26px; color: var(--accent); margin-top: 1px; }

/* big boxed check list (nutrition) */
.check-list--lg li { font-size: 1.05rem; gap: 18px; align-items: center; }
.check-list--lg .ic { width: 34px; height: 34px; }

/* ---------- 11. Testimonials ----------------------------------- */
.divider-title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  text-align: center;
}
.divider-title::before,
.divider-title::after {
  content: ""; height: 3px; width: 46px; background: var(--accent);
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 2.4rem;
}
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px 22px 22px;
  position: relative;
}
.quote .mark {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 2.6rem;
  line-height: 0.6;
  display: block;
  margin-bottom: 12px;
}
.quote p { color: var(--muted-2); font-size: 0.95rem; margin-bottom: 16px; }
.quote cite {
  font-family: var(--font-label);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-size: 0.82rem;
}

/* ---------- 12. Apply form ------------------------------------- */
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.form-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
}
.form-card h2 {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 22px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  font-size: 0.8rem;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0e0e0e;
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,245,0,.18);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4f500' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px;
}
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 14px; text-align: center; }

/* ---------- 13. Camo CTA bands --------------------------------- */
.cta-band {
  position: relative;
  background: url("../images/camo-band.jpg");
  /* background: linear-gradient(rgba(8,9,5,.62), rgba(8,9,5,.62)), url("../images/camo-band.jpg"); */
  background-size: cover;
  background-position: center;
  border-block: 1px solid rgba(0,0,0,.5);
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: clamp(28px, 4vw, 44px);
}
.cta-band .cta-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  line-height: 1;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  flex: 1 1 auto;
}
.cta-band .container > .btn { flex: 0 0 auto; }
.cta-band .cta-text .accent { color: var(--accent); }

/* centered, stacked variant */
.cta-band--center { text-align: center; }
.cta-band--center .container { flex-direction: column; }
.cta-band--center .cta-sub {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  font-size: clamp(.95rem, 2vw, 1.15rem);
}

/* ---------- 14. Footer ----------------------------------------- */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--line);
  padding-block: 48px 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 34ch; font-size: 0.92rem; }
.footer-nav { display: flex; gap: clamp(30px, 6vw, 70px); flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.contact {
  font-size: 3em;
  color: #fff;
}
.footer-col a {
  display: block;
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-2);
  font-size: 0.85rem;
  padding: 5px 0;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-label);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- 15b. Home page (Train Anywhere) ------------------- */
.home-hero { position: relative; background: var(--bg); overflow: hidden; }
.home-hero-media {
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background-size: cover; background-position: center 18%;
}
.home-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 2%, rgba(13,13,13,.5) 32%, rgba(13,13,13,0) 72%),
              linear-gradient(0deg, rgba(13,13,13,.55), rgba(13,13,13,0) 32%);
}
.home-hero .container { position: relative; z-index: 2; }
.home-hero-copy { max-width: 720px; padding-block: clamp(40px, 6vw, 82px); }
.home-hero-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.1rem; }

.hero-checks {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 11px 26px; margin: 1.5rem 0 2rem; max-width: 520px;
}
.hero-checks li {
  display: flex; align-items: center; gap: 10px; list-style: none;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; font-size: 0.82rem; color: var(--text);
}
.hero-checks .ic { flex: 0 0 auto; width: 18px; height: 18px; color: var(--accent); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* trusted-by strip */
.trusted { background: #0a0a0a; border-block: 1px solid var(--line); padding-block: 30px; }
.trusted .eyebrow { display: block; text-align: center; color: var(--muted-2); margin-bottom: 22px; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 20px); flex-wrap: wrap; }
.trust-row .mark {
  font-family: var(--font-display); letter-spacing: 1px; color: #e9e9e9;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem); line-height: 1; text-align: center;
}
.trust-row .mark small {
  display: block; font-family: var(--font-label); font-weight: 500;
  font-size: 0.46em; letter-spacing: 2px; color: var(--muted); margin-top: 4px;
}
.trust-row .sep { width: 1px; height: 30px; background: var(--line); }

/* what we do */
.do-sub {
  text-align: center; font-family: var(--font-label); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; color: var(--muted-2); margin-top: 8px;
}
.do-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 2.6rem; }
.do-card {
  background: var(--card); border: 1px solid var(--line);
  padding: 32px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.do-card:hover { border-color: var(--accent); transform: translateY(-4px); background: var(--card-2); }
.do-card .ic { width: 50px; height: 50px; color: var(--accent); margin-bottom: 16px; }
.do-card .ic svg { width: 100%; height: 100%; }
.do-card h3 {
  font-family: var(--font-display); text-transform: uppercase; color: var(--white);
  font-size: 1.05rem; line-height: 1.05; letter-spacing: .5px; margin-bottom: 10px;
}
.do-card p { color: var(--muted); font-size: 0.86rem; }

/* ---------- 15d. Team profiles (About page) ------------------- */
.profile {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.profile + .profile { margin-top: clamp(48px, 7vw, 88px); }
.profile-media { position: relative; }
.profile-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.85);
}
.profile-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 4px; background: var(--accent);
}
.profile-role {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); font-size: 0.8rem; margin-bottom: 8px;
}
.profile-name {
  font-family: var(--font-display); text-transform: uppercase; color: var(--white);
  font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1; letter-spacing: .5px; margin-bottom: 6px;
}
.profile-sub {
  font-family: var(--font-label); font-weight: 500; text-transform: uppercase;
  letter-spacing: 1px; color: var(--muted-2); font-size: 0.9rem; margin-bottom: 18px;
}
.profile-bio p { color: var(--muted-2); margin-bottom: 14px; }
.profile-bio p:last-child { margin-bottom: 0; }
.profile-bio .pull { color: var(--white); font-weight: 500; }
.profile-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none;
}
.profile-tags li {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; font-size: 0.72rem; color: var(--accent);
  border: 1px solid var(--line); padding: 6px 12px; background: var(--card);
}
.profile.reverse .profile-media { order: 2; }

@media (max-width: 860px) {
  .profile, .profile.reverse { grid-template-columns: 1fr; }
  .profile.reverse .profile-media { order: -1; }
  .profile-media img { max-height: 480px; }
}

/* ---------- 15c. Reveal animation (moved below) --------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- 16. Responsive ------------------------------------- */
@media (max-width: 1080px) {
  .nav-links { gap: clamp(10px, 1.6vw, 20px); }
  .nav-links a { font-size: 0.76rem; letter-spacing: 1px; }
}

@media (max-width: 980px) {
  .card-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-height: 360px; }
  .hero-media img { max-height: 360px; }
  .apply-grid { grid-template-columns: 1fr; }

  /* home hero stacks: photo becomes a top banner */
  .home-hero-media { position: relative; width: 100%; height: 300px; }
  .home-hero-media::after {
    background: linear-gradient(0deg, var(--bg) 3%, rgba(13,13,13,.15) 55%, rgba(13,13,13,0) 100%);
  }
  .home-hero-copy { padding-top: 26px; max-width: none; }
  .do-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10,11,7,.97);
    border-top: 1px solid var(--line);
    padding: 8px 0;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 520px; }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links a { display: block; padding: 14px var(--pad); }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 10px var(--pad); }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .feature-grid, .feature-list { grid-template-columns: 1fr; }
  .feature-list.one-col { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .card-grid, .quote-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-band .cta-text { text-align: center; }
  .do-grid { grid-template-columns: 1fr; }
  .hero-checks { grid-template-columns: 1fr; }
}
