.context-footer {
  --footer-accent: var(--primary-action, #f0cf43);
  --footer-bg: #f2f0e8;
  --footer-panel: #e7e4dc;
  --footer-core: #f8f6f0;
  --footer-soft: rgba(20, 20, 22, .055);
  --footer-copy: #151517;
  --footer-muted: #696760;
  --footer-line: rgba(20, 20, 22, .11);
  --spot-x: 72%;
  --spot-y: 28%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(6rem, 11vw, 12rem);
  padding: 0 clamp(.8rem, 2.5vw, 2rem) 1.25rem;
  color: var(--footer-copy);
  background: var(--footer-bg);
  box-shadow: inset 0 1px color-mix(in srgb, var(--footer-copy) 10%, transparent);
}

.dark .context-footer {
  --footer-bg: #0d0d10;
  --footer-panel: #18181c;
  --footer-core: #222226;
  --footer-soft: rgba(255, 255, 255, .045);
  --footer-copy: #f5f3ec;
  --footer-muted: #aaa7a0;
  --footer-line: rgba(255, 255, 255, .105);
}

.context-footer__spotlight {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .72;
  background:
    radial-gradient(42rem circle at var(--spot-x) var(--spot-y), color-mix(in srgb, var(--footer-accent) 14%, transparent), transparent 60%),
    radial-gradient(30rem circle at 8% 92%, color-mix(in srgb, var(--footer-copy) 5%, transparent), transparent 64%);
  pointer-events: none;
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1);
}

.context-footer__signal {
  overflow: hidden;
  margin-inline: calc(clamp(.8rem, 2.5vw, 2rem) * -1);
  color: var(--footer-muted);
  background: color-mix(in srgb, var(--footer-bg) 84%, var(--footer-accent));
  box-shadow: inset 0 -1px var(--footer-line);
}

.context-footer__signal div {
  display: flex;
  width: max-content;
  min-width: max-content;
  align-items: center;
  gap: 1.25rem;
  padding: .82rem 0 .82rem 100vw;
  animation: context-footer-marquee 48s linear infinite;
}

.context-footer__signal span {
  font-size: .67rem;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.context-footer__signal i {
  width: .28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--footer-accent);
  box-shadow: 0 0 .75rem color-mix(in srgb, var(--footer-accent) 60%, transparent);
}

@keyframes context-footer-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}

@media (hover: hover) {
  .context-footer__signal:hover div { animation-play-state: paused; }
}

html.is-page-scrolling .context-footer__signal div,
html.is-page-scrolling .context-footer__eyebrow::before {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .context-footer__signal { overflow-x: auto; scrollbar-width: none; }
  .context-footer__signal::-webkit-scrollbar { display: none; }
  .context-footer__signal div { padding-left: 1rem; animation: none; }
}

.context-footer__inner {
  width: min(100%, 91rem);
  margin-inline: auto;
}

.context-footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 8rem);
  padding: clamp(5.5rem, 10vw, 10rem) clamp(.3rem, 1.5vw, 1rem) clamp(4rem, 8vw, 7.5rem);
}

.context-footer__eyebrow,
.context-footer__label {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: color-mix(in srgb, var(--footer-copy) 72%, var(--footer-accent));
  font-size: .69rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: .145em;
  text-transform: uppercase;
}

.context-footer__eyebrow::before {
  content: "";
  width: .5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--footer-accent);
  box-shadow: 0 0 0 .35rem color-mix(in srgb, var(--footer-accent) 17%, transparent);
  animation: context-footer-pulse 2.8s cubic-bezier(.22, 1, .36, 1) infinite;
}

@keyframes context-footer-pulse {
  50% { transform: scale(.72); box-shadow: 0 0 0 .7rem color-mix(in srgb, var(--footer-accent) 0%, transparent); }
}

.context-footer__title {
  max-width: 14ch;
  margin: 1.15rem 0 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(2.75rem, 6vw, 6.65rem);
  font-weight: 790;
  line-height: .94;
  letter-spacing: -.067em;
  text-wrap: balance;
}

.context-footer__intro {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--footer-muted);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.68;
}

.context-footer__actions {
  display: grid;
  gap: .7rem;
}

.context-footer__button {
  display: inline-flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .82rem .85rem .82rem 1.35rem;
  color: var(--footer-copy);
  background: color-mix(in srgb, var(--footer-core) 90%, transparent);
  box-shadow: inset 0 0 0 1px var(--footer-line), inset 0 1px rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-weight: 710;
  text-decoration: none;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), background-color .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}

