/* The footer waits fixed at the bottom of the window and is uncovered by the
   last section; one taller than the window scrolls through instead. */
.home-footer-reveal {
  position: relative;
  z-index: 60;
  background: #101010;
}
/* The seam travels with the departing section, above the fixed footer. */
.home-footer-reveal::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
  background: #ff650f;
  box-shadow:
    0 1px 5px #ff5000,
    0 3px 16px rgb(255 107 0 / 65%),
    0 6px 32px rgb(255 107 0 / 30%);
}
.home-footer-reveal[data-reveal-ready] {
  height: var(--footer-height);
  clip-path: inset(0);
}
.home-footer-reveal[data-reveal-ready] .home-footer-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .home-footer-reveal[data-reveal-ready] {
    height: auto;
    clip-path: none;
  }
  .home-footer-reveal[data-reveal-ready] .home-footer-panel {
    position: relative;
    transform: none !important;
  }
}

.home-footer-panel > .giant-footer {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  min-height: 100dvh;
  padding: clamp(48px, 7vh, 88px) 0 0 !important;
  overflow: hidden;
  background: #101010;
  color: #f1f0eb;
  font-family: Sora, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
.home-footer-panel .giant-footer > .giant-footer-details {
  box-sizing: border-box;
  flex: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  width: 100%;
  max-width: 1320px;
  padding-inline: clamp(24px, 4vw, 64px);
  padding-top: 12px;
  margin: 0 auto;
}
.home-footer-panel .giant-footer > .footer-line-art {
  position: relative;
  flex: 1 0 120px;
  min-height: 120px;
  width: 100%;
  margin: 16px 0;
  overflow: hidden;
  color: #ff5000;
  pointer-events: none;
}
.footer-line-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.footer-line-art[data-ready] path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.footer-line-art[data-draw] path {
  animation: footer-ribbon-draw 2.8s cubic-bezier(.22, .61, .36, 1) both;
  animation-play-state: paused;
}
.footer-line-art[data-active] path {
  animation-play-state: running;
}
@keyframes footer-ribbon-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
.giant-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.giant-footer h2 {
  font-family: inherit;
  margin: 0 0 18px;
  color: #a6a59b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.giant-footer-column a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 36px;
  width: fit-content;
  font-size: clamp(15px, 1.4vw, 20px);
  text-decoration: none;
  transition:
    transform 180ms ease,
    color 180ms ease;
}
.giant-footer-column a:hover {
  transform: translateX(6px);
  color: #ff5000;
}
.giant-footer-contact .giant-footer-email {
  font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.giant-footer-contact p {
  color: #a6a59b;
  margin: 12px 0 0;
  line-height: 1.5;
  font-size: 14px;
}
.giant-footer-contact .giant-footer-call-note {
  color: var(--site-muted, #a6a59b);
  font-size: 13px;
  line-height: 1.4;
}
.giant-footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.giant-footer .giant-footer-socials :is(a, span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: inherit;
}
.giant-footer-socials svg { flex: none; }
.giant-footer .giant-footer-socials a:hover {
  transform: translateY(-3px);
  color: #ff5000;
}
.giant-footer-services a { max-width: 100%; }
.giant-footer-toggle { display: none; }
.giant-footer-service-links { display: contents; }
@media (min-width: 720px) {
  .giant-footer-column.giant-footer-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 4px 18px; }
  .giant-footer-services h2 { grid-column: 1 / -1; }
  .giant-footer-services a { font-size: clamp(14px, 1.15vw, 18px); line-height: 1.45; }
}
.giant-footer-nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  width: 100%;
}
.home-footer-panel .giant-footer > .giant-footer-bottom {
  box-sizing: border-box;
  flex: none;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px clamp(24px, 4vw, 64px) 16px;
  color: #a6a59b;
  font-size: 12px;
  line-height: 1.5;
}
.giant-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.giant-footer-bottom :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.giant-footer-bottom :is(a, button):hover {
  color: #ff5000;
}
.giant-footer .giant-footer-back-top {
  gap: 10px;
  min-height: 44px;
  margin-left: auto;
  font-weight: 500;
}
.giant-footer :is(a, button):focus-visible {
  outline: 2px solid #ff5000;
  outline-offset: 4px;
}
.home-footer-panel .giant-footer > .giant-footer-word {
  display: flex;
  flex: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2.8vw, 40px);
  width: 100%;
  margin: 0;
  padding: 16px clamp(24px, 4vw, 64px);
  box-sizing: border-box;
  overflow: hidden;
  user-select: none;
}
.giant-footer-letter-slot {
  display: block;
  overflow: hidden;
  min-width: 0;
  padding-top: 24px;
  margin-top: -24px;
}
.giant-footer-letter-reveal { display: block; }
.giant-footer-letter {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms ease;
}
.giant-footer-word[data-ready]:not([data-entered]) .giant-footer-letter-reveal {
  transform: translateY(110%);
}
@media (hover: hover) {
  .giant-footer-letter-slot:hover .giant-footer-letter {
    transform: translateY(-10%);
    color: #ff5000;
  }
}
@media (max-width: 719px) {
  .footer-line-art path {
    stroke-width: 2.4;
  }
  .footer-line-art path:nth-child(6) {
    stroke-width: 3.6;
  }
  .home-footer-panel > .giant-footer {
    padding-top: 48px !important;
    min-height: 100svh;
    min-height: 100dvh;
  }
  .home-footer-panel .giant-footer > .footer-line-art {
    flex-basis: 96px;
    min-height: 96px;
  }
  .home-footer-panel .giant-footer > .giant-footer-details {
    grid-template-columns: 1.3fr 1fr;
    gap: 32px 24px;
    padding-inline: 24px;
  }
  .giant-footer-contact {
    grid-column: 1 / -1;
  }
  .giant-footer h2 {
    margin-bottom: 8px;
  }
  .giant-footer-column {
    gap: 4px;
  }
  .giant-footer-column a {
    min-height: 36px;
    font-size: 14px;
  }
  .giant-footer-contact .giant-footer-email {
    font-size: 24px;
  }
  .giant-footer-contact p {
    margin-top: 8px;
  }
  .giant-footer-nav-links {
    column-gap: 12px;
  }
  .home-footer-panel .giant-footer > .giant-footer-bottom {
    padding: 32px 24px 16px;
    font-size: 11px;
  }
  .giant-footer-bottom nav {
    gap: 4px 16px;
  }
}
@media (min-height: 501px) and (max-height: 800px) and (min-width: 720px) {
  .home-footer-panel .giant-footer > .footer-line-art {
    flex-basis: 88px;
    min-height: 88px;
  }
  .home-footer-panel .giant-footer > .giant-footer-bottom {
    padding-top: 32px;
  }
}
@media (max-height: 500px) and (min-width: 720px) {
  .home-footer-panel > .giant-footer {
    padding-top: 40px !important;
  }
  .home-footer-panel .giant-footer > .giant-footer-bottom {
    padding-top: 24px;
    padding-bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-line-art[data-ready] path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .giant-footer-letter,
  .giant-footer-column a {
    transition: none;
  }
  .giant-footer-letter-slot:hover .giant-footer-letter,
  .giant-footer .giant-footer-socials a:hover,
  .giant-footer-column a:hover {
    transform: none;
  }
}
@media(max-width:719px){
  .home-footer-panel > .giant-footer{min-height:calc(100svh - var(--mobile-header-height,3.75rem));min-height:calc(100dvh - var(--mobile-header-height,3.75rem));padding-top:10px!important;overflow:clip}
  /* Lower the decorative opening without moving the contact details or links. */
  .home-footer-panel .giant-footer > :is(.giant-footer-word,.footer-line-art){transform:translateY(12px)}
  .home-footer-panel .giant-footer > .giant-footer-word{padding:4px 20px}
  .home-footer-panel .giant-footer > .giant-footer-details{gap:8px 20px;padding:8px 20px 0}
  .giant-footer-contact .giant-footer-email{font-size:23px}
  .giant-footer-contact p{margin-top:4px;font-size:12px}
  .giant-footer-contact .giant-footer-call-note{font-size:12px}
  .giant-footer-column{gap:0}
  .giant-footer-column a{min-height:32px;font-size:13px;line-height:1.4}
  .giant-footer h2{font-size:11px;margin-bottom:6px}
  .giant-footer-nav-links{gap:0 8px}
  .home-footer-panel .giant-footer > .footer-line-art{flex:1 0 20vw;min-height:20vw;margin:3px 0}
  .footer-line-art svg{inset:50% auto auto 50%;width:100%;height:auto;aspect-ratio:5/1;transform:translate(-50%,-50%)}
  .giant-footer-socials{margin-top:4px}
  .home-footer-panel .giant-footer > .giant-footer-bottom{padding:8px 20px 16px;gap:4px 16px;font-size:10px}
  .giant-footer-bottom nav{gap:0 12px}
  .giant-footer-bottom :is(a,button){min-height:32px}
  .giant-footer[data-collapsible="true"] :is(.giant-footer-explore,.giant-footer-services) h2{display:none}
  .giant-footer[data-collapsible="true"] .giant-footer-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:0;border:0;border-top:1px solid #ffffff26;background:none;color:inherit;font:inherit;font-size:14px;cursor:pointer}
  .giant-footer-toggle span{font-size:20px}
  .giant-footer[data-collapsible="true"] .giant-footer-column[data-open="false"] :is(.giant-footer-nav-links,.giant-footer-service-links){display:none}
  .giant-footer-service-links{display:flex;flex-direction:column}
  .giant-footer-bottom nav{width:100%}
  .giant-footer .giant-footer-bottom .giant-footer-languages{order:0;width:auto;margin-left:auto}
  .giant-footer-back-top{margin-left:auto}
}

@media(max-width:719px) and (min-height:740px){
  .home-footer-panel > .giant-footer{justify-content:space-between}
  .home-footer-panel .giant-footer > .footer-line-art{flex:0 0 20vw}
  .home-footer-panel .giant-footer > .giant-footer-details{padding-top:16px;row-gap:20px}
  .giant-footer-contact{gap:6px}
  .giant-footer-contact h2{font-size:14px;margin-bottom:2px}
  .giant-footer-contact .giant-footer-email{font-size:clamp(26px,8.7vw,38px)}
  .giant-footer-contact > a[href^="tel:"]{font-size:clamp(18px,5.6vw,24px)}
  .giant-footer-contact .giant-footer-socials{gap:12px;margin-top:8px}
  .giant-footer-contact .giant-footer-socials svg{width:28px;height:28px}
  .giant-footer-contact p{font-size:16px;margin-top:8px}
}

@media(max-width:359px){
  .giant-footer-bottom nav:not(.giant-footer-languages){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
}
@media(max-width:359px) and (max-height:640px){
  .home-footer-panel .giant-footer > :is(.giant-footer-word,.footer-line-art){transform:translateY(8px)}
  .home-footer-panel .giant-footer > .giant-footer-details{padding-top:0;row-gap:4px}
  .home-footer-panel .giant-footer > .giant-footer-bottom{padding-top:4px;padding-bottom:8px;row-gap:0}
}

@media(max-width:719px) and (prefers-reduced-motion:no-preference){
  .home-footer-reveal[data-reveal-ready] .home-footer-panel{top:auto;bottom:0;transform:none!important}
  /* Expanded navigation and larger text remain fully reachable. */
  .home-footer-reveal[data-reveal-ready][data-footer-tall]{height:auto;clip-path:none}
  .home-footer-reveal[data-reveal-ready][data-footer-tall] .home-footer-panel{position:relative;bottom:auto}
}

.giant-footer-letter-slot[data-hovered] .giant-footer-letter{transform:translateY(-10%);color:#ff5000}
@media(prefers-reduced-motion:reduce){
  .giant-footer-letter-slot[data-hovered] .giant-footer-letter{transform:none}
}

/* Phones only list PT and EN in the header, so every language is chosen here. */
.giant-footer-contact .giant-footer-location { max-width: 36ch; }
.giant-footer-languages { display: none; }
@media (max-width: 1023px) {
  .giant-footer .giant-footer-languages { display: flex; gap: 0.25rem; order: -1; width: 100%; }
  .giant-footer-languages button { min-width: 2.75rem; min-height: 2.75rem; justify-content: center; font-weight: 500; letter-spacing: 0.04em; }
  .giant-footer-languages button[aria-current] { color: #f1f0eb; font-weight: 700; }
}
