/* Brandon Hanks Racing — static deploy (FLYNN) */

/* Global design tokens — one heading family, one body family, 5 core colors (FLYNN static / Nicepage-block model) */
:root {
  --color-ink: #0c0c0c;
  --color-surface: #f7f7f5;
  --color-surface-dark: #141414;
  --color-surface-dark-2: #1e1e1e;
  --color-accent: #b8ff2b;
  --color-accent-muted: #8bc80a;
  --color-accent-warm: #ff9a3c;
  --color-muted: #6b6b6b;
  --color-inverse: #ffffff;

  --ink: var(--color-ink);
  --paper: var(--color-surface);
  --track: var(--color-surface-dark);
  --track-2: var(--color-surface-dark-2);
  --lime: var(--color-accent);
  --lime-dim: var(--color-accent-muted);
  --amber-glow: var(--color-accent-warm);
  --white: var(--color-inverse);
  --muted: var(--color-muted);

  --font-heading: "Oswald", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: var(--font-heading);

  --prose-line-height: 1.6;
  --prose-max: 62ch;
  --section-pad-y: clamp(2.75rem, 6vw, 3.75rem);
  --section-pad-x: 1.25rem;

  --max: 1120px;
  --shadow-lime: 0 0 24px rgba(139, 200, 10, 0.38);
  --shadow-amber: 0 0 28px rgba(255, 154, 60, 0.45);

  /* Fixed site header: hero / masthead imagery extends to viewport top underneath */
  --site-header-h: 4.35rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: var(--prose-line-height);
  color: var(--ink);
  background: var(--paper);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

a {
  color: var(--lime-dim);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--amber-glow);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--lime-dim);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: calc(1rem + var(--site-header-h));
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 20, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

@media (max-width: 960px) {
  .site-header {
    backdrop-filter: none;
    background: var(--track);
  }
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--white);
}

.brand-lockup:hover {
  color: var(--white);
}

.brand-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--white);
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

#primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#primary-nav a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 6px;
}

#primary-nav a:hover,
#primary-nav a.is-active {
  color: var(--track);
  background: var(--lime-dim);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta a {
  background: var(--lime-dim);
  color: var(--track) !important;
  box-shadow: 0 0 20px rgba(139, 200, 10, 0.38);
}

.nav-cta a:hover {
  background: var(--amber-glow);
  color: var(--ink) !important;
  box-shadow: var(--shadow-amber);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  #primary-nav {
    position: fixed;
    inset: 0;
    top: var(--site-header-h);
    background: var(--track);
    padding: 1rem 1.25rem 2rem;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    overflow-y: auto;
    z-index: 40;
  }

  body.nav-open #primary-nav {
    transform: translateX(0);
  }

  #primary-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  #primary-nav a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #primary-nav {
    transition: none;
  }
}

.hero {
  position: relative;
  min-height: min(88vh, 920px);
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--track);
}

/* Photo area: clipping window; wording scrolls — bg uses viewport-fixed paint (desktop) */
.hero--parallax {
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: var(--track);
  background-image: url("../../images/hanks-84-pace-lap-hero-2024.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* scroll: bg moves with block (narrow / touch); fixed: visually still vs viewport behind text */
  background-attachment: scroll;
}

@media (min-width: 769px) {
  .hero-bg {
    background-attachment: fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    background-attachment: scroll !important;
  }
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.15) 0%,
    rgba(12, 12, 12, 0.55) 45%,
    rgba(12, 12, 12, 0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  /* Clear fixed header; keeps #84 / headline from sitting under the bar */
  padding: calc(var(--site-header-h) + 2.85rem) 1.25rem 4rem;
  width: 100%;
  display: grid;
  gap: 1.75rem;
  align-items: end;
}

@media (min-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    column-gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: calc(var(--site-header-h) + 3.25rem) 1.25rem 4.5rem;
  }

  .hero-aside {
    justify-self: end;
    align-self: end;
    text-align: right;
  }
}

.hero-copy {
  min-width: 0;
}

.number-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
}

.number-hash {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--lime);
  text-shadow: 0 0 40px rgba(184, 255, 43, 0.4);
}

.number-main {
  font-size: clamp(4.5rem, 14vw, 10rem);
  line-height: 0.92;
  color: var(--lime);
  text-shadow:
    -3px -3px 0 #000,
    3px -3px 0 #000,
    -3px 3px 0 #000,
    3px 3px 0 #000,
    0 0 42px rgba(184, 255, 43, 0.45);
}

