.pd-global-footer {
  --pd-footer-ink: #120d16;
  --pd-footer-muted: #646168;
  --pd-footer-line: rgba(18, 13, 22, 0.08);
  position: relative;
  overflow: hidden;
  color: var(--pd-footer-ink);
  background: #fff;
  border-top: 1px solid var(--pd-footer-line);
  font-family: "Rethink Sans", "Sora", sans-serif;
}

.pd-global-footer *,
.pd-global-footer *::before,
.pd-global-footer *::after {
  box-sizing: border-box;
}

.pd-global-footer-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  pointer-events: none;
}

.pd-global-footer-grid span {
  border-right: 1px solid var(--pd-footer-line);
}

.pd-global-footer-grid span:first-child {
  grid-column: 1;
}

.pd-global-footer-inner {
  position: relative;
  z-index: 1;
}

.pd-global-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(50px, 8vw, 150px);
  align-items: center;
  min-height: 365px;
  padding: 80px clamp(32px, 4.2vw, 84px) 70px;
}

.pd-global-footer-intro {
  max-width: 820px;
}

.pd-global-footer-title {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--pd-footer-ink);
  font-family: "Rethink Sans", "Sora", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.pd-global-footer-plus {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  background: #f1f1f3;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 500;
}

.pd-global-footer-intro p {
  max-width: 820px;
  margin: 0;
  color: var(--pd-footer-muted);
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  line-height: 1.45;
}

.pd-global-footer-email {
  justify-self: end;
  color: var(--pd-footer-ink);
  font-size: clamp(1rem, 1.65vw, 1.7rem);
  font-weight: 450;
  letter-spacing: -0.025em;
  text-decoration: none;
  text-transform: uppercase;
}

.pd-global-footer-email:hover,
.pd-global-footer-email:focus {
  color: #40a947;
}

.pd-global-footer-brand-row {
  display: flex;
  min-height: 270px;
  padding: 45px clamp(32px, 4.2vw, 84px);
  align-items: flex-start;
  border-top: 1px solid var(--pd-footer-line);
}

.pd-global-footer-brand {
  display: inline-flex;
  max-width: min(440px, calc(100% - 90px));
  align-items: center;
  color: var(--pd-footer-ink);
  text-decoration: none;
}

.pd-global-footer-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
}

.pd-global-footer-logo-text {
  color: var(--pd-footer-ink);
  font-family: "Rethink Sans", "Sora", sans-serif;
  font-size: clamp(3.2rem, 6.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.9;
}

.pd-global-footer-logo-text span {
  color: #40a947;
}

.pd-global-footer-contact {
  display: inline-flex;
  width: 82px;
  height: 82px;
  margin-left: 34px;
  flex: 0 0 82px;
  align-items: center;
  justify-content: center;
  color: var(--pd-footer-ink);
  background: #f3f3f4;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.pd-global-footer-contact:hover,
.pd-global-footer-contact:focus {
  color: #fff;
  background: var(--pd-footer-ink);
  transform: rotate(8deg);
}

.pd-global-footer-copy {
  margin: 0;
  padding: 0 30px 48px;
  color: var(--pd-footer-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
}

.pd-global-footer-cookies {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.pd-global-footer-cookies:hover {
  color: var(--pd-footer-ink);
}

.pd-global-footer-cookies:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.pd-global-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 12px 24px;
  padding-inline: 20px;
  color: var(--pd-footer-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Cimahi pages do not load the base theme's spacing utilities. */
.pd-global-footer .layout-pb-sm {
  padding-bottom: 30px;
}

.pd-legal-page .layout-pt-xl {
  padding-top: clamp(140px, 12vw, 200px);
}

.pd-legal-page .layout-pb-lg {
  padding-bottom: clamp(60px, 8vw, 90px);
}

.pd-global-footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-global-footer-legal a:hover {
  color: var(--pd-footer-ink);
}

.pd-global-footer-legal a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.pd-legal-page {
  background: #fff;
  color: #120d16;
}

.pd-legal-inner {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
}

.pd-legal-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pd-legal-page h1 {
  margin: 20px 0 40px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.pd-legal-content {
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.pd-legal-content h2 {
  margin: 36px 0 12px;
  font-size: 1.4rem;
  line-height: 1.3;
}

.pd-legal-content h3 {
  margin: 24px 0 10px;
  font-size: 1.15rem;
}

.pd-legal-content p,
.pd-legal-content ul {
  margin: 0 0 18px;
}

.pd-legal-content ul {
  padding-left: 24px;
  list-style: disc;
}

.pd-legal-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Override the plugin's inline accent with the site's button colour. */
.pdcc-root {
  --pdcc-accent: #120d16 !important;
}

/* Cookie preferences are available from the global footer. */
.pdcc-fixed-button {
  display: none !important;
}

@media (max-width: 991px) {
  .pd-global-footer-top {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 50px;
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .pd-global-footer-email {
    justify-self: start;
  }

  .pd-global-footer-brand-row {
    min-height: 220px;
  }

  .pd-global-footer-brand {
    max-width: min(360px, calc(100% - 76px));
  }

  .pd-global-footer-logo {
    max-height: 74px;
  }

  .pd-global-footer-contact {
    width: 64px;
    height: 64px;
    margin-left: 20px;
    flex-basis: 64px;
  }
}

@media (max-width: 575px) {
  .pd-global-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-global-footer-grid span:nth-child(2),
  .pd-global-footer-grid span:nth-child(3) {
    display: none;
  }

  .pd-global-footer-top {
    padding: 60px 20px;
  }

  .pd-global-footer-title {
    align-items: flex-start;
    font-size: 1.45rem;
  }

  .pd-global-footer-email {
    font-size: 0.88rem;
  }

  .pd-global-footer-brand-row {
    min-height: 180px;
    padding: 38px 20px;
    align-items: center;
  }

  .pd-global-footer-brand {
    max-width: calc(100% - 64px);
  }

  .pd-global-footer-logo {
    max-height: 54px;
  }

  .pd-global-footer-logo-text {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }

  .pd-global-footer-contact {
    width: 52px;
    height: 52px;
    margin-left: 12px;
    flex-basis: 52px;
    font-size: 1.25rem;
  }

  .pd-global-footer-copy {
    padding: 0 20px 32px;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-global-footer-contact {
    transition: none;
  }
}
