/*
 * Site footer: a deep-green consultation band closing into the ink footer.
 * Colours, type, spacing and radii come from assets/css/tokens.css; nothing here
 * declares a second palette. Parts: band, ink body, link strip, legal row.
 */
.wsc-footer {
  --ft-line: rgba(255, 255, 255, .14);
  --ft-text: rgba(255, 255, 255, .68);
  --ft-strong: #fff;
  --ft-green: #006b3f;
  font-family: var(--wsc-font);
  color: var(--ft-text);
  background: var(--wsc-ink);
}

/* Deep-green consultation band */
.wsc-footer-cta {
  background: var(--wsc-green);
  color: #fff;
}

.wsc-footer-cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(36px, 5vw, 64px);
}

.wsc-footer-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.wsc-footer-cta-title {
  margin: 0;
  max-inline-size: 24ch;
  font-family: var(--wsc-title);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.025em;
  color: #fff;
  text-wrap: balance;
}

.wsc-footer-cta-text {
  margin: 14px 0 0;
  max-inline-size: 62ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .84);
}

.wsc-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.wsc-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 52px;
  min-inline-size: 11.5rem;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--wsc-radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.wsc-footer-btn--primary {
  background: #fff;
  border-color: #fff;
  color: var(--wsc-active);
}

.wsc-footer-btn--primary:hover,
.wsc-footer-btn--primary:focus-visible {
  background: var(--wsc-soft);
  border-color: var(--wsc-soft);
  color: var(--wsc-active);
}

.wsc-footer-btn--primary:active {
  background: var(--wsc-line);
  border-color: var(--wsc-line);
}

.wsc-footer-btn--ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.wsc-footer-btn--ghost:hover,
.wsc-footer-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

.wsc-footer-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Ink body */
.wsc-footer-body {
  padding-block: clamp(32px, 5vw, 64px) 24px;
}

.wsc-footer-top {
  display: grid;
  /* The contact column is the widest of the three right columns: the postal address
     holds three fixed lines and each one should fit whole instead of breaking mid-phrase. */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .55fr) minmax(0, .55fr) minmax(0, 1.2fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.wsc-footer-logo {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: var(--wsc-radius);
  background: #fff;
}

.wsc-footer-logo-img {
  display: block;
  inline-size: 190px;
  block-size: auto;
}

.wsc-footer-logo-text {
  font-family: var(--wsc-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--wsc-ink);
}

.wsc-footer-brand-line {
  margin: 20px 0 0;
  max-inline-size: 30ch;
  font-family: var(--wsc-title);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ft-strong);
}

.wsc-footer-brand-text {
  margin: 10px 0 0;
  max-inline-size: 42ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ft-text);
}

.wsc-footer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.wsc-footer-facts li {
  padding: 5px 9px;
  border: 1px solid var(--ft-line);
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

/* Link columns */
.wsc-footer-col-title {
  margin: 0 0 16px;
  font-family: var(--wsc-title);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .52);
}

.wsc-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wsc-footer-col li + li {
  margin-block-start: 2px;
}

.wsc-footer-col a,
.wsc-footer-contact-row {
  font-size: 15px;
  line-height: 1.45;
}

.wsc-footer-col a {
  display: inline-block;
  padding-block: 7px;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.wsc-footer-col a:hover,
.wsc-footer-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact column */
.wsc-footer-contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-block: 6px;
}

.wsc-footer-icon {
  flex: none;
  inline-size: 18px;
  block-size: 18px;
  color: rgba(255, 255, 255, .55);
}

.wsc-footer-contact-link {
  padding-block: 4px;
}

/* The postal address runs to three lines and starts on the pin's line, not under it. */
.wsc-footer-contact-row--address {
  align-items: flex-start;
  flex-wrap: nowrap;
}

.wsc-footer-contact-row--address .wsc-footer-icon {
  margin-block-start: 3px;
}

.wsc-footer-address {
  flex: 1 1 auto;
  min-inline-size: 0;
  font-style: normal;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .8);
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.wsc-footer-copy {
  display: grid;
  flex: none;
  place-items: center;
  inline-size: 34px;
  block-size: 34px;
  padding: 0;
  border: 1px solid var(--ft-line);
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.wsc-footer-copy svg {
  inline-size: 16px;
  block-size: 16px;
}

.wsc-footer-copy:hover,
.wsc-footer-copy:focus-visible {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.wsc-footer-copy[hidden] {
  display: none;
}

.wsc-footer-copy-status {
  flex-basis: 100%;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .78);
}

.wsc-footer-copy-status:empty {
  display: none;
}

/* Link strip */
.wsc-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-block-start: clamp(32px, 4vw, 48px);
  padding-block: 16px;
  border-block-start: 1px solid var(--ft-line);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .5);
}

.wsc-footer-links a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.wsc-footer-links a:hover,
.wsc-footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Legal row */
.wsc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--ft-line);
}

.wsc-footer-legal {
  margin: 0;
  max-inline-size: 72ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .5);
}

.wsc-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wsc-footer-social a {
  display: grid;
  place-items: center;
  inline-size: 38px;
  block-size: 38px;
  border: 1px solid var(--ft-line);
  border-radius: 4px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.wsc-footer-social a svg {
  inline-size: 19px;
  block-size: 19px;
}

.wsc-footer-social a:hover,
.wsc-footer-social a:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.wsc-footer :is(a, button):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .wsc-footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .wsc-footer-brand,
  .wsc-footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 780px) {
  .wsc-footer-cta-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .wsc-footer-cta-actions {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .wsc-footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wsc-footer-btn {
    inline-size: 100%;
    min-inline-size: 0;
  }

  .wsc-footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .wsc-footer-brand,
  .wsc-footer-contact {
    grid-column: auto;
  }

  .wsc-footer-logo-img {
    inline-size: 150px;
  }

  .wsc-footer-brand-line {
    font-size: 16px;
  }

  .wsc-footer-bottom {
    flex-direction: column;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wsc-footer-btn,
  .wsc-footer-copy,
  .wsc-footer-social a {
    transition: none;
  }
}
