/* Focused static-homepage upgrades: persistent radio, darker navigation,
   educational proof accordions, and back-to-top control. */

:root {
  --blue: var(--legacy-blue, #2d95d8);
  --red: var(--legacy-red, #ed3b45);
}

/* Long-form material now lives on its own focused static pages. Keeping these
   out of the homepage removes 30% of its original reading load. */
.claim-decoder,
.detox-timeline,
.evidence-shelf,
.education-studio,
.knowledge-check {
  display: none !important;
}

/* Keep the live radio controls visible above every homepage layer. */
.eoy-audio-dock,
body.nav-open .eoy-audio-dock {
  display: block !important;
  inset: auto 0 0 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: fixed !important;
  transform: none !important;
  visibility: visible !important;
  z-index: 2147480000 !important;
}

/* Keep both identity marks visually centered inside the editorial footer. */
.site-footer .footer-brand,
.site-footer .footer-legal {
  text-align: center;
}

.site-footer .footer-brand img,
.site-footer .footer-legal img {
  display: block;
  margin-inline: auto;
}

.site-footer .footer-brand p,
.site-footer .footer-legal p {
  margin-left: auto;
  margin-right: auto;
}

/* Give the opening viewport the energy of a campaign poster. */
.hero {
  isolation: isolate;
}

.hero::after {
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 255, 255, 0.16) 48%, rgba(255, 255, 255, 0.16) 52%, transparent 53%),
    linear-gradient(transparent 47%, rgba(255, 255, 255, 0.16) 48%, rgba(255, 255, 255, 0.16) 52%, transparent 53%);
  background-size: 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  content: "";
  height: clamp(120px, 15vw, 220px);
  opacity: 0.48;
  pointer-events: none;
  position: absolute;
  right: clamp(30px, 6vw, 100px);
  top: 18%;
  transform: rotate(8deg);
  width: clamp(120px, 15vw, 220px);
  z-index: 1;
}

.hero .hero-content,
.hero .scroll-cue {
  z-index: 3;
}

.hero h1 {
  letter-spacing: -0.065em;
  max-width: 960px;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--lime);
  display: inline-block;
  position: relative;
  text-shadow: 4px 4px 0 rgba(45, 149, 216, 0.55);
  transform: rotate(-1.5deg);
}

.hero h1 em::after {
  background: var(--red);
  bottom: -8px;
  content: "";
  height: 5px;
  left: 2%;
  position: absolute;
  transform: rotate(-1deg);
  width: 94%;
}

.hero .button-primary {
  box-shadow: 7px 7px 0 var(--blue);
  transform: rotate(-0.6deg);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.hero .button-primary:hover,
.hero .button-primary:focus-visible {
  box-shadow: 3px 3px 0 var(--blue);
  transform: translate(3px, 3px) rotate(0deg);
}

.hero-notes span {
  backdrop-filter: blur(8px);
  background: rgba(8, 10, 9, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 8px 12px;
}

.home-hero-sticker {
  align-content: center;
  background: var(--red);
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  box-shadow: 11px 13px 0 rgba(112, 229, 47, 0.86);
  color: #fff;
  display: grid;
  height: clamp(138px, 14vw, 190px);
  justify-items: center;
  padding: 20px;
  pointer-events: none;
  position: absolute;
  right: clamp(44px, 8vw, 130px);
  text-align: center;
  top: 45%;
  transform: rotate(8deg);
  width: clamp(138px, 14vw, 190px);
  z-index: 4;
}

.home-hero-sticker span,
.home-hero-sticker small {
  font-size: clamp(7px, 0.7vw, 9px);
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-hero-sticker strong {
  font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing: -0.06em;
  line-height: 0.88;
  margin: 7px 0 8px;
}

.home-hero-sticker small {
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.09em;
}

/* Give the original-theme drawer a deeper, more focused presentation. */
.legacy-drawer {
  background:
    radial-gradient(circle at 50% -12%, rgba(112, 229, 47, 0.1), transparent 35%),
    #090c0a;
  border-right: 1px solid rgba(112, 229, 47, 0.24);
  color: #fbfaf6;
  padding-top: 26px;
  scrollbar-color: var(--lime) rgba(255, 255, 255, 0.05);
}

body.blue-light-comfort .legacy-drawer {
  background:
    radial-gradient(circle at 50% -12%, rgba(243, 139, 53, 0.14), transparent 35%),
    #17120d;
}

.drawer-brand {
  align-items: center;
  border-bottom-color: rgba(255, 255, 255, 0.13);
  display: grid;
  justify-items: center;
  padding: 0 0 25px;
  text-align: center;
  width: 100%;
}

.drawer-brand img {
  display: block;
  filter: brightness(0) invert(1);
  height: auto;
  margin: 0 auto;
  width: 202px;
}

.drawer-brand p {
  color: rgba(255, 255, 255, 0.58);
  margin-top: 10px;
}

.legacy-drawer .comfort-toggle {
  background: #121713;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.legacy-drawer .comfort-toggle:hover,
.legacy-drawer .comfort-toggle:focus-visible {
  border-color: rgba(112, 229, 47, 0.62);
}

.legacy-drawer .drawer-group > p {
  color: var(--lime);
}

.legacy-drawer .drawer-group a {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.legacy-drawer .drawer-group a:hover,
.legacy-drawer .drawer-group a:focus-visible {
  color: #fff;
}

.legacy-drawer .drawer-group a > span:last-child {
  color: rgba(255, 255, 255, 0.38);
}

.legacy-drawer .drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 24px;
}

.legacy-drawer .drawer-footer img {
  filter: brightness(0) invert(1);
  opacity: 0.76;
}

.legacy-drawer .drawer-footer button {
  color: rgba(255, 255, 255, 0.72);
}

/* Turn the three homepage proof statements into compact explainers. */
.proof-strip .proof-claim {
  align-items: stretch;
  display: block;
  min-width: 0;
  padding: 0;
  transition: background 180ms ease;
}

.proof-strip .proof-claim.is-open {
  background: #e9e5d9;
}

.proof-claim-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 132px;
  padding: 30px;
  text-align: left;
  width: 100%;
}

.proof-claim-trigger:hover,
.proof-claim-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.34);
}

.proof-claim-trigger:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: -3px;
}

