 .footer { padding: 29px 0 15px; } /* Mobile and tablet: one centred column. From 1200px the logo sits left and the links right */ .footer__inner { display: grid; justify-items: center; gap: 28px; width: min(1530px, 100% - 2 * var(--x-gap)); margin: 0 auto; } .footer__logo-image { width: clamp(200px, 17.93vw, 314px); } .footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; margin: 0; padding: 0; } .footer__nav-link { font-weight: 900; font-size: clamp(15px, 1.09vw, 19px); line-height: 1.2; text-transform: uppercase; color: var(--color-primary); } .footer__nav-link:hover, .footer__nav-link:focus { text-decoration: underline; text-decoration-color: var(--color-secondary); text-decoration-thickness: 3px; text-underline-offset: 5px; } .footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; } .footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; } /* component:menu renders .menu__link — target by descendant, not a chained BEM class */ .footer__menu .menu__link { font-size: 11px; line-height: 1.2; color: var(--color-primary); } .footer__menu .menu__item { font-size: 11px; line-height: 1.2; } /* a button, so it doesn't get the global a:hover underline: match the links by hand */ .footer__consent { padding: 0; border: 0; background: none; font: inherit; text-underline-offset: 0.4em; cursor: pointer; } .footer__consent:hover, .footer__consent:focus-visible { text-decoration: underline; } .footer__parent-logo { width: 115px; height: 32px; object-fit: contain; } @media (min-width: 1200px) { .footer__inner { grid-template-columns: auto 1fr; justify-items: start; align-items: end; gap: 0; } .footer__logo { grid-row: 1 / 3; margin-left: -14px; } .footer__nav { justify-content: flex-end; justify-self: end; align-self: center; padding-top: 54px; } .footer__bottom { justify-content: flex-end; justify-self: end; padding-bottom: 3px; } } /* Scroll animations (components/motion.twig): the logo wobbles in like a sticker, the community links rise */ @keyframes footer-wobble { 0% { rotate: -14deg; scale: .8; opacity: 0; } 35% { rotate: 6deg; scale: 1.04; opacity: 1; } 55% { rotate: -3deg; scale: .99; } 75% { rotate: 1.5deg; } 100% { rotate: 0deg; scale: 1; opacity: 1; } } @keyframes footer-rise { from { transform: translateY(100%); opacity: 0; } } .motion .footer__logo-image { animation: footer-wobble 1.2s ease-out both; } .footer__nav-item:nth-child(2) { --i: 1; } .footer__nav-item:nth-child(3) { --i: 2; } .footer__nav-item:nth-child(4) { --i: 3; } .footer__nav-item:nth-child(5) { --i: 4; } .footer__nav-item:nth-child(6) { --i: 5; } .footer__nav-item:nth-child(7) { --i: 6; } .footer__nav-item:nth-child(8) { --i: 7; } .motion .footer__nav-item { animation: footer-rise .6s calc(var(--i, 0) * 50ms) var(--ease-out-soft) both; }  /* Mobile and tablet: the two lines stack centred, matching the footer. From 1200px they sit at either end */ .copyright { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; line-height: 1; padding: 1rem var(--x-gap); color: #fff; background-color: #121212; } .copyright img { height: 1.1em; vertical-align: middle; } @media (min-width: 1200px) { .copyright { flex-direction: row; justify-content: space-between; flex-wrap: wrap; text-align: left; } }  .specials-popup { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: var(--z-index-overlay); display: grid; grid-template-columns: 96px 1fr; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .06); } .specials-popup[hidden] { display: none; } .specials-popup--text { grid-template-columns: 1fr; } /* The open menu covers the page; the card shouldn't sit on top of it */ .navbar-open .specials-popup { display: none; } .specials-popup__image { width: 100%; height: 100%; object-fit: cover; } .specials-popup__body { display: grid; align-content: center; justify-items: start; gap: 8px; padding: 16px 44px 18px 16px; } .specials-popup__heading { --d: .3s; } /* The section-heading at card size */ .specials-popup__heading .section-heading__eyebrow { font-size: 12px; } /* At card size the outline reads thin, so the fill is reversed: the letters land outlined (white fill) and fill in solid, rather than landing solid and settling to the outline */ .specials-popup__heading .section-heading__title { --d: .4s; --letters-from: var(--section-heading-fill, #fff); font-size: 24px; line-height: 1.15; color: var(--color-primary); -webkit-text-stroke-width: 2px; } .specials-popup__text { --d: .7s; font-size: 13px; line-height: 1.5; color: var(--color-primary); } /* Content is a WYSIWYG field; its paragraphs sit tight inside the card */ .specials-popup__text p { margin: 0; } .specials-popup__text a { text-decoration: underline; } .specials-popup__link { --d: .8s; display: flex; align-items: center; justify-content: center; height: 40px; margin-top: 4px; padding: 0 18px; border: 1.5px solid var(--color-secondary); border-radius: 4px; font-weight: 700; font-size: 12px; line-height: 1.2; text-transform: uppercase; color: #000; transition: background-color .2s var(--easing); } .specials-popup__link:hover, .specials-popup__link:focus { background: var(--color-secondary); text-decoration: none; } .specials-popup__close { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; cursor: pointer; } /* An × drawn from two bars */ .specials-popup__close::before, .specials-popup__close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: var(--color-primary); transform: translate(-50%, -50%) rotate(45deg); } .specials-popup__close::after { transform: translate(-50%, -50%) rotate(-45deg); } .specials-popup__close:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: -4px; } @keyframes specials-popup-in { from { transform: translateY(40px); opacity: 0; } } .motion .specials-popup { animation: specials-popup-in .7s var(--ease-out) both; } @media (min-width: 768px) { .specials-popup { right: 28px; bottom: 28px; left: auto; width: 420px; grid-template-columns: 140px 1fr; } .specials-popup--text { grid-template-columns: 1fr; } .specials-popup__body { gap: 10px; padding: 22px 48px 24px 22px; } .specials-popup__heading .section-heading__eyebrow { font-size: 13px; } .specials-popup__heading .section-heading__title { font-size: 30px; } .specials-popup__text { font-size: 14px; } } 