/* Homepage additions; project cards and their shared styles are left intact. */
.home-page .preloader {
  transition-duration: 320ms;
}
.home-page .preloader-logo { animation-duration: 380ms; animation-delay: 0ms; }
.home-page .hero { gap: 88px; }
.home-page .hero h1 { font-size: clamp(62px, 7.1vw, 108px); line-height: 1; }
.home-page .hero h1[data-reveal] { opacity: 1; transform: none; transition: none; }
.home-page .home-hero-bottom {
  position: absolute;
  z-index: 2;
  right: max(48px, calc((100vw - var(--max)) / 2));
  bottom: 30px;
  left: max(48px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.34);
}
.home-page .home-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  max-width: 760px;
}
.home-page .home-hero-cta { min-height: 58px; padding: 17px 24px; font-size: 17px; white-space: nowrap; }
.home-page .home-hero-cta svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; transition: transform 220ms ease; }
.home-page .home-hero-cta:hover svg,
.home-page .home-hero-cta:focus-visible svg { transform: translateY(-1px) scale(1.06); }
.home-page .home-hero-actions p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.5; text-align: right; }
.home-page .home-hero-actions p strong { color: #fff; font-size: 16px; font-weight: 600; }
.home-page .hero-copy { margin-top: 40px; }
.home-page .hero-copy p:last-child { font-size: 26px; }
.home-page .home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .01em;
  text-decoration: none;
}
.home-page .home-text-link-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  font-size: 18px;
  transition: color 220ms ease, background 220ms ease, transform 260ms ease;
}
.home-page .home-text-link:hover .home-text-link-icon,
.home-page .home-text-link:focus-visible .home-text-link-icon { color: #050607; background: #fff; transform: translateY(3px); }
.home-page .home-text-link:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.home-page .home-faq { border-top: 1px solid var(--line); }
.home-page .home-faq-heading { max-width: 1000px; margin-bottom: 48px; }
.home-page .home-kicker { display: block; margin-bottom: 24px; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.home-page .home-faq h2 { margin: 0; font-size: clamp(42px,6.2vw,88px); line-height: 1.04; font-weight: 400; letter-spacing: -.03em; }
.home-page .home-faq-heading > p { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 24px; line-height: 1.35; }
.home-page .home-faq details { border-top: 1px solid var(--line); }
.home-page .home-faq details:last-child { border-bottom: 1px solid var(--line); }
.home-page .home-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px 0; list-style: none; cursor: pointer; font-size: 28px; line-height: 1.25; }
.home-page .home-faq summary::-webkit-details-marker { display: none; }
.home-page .home-faq summary > span { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font-size: 26px; line-height: 1; transition: transform 360ms ease, color 220ms ease, background 220ms ease; }
.home-page .home-faq summary:hover > span { color: var(--white); background: var(--black); }
.home-page .home-faq details.is-expanded summary > span { transform: rotate(45deg); }
.home-page .home-faq details[open]:not(.is-animated) summary > span { transform: rotate(45deg); }
.home-page .home-faq summary:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
.home-page .home-faq-answer { max-width: 1000px; padding: 0 68px 32px 0; }
.home-page .home-faq-answer p { margin: 0; color: var(--muted); font-size: 22px; line-height: 1.5; }
.home-page .home-faq-answer a { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
.home-page .home-faq-contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 40px; }
.home-page .home-faq-contact p { max-width: none; margin: 0; color: var(--muted); font-size: 22px; line-height: 1.4; white-space: nowrap; }
.home-page .home-request-intro { max-width: 520px; margin: 24px 0 32px; color: #d4d4d4; font-size: 20px; line-height: 1.4; }
.home-page .request-form .home-form-note { max-width: 620px; margin: 0 0 24px; color: var(--muted); font-size: 17px; line-height: 1.4; }
.home-page .home-form-alternative { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.home-page .home-form-alternative a { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width:760px) {
  .home-page .hero { min-height: 0; gap: 40px; padding-bottom: 32px; }
  .home-page .hero h1 { font-size: clamp(38px,10.8vw,58px); line-height: 1.02; }
  .home-page .home-hero-bottom {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 14px;
    padding-top: 14px;
  }
  .home-page .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    max-width: none;
  }
  .home-page .home-hero-cta { min-height: 52px; padding: 14px 18px; font-size: 16px; }
  .home-page .home-hero-actions p { text-align: left; font-size: 12px; }
  .home-page .home-hero-actions p strong { font-size: 14px; }
  .home-page .hero-copy { margin-top: 28px; }
  .home-page .hero-copy p, .home-page .hero-copy p:last-child { font-size: 19px; line-height: 1.25; }
  .home-page .home-text-link { font-size: 14px; }
  .home-page .home-faq-heading { margin-bottom: 32px; }
  .home-page .home-faq-heading > p { font-size: 20px; }
  .home-page .home-faq summary { gap: 16px; padding: 24px 0; font-size: 21px; }
  .home-page .home-faq summary > span { flex-basis: 34px; width: 34px; height: 34px; font-size: 24px; }
  .home-page .home-faq-answer { padding-right: 0; padding-bottom: 26px; }
  .home-page .home-faq-answer p { font-size: 18px; }
  .home-page .home-faq-contact p { font-size: clamp(14px, 3.8vw, 16px); white-space: normal; }
  .home-page .home-request-intro { max-width: 100%; font-size: 18px; }
}
@media (max-width: 380px) {
  .home-page .home-hero-bottom { width: 100%; }
  .home-page .home-hero-cta { white-space: normal; }
  .home-page .home-faq-contact { align-items: flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  .home-page .preloader, .home-page .home-faq summary > span,
  .home-page .home-text-link-icon, .home-page .home-hero-cta svg { transition: none; }
  .home-page .preloader-logo { animation: none; opacity: 1; transform: none; }
}