@media (min-width: 900px) {
  /* Larger #84 on desktop (was capping smaller than mobile). */
  .hero-aside .number-main {
    font-size: clamp(4rem, 11.5vw, 7.75rem);
  }

  .hero-aside .number-hash {
    font-size: clamp(2.35rem, 5.25vw, 3.85rem);
  }
}

.hero h1,
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  letter-spacing: 0.02em;
  line-height: 1.08;
  max-width: none;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 0.2em;
}

.hero-lead {
  margin: clamp(1rem, 2.2vw, 1.4rem) 0 0;
  max-width: min(52ch, 100%);
  font-size: clamp(1.18rem, 2.45vw, 1.48rem);
  line-height: 1.58;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  text-align: justify;
  hyphens: auto;
  overflow-wrap: break-word;
}

.hero-lead .keyword-em {
  font-weight: 700;
  color: var(--white);
}

.section .keyword-em {
  font-weight: 700;
  color: var(--ink);
}

.section-dark .keyword-em {
  font-weight: 700;
  color: var(--lime-dim);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 899px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    order: -1;
    justify-self: start;
    text-align: left;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--lime-dim);
  color: var(--ink);
  box-shadow: 0 0 22px rgba(139, 200, 10, 0.42);
}

.btn-primary:hover {
  background: var(--amber-glow);
  color: var(--ink);
  box-shadow: var(--shadow-amber);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--lime-dim);
  color: var(--lime-dim);
}

.section {
  padding: 3.5rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

/* Centered intro + embed column (featured video block) */
.section-inner--center {
  text-align: center;
}

.section-inner--center .section-title {
  margin-left: auto;
  margin-right: auto;
}

.section-inner--center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Driver opportunity band: title + lead span full `.section-inner` width; citations bottom-left */
.section-inner--driver-opportunity.section-inner--center .section-title,
.section-inner--driver-opportunity.section-inner--center .section-lead {
  max-width: none;
  width: 100%;
}

.section-inner--driver-opportunity .driver-opportunity__lead {
  margin-bottom: 1rem;
}

/* Source links under sponsor stats (driver-profile band) */
.section-inner--driver-opportunity.section-inner--center .cite-footnotes {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  width: 100%;
  max-width: none;
  text-align: left;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(17, 24, 39, 0.88);
}

.section-inner--driver-opportunity.section-inner--center .cite-footnotes a {
  color: var(--lime-dim);
  font-weight: 600;
  word-break: break-word;
}

.section-inner--driver-opportunity.section-inner--center .cite-footnotes a:hover {
  color: var(--ink);
}

.section-inner--narrow {
  max-width: 640px;
  margin: 0 auto;
}

.section-dark {
  background: var(--track-2);
  color: rgba(255, 255, 255, 0.92);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark a {
  color: var(--lime-dim);
}

.section-dark a:hover {
  color: var(--amber-glow);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
}

.section-lead {
  margin: 0 0 1.5rem;
  max-width: 62ch;
  color: var(--muted);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .split-2 {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .split--podcast-partners.split-2 {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.82fr);
    gap: clamp(1.25rem, 3.2vw, 2rem);
    align-items: stretch;
  }
}

.podcast-panel--stretch {
  box-sizing: border-box;
  height: 100%;
}

.podcast-partners-strip.np-section--fill .np-section__wrap {
  padding-top: clamp(4.5rem, 11vw, 7.75rem);
  padding-bottom: clamp(4.5rem, 11vw, 7.75rem);
}

.podcast-partners-strip .bundle-partners-block .section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.35vw, 1.58rem);
  line-height: 1.2;
}

.podcast-partners-strip .bundle-partners-block .section-lead {
  margin: 0 0 0.85rem;
  max-width: none;
  font-size: 0.92rem;
  line-height: 1.45;
}

.podcast-partners-strip .link-list.link-list--partner-offers {
  gap: 0.5rem;
}

.podcast-partners-strip .link-list.link-list--partner-offers a {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.78rem;
  font-weight: 600;
  font-size: unset;
  line-height: 1.35;
}

.podcast-partners-strip .link-list.link-list--partner-offers .link-list-offer-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  line-height: 1.28;
}

.podcast-partners-strip .link-list.link-list--partner-offers .link-list-offer-desc {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.38;
  color: var(--muted);
}

