/* A8 single-screen layout: hero fills the viewport, quiet footer bar pinned to its bottom.
   Overrides only; style.css and the hero markup are unchanged. */
html, body { height: 100%; }
body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.hero { height: 100vh; height: 100svh; min-height: 520px; }
.hero-copy {
  min-height: 0;
  height: 100%;
  /* leave room for the footer bar under the slogan */
  padding-bottom: calc(var(--s-foot-h) + clamp(40px, 8vh, 88px));
}
:root { --s-foot-h: 64px; }

.s-footer {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: var(--s-foot-h);
  display: flex;
  align-items: center;
  gap: 12px 32px;
  padding: 0 var(--gutter);
  color: #7a7a7a;
  font-size: .8125rem;
  font-weight: 300;
  letter-spacing: .01em;
}
.s-footer::before {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter); top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.06) 60%, rgba(255,255,255,0));
}
.s-footer a { color: inherit; transition: color .3s ease; }
.s-footer a:is(:hover, :focus-visible) { color: #fff; }
.s-footer .brand { color: #8a8a8a; font-size: .8125rem; gap: 8px; }
.s-footer .brand-mark { width: 14px; height: 14px; }
.s-footer-dl {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.s-footer-dl svg { flex: none; transform: translateY(-.5px); transition: transform .3s ease; }
.s-footer-dl:is(:hover, :focus-visible) svg { transform: translateY(1.5px); }
.s-footer-mail { color: #b5b5b5 !important; }
.s-footer-mail:is(:hover, :focus-visible) { color: #fff !important; }

@media (max-width: 600px) {
  :root { --s-foot-h: 84px; }
  .s-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: center;
    gap: 10px 12px;
    font-size: .75rem;
  }
  .s-footer .brand { grid-area: 1 / 1; }
  .s-footer-mail { grid-area: 1 / 2; justify-self: end; }
  .s-footer-dl { grid-area: 2 / 2; justify-self: end; margin-left: 0; }
  .s-footer .brand { font-size: .75rem; }
  .s-footer .brand .wordmark { white-space: nowrap; }
}
@media (max-height: 560px) {
  body { overflow: auto; }
}
