.tfoot {
  --tf-fg: #fff;
  --tf-soft: rgba(255, 255, 255, .7);
  --tf-line: rgba(255, 255, 255, .14);
  --tf-tile: rgba(255, 255, 255, .16);
  position: relative;
  z-index: 3;
  margin-top: 12px;
  background: #0b0b0b;
  color: var(--tf-soft);
}
.tfoot__in {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  box-sizing: border-box;
}
.tfoot__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 76px;
  padding-bottom: 44px;
}
.tfoot__brand {
  position: relative;
}
.tfoot__head .tfoot__brand {
  flex: 1;
}
.tfoot .brand {
  color: var(--tf-fg);
  gap: 16px;
  transition: opacity .6s var(--ease);
}
.tfoot .brand__mark {
  width: 44px;
  height: 45px;
}
.tfoot .brand__name {
  font-size: 46px;
}
.tfoot .brand.is-morphing {
  opacity: 0;
  transition-duration: .45s;
}
.tfoot .brand.is-warm {
  color: #fde838;
  transition: opacity .45s var(--ease);
}
.tfoot .brand:not(.is-warm):not(.is-morphing) {
  transition: opacity .6s var(--ease), color .7s var(--ease);
}
.tfoot__morph {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
}
.tfoot__morph.is-on {
  opacity: 1;
}
.tfoot__main {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  width: calc(100% - 2 * var(--pad));
  padding: 44px 0 64px;
  border-top: 1px solid var(--tf-line);
}
.tfoot__col h2 {
  margin: 6px 0 26px;
  font: 400 22px/1.2 var(--f-display);
  letter-spacing: -.01em;
  color: var(--tf-fg);
}
.tfoot__col li {
  font-size: 17px;
  line-height: 1.5;
}
.tfoot__col li + li {
  margin-top: 14px;
}
.tfoot__col a {
  display: inline-block;
  transition: color .2s, transform .35s var(--ease);
}
.tfoot__col--svc {
  grid-column: 1 / span 4;
}
.tfoot__col--svc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: 24px;
  row-gap: 14px;
}
.tfoot__col--svc li + li {
  margin-top: 0;
}
.tfoot__col--loc {
  grid-column: 5 / span 5;
}
.tfoot__col--loc ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
}
.tfoot__col--loc li + li {
  margin-top: 0;
}
.tfoot__col--loc b {
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
  color: var(--tf-fg);
}
.tfoot__col--contact {
  grid-column: 10 / span 3;
}
.tfoot__mail {
  color: var(--tf-fg);
}
.tfoot__social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tfoot__social a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--tf-tile);
  color: var(--tf-fg);
  transition:
    background-color .25s var(--ease),
    border-color .25s,
    color .25s;
}
.tfoot__social b {
  font: 700 15px/1 var(--f-sans);
  letter-spacing: -.01em;
}
.tfoot__social svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.tfoot__social svg .dot {
  fill: currentColor;
  stroke: none;
}
.tfoot__bar {
  border-top: 1px solid var(--tf-line);
}
.tfoot__bar > .tfoot__in:first-child {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  letter-spacing: .04em;
}
.tfoot__bar > .tfoot__in:first-child > span:first-child {
  grid-column: 1 / span 4;
}
.tfoot__legal {
  grid-column: 5 / span 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.tfoot__legal a {
  white-space: nowrap;
}
.tfoot__top {
  grid-column: 10 / span 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
}
.tfoot__top svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform .3s var(--ease);
}
.tfoot__top:hover svg {
  transform: translateY(-3px);
}
.tfoot__demo {
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 28px;
  font-size: var(--t-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .7;
}
@media (hover: hover) and (pointer: fine) {
  .tfoot__col a:hover {
    color: var(--accent);
    transform: translateX(4px);
  }
  .tfoot__social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
  }
  .tfoot__bar a:hover {
    color: var(--tf-fg);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
  }
}
@media (max-width: 1024px) {
  .tfoot__main,
  .tfoot__bar > .tfoot__in:first-child {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 56px;
  }
  .tfoot__col--svc {
    grid-column: 1 / -1;
  }
  .tfoot__col--loc,
  .tfoot__col--contact {
    grid-column: 1 / -1;
  }
  .tfoot__bar > .tfoot__in:first-child {
    row-gap: 14px;
  }
  .tfoot__bar > .tfoot__in:first-child > span:first-child {
    grid-column: 1 / -1;
  }
  .tfoot__legal {
    grid-column: 1;
  }
  .tfoot__top {
    grid-column: 2;
  }
}
@media (max-width: 760px) {
  .tfoot__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-top: 56px;
    padding-bottom: 32px;
  }
  .tfoot__main {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
    padding-top: 36px;
    padding-bottom: 48px;
  }
  .tfoot__col--loc,
  .tfoot__col--contact {
    grid-column: 1;
  }
  .tfoot__col--loc ul {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
  .tfoot__col h2 {
    margin-bottom: 18px;
  }
  .tfoot__col--svc ul {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-template-rows: none;
  }
  .tfoot .brand {
    gap: 11px;
  }
  .tfoot .brand__mark {
    width: 30px;
    height: 30.7px;
  }
  .tfoot .brand__name {
    font-size: 31px;
  }
  .tfoot__legal {
    gap: 10px 16px;
  }
  .tfoot__bar > .tfoot__in:first-child {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .tfoot__top {
    justify-self: end;
    align-self: start;
  }
}