.podcast-partners-strip .podcast-partners-involve {
  margin-top: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 0;
  width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.podcast-partners-strip .podcast-partners-involve__title {
  margin-bottom: 1rem;
  color: var(--white);
}

.podcast-partners-strip .podcast-partners-involve__lead {
  margin: 0 auto;
  max-width: min(58ch, 100%);
  color: rgba(255, 255, 255, 0.8);
}

.podcast-partners-strip .podcast-partners-involve__lead .keyword-em {
  font-weight: 700;
  color: var(--lime-dim);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.75);
}

.podcast-panel {
  border-left: 4px solid var(--lime-dim);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: linear-gradient(90deg, rgba(139, 200, 10, 0.18), transparent);
  border-radius: 0 12px 12px 0;
}

.podcast-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--lime-dim);
  margin: 0 0 0.35rem;
}

.podcast-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.45rem, 2.95vw, 2.05rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.np-section--fill-dark .podcast-title {
  color: var(--white);
}

.section-dark .podcast-title {
  color: var(--white);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.logo-pill {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.np-section--fill-dark .supporter-brands-label {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.np-section--fill-dark .supporter-brands-run {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.04em;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

/* Brands-with-#84 band: centered copy full container width; CTA row inline with “Your brand…” */
.supporter-footprint-section.section-inner--center {
  text-align: center;
}

.supporter-footprint-section.section-inner--center .supporter-footprint-intro .section-title,
.supporter-footprint-section.section-inner--center .supporter-footprint-intro .section-lead,
.supporter-footprint-section.section-inner--center .supporter-footprint-intro .supporter-brands-label,
.supporter-footprint-section.section-inner--center .supporter-footprint-intro .supporter-brands-run {
  max-width: none;
  width: 100%;
}

.supporter-footprint-intro .supporter-footprint-intro__close {
  margin-bottom: 0;
}

.supporter-footprint-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2rem);
  margin-top: clamp(2.25rem, 6vw, 3.25rem);
  width: 100%;
}

.supporter-footprint-cta-copy {
  flex: 1 1 min(100%, 26rem);
  min-width: min(100%, 260px);
  text-align: center;
}

.supporter-footprint-cta-copy .section-title {
  margin-top: 0;
}

.supporter-footprint-cta-copy .supporter-footprint-cta-lead {
  margin-bottom: 0;
  max-width: none;
}

.supporter-footprint-cta-band .supporter-footprint-actions.hero-actions {
  flex: 0 1 auto;
  margin-top: 0;
  justify-content: center;
}

/* White panel = podcast strip `.link-list--partner-offers a` card treatment */
.np-section--fill-dark .supporter-footprint-cta-band--boxed {
  background: var(--white);
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-radius: 10px;
  padding: clamp(1rem, 2.6vw, 1.35rem) clamp(1.05rem, 2.8vw, 1.25rem);
  box-sizing: border-box;
}

.np-section--fill-dark .supporter-footprint-cta-band--boxed .supporter-footprint-cta-copy .section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 2.35vw, 1.58rem);
  line-height: 1.2;
  color: var(--ink);
}

.np-section--fill-dark .supporter-footprint-cta-band--boxed .supporter-footprint-cta-lead {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.np-section--fill-dark .supporter-footprint-cta-band--boxed .keyword-em {
  color: var(--lime-dim);
}

.cta-strip {
  margin-top: 2rem;
  padding: 1.5rem 1.25rem;
  border-radius: 12px;
  background: var(--track);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-strip p {
  margin: 0;
  max-width: 48ch;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.link-list a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.link-list a:hover {
  border-color: var(--lime-dim);
  box-shadow: 0 0 20px rgba(139, 200, 10, 0.28);
}

.link-list span.meta {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.tier-table th,
.tier-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.tier-table th {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(139, 200, 10, 0.16);
  color: var(--white);
}

.tier-table td {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* sponsors.html · quick nav · placement table · intake (FLYNN) */
.sponsors-quick-nav {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.sponsors-quick-nav a {
  color: var(--lime-dim);
  text-decoration: none;
}

.sponsors-quick-nav a:hover,
.sponsors-quick-nav a:focus-visible {
  color: var(--amber-glow);
  text-decoration: underline;
}

.sponsors-quick-nav__sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.masthead-inline-link {
  color: var(--lime-dim);
  text-underline-offset: 2px;
}

.masthead-inline-link:hover,
.masthead-inline-link:focus-visible {
  color: var(--amber-glow);
}

.tier-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
}

.tier-table--sponsors {
  min-width: 520px;
}

.tier-table-muted {
  font-size: 0.82rem;
  opacity: 0.78;
  font-weight: 400;
}

.cta-strip-inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--lime-dim);
}

.cta-strip-inline-link:hover,
.cta-strip-inline-link:focus-visible {
  color: var(--amber-glow);
}

.sponsor-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 3vw, 1.35rem);
  margin-top: 1rem;
}

.media-kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 3vw, 1.25rem);
  margin-top: 1.25rem;
}

