/* ============================================================
   DHEKSTRO — Brand Identity v2 integration
   Source: DHEKS core + TRO extension + copper square terminal.
   ============================================================ */
:root {
  --brand-void: #070706;
  --brand-ink: #0D0D0B;
  --brand-panel: #131311;
  --brand-ivory: #F0EBE0;
  --brand-copper: #B5742A;
  --brand-brass: #D4923C;
  --brand-smoke: #96938A;
  --brand-display: 'Big Shoulders Display', var(--font-display), 'Arial Narrow', sans-serif;
  --brand-ui: 'Space Grotesk', var(--font-ui), system-ui, sans-serif;
}
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--brand-display);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ivory);
}
.brand-wordmark .brand-core {
  color: var(--brand-ivory);
  font-weight: 900;
}
.brand-wordmark .brand-ext {
  color: rgba(240, 235, 224, 0.46);
  font-weight: 300;
}
.brand-period {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin-left: 0.035em;
  vertical-align: 0.09em;
  background: var(--brand-copper);
  flex: 0 0 auto;
}
.brand-wordmark--nav {
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -0.006em;
}
.brand-wordmark--nav .brand-ext {
  color: rgba(233, 227, 212, 0.42);
}
.brand-wordmark--hero {
  justify-content: center;
  width: 100%;
  font-size: clamp(82px, 15.5vw, 224px);
  text-align: center;
  text-shadow: 0 0 90px rgba(181, 116, 42, 0.18);
}
.brand-wordmark--hero .brand-ext {
  color: rgba(233, 227, 212, 0.36);
}
.brand-wordmark--footer {
  font-size: clamp(44px, 7vw, 96px);
}
.footer-brand-wordmark { min-width: 0; }
.nav-brand.brand-wordmark { text-transform: uppercase; }
.menu-top .brand-wordmark--nav { font-size: 26px; }
@media (max-width: 768px) {
  .brand-wordmark--nav { font-size: 22px; }
  .brand-wordmark--hero {
    font-size: clamp(56px, 18vw, 112px);
    letter-spacing: -0.018em;
  }
  .brand-period { width: 0.17em; height: 0.17em; }
}
@media (max-width: 430px) {
  .brand-wordmark--hero { font-size: clamp(50px, 17vw, 78px); }
}

/* Footer rebrand fit fix -------------------------------------------------
   Footer must stay one-line on desktop in both EN and PT-PT.
   The previous grid let the PT legal line balance/wrap. This version treats
   the three footer items as max-content tracks on desktop and only stacks
   intentionally below tighter widths. */
.footer-base {
  display: grid !important;
  grid-template-columns: auto max-content max-content;
  justify-content: space-between;
  align-items: center;
  column-gap: clamp(28px, 4.8vw, 88px);
  row-gap: 14px;
}
.footer-brand-wordmark { min-width: 0; }
.footer-brand-wordmark.brand-wordmark--footer {
  font-size: clamp(20px, 1.75vw, 29px);
  justify-self: start;
  line-height: 0.92;
}
.footer-base > .mono {
  min-width: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: nowrap;
  line-height: 1;
  font-size: clamp(8.2px, 0.56vw, 10.5px);
  letter-spacing: 0.105em;
}
.footer-base > .mono:nth-child(2) {
  justify-self: center;
  text-align: center;
}
.footer-base > .mono:nth-child(3) {
  justify-self: end;
  text-align: right;
}
@media (max-width: 1320px) {
  .footer-base {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .footer-base > .mono:nth-child(2),
  .footer-base > .mono:nth-child(3) {
    justify-self: end;
    text-align: right;
  }
  .footer-base > .mono:nth-child(3) {
    grid-column: 2;
  }
}
@media (max-width: 980px) {
  .footer-base {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-brand-wordmark.brand-wordmark--footer {
    font-size: clamp(24px, 8vw, 40px);
  }
  .footer-base > .mono {
    white-space: normal;
    text-wrap: auto;
    line-height: 1.55;
  }
  .footer-base > .mono:nth-child(2),
  .footer-base > .mono:nth-child(3) {
    justify-self: start;
    text-align: left;
    grid-column: auto;
  }
}
