@font-face {
  font-family: "PT Sans";
  src: url("../../assets/fonts/PTSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  src: url("../../assets/fonts/PTSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "PT Sans Narrow";
  src: url("../../assets/fonts/PTSansNarrow-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  font-family: "PT Sans", sans-serif;
  font-synthesis: none;
  color: #222;
  background: #fff;
  --claim-color: rgb(0 0 0 / 60%);
  --line-color: rgb(0 0 0 / 40%);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.landingpage {
  width: min(100% - 48px, 1200px);
  margin: auto;
  padding-block: 48px 24px;
}
.brands {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0;
}
.brand {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 36px;
  font-size: clamp(16px, 1.5vw, 20px);
}
/* Individual line fragments leave open corners and never enclose a tile. */
.brand::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: var(--line-color);
  pointer-events: none;
}
.brand:last-child::after { display: none; }
.brand__identity,
.brand__toggle {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.brand__toggle:disabled { opacity: 1; }
.brand__toggle:focus-visible {
  outline: 1px solid #888;
  outline-offset: 12px;
}
/* Direct SVG image resources avoid nested SVG image viewports during zoom. */
.brand__visual {
  display: block;
  flex: none;
  width: var(--logo-width);
  transform-origin: 50% 50%;
}
.brand__logo {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.brand__claim {
  margin: 1.5em 6% 0;
  color: var(--claim-color);
  font-family: "PT Sans Narrow", sans-serif;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  pointer-events: none;
}
.footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px 24px 32px;
  color: rgb(0 0 0 / 60%);
  font-size: 14px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 600px) {
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand::after { display: block; }
  .brand:nth-last-child(-n + 2)::after { display: none; }
  .brand:nth-child(odd)::before {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: var(--line-color);
    pointer-events: none;
  }
}
@media (min-width: 960px) {
  .landingpage { width: min(100% - 96px, 1200px); }
  .brand { aspect-ratio: 1; padding-block: 48px; }
  .brand__toggle { cursor: pointer; }
  .brand__visual {
    /* Prepare a stable composited HTML layer before hover, rather than scaling the SVG viewport. */
    transform: translateZ(0) scale(1);
    will-change: transform;
    transition: transform 300ms ease-out;
  }
  .brand__toggle + .brand__claim {
    opacity: 0;
    transition: opacity 250ms ease-out;
  }
  .brand.is-active .brand__claim { opacity: 1; }
  .brand.is-active .brand__visual { transform: translateZ(0) scale(1.10); }

  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand:nth-child(n)::before { content: none; }
  .brand:not(:nth-child(3n))::before {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: var(--line-color);
    pointer-events: none;
  }
  .brand:nth-child(n)::after { display: block; }
  .brand:nth-last-child(-n + 3)::after { display: none; }
}

@media (min-width: 960px) and (hover: hover) {
  .brand:has(.brand__identity):hover .brand__visual { transform: translateZ(0) scale(1.10); }
}
@media (prefers-reduced-motion: reduce) {
  .brand__visual, .brand__toggle + .brand__claim { transition: none; }
  .brand__visual { will-change: auto; }
  .brand.is-active .brand__visual,
  .brand:has(.brand__identity):hover .brand__visual { transform: none; }
}

.footer a { color: inherit; text-decoration: none; }

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


.footer { position: relative; flex-direction: column; align-items: center; gap: 16px; }
.footer__links { display: flex; justify-content: center; align-items: baseline; gap: 24px; }
.footer__contact-toggle { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; }

.footer__contact-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.footer__contact { margin: 0; max-width: 1200px; color: #000; font-family: "PT Sans Narrow", sans-serif; font-style: normal; font-size: 16px; line-height: 1.5; text-align: center; }
.footer__contact strong { font-family: "PT Sans", sans-serif; font-weight: 700; }
.footer__contact span, .footer__contact a, .footer__contact strong { display: inline-block; }


@font-face {
  font-family: "PT Sans Narrow";
  src: url("../../assets/fonts/PTSansNarrow-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
.redesign-notice {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: 50%;
  margin: 0;
  width: 90vw;
  transform: translate(-50%, -50%);
  padding: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px);
  background: rgb(255 255 255 / 80%);
  box-shadow: 0 0 16px 8px rgb(0 0 0 / 20%);
  color: rgb(0 0 0 / 30%);
  font-family: "PT Sans Narrow", sans-serif;
  font-size: min(8vw, 128px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  pointer-events: none;
  user-select: none;
}
.redesign-notice span { white-space: nowrap; }


/* Contact floats above the footer, outside the page layout. */
.footer__contact {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 500ms ease, visibility 0s linear 500ms;
}
.footer__contact.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 500ms ease, visibility 0s;
}
.footer .footer__links > *, .footer__contact a {
  color: rgb(0 0 0 / 33%);
  text-decoration: none;
  transition: color 250ms ease;
}
.footer a:hover, .footer a:focus-visible,
.footer__contact-toggle:hover, .footer__contact-toggle:focus-visible {
  color: rgb(0 0 0 / 66%);
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  .footer__contact, .footer__contact.is-visible,
  .footer .footer__links > *, .footer__contact a { transition: none; }
}


@media (max-width: 959px) {
  .footer {
    padding-top: calc(var(--contact-height, 240px) + 24px);
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .footer__contact {
    top: 0;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    line-height: 1.75;
  }
  .footer__contact > * { max-width: 100%; overflow-wrap: anywhere; }
  .footer__contact .contact-separator { display: none; }
}
