/* Footer
   Hash suffix _1wynk.
   Part of the ENVY visual layer: files are loaded in numeric order and later files win — keep the order. See ../../README.md */
/* page grid: every block text starts on the same rail */
[class*="_footer_1wynk"] { padding-left: var(--page-x) !important; padding-right: var(--page-x) !important; }
[class*="_footer_1wynk_1"] [class*="_inner_1wynk_9"] { padding-left: 0 !important; padding-right: 0 !important; }
[class*="_socialLink_1wynk"] { border-color: rgba(255, 255, 255, .22); color: #fff !important; }
[class*="_socialLink_1wynk"]:focus-visible{ background: #fff; color: #04120d !important; border-color: #fff; transform: translateY(-2px); }
@media (hover:hover) {
  [class*="_socialLink_1wynk"]:hover{ background: #fff; color: #04120d !important; border-color: #fff; transform: translateY(-2px); }
}
.env-soc-ico { display: block; width: 19px; height: 19px; fill: currentColor; }
[class*="_socialLink_"] > img { display: none !important; }
/* social icons: take the button's ink (the source paints them a pale grey that vanishes on the white sheet) */
[class*="_socialLink_"] svg.env-soc-ico { color: inherit !important; }
[class*="_socialLink_"] svg.env-soc-ico { fill: currentColor !important; }
[class*="_socialLink_"] svg.env-soc-ico * { fill: inherit !important; color: inherit !important; }
@media (max-width: 767px) {
  .env-soc-ico { width: 22px; height: 22px; }
  [class*="_footer_1wynk_1"] [class*="_inner_1wynk_9"] { gap: 20px !important; padding-top: 32px !important; padding-bottom: 32px !important; }
  [class*="_navLink_1wynk_38"] { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: 13px !important; }
  [class*="_socials_1wynk_51"] { max-width: 420px; margin-inline: auto; }
}
[class*="_navLink_1wynk"]::after { content: ""; position: absolute; inset: -8px -6px; }
/* layers: the footer always sits above the last block, and the last block clips its own composited children (Safari lets filtered / transformed layers spill over overflow:hidden) */
[class*="_footer_1wynk_1"] { position: relative; z-index: 30; isolation: isolate; }
/* footer: never shown through the reveal blur (it sits at the very end of the page and can be only partly in view) */
[class*="_footer_1wynk"] [data-reveal], [class*="_footer_1wynk"] [data-reveal] * { filter: none !important; }
[class*="_footer_1wynk"] [data-reveal] { opacity: 1 !important; transform: none !important; }
/* footer type follows the buttons: mono, small caps, wide tracking. The year is a quiet footnote next to a smaller wordmark. */
[class*="_navLink_1wynk"], .envy-foot span {
  font-family: var(--envy-mono) !important; text-transform: uppercase; letter-spacing: .14em; line-height: 16px; -webkit-font-smoothing: antialiased;
}
[class*="_navLink_1wynk"] { font-size: 11px; transition: color .4s var(--envy-ease) !important; }
.envy-foot { gap: 9px; }
.envy-foot .envy-foot-word { width: 46px; }
.envy-foot span { font-size: 10px; letter-spacing: .12em; color: rgba(255, 255, 255, .46); }
/* hover pill with room around the letters (the pill is the link's own box, so the room is link padding) */
@media (min-width: 768px) {
  [class*="_navLink_1wynk"] { display: inline-flex; align-items: center; padding: 11px 18px; }
  [class*="_nav_1wynk_29"] { gap: 0 4px !important; }
}
/* desktop: socials in the middle, the three links on the right (text of the last link stays on the page rail) */
@media (min-width: 901px) {
  [class*="_copyright_1wynk_21"] { grid-column: 1; grid-row: 1; }
  [class*="_socials_1wynk_51"] { grid-column: 2; grid-row: 1; justify-self: center; }
  [class*="_nav_1wynk_29"] { grid-column: 3; grid-row: 1; justify-self: end; margin-right: -18px; flex-wrap: nowrap; }
}

/* mobile footer v2 (19.11): one compact row — logo and year on the left, three round icons in the middle, three tiny links stacked on the right */
@media (max-width: 767px) {
  [class*="_footer_1wynk_1"] [class*="_inner_1wynk_9"] { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 12px; row-gap: 0; padding-top: 22px !important; padding-bottom: 22px !important; }
  [class*="_copyright_1wynk_21"] { grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start !important; gap: 5px; margin: 0; }
  [class*="_copyright_1wynk_21"].envy-foot span { font-size: 9px; }
  [class*="_socials_1wynk_51"] { grid-column: 2; grid-row: 1; justify-self: center; display: flex !important; gap: 8px !important; width: auto !important; max-width: none !important; margin: 0 !important; }
  [class*="_socialLink_1wynk"] { width: 34px !important; height: 34px !important; border-radius: 50% !important; }
  .env-soc-ico { width: 16px; height: 16px; }
  [class*="_nav_1wynk_29"] { grid-column: 3; grid-row: 1; justify-self: end; display: flex !important; flex-direction: column; align-items: flex-end; gap: 7px !important; margin: 0; }
  [class*="_navLink_1wynk_38"] { min-height: 0 !important; padding: 0 !important; font-size: 9px !important; line-height: 12px !important; letter-spacing: .12em; }
  [class*="_navLink_1wynk"]::after { inset: -4px -8px; }
}

/* mobile footer v3 (19.11): a centred stack — round icons exactly on the page axis (44px touch targets), the three links in one row under them, the wordmark and the year as a quiet last line */
@media (max-width: 767px) {
  [class*="_footer_1wynk_1"] [class*="_inner_1wynk_9"] { display: flex !important; flex-direction: column; align-items: center; gap: 6px !important; padding-top: 30px !important; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important; text-align: center; }
  [class*="_socials_1wynk_51"] { order: 1; display: flex !important; justify-content: center; gap: 14px !important; width: auto !important; margin: 0 !important; }
  [class*="_socialLink_1wynk"] { width: 46px !important; height: 46px !important; }
  .env-soc-ico { width: 19px; height: 19px; }
  [class*="_nav_1wynk_29"] { order: 2; display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 2px !important; margin: 8px 0 0 !important; }
  [class*="_navLink_1wynk_38"] { display: inline-flex !important; align-items: center; min-height: 44px !important; padding: 0 12px !important; font-size: 10px !important; line-height: 14px !important; letter-spacing: .14em; }
  [class*="_navLink_1wynk"]::after { inset: 0 -2px; }
  [class*="_copyright_1wynk_21"] { order: 3; flex-direction: row !important; align-items: center !important; justify-content: center; gap: 10px !important; margin: 4px 0 0 !important; padding-top: 14px; width: 100%; border-top: 1px solid rgba(255,255,255,.08); }
  [class*="_copyright_1wynk_21"].envy-foot span { font-size: 9px; }
  [class*="_copyright_1wynk_21"] .envy-foot-word { width: 40px; }
}