.media-kit-card {
  padding: clamp(1rem, 2.5vw, 1.2rem);
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
}

.media-kit-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.media-kit-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.52;
}

.media-kit-card--wide {
  grid-column: 1 / -1;
}

.sponsor-today-title {
  text-align: center;
  margin-bottom: 0.85rem !important;
}

.sponsor-today-flag {
  display: block;
  font-size: clamp(1rem, 2.8vw, 1.38rem);
  letter-spacing: 0.06em;
  color: var(--lime-dim);
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 0.35rem;
}

.sponsor-email-link {
  color: inherit;
}

.sponsor-intake-card {
  margin-top: 1.5rem;
  padding: clamp(1.35rem, 3.5vw, 1.75rem);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sponsor-intake-note {
  margin: 0 0 1.15rem;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.9);
}

.sponsor-intake-note a {
  color: var(--lime-dim);
}

.sponsor-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
}

.sponsor-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.38rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.sponsor-field input,
.sponsor-field select,
.sponsor-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.72rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
}

.sponsor-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.sponsor-field--full {
  margin-top: 1rem;
}

.sponsor-required-hint {
  margin: 1rem 0 0;
  opacity: 0.75;
  color: rgba(255, 255, 255, 0.65);
}

.sponsor-intake-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.sponsor-status {
  min-height: 1.4em;
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--lime-dim);
}

.terms-box {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.65);
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
}

