.ed-footer {
  --footer-muted: #bcbcbc;
  --footer-rule: #363636;
  --footer-inset: clamp(36px, 3.2vw, 64px);
  position: relative;
  isolation: isolate;
  /* The footer fills the screen: links at the top, the signature takes the room that is left. */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: max(var(--footer-inset), 104px) 0 0;
  background: #0b0b0b;
  color: #fff;
  line-height: 1.45;
}
.ed-footer-inner {
  flex: none;
  width: min(84%, 1550px);
  margin-inline: auto;
}
.ed-footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3.6vw, 76px);
}
.ed-footer summary {
  list-style: none;
  cursor: pointer;
}
.ed-footer summary::-webkit-details-marker { display: none; }
.ed-footer summary::marker { content: ""; }
.ed-foot-col summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -.022em;
  cursor: default;
}
.ed-foot-col ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.ed-foot-col li + li { margin-top: 6px; }
.ed-footer a {
  color: var(--footer-muted);
  text-decoration: none;
}
.ed-foot-col a {
  display: inline-block;
  padding-block: 2px;
  font-size: .9rem;
  line-height: 1.5;
}
.ed-footer a:hover, .ed-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.ed-footer :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}
.ed-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(24px, 2.75vw, 48px);
  border-top: 1px solid var(--footer-rule);
  padding-top: 16px;
  font-size: .84rem;
}
.ed-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  color: var(--footer-muted);
}
.ed-legal a { padding-block: 5px; }
.ed-lang { position: relative; }
.ed-lang summary {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  gap: 8px;
}
.ed-lang svg { width: 16px; height: 16px; }
.ed-lang i, .ed-foot-col i, .ed-footer-company i {
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.ed-foot-col i { display: none; }
.ed-lang[open] i, .ed-foot-col[open] i, .ed-footer-company[open] i { transform: translateY(1px) rotate(225deg); }
.ed-lang > div {
  position: absolute;
  z-index: 1;
  bottom: calc(100% + 4px);
  min-width: 140px;
  padding: 5px;
  border: 1px solid #484848;
  border-radius: 10px;
  background: #202020;
}
.ed-lang > div a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
}
.ed-lang a:hover, .ed-lang a:focus-visible {
  background: #353535;
  text-decoration: none;
}
.ed-footer-company { position: relative; }
.ed-footer-company summary { display: flex; align-items: center; gap: 8px; padding-block: 6px; }
.ed-footer-disclosure {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 2;
  width: min(370px, calc(100vw - 40px));
  padding: 18px 20px;
  border: 1px solid #484848;
  border-radius: 10px;
  background: #202020;
  color: #ccc;
  font-size: .875rem;
  line-height: 1.55;
}
.ed-footer-disclosure p { margin: 0 0 10px; }
.ed-footer-disclosure p:first-child { color: #fff; }
.ed-footer-disclosure div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ed-footer-disclosure a { text-decoration: underline; text-underline-offset: .18em; }
.footer-signature {
  /* The signature takes the height that is left, stays inside the width, and sits flush with the page edge.
     pyratz-signature-top.svg is the upper 546 units of the 613-unit signature. */
  flex: 1 1 auto;
  min-height: clamp(90px, 17vw, 240px);
  margin: clamp(18px, 2.2vw, 42px) 4% 0;
  background: #e50000;
  -webkit-mask: url("assets/pyratz-signature-top.svg") center bottom / contain no-repeat;
  mask: url("assets/pyratz-signature-top.svg") center bottom / contain no-repeat;
}
@media (min-width: 900px) and (max-width: 1200px) {
  .ed-footer-inner { width: 91%; }
  .ed-footer-nav { gap: 24px; }
}
@media (max-width: 899px) {
  .ed-footer { padding-top: 96px; }
  .ed-footer-inner { width: calc(100% - 40px); }
  .ed-footer-nav { display: block; }
  .ed-foot-col { border-top: 1px solid var(--footer-rule); }
  .ed-foot-col:last-child { border-bottom: 1px solid var(--footer-rule); }
  .ed-foot-col summary { min-height: 55px; cursor: pointer; }
  .ed-foot-col i { display: inline-block; margin-right: 3px; }
  .ed-foot-col ul { margin: 0 0 16px; }
  .ed-foot-col li + li { margin-top: 0; }
  .ed-foot-col a { padding-block: 8px; }
  .ed-footer-meta {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 12px;
    padding-top: 0;
    border: 0;
  }
  .ed-legal { position: relative; gap: 4px 14px; }
  .ed-footer-company { position: static; }
  .ed-footer-disclosure { right: auto; left: 0; }
}
@media print { .ed-footer { display: none; } }
@media (max-width: 899px) and (max-height: 640px) {
  .ed-foot-col summary { min-height: 44px; }
  .ed-footer-meta { margin-top: 8px; }
}
/* The investor newsletter, at the top of every footer (owner's request, 01/12/2026): one sentence beside the
   field, on the black of the footer, above a thin rule. The form itself is styled in fr-site.css (pz-news). */
.ed-footer-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px clamp(32px, 6vw, 120px); align-items: end; margin-bottom: clamp(36px, 4vw, 64px); padding-bottom: clamp(28px, 3vw, 48px); border-bottom: 1px solid var(--footer-rule); }
.ed-footer-news h2 { max-width: 18ch; margin: 0; font-size: clamp(1.75rem, 3.2vw, 3rem); font-weight: 720; line-height: 1.04; letter-spacing: -.05em; color: #fff; }
.ed-footer-news h2 + p { max-width: 44ch; margin: 14px 0 0; color: var(--footer-muted); }
.ed-footer-news .pz-news { max-width: none; padding-top: 14px; }
.ed-footer-news .pz-news-label, .ed-footer-news .pz-news-note { color: var(--footer-muted); }
.ed-footer-news .pz-news-row { border-color: #444; background: #161616; }
.ed-footer-news .pz-news-row:focus-within { border-color: #fff; box-shadow: 0 0 0 3px rgb(229 0 0 / .35); }
.ed-footer-news .pz-news-row input[type=email] { color: #fff; }
.ed-footer-news .pz-news-row input::placeholder { color: #8d8d8d; }
.ed-footer-news .pz-news-go { border-color: #fff; background: #fff; color: #111; }
.ed-footer-news .pz-news-go:hover { border-color: #e50000; background: #e50000; color: #fff; }
.ed-footer-news .pz-news-status { color: #fff; }
@media (max-width: 860px) { .ed-footer-news { grid-template-columns: minmax(0, 1fr); align-items: start; margin-bottom: 8px; border-bottom: 0; } }
/* Home page: the signature keeps its full size under the newsletter band (owner's request, 01/12/2026); the footer
   grows taller than the screen instead of shrinking it. */
/* Home page (01/12/2026): the newsletter band stays at the top of the footer, but scrolled to the very bottom the
   screen shows only the footer links and the signature. The footer is one screen taller than the band
   (--fr-news-h, measured by site-footer.js); the signature fills what is left, drawn 30 % smaller. */
.fr-home .ed-footer { min-height: calc(100svh + var(--fr-news-h, 0px)); }
.fr-home .footer-signature { min-height: clamp(105px, 23.8vw, 420px); -webkit-mask-size: auto min(100%, clamp(105px, 23.8vw, 420px)); mask-size: auto min(100%, clamp(105px, 23.8vw, 420px)); }
@media (max-width: 860px) { .fr-home .ed-footer-news { margin-bottom: 96px; } }