.context-footer__button--primary {
  color: #151515;
  background: var(--footer-accent);
  box-shadow: inset 0 1px rgba(255, 255, 255, .38), 0 1rem 3rem color-mix(in srgb, var(--footer-accent) 14%, transparent);
}

.context-footer__button span {
  display: grid;
  width: 2.15rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 11%, transparent);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

.context-footer__button:hover,
.context-footer__button:focus-visible {
  transform: translateY(-4px) scale(1.012);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--footer-accent) 55%, var(--footer-line)), inset 0 1px rgba(255, 255, 255, .16), 0 1.1rem 3.5rem color-mix(in srgb, var(--footer-copy) 8%, transparent);
}

.context-footer__button:active { transform: translateY(-1px) scale(.985); }
.context-footer__button:hover span,
.context-footer__button:focus-visible span { transform: translate(3px, -3px) rotate(5deg); }

.context-footer__shell {
  padding: .42rem;
  background: color-mix(in srgb, var(--footer-core) 64%, var(--footer-bg));
  box-shadow: inset 0 0 0 1px var(--footer-line), 0 2.5rem 7rem color-mix(in srgb, var(--footer-copy) 9%, transparent);
  border-radius: clamp(1.7rem, 3vw, 2.8rem);
}

.context-footer__map {
  display: grid;
  grid-template-columns: minmax(16rem, 3.4fr) minmax(26rem, 5fr) minmax(17rem, 3.6fr);
  overflow: hidden;
  background: var(--footer-core);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
  border-radius: calc(clamp(1.7rem, 3vw, 2.8rem) - .42rem);
}

.context-footer__map > * {
  min-width: 0;
  padding: clamp(1.55rem, 3.2vw, 2.85rem);
}

.context-footer__map > * + * { box-shadow: inset 1px 0 var(--footer-line); }

.context-footer__brand {
  display: flex;
  flex-direction: column;
  min-height: 31rem;
  background:
    radial-gradient(22rem circle at 12% 4%, color-mix(in srgb, var(--footer-accent) 13%, transparent), transparent 60%),
    var(--footer-soft);
}

.context-footer__brand-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.context-footer__brand-mark {
  position: relative;
  display: grid;
  width: 5rem;
  aspect-ratio: 1;
  place-items: center;
  color: #151515;
  background: var(--footer-accent);
  box-shadow: inset 0 1px rgba(255, 255, 255, .42), 0 1rem 2.5rem color-mix(in srgb, var(--footer-accent) 18%, transparent);
  border-radius: 1.45rem;
  font-family: var(--font-display, inherit);
  font-size: 1.18rem;
  font-weight: 820;
  letter-spacing: -.05em;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1), border-radius .7s cubic-bezier(.16, 1, .3, 1);
}

.context-footer__brand-mark i {
  position: absolute;
  width: .48rem;
  aspect-ratio: 1;
  right: .55rem;
  top: .55rem;
  border-radius: 50%;
  background: #151515;
  opacity: .78;
}

.context-footer__brand:hover .context-footer__brand-mark { transform: rotate(-7deg) scale(1.04); border-radius: 50%; }

.context-footer__availability {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--footer-muted);
  font-size: .66rem;
  font-weight: 650;
  white-space: nowrap;
}

.context-footer__availability i {
  width: .42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #77b98a;
  box-shadow: 0 0 .8rem rgba(119, 185, 138, .65);
}

.context-footer__brand-copy { margin-top: auto; padding-top: 3rem; }
.context-footer__brand h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.context-footer__brand p { max-width: 27ch; margin: .8rem 0 0; color: var(--footer-muted); line-height: 1.62; }

.context-footer__contact-links { display: grid; gap: .55rem; margin-top: 1.6rem; }
.context-footer__contact-links a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .55rem;
  color: var(--footer-copy);
  font-weight: 690;
  text-decoration: none;
}
.context-footer__contact-links span { color: var(--footer-muted); transition: transform .4s cubic-bezier(.16, 1, .3, 1), color .4s; }
.context-footer__contact-links a:hover span,
.context-footer__contact-links a:focus-visible span { color: var(--footer-accent); transform: translate(3px, -3px); }

.context-footer__socials {
  display: flex;
  gap: .5rem;
  margin-top: 1.8rem;
}

