.bcc-footer {
  position: relative;
  --_footer-link: #fca82b;
  --_footer-link-hover: #fcbb59;
  --_footer-legal-link: rgb(255 255 255 / 0.6);
  padding-block: clamp(3rem, 6vw, 5.75rem);
  color: #fff;
  text-align: center;
}

.bcc-footer .bcc-footer__inner {
  align-items: center;
  gap: var(--space-s);
  padding-inline: var(--gutter);
}

.bcc-footer .bcc-footer__brand {
  inline-size: clamp(11.25rem, 24vw, 16.875rem);
  max-inline-size: 100%;
}

.bcc-footer__brand img {
  inline-size: 100%;
}

.bcc-footer .bcc-footer__links,
.bcc-footer__social {
  justify-content: center;
  align-items: center;
  max-inline-size: 100%;
}

.bcc-footer .bcc-footer__links {
  gap: 0.55em 1.65em;
}

.bcc-footer__links a {
  text-decoration: none;
}

.bcc-footer .bcc-footer__links[data-kind="primary"] a {
  color: var(--_footer-link);
}

.bcc-footer .bcc-footer__links[data-kind="primary"] a:is(:hover, :focus-visible) {
  color: var(--_footer-link-hover);
}

.bcc-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.bcc-footer__social a {
  display: grid;
  place-items: center;
  inline-size: 2.65rem;
  block-size: 2.75rem;
}

.bcc-footer__social img {
  inline-size: 1.4rem;
  block-size: 1.4rem;
  filter: invert(1);
}

.bcc-footer__social a:hover img {
  opacity: 0.5;
}

.bcc-footer .bcc-footer__copyright {
  padding: 0;
  border: 0;
  color: rgb(255 255 255 / 0.8);
}

.bcc-footer .bcc-footer__links[data-kind="legal"] {
  gap: 0.5em 1em;
  margin-block-start: -0.55em;
}

.bcc-footer .bcc-footer__links[data-kind="legal"],
.bcc-footer .bcc-footer__copyright {
  font-size: var(--text-s, 0.95rem);
}

.bcc-footer .bcc-footer__links[data-kind="legal"] a {
  color: var(--_footer-legal-link);
}

.bcc-footer .bcc-footer__links[data-kind="legal"] a:is(:hover, :focus-visible) {
  color: #fff;
}

.bcc-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .bcc-footer__links a { transition: color 0.25s ease-in; }
  .bcc-footer__social img { transition: opacity 0.3s ease-in; }
}

body:has(.bcc-home) .bcc-footer::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  inset-block-end: calc(100% - 1px);
  block-size: clamp(2.5rem, 6vw, 5rem);
  background: var(--base, #1e1e1e);
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20preserveAspectRatio%3D%22none%22%20viewBox%3D%220%200%201200%2088%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M0%2C88%20C26.6666667%2C81.3333333%2067.6666667%2C73%20123%2C63%20C206%2C48%20233.143113%2C39.6798213%20300%2C38%20C418%2C38%20376%2C63%20600%2C63%20C800%2C53%20800%2C9%20900%2C9%20C964.074327%2C14.1259462%20972%2C19%201072%2C48.5%20C1104.82783%2C58.184211%201147.4945%2C71.3508777%201200%2C88%20L153%2C88%20L0%2C88%20Z%20M142.710073%2C68%20C137.028009%2C69.5496538%20166.710073%2C66%20186.710073%2C61%20C212.710073%2C56%20230.710073%2C52%20224.710073%2C52%20C210.710073%2C53%20161.710073%2C62%20142.710073%2C68%20Z%20M452%2C66%20C478%2C69%20494.661622%2C70.1225461%20510%2C71%20C512%2C69%20438%2C66%20399%2C54%20C372%2C49%20423%2C63%20452%2C66%20Z%20M760%2C52%20C822%2C36%20835%2C29%20866%2C19%20C843%2C22%20838%2C30%20758%2C49%20C714.044384%2C59.4394588%20667.555048%2C63.5529705%20647%2C66%20C630.225391%2C71.0180454%20714%2C60%20760%2C52%20Z%20M1079%2C63%20C1126%2C74%201104%2C69%201138%2C77%20C1211%2C91%201086.4657%2C62.6682768%201031%2C47%20C988%2C35%20972%2C27%20952%2C25%20C955.077103%2C26.7583445%20964%2C30%20987%2C38%20C995.110148%2C40.8209211%201007.38944%2C45.2681042%201019%2C48%20C1036%2C52%201063.70464%2C59.4202358%201079%2C63%20Z%20M804%2C47%20C799.379839%2C48.9800688%20823.539505%2C41.6745171%20831%2C39%20C839.756579%2C35.8608489%20849.635459%2C32.2566097%20859%2C28%20C870%2C23%20885.53012%2C19.6385542%20883%2C20%20C876%2C21%20869.654735%2C21.8145419%20858%2C26%20C847.289872%2C29.8462302%20834.622864%2C35.9959108%20829%2C38%20C818.607178%2C41.7041871%20811%2C44%20804%2C47%20Z%22/%3E%3Cpath%20d%3D%22M627%2058C635%2058%20647%2057%20671%2054%20711%2047%20715%2047%20719%2045%20723%2043%20685%2050%20674%2051%20647.045275%2054.8088199%20619%2058%20627%2058zM841%2010C841%2011.5441906%20869.142098%204%20897%204%20907%204%20915.310044%204.56137383%20924%206%20938.679025%208.43011948%20951.368773%2012.4078067%20953%2012%20957%2011%20925.794338%201.51418461%20897%201%20871%201%20860%206%20841%2010zM935-1.13686838e-13C935%201.54419057%20976.089223%2013.5223057%20998%2019%201010%2022%201073.26204%2044.65511%201073%2044%201071%2039%201029%2027%201000%2017%20970%2010%20955%205%20935-1.13686838e-13zM239%2037C230%2038%20262.079712%2030.1833483%20304%2028%20334.079712%2026.4333483%20385.167448%2036.9473108%20386%2040%20386.667448%2042.4473108%20344.195372%2029.9585744%20305%2032%20272.195372%2033.7085744%20239.481637%2038.7660014%20239%2037zM35%2078C33.9338557%2076.7819637%2066.7295256%2069.2615456%2084%2065%20105.229526%2059.7615456%20147%2053%20148%2055%20149.079061%2056.2327932%20118.330961%2059.9962563%2094%2066%2075%2069%2035.9133813%2079.0435094%2035%2078zM470%2057C475.358382%2057.7654832%20499.640262%2059.1521117%20522%2060%20546.363359%2060.9238662%20568.907331%2061.2680352%20574%2061%20583%2060%20548%2060%20523%2058%20508%2058%20463%2054%20470%2057z%22/%3E%3Cpath%20d%3D%22M268%2C26%20C270.8794%2C25.1773143%20298.264904%2C22.0248645%20321%2C23%20C342.372838%2C23.9167066%20370%2C29%20371%2C32%20C363%2C30%20349%2C27%20323%2C25%20C308%2C23%20261%2C28%20268%2C26%20Z%22/%3E%3C/g%3E%3C/svg%3E") center bottom / 153% 100% no-repeat;
}