.proof-strip .proof-claim-trigger > strong {
  color: #62705f;
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.proof-strip .proof-claim-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.proof-claim-toggle {
  align-items: center;
  border: 1px solid rgba(8, 10, 9, 0.28);
  border-radius: 50%;
  display: flex;
  flex: 0 0 auto;
  height: 30px;
  justify-content: center;
  position: relative;
  width: 30px;
}

.proof-claim-toggle::before,
.proof-claim-toggle::after {
  background: currentColor;
  content: "";
  height: 1px;
  position: absolute;
  transition: transform 180ms ease;
  width: 10px;
}

.proof-claim-toggle::after {
  transform: rotate(90deg);
}

.proof-claim-trigger[aria-expanded="true"] .proof-claim-toggle {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.proof-claim-trigger[aria-expanded="true"] .proof-claim-toggle::after {
  transform: rotate(0deg);
}

.proof-strip .proof-claim-panel {
  align-items: initial;
  border-top: 1px solid rgba(8, 10, 9, 0.14);
  display: block;
  gap: 0;
  padding: 24px 30px 31px;
}

.proof-strip .proof-claim-panel[hidden] {
  display: none;
}

.proof-strip .proof-claim-panel p {
  color: #555d54;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  max-width: 31ch;
}

.proof-strip .proof-claim-panel p::before {
  background: var(--red);
  content: "";
  display: block;
  height: 2px;
  margin-bottom: 17px;
  width: 34px;
}

.proof-strip .proof-claim:nth-of-type(1) .proof-claim-toggle {
  border-color: var(--red);
}

.proof-strip .proof-claim:nth-of-type(2) .proof-claim-toggle {
  border-color: var(--blue);
}

.proof-strip .proof-claim:nth-of-type(3) .proof-claim-toggle {
  border-color: #19a991;
}

/* A culture-forward bridge from the headline into the deeper education. */
.culture-pulse {
  background: var(--blue);
  color: var(--ink);
  overflow: hidden;
  position: relative;
}

.culture-pulse::before {
  background-image: radial-gradient(rgba(8, 10, 9, 0.2) 1px, transparent 1px);
  background-size: 13px 13px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.culture-pulse-inner {
  display: grid;
  gap: clamp(50px, 7vw, 100px);
  grid-template-columns: minmax(280px, 0.88fr) minmax(520px, 1.12fr);
  margin: 0 auto;
  max-width: var(--content, 1240px);
  padding: clamp(78px, 9vw, 128px) 28px clamp(84px, 10vw, 140px);
  position: relative;
  z-index: 1;
}

.culture-pulse-kicker {
  align-items: center;
  display: flex;
  font-size: 9px;
  font-weight: 900;
  gap: 12px;
  letter-spacing: 0.17em;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.culture-pulse-kicker::before {
  background: var(--lime);
  content: "";
  height: 4px;
  width: 34px;
}

.culture-pulse h2 {
  font-size: clamp(53px, 7.4vw, 104px);
  letter-spacing: -0.07em;
  line-height: 0.82;
  margin: 0;
  text-transform: uppercase;
}

.culture-pulse h2 em {
  color: #fff;
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
  transform: rotate(-1deg);
}

.culture-pulse-lead {
  font-size: clamp(16px, 1.65vw, 22px);
  line-height: 1.5;
  margin: 35px 0 0;
  max-width: 500px;
}

.culture-pulse-link {
  align-items: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--lime);
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  gap: 16px;
  letter-spacing: 0.11em;
  margin-top: 34px;
  min-height: 52px;
  padding: 0 20px;
  text-transform: uppercase;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.culture-pulse-link:hover,
.culture-pulse-link:focus-visible {
  box-shadow: 3px 3px 0 var(--lime);
  transform: translate(3px, 3px);
}

.culture-pulse-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.culture-values {
  align-self: stretch;
  border-top: 2px solid rgba(8, 10, 9, 0.72);
}

.culture-value {
  align-items: start;
  border-bottom: 2px solid rgba(8, 10, 9, 0.72);
  display: grid;
  gap: 20px;
  grid-template-columns: 40px minmax(150px, 0.65fr) minmax(220px, 1fr);
  padding: 25px 0;
  position: relative;
  transition: background 180ms ease, padding 180ms ease;
}

.culture-value:hover {
  background: rgba(255, 255, 255, 0.12);
  padding-inline: 14px;
}

.culture-value > span {
  color: rgba(8, 10, 9, 0.62);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding-top: 4px;
}

.culture-value strong {
  font-size: clamp(17px, 1.7vw, 23px);
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.culture-value p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.culture-value:nth-child(1) strong::after,
.culture-value:nth-child(2) strong::after,
.culture-value:nth-child(3) strong::after {
  background: var(--lime);
  content: "";
  display: block;
  height: 4px;
  margin-top: 9px;
  width: 32px;
}

.culture-value:nth-child(2) strong::after {
  background: var(--red);
}

.culture-value:nth-child(3) strong::after {
  background: #fff;
}

.culture-marquee {
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  white-space: nowrap;
}

.culture-marquee-track {
  align-items: center;
  animation: culture-scroll 28s linear infinite;
  display: inline-flex;
  gap: 22px;
  min-width: max-content;
  padding-left: 22px;
}

.culture-marquee span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.culture-marquee i {
  background: var(--lime);
  border-radius: 50%;
  display: block;
  height: 7px;
  width: 7px;
}

/* Theme-inspired route cards replace five long homepage modules. */
.deep-dive-gateway {
  background: var(--paper-bright, #fbfaf6);
  border-bottom: 1px solid rgba(8, 10, 9, 0.18);
  border-top: 1px solid rgba(8, 10, 9, 0.18);
  color: var(--ink);
  display: grid;
  gap: clamp(50px, 7vw, 100px);
  grid-template-columns: minmax(250px, 0.7fr) minmax(520px, 1.3fr);
  padding: clamp(72px, 9vw, 122px) max(28px, calc((100vw - var(--content, 1240px)) / 2));
  position: relative;
}

.deep-dive-gateway::before {
  background: var(--lime);
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 0;
  width: 34%;
}

.deep-dive-intro > p {
  color: #477b35;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 25px;
  text-transform: uppercase;
}

.deep-dive-intro h2 {
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.065em;
  line-height: 0.88;
  margin: 0;
}

.deep-dive-intro h2 em {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.deep-dive-routes {
  border-left: 1px solid rgba(8, 10, 9, 0.17);
  border-top: 1px solid rgba(8, 10, 9, 0.17);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deep-dive-card {
  background: #f2efe7;
  border-bottom: 1px solid rgba(8, 10, 9, 0.17);
  border-right: 1px solid rgba(8, 10, 9, 0.17);
  color: var(--ink);
  display: grid;
  min-height: 300px;
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  transition: background 180ms ease, color 180ms ease;
}

.deep-dive-card:nth-child(2) {
  background: var(--ink);
  color: #fff;
}

.deep-dive-card:hover,
.deep-dive-card:focus-visible {
  background: var(--blue);
  color: var(--ink);
}

.deep-dive-card:focus-visible {
  outline: 4px solid var(--lime);
  outline-offset: -4px;
}

.deep-dive-card > span {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.deep-dive-card:nth-child(2) > span {
  color: var(--lime);
}

.deep-dive-card h3 {
  align-self: end;
  font-size: clamp(27px, 3vw, 40px);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 55px 0 18px;
  text-transform: uppercase;
}

.deep-dive-card p {
  color: #626860;
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
}

.deep-dive-card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.66);
}

.deep-dive-card:hover p,
.deep-dive-card:focus-visible p {
  color: rgba(8, 10, 9, 0.75);
}

.deep-dive-card b {
  font-size: 16px;
  position: absolute;
  right: 28px;
  top: 25px;
}

@keyframes culture-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* A clear return control that stays above the fixed radio dock. */
.back-to-top {
  align-items: center;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  bottom: calc(var(--eoy-audio-height, 54px) + 18px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 8px;
  left: 20px;
  min-height: 46px;
  opacity: 0;
  padding: 0 17px;
  pointer-events: none;
  position: fixed;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  z-index: 1500;
}

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

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--lime);
  color: var(--ink);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.back-to-top span {
  font-size: 18px;
  line-height: 1;
}

.back-to-top small {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .home-hero-sticker {
    bottom: 86px;
    height: 134px;
    right: 34px;
    top: auto;
    width: 134px;
  }

  .hero::after {
    right: 22px;
  }

  .culture-pulse-inner {
    grid-template-columns: 1fr;
  }

  .culture-pulse-copy {
    max-width: 760px;
  }

  .deep-dive-gateway {
    grid-template-columns: 1fr;
  }

  .proof-claim-trigger {
    gap: 13px;
    padding-inline: 20px;
  }

  .proof-strip .proof-claim-panel {
    padding-inline: 20px;
  }
}

@media (max-width: 720px) {
  .hero::after {
    height: 104px;
    opacity: 0.32;
    right: 14px;
    top: 13%;
    width: 104px;
  }

  .hero h1 em {
    text-shadow: 3px 3px 0 rgba(45, 149, 216, 0.5);
  }

  .home-hero-sticker {
    border-radius: 3px;
    bottom: 74px;
    box-shadow: 6px 7px 0 rgba(112, 229, 47, 0.86);
    height: auto;
    padding: 10px 12px;
    right: 20px;
    transform: rotate(4deg);
    width: 125px;
  }

  .home-hero-sticker span,
  .home-hero-sticker small {
    display: none;
  }

  .home-hero-sticker strong {
    font-size: 17px;
    line-height: 0.94;
    margin: 0;
  }

  .culture-pulse-inner {
    gap: 60px;
    padding: 75px 20px 90px;
  }

  .culture-pulse h2 {
    font-size: clamp(49px, 16vw, 68px);
  }

  .culture-value {
    gap: 11px 16px;
    grid-template-columns: 32px 1fr;
  }

  .culture-value p {
    grid-column: 2;
  }

  .deep-dive-gateway {
    gap: 48px;
    padding: 72px 20px 86px;
  }

  .deep-dive-routes {
    grid-template-columns: 1fr;
  }

  .deep-dive-card {
    min-height: 260px;
  }

  .proof-strip .proof-claim {
    border-top: 1px solid rgba(8, 10, 9, 0.16);
    min-height: 0;
  }

  .proof-claim-trigger {
    min-height: 96px;
    padding: 20px 0;
  }

  .proof-strip .proof-claim-panel {
    padding: 21px 0 28px 49px;
  }

  .proof-strip .proof-claim-panel p {
    max-width: 39ch;
  }

  .legacy-drawer {
    padding-inline: 24px;
  }

  .back-to-top {
    bottom: calc(var(--eoy-audio-height, 54px) + 12px);
    left: 12px;
    min-height: 42px;
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .culture-marquee-track {
    animation: none;
  }

  .back-to-top,
  .proof-claim-toggle::before,
  .proof-claim-toggle::after {
    transition-duration: 0.01ms;
  }
}

@media print {
  .home-hero-sticker,
  .culture-marquee {
    display: none;
  }

  .back-to-top {
    display: none;
  }

  .proof-strip .proof-claim-panel[hidden] {
    display: block;
  }
}
