/* ==================================================
   GLOBAL / RESET
   ================================================== */

:root {
  --forest-950: #071c12;
  --forest-900: #0b271a;
  --forest-850: #10331f;
  --forest-800: #163c25;
  --gold: #d0ae5c;
  --gold-light: #e0c47d;
  --ink: #151a16;
  --paper: #f3ede0;
  --paper-deep: #e7decc;
  --line: #95886f;
  --blue: #123a67;
  --page-shadow: 0 18px 46px rgba(28, 31, 27, 0.25);
  --content-width: 1120px;
  --focus: #f8d66d;
  /* Shared desktop hero height used by About, Contact, Repository, and Repository guides. */
  --section-hero-height: 258px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #e8e8e8;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.86), rgba(233, 233, 233, 0.92) 52%, #dedede 100%);
  font-family: "Arial Narrow", "Liberation Sans Narrow", "PT Sans Narrow", "DejaVu Sans Condensed", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button,
a,
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-shell {
  width: min(calc(100% - 8px), 1200px);
  margin: 4px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(51, 50, 43, 0.34);
  box-shadow: var(--page-shadow);
}

.content-width {
  width: min(calc(100% - 72px), var(--content-width));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  color: #fff;
  background: #111;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==================================================
   TYPOGRAPHY
   ================================================== */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-name,
.primary-navigation a,
.button,
.card-button,
.text-link,
.footer-identity p,
.footer-message strong {
  font-family: "Arial Narrow", "Liberation Sans Narrow", "PT Sans Narrow", "DejaVu Sans Condensed", Arial, sans-serif;
}

h1,
h2,
h3,
.brand-name,
.primary-navigation a,
.button,
.card-button,
.text-link,
.footer-identity p {
  text-transform: uppercase;
}

/* ==================================================
   HEADER / MAIN NAVIGATION
   ================================================== */

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 0 42px;
  color: #f6f0df;
  background:
    radial-gradient(circle at 19% -40%, rgba(63, 103, 68, 0.29), transparent 48%),
    linear-gradient(90deg, #0a2a1a 0%, #0d301d 56%, #092416 100%);
  border-bottom: 1px solid rgba(220, 187, 101, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
  min-width: 300px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 34px;
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.brand-place {
  margin-top: 8px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.15vw, 31px);
}

.primary-navigation a {
  position: relative;
  padding: 12px 0 14px;
  color: #f7f1e3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation a.is-current {
  color: var(--gold-light);
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after,
.primary-navigation a.is-current::after {
  transform: scaleX(1);
}

.primary-navigation__utility {
    color: #e1c874 !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(224, 196, 125, 0.66);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle-lines {
  display: grid;
  gap: 4px;
  width: 21px;
}

.menu-toggle-lines span {
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==================================================
   HERO
   ================================================== */

.hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  min-height: 416px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(5, 16, 11, 0.55) 0%, rgba(5, 16, 11, 0.26) 43%, rgba(4, 12, 8, 0.04) 75%),
    url("../images/ui/home-hero.webp");
  background-position: center center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 8, 6, 0.04) 42%, rgba(2, 8, 5, 0.38) 100%),
    radial-gradient(circle at 12% 30%, rgba(0, 0, 0, 0.08), transparent 43%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(690px, 68%);
  /* Move the hero copy upward so the CTA stays clear of the torn-paper edge. */
  padding: 62px 0 0 60px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

.hero h1 {
  margin-bottom: 19px;
  font-size: clamp(43px, 4.1vw, 52px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.06;
}

.hero p {
  margin-bottom: 29px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  transition: transform 170ms ease, background-color 170ms ease, border-color 170ms ease, color 170ms ease, box-shadow 170ms ease;
}

.button svg,
.card-button svg,
.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-hero {
  color: #fff;
  background: rgba(30, 48, 23, 0.78);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.24);
}

.button-hero:hover,
.button-hero:focus-visible {
  color: #172112;
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/*
  TORN-PAPER TRANSITION

  The SVG already contains the irregular cream paper silhouette, the tan
  under-layer, subtle edge shadow, and embedded paper grain. The important
  part here is placement: the SVG is pinned almost exactly to the bottom of
  the hero so the torn contour overlaps the photograph, while the solid paper
  portion visually continues into .paper-surface below.
*/
.torn-paper-edge {
  position: absolute;
  z-index: 5;
  right: -1px;
  bottom: -2px;
  left: -1px;
  width: calc(100% + 2px);
  /* Slightly shallower than the original revision so the tear feels natural
     without climbing into the hero call-to-action. */
  height: 96px;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

/* ==================================================
   HOMEPAGE PAPER / HISTORY CONTENT
   ================================================== */

.paper-surface {
  position: relative;
  z-index: 1;
  padding: 43px 0 28px;

  /* Use the same cream-paper texture that is embedded in the torn-edge SVG.
     Keeping both surfaces on the same texture removes the faint horizontal
     color seam where the SVG ends and the main body begins. */
  background-color: var(--paper);
  background-image: url("../images/ui/paper-texture.png");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.history-section {
  position: relative;
  z-index: 2;
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.82fr) minmax(220px, 0.68fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  min-height: 432px;
}

.history-copy {
  align-self: start;
}

.section-title {
  color: #182019;
  font-size: clamp(25px, 2.65vw, 33px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.section-title-ornament {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(83, 73, 54, 0.68);
}

.section-title-ornament::after {
  content: "✦";
  position: absolute;
  bottom: -11px;
  left: 47%;
  padding: 0 6px;
  color: #a48744;
  background: var(--paper);
  font-size: 13px;
  line-height: 20px;
}

.history-copy p,
.mascot-copy p {
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.history-copy p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.56;
}

.button-paper {
  min-height: 43px;
  margin-top: 4px;
  color: #26321f;
  background: rgba(239, 227, 197, 0.64);
  border: 1px solid #a28b56;
  box-shadow: 0 3px 0 rgba(91, 72, 42, 0.15);
}

.button-paper:hover,
.button-paper:focus-visible {
  color: #fff;
  background: var(--forest-800);
  border-color: var(--forest-800);
  transform: translateY(-2px);
}

.mascot-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: -18px 0 -28px;
}

.mascot-figure img {
  width: min(100%, 330px);
  height: auto;
  filter: drop-shadow(0 5px 4px rgba(44, 25, 13, 0.08));
}

.mascot-copy {
  align-self: center;
  padding-bottom: 8px;
}

.compact-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  font-size: clamp(21px, 2vw, 25px);
  border-bottom: 1px solid rgba(83, 73, 54, 0.7);
}

.mascot-copy p {
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.62;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1c2b1d;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.text-link::after {
  content: "";
  position: absolute;
}

.text-link:hover,
.text-link:focus-visible {
  color: #886a25;
}

/* ==================================================
   PROGRAM FEATURES
   ================================================== */

.groups-section {
  padding-top: 26px;
}

.heading-divider {
  display: grid;
  grid-template-columns: minmax(54px, 1fr) auto minmax(54px, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}

.heading-divider span {
  height: 1px;
  background: rgba(79, 68, 49, 0.75);
}

.heading-divider h2 {
  margin: 0;
  color: #172019;
  font-size: clamp(26px, 2.75vw, 35px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  text-align: center;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/*
  The approved concept is the visual source of truth. Each card uses a
  high-quality crop from that concept so its photograph, diagonal field,
  emblem, wording, spacing, and button placement remain exact. The same
  wording is retained as screen-reader/search text inside each link.
*/
.program-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 214 / 243;
  color: #fff;
  background: #173b24;
  border-radius: 15px;
  box-shadow: 0 7px 13px rgba(57, 44, 25, 0.22);
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 13px 23px rgba(57, 44, 25, 0.28);
}

.program-card:hover img,
.program-card:focus-visible img {
  transform: scale(1.012);
}

/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.35fr 0.85fr;
  gap: 24px;
  align-items: center;
  min-height: 111px;
  padding: 18px 48px;
  color: #f5efdf;
  background:
    radial-gradient(circle at 84% 140%, rgba(61, 102, 64, 0.28), transparent 45%),
    linear-gradient(90deg, #0b2c1b, #0d321f 56%, #092718);
  border-top: 1px solid rgba(211, 175, 91, 0.15);
}

.footer-message {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-message p {
  flex: 0 0 auto;
  margin: 0;
  color: #f5e9c8;
  font-size: 17px;
  line-height: 1.3;
}

.footer-message strong {
  color: var(--gold-light);
  font-size: 20px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.footer-message img {
  width: 147px;
  opacity: 0.84;
}

.footer-identity {
  text-align: center;
}

.footer-identity p {
  margin: 0 0 5px;
  color: #f9f5e9;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-identity small {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold-light);
  background: transparent;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.social-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.social-mark:first-child svg path,
.social-mark .fill-dot {
  fill: currentColor;
  stroke: none;
}

.social-mark:hover,
a.social-mark:focus-visible {
  color: var(--forest-950);
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ==================================================
   PLACEHOLDER PAGES
   ================================================== */

.placeholder-page .site-shell {
  min-height: calc(100vh - 56px);
}

.placeholder-main {
  display: grid;
  min-height: 610px;
  place-items: center;
  padding: 70px 30px;
  color: #f4efdf;
  background:
    linear-gradient(rgba(6, 24, 15, 0.82), rgba(6, 24, 15, 0.88)),
    url("../images/ui/home-hero.webp") center / cover;
}

.placeholder-panel {
  width: min(720px, 100%);
  padding: 46px;
  color: var(--ink);
  background: var(--paper) url("../images/ui/paper-texture.png") repeat;
  border: 1px solid #b5a687;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.27);
  text-align: center;
}

.placeholder-panel h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 55px);
  line-height: 1.05;
  text-transform: uppercase;
}

.placeholder-panel p {
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.content-needed {
  margin: 24px 0;
  padding: 12px 14px;
  color: #4a2a08;
  background: #f1d99b;
  border: 1px solid #a57f29;
  font-weight: 700;
}

/* ==================================================
   ANIMATIONS
   ================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.program-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.program-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

/* ==================================================
   RESPONSIVE BREAKPOINTS
   ================================================== */

@media (max-width: 1110px) {
  .site-shell {
    width: 100%;
    margin: 0 auto;
    border-right: 0;
    border-left: 0;
  }

  .site-header {
    padding-inline: 34px;
  }

  .brand {
    min-width: 245px;
  }

  .brand-name {
    font-size: 27px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .primary-navigation {
    gap: 16px;
  }

  .primary-navigation a {
    font-size: 11px;
  }

  .history-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(230px, 0.78fr) minmax(210px, 0.7fr);
    gap: 22px;
  }

}

@media (max-width: 940px) {
  .site-header {
    min-height: 90px;
  }

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

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: #0a2819;
    box-shadow: 0 12px 23px rgba(0, 0, 0, 0.28);
    transition: max-height 260ms ease;
  }

  .primary-navigation.is-open {
    max-height: 430px;
  }

  .primary-navigation a {
    padding: 17px 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .primary-navigation a::after {
    right: auto;
    bottom: 9px;
    left: 34px;
    width: 74px;
  }

  .hero {
    min-height: 416px;
    background-position: 62% center;
  }

  .hero-content {
    width: 68%;
    padding-left: 44px;
  }

  .history-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  }

  .mascot-copy {
    grid-column: 1 / -1;
    max-width: 650px;
    padding: 0 0 18px;
  }


  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-social {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .content-width {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .site-header {
    padding-inline: 20px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 49px;
    height: 49px;
    flex-basis: 49px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-place {
    margin-top: 5px;
    font-size: 10px;
  }

  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero {
    min-height: 455px;
    background-position: 67% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(2, 12, 8, 0.78) 0%, rgba(2, 12, 8, 0.49) 58%, rgba(2, 12, 8, 0.1) 100%);
  }

  .hero-content {
    width: 92%;
    /* Mobile copy sits a little lower than desktop for breathing room below the header,
       but still remains safely above the torn-paper edge. */
    padding: 76px 28px 0;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-line-break {
    display: none;
  }

  .torn-paper-edge {
    bottom: -2px;
    height: 72px;
  }

  .paper-surface {
    padding-top: 34px;
  }

  .history-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .mascot-figure {
    order: 2;
    min-height: 390px;
    margin: 0;
  }

  .mascot-figure img {
    width: min(72vw, 320px);
  }

  .mascot-copy {
    order: 3;
  }

  .history-copy p,
  .mascot-copy p {
    font-size: 16px;
  }

  .heading-divider {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .heading-divider span {
    display: none;
  }

  .heading-divider h2 {
    line-height: 1.1;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }


  .site-footer {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 28px 22px;
    text-align: center;
  }

  .footer-message {
    justify-content: center;
  }

  .footer-identity {
    order: 2;
  }

  .footer-social {
    grid-column: auto;
    order: 3;
  }

  .placeholder-panel {
    padding: 34px 22px;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 18px;
  }

  .brand-place {
    letter-spacing: 0.15em;
  }

  .hero-content {
    padding-inline: 20px;
  }

  .button-hero {
    font-size: 13px;
  }

  .torn-paper-edge {
    height: 64px;
  }

  .paper-surface {
    padding-top: 30px;
  }

  .footer-message {
    flex-direction: column;
    gap: 2px;
  }
}

/* ==================================================
   REDUCED MOTION
   ================================================== */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==================================================
   MOBILE PRIMARY NAVIGATION - CRIMSON EMBERS ART

   The open area on the left of the compact mobile navigation is part
   of the navigation panel itself. Using Crimson Embers as a background
   on that panel is more reliable than using a pseudo-element and keeps
   the artwork behind the links without changing page HTML.
   ================================================== */

@media (max-width: 940px) {
  .home-page .primary-navigation,
  .scout-troop-global-header .primary-navigation,
  .cub-pack-global-header .primary-navigation,
  .venture-crew-global-header .primary-navigation,
  .repository-global-header .primary-navigation,
  .tracker-global-header .primary-navigation,
  .about-global-header .primary-navigation,
  .contact-global-header .primary-navigation {
    background-color: #0a2819;
    background-image: url("../images/ui/crimson-embers-gold.png");
    background-repeat: no-repeat;
    background-position: 19% 52%;
    background-size: clamp(175px, 32vw, 245px) auto;
  }
}

@media (max-width: 430px) {
  .home-page .primary-navigation,
  .scout-troop-global-header .primary-navigation,
  .cub-pack-global-header .primary-navigation,
  .venture-crew-global-header .primary-navigation,
  .repository-global-header .primary-navigation,
  .tracker-global-header .primary-navigation,
  .about-global-header .primary-navigation,
  .contact-global-header .primary-navigation {
    background-position: 18% 52%;
    background-size: clamp(145px, 39vw, 180px) auto;
  }
}

/* ==================================================

   SS TRACKER - MOBILE GLOBAL HEADER ALIGNMENT

   ================================================== */

@media (max-width: 940px) {
  .tracker-global-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .tracker-global-header .menu-toggle {
    margin-left: auto;
  }
}