.context-footer__social {
  position: relative;
  display: grid;
  width: 2.85rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--footer-copy);
  background: color-mix(in srgb, var(--footer-core) 76%, transparent);
  box-shadow: inset 0 0 0 1px var(--footer-line), inset 0 1px rgba(255,255,255,.1);
  border: 0;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), color .4s, background-color .4s, border-radius .5s cubic-bezier(.16, 1, .3, 1);
}

.context-footer__social svg {
  width: 1.18rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.context-footer__social svg .is-filled { fill: currentColor; stroke: none; }
.context-footer__social::after {
  content: attr(data-social-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + .7rem);
  z-index: 2;
  padding: .45rem .65rem;
  color: var(--footer-bg);
  background: var(--footer-copy);
  border-radius: .55rem;
  font-size: .63rem;
  font-weight: 650;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, .35rem) scale(.94);
  transition: opacity .25s, transform .4s cubic-bezier(.16, 1, .3, 1);
}
.context-footer__social:hover,
.context-footer__social:focus-visible { color: #151515; background: var(--footer-accent); border-radius: 50%; transform: translateY(-5px) rotate(4deg); }
.context-footer__social:hover::after,
.context-footer__social:focus-visible::after { opacity: 1; transform: translate(-50%, 0) scale(1); }
.context-footer__social:active { transform: translateY(-2px) scale(.92); }

.context-footer__topic { background: color-mix(in srgb, var(--footer-core) 96%, var(--footer-panel)); }
.context-footer__topic-head,
.context-footer__related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.context-footer__topic-count,
.context-footer__related-head > span:last-child { color: var(--footer-muted); font-size: .7rem; font-variant-numeric: tabular-nums; }

.context-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.context-footer__links li { min-width: 0; }
.context-footer__links a,
.context-footer__current {
  position: relative;
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 3.55rem;
  overflow: hidden;
  padding: .2rem .65rem;
  color: var(--footer-copy);
  box-shadow: inset 0 1px var(--footer-line);
  text-decoration: none;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), color .35s, box-shadow .35s;
}
.context-footer__links a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .3rem 0;
  background: color-mix(in srgb, var(--footer-accent) 14%, transparent);
  border-radius: .75rem;
  opacity: 0;
  transform: scaleX(.84);
  transform-origin: left;
  transition: opacity .35s, transform .55s cubic-bezier(.16, 1, .3, 1);
}
.context-footer__links small { color: var(--footer-muted); font-size: .64rem; letter-spacing: .07em; font-variant-numeric: tabular-nums; }
.context-footer__links b { overflow: hidden; font-size: .88rem; font-weight: 640; text-overflow: ellipsis; white-space: nowrap; }
.context-footer__links i { color: var(--footer-muted); font-size: .72rem; font-style: normal; transition: transform .45s cubic-bezier(.16, 1, .3, 1), color .35s; }
.context-footer__links a:hover,
.context-footer__links a:focus-visible { z-index: 1; transform: translateX(4px); box-shadow: none; }
.context-footer__links a:hover::before,
.context-footer__links a:focus-visible::before { opacity: 1; transform: scaleX(1); }
.context-footer__links a:hover i,
.context-footer__links a:focus-visible i { color: var(--footer-accent); transform: translate(3px, -3px) rotate(5deg); }
.context-footer__current {
  color: #161616;
  background: var(--footer-accent);
  box-shadow: inset 0 1px rgba(255,255,255,.32);
  border-radius: .75rem;
}
.context-footer__current small,
.context-footer__current i { color: rgba(21,21,21,.68); }
.context-footer__current i { padding: .25rem .42rem; background: rgba(21,21,21,.08); border-radius: .45rem; font-size: .54rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }

.context-footer__related {
  background:
    radial-gradient(24rem circle at 110% -10%, color-mix(in srgb, var(--footer-accent) 16%, transparent), transparent 63%),
    var(--footer-soft);
}
.context-footer__recommendations { display: grid; gap: .75rem; }
.context-footer__recommendation {
  position: relative;
  display: flex;
  min-height: 12.25rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.25rem;
  color: var(--footer-copy);
  background: color-mix(in srgb, var(--footer-core) 88%, transparent);
  box-shadow: inset 0 0 0 1px var(--footer-line), inset 0 1px rgba(255,255,255,.11);
  border-radius: 1.2rem;
  text-decoration: none;
  transform-origin: 50% 100%;
  transition: transform .65s cubic-bezier(.16, 1, .3, 1), box-shadow .5s, background-color .5s;
}
.context-footer__recommendation.is-primary { color: #151515; background: var(--footer-accent); box-shadow: inset 0 1px rgba(255,255,255,.38), 0 1.1rem 2.8rem color-mix(in srgb, var(--footer-accent) 12%, transparent); }
.context-footer__recommendation-index { margin-bottom: auto; color: currentColor; opacity: .62; font-size: .6rem; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; }
.context-footer__recommendation strong { display: block; max-width: 12ch; font-size: clamp(1.3rem, 1.8vw, 1.75rem); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.context-footer__recommendation p { max-width: 29ch; margin: .55rem 2.5rem 0 0; color: currentColor; font-size: .75rem; line-height: 1.5; opacity: .68; }
.context-footer__recommendation-arrow { position: absolute; right: 1.1rem; bottom: 1.1rem; display: grid; width: 2rem; aspect-ratio: 1; place-items: center; background: color-mix(in srgb, currentColor 10%, transparent); border-radius: 50%; transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
.context-footer__recommendation:hover,
.context-footer__recommendation:focus-visible { z-index: 1; transform: translateY(-6px) rotate(-.6deg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--footer-accent) 55%, var(--footer-line)), 0 1.5rem 3.5rem color-mix(in srgb, var(--footer-copy) 11%, transparent); }
.context-footer__recommendation:nth-child(2):hover,
.context-footer__recommendation:nth-child(2):focus-visible { transform: translateY(-6px) rotate(.6deg); }
.context-footer__recommendation:hover .context-footer__recommendation-arrow,
.context-footer__recommendation:focus-visible .context-footer__recommendation-arrow { transform: translate(3px, -3px) rotate(7deg) scale(1.08); }

.context-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.35rem .25rem 0;
  color: var(--footer-muted);
  font-size: .7rem;
}
.context-footer__bottom p { margin: 0; }
.context-footer__global { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem 1.15rem; }
.context-footer__global a { position: relative; color: inherit; text-decoration: none; transition: color .3s; }
.context-footer__global a::after { content: ""; position: absolute; right: 0; bottom: -.25rem; left: 0; height: 1px; background: var(--footer-accent); transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.context-footer__global a:hover,
.context-footer__global a:focus-visible { color: var(--footer-copy); }
.context-footer__global a:hover::after,
.context-footer__global a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.context-footer a:focus-visible,
.context-footer button:focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 4px; }
.context-footer.is-motion-ready [data-footer-reveal] { opacity: 0; transform: translateY(3rem); }
.context-footer.is-visible [data-footer-reveal] { opacity: 1; transform: translateY(0); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); }
.context-footer.is-visible [data-footer-reveal]:nth-of-type(2) { transition-delay: .1s; }

@media (max-width: 72rem) {
  .context-footer__map { grid-template-columns: minmax(15rem, .8fr) minmax(25rem, 1.2fr); }
  .context-footer__related { grid-column: 1 / -1; box-shadow: inset 0 1px var(--footer-line) !important; }
  .context-footer__recommendations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .context-footer__recommendation { min-height: 10.75rem; }
}

@media (max-width: 48rem) {
  .context-footer { padding-inline: .65rem; }
  .context-footer__signal { margin-inline: -.65rem; }
  .context-footer__cta { grid-template-columns: 1fr; gap: 2.5rem; padding-inline: .35rem; }
  .context-footer__title { max-width: 12ch; font-size: clamp(2.55rem, 13vw, 4.3rem); }
  .context-footer__actions { max-width: 31rem; }
  .context-footer__map { display: block; }
  .context-footer__map > * + * { box-shadow: inset 0 1px var(--footer-line); }
  .context-footer__brand { min-height: 27rem; }
  .context-footer__links { grid-template-columns: 1fr; }
  .context-footer__recommendations { grid-template-columns: 1fr; }
  .context-footer__bottom { align-items: flex-start; flex-direction: column; }
  .context-footer__global { justify-content: flex-start; }
}

@media (max-width: 26rem) {
  .context-footer__availability { display: none; }
  .context-footer__map > * { padding-inline: 1.15rem; }
  .context-footer__social { width: 2.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .context-footer *,
  .context-footer *::before,
  .context-footer *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .context-footer.is-motion-ready [data-footer-reveal] { opacity: 1; transform: none; }
}