/* Fixed back-to-top (BACK-TOP-FLYNN-01): not inside <main>; paints above sections */
.back-to-top-wrap {
  position: fixed;
  right: clamp(60px, 5vw + 48px, 100px);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: auto;
  top: auto;
  z-index: 60;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.back-to-top-wrap.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.nav-open .back-to-top-wrap {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top-wrap {
    transition-property: opacity, visibility;
    transition-duration: 0.14s;
    transform: translateY(0);
  }

  .back-to-top-wrap.is-visible {
    transform: translateY(0);
  }
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  width: fit-content;
  max-width: none;
}

.back-to-top img {
  display: block;
  width: min(56px, 12vw);
  height: auto;
}

.back-to-top-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(12, 12, 12, 0.88);
  border: 1px solid rgba(139, 200, 10, 0.42);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.back-to-top-button:hover {
  background: var(--lime-dim);
  border-color: var(--lime-dim);
  box-shadow: 0 0 20px rgba(139, 200, 10, 0.35);
}

.back-to-top-button:focus-visible {
  outline: 3px solid var(--amber-glow);
  outline-offset: 3px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-stack {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.footer-legal {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--lime-dim);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--lime-dim);
}

/* Featured video (Facebook embed) */
.embed-fb {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(12, 12, 12, 0.1);
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.embed-fb iframe {
  display: block;
  width: 100%;
  min-height: min(56.25vw, 420px);
  border: 0;
}

/* np-section — one <section> = one Nicepage-style block (own bg + containment; reorder moves whole stack) */
.np-section {
  position: relative;
  overflow: hidden;
}

.np-section__wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Why IHRA — KW-BG-FX-01 `.np-section__parallax-bg` + scrim div (mirror `.hero-bg` / `.hero-overlay`). */
.np-section--why-ihra {
  isolation: isolate;
  color: rgba(255, 255, 255, 0.92);
  min-height: clamp(440px, 56vh, 780px);
}

.np-section--why-ihra .np-section__parallax-bg {
  z-index: 0;
  background-color: var(--track);
  background-image:
    url("../../images/why-ihra-stock-car-racing-section-bg.jpg"),
    url("../../images/gfb6154cc119a18deb18f2ea073d9c2c9c02576004101724cb8149973ce0804d02534abe75ebfedf71000c9e4b5d85416_1280.jpg"),
    url("../../images/hanks-84-pace-lap-hero-2024.jpg");
}

.np-section--why-ihra-scrim {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.76);
}

.np-section--why-ihra .np-section__wrap {
  position: relative;
  z-index: 10;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.np-section--why-ihra .section-title {
  color: var(--white);
}

.np-section--why-ihra .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.np-section--why-ihra .keyword-em {
  font-weight: 700;
  color: var(--lime-dim);
}

.np-section--why-ihra .why-ihra-portrait {
  margin: 1.25rem 0 0;
  width: min(288px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}

.np-section--why-ihra .why-ihra-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.np-section--why-ihra .card.card--glass-dark {
  background: rgba(22, 22, 22, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  .np-section--why-ihra .card.card--glass-dark {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(22, 22, 22, 0.84);
  }
}

.np-section--why-ihra .card.card--glass-dark h3 {
  color: var(--white);
}

.np-section--why-ihra .card.card--glass-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.np-section--why-ihra .card.card--glass-dark ul.card-list {
  margin: 0.65rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.np-section--why-ihra .card.card--glass-dark ul.card-list li + li {
  margin-top: 0.35rem;
}

.np-section--why-ihra .card.card--glass-dark .keyword-em {
  color: var(--lime-dim);
}

.np-section--hero .np-section__wrap {
  padding: 0;
}

.np-section--fill .np-section__wrap {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.np-section--fill-gradient-dark {
  background: linear-gradient(180deg, var(--track-2) 0%, #0f0f0f 55%, var(--track) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.np-section--fill-gradient-dark .section-title {
  color: var(--white);
}

.np-section--fill-gradient-dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.np-section--fill-gradient-dark .keyword-em {
  font-weight: 700;
  color: var(--lime-dim);
}

.np-section--fill-gradient-dark a:not(.btn) {
  color: var(--lime-dim);
}

.np-section--fill-gradient-dark a:not(.btn):hover {
  color: var(--amber-glow);
}

.np-section--fill-paper {
  background: var(--paper);
  color: var(--ink);
}

.np-section--fill-paper .keyword-em {
  font-weight: 700;
  color: var(--lime-dim);
}

/* Inline links on paper/light prose — unified lighter green (--lime-dim); hover to ink */
.np-section--fill-paper a:not(.btn),
.np-section--fill-paper .media-kit-grid a:not(.btn) {
  color: var(--lime-dim);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.np-section--fill-paper a:not(.btn):hover,
.np-section--fill-paper a:not(.btn):focus-visible {
  color: var(--ink);
}

.tier-panel-shell .tier-card__title + .tier-card__desc {
  color: var(--muted);
}

.np-section--fill-dark {
  background: var(--track-2);
  color: rgba(255, 255, 255, 0.92);
}

.np-section--fill-dark .section-title,
.np-section--fill-dark h2 {
  color: var(--white);
}

.np-section--fill-dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.np-section--fill-dark a:not(.btn) {
  color: var(--lime-dim);
}

.np-section--fill-dark a:not(.btn):hover {
  color: var(--amber-glow);
}

/* White inset cards inside dark bands (e.g. sponsors “why racing”) — links must beat rule above */
.np-section--fill-dark.np-section--text-on-dark .card a:not(.btn),
.np-section--fill-dark .np-section--text-on-dark .card a:not(.btn) {
  color: var(--lime-dim);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.np-section--fill-dark.np-section--text-on-dark .card a:not(.btn):hover,
.np-section--fill-dark.np-section--text-on-dark .card a:not(.btn):focus-visible {
  color: var(--ink);
}

.np-section--fill-dark.np-section--text-on-dark .card .keyword-em,
.np-section--fill-dark .np-section--text-on-dark .card .keyword-em {
  color: var(--lime-dim);
}

.np-section--text-on-dark .card a:not(.btn) {
  color: var(--lime-dim);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.np-section--text-on-dark .card a:not(.btn):hover,
.np-section--text-on-dark .card a:not(.btn):focus-visible {
  color: var(--ink);
}

.np-section--text-on-dark .card .keyword-em {
  color: var(--lime-dim);
}

.np-section--parallax {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(36vh, 420px);
}

.np-section--parallax-md {
  min-height: min(44vh, 540px);
}

.np-section--parallax-tall {
  min-height: min(58vh, 700px);
}

.np-section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.np-section__parallax-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media (min-width: 769px) {
  .np-section__parallax-bg {
    background-attachment: fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-section__parallax-bg {
    background-attachment: scroll !important;
  }
}

/* Brand placement tiers — KW-BG-FX-01: hero.jpg only, fixed + script nudge; white scrim sibling (race-program). */
.np-section--brand-placement {
  position: relative;
  isolation: isolate;
  /* No overflow:hidden on section — owner's standard is viewport-fixed photo + KW-BG subtle Y shift. */
  min-height: clamp(380px, 52vh, 720px);
  color: var(--ink);
}

.np-section--brand-placement .np-section__brand-placement-bg {
  background-color: var(--paper);
  /* background-image set in index.html — docrelative `images/*`, same pattern as `.hero-bg` */
  background-position: center center;
}

.np-section--brand-placement-scrim-white {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0.5);
}

.np-section__wrap--brand-placement {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-pad-y) var(--section-pad-x);
  min-height: inherit;
}

.tier-panel-shell {
  width: min(1040px, 100%);
  margin-inline: auto;
  padding: clamp(1.5rem, 3.8vw, 2.65rem);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .tier-panel-shell {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.72);
  }
}

.tier-panel-shell .section-title {
  margin-bottom: clamp(1.1rem, 3vw, 1.75rem);
  color: var(--ink);
}

.tier-cards-inline {
  display: grid;
  gap: clamp(1rem, 2.8vw, 1.35rem);
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 768px) {
  .tier-cards-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.2vw, 1.5rem);
  }
}

.tier-card {
  margin: 0;
}

.tier-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(0.82rem, 1.45vw, 0.98rem);
  line-height: 1.25;
  margin: 0 0 0.55rem;
  color: var(--lime-dim);
}

.tier-card__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.np-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.np-section__overlay--dark {
  background: linear-gradient(
    165deg,
    rgba(12, 12, 12, 0.5) 0%,
    rgba(12, 12, 12, 0.78) 55%,
    rgba(12, 12, 12, 0.9) 100%
  );
}

.np-section__overlay--dark-deep {
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.7) 0%,
    rgba(12, 12, 12, 0.9) 100%
  );
}

.np-section--parallax .np-section__wrap {
  padding: clamp(2.5rem, 7vw, 4rem) var(--section-pad-x);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.np-section--text-on-dark .section-title,
.np-section--text-on-dark .podcast-title {
  color: rgba(255, 255, 255, 0.96);
}

.np-section--text-on-dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.np-section--text-on-dark a:not(.btn) {
  color: var(--lime-dim);
}

.np-section--text-on-dark a:not(.btn):hover {
  color: var(--amber-glow);
}

.np-section--text-on-dark .card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.np-section--text-on-dark .card p {
  color: var(--muted);
}

.np-quote {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  max-width: var(--prose-max);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.np-quote .keyword-em {
  font-weight: 700;
  font-style: normal;
  color: var(--lime-dim);
}

.np-quote--ink {
  color: var(--ink);
  text-shadow: none;
}

/* Home closing strip — kicker + section heading */
.closing-strip-kicker {
  margin: 0 auto 0.5rem;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.65vw, 1rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.closing-strip-heading.section-title {
  margin: 0 auto;
  max-width: min(100%, 52ch);
  font-size: clamp(1.35rem, 3.6vw, 2.35rem);
  line-height: 1.12;
}

.closing-strip-heading-link {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.18s ease,
    text-shadow 0.18s ease;
}

@media (hover: hover) {
  .closing-strip-heading-link:hover {
    color: var(--lime-dim);
    text-shadow:
      0 0 14px rgba(139, 200, 10, 0.55),
      0 0 32px rgba(139, 200, 10, 0.35),
      0 0 48px rgba(139, 200, 10, 0.22);
  }
}

.closing-strip-heading-link:focus-visible {
  outline: 3px solid var(--lime-dim);
  outline-offset: 5px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .closing-strip-heading-link {
    transition: none;
  }
}

.np-tagline-dark {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
}

.np-profile-split {
  align-items: center;
}

.np-profile-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(12, 12, 12, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.np-profile-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.page-masthead {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(52vh, 560px);
}

.page-masthead .np-section__wrap {
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-top: calc(var(--site-header-h) + clamp(4rem, 11vw, 6.75rem));
}

.page-masthead__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

.page-masthead__lead {
  margin: 0;
  font-size: 1.1rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.86);
}

.page-masthead__lead .keyword-em {
  font-weight: 700;
  color: var(--lime-dim);
}

@media (min-width: 880px) {
  .np-section .split.split-2 {
    align-items: stretch;
  }
}
