/* Unified, compact, editorial footer for Work With Ini. */
.footer-v9 .footer-v9-shell {
  padding-top: clamp(28px, 3.8vw, 58px);
  padding-bottom: clamp(20px, 2vw, 30px);
}
.footer-v9 .footer-v9-topline {
  margin-bottom: clamp(30px, 4vw, 58px) !important;
}
.footer-v9 .footer-v9-columns {
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr) !important;
  gap: clamp(26px, 5vw, 70px) !important;
  margin-bottom: clamp(32px, 5vw, 70px) !important;
}
.footer-v9 .footer-v9-left > p {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(21px, 2vw, 31px) !important;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.025em;
  max-width: 475px;
  margin: 0 0 24px !important;
  color: #19344e;
}
.footer-v9 .footer-v9-social {
  gap: 12px 25px !important;
}
.footer-v9 .footer-v9-nav {
  align-self: start;
}
.footer-v9 .footer-contact-feature {
  position: relative;
  z-index: 2;
  container-type: inline-size;
  width: 100%;
  padding: 0 0 clamp(26px, 4.1vw, 56px);
  text-align: left;
}
/* The email is sized to use the available footer width, not a fixed column. */
.footer-v9 .footer-contact-link {
  display: block;
  width: max-content;
  max-width: 100%;
  font-family: 'Instrument Serif', Georgia, serif;
  /* Readable fallback before the font-fitting script completes. */
  font-size: clamp(22px, 9vw, 150px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.034em;
  white-space: nowrap;
  overflow-wrap: normal;
  text-decoration: none;
  border: 0;
  color: #646468 !important;
  -webkit-text-fill-color: currentColor;
  /* Reference behaviour: light charcoal by default; black on hover. */
  transition: color .85s ease-in-out;
}
.footer-v9 .footer-contact-link:hover,
.footer-v9 .footer-contact-link:focus-visible,
.footer-v9 .footer-contact-link:active {
  color: #111115 !important;
  -webkit-text-fill-color: currentColor;
}
.footer-v9 .footer-contact-link:focus-visible {
  outline: 2px solid #294e75;
  outline-offset: 6px;
  border-radius: 3px;
}
.footer-v9 .footer-v9-bottom {
  border-top: 1px solid rgba(25, 64, 99, .14);
  padding-top: 18px;
}
@media (max-width: 800px) {
  .footer-v9 .footer-v9-columns {
    grid-template-columns: 1fr !important;
    gap: clamp(24px, 5vw, 36px) !important;
    margin-bottom: 36px !important;
  }
  .footer-v9 .footer-v9-left > p { max-width: 550px; }
  .footer-v9 .footer-v9-nav { max-width: 620px; }
}
@media (max-width: 620px) {
  .footer-v9 .footer-v9-shell { padding-top: 29px; }
  .footer-v9 .footer-v9-topline { margin-bottom: 31px !important; }
  .footer-v9 .footer-v9-left > p {
    font-size: clamp(21px, 5.7vw, 27px) !important;
    margin: 0 0 16px !important;
  }
  .footer-v9 .footer-v9-columns { gap: 28px !important; margin-bottom: 29px !important; }
  .footer-v9 .footer-v9-nav { row-gap: 12px; }
  .footer-v9 .footer-contact-feature { padding-bottom: 29px; }
  .footer-v9 .footer-contact-link {
    letter-spacing: -.034em;
  }
  .footer-v9 .footer-v9-bottom { padding-top: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-v9 .footer-contact-link { transition: none; }
}


/* Final cross-page spacing / typography alignment.  Two display families plus the
   existing restrained monospace metadata: DM Sans / Instrument Serif / DM Mono. */
.footer-v9 .footer-v9-shell {
  padding-top: clamp(23px, 2.7vw, 40px) !important;
  padding-bottom: clamp(17px, 1.5vw, 24px) !important;
}
.footer-v9 .footer-v9-topline { margin-bottom: clamp(19px, 2.35vw, 34px) !important; }
.footer-v9 .footer-v9-columns {
  gap: clamp(20px, 3.6vw, 52px) !important;
  margin-bottom: clamp(19px, 2.6vw, 36px) !important;
}
.footer-v9 .footer-v9-left > p {
  margin-bottom: clamp(12px, 1.25vw, 18px) !important;
  font-family: 'DM Sans', Arial, sans-serif;
  letter-spacing: -.018em;
}
.footer-v9 .footer-v9-social { gap: 9px 22px !important; }
.footer-v9 .footer-v9-nav { row-gap: clamp(11px, 1.1vw, 16px) !important; }
.footer-v9 .footer-contact-feature { padding-bottom: clamp(15px, 1.9vw, 27px) !important; }
.footer-v9 .footer-v9-bottom { padding-top: clamp(11px, 1.2vw, 16px) !important; }
/* Reserve display serif for the oversized email; keep metadata consistent. */
.footer-v9 .footer-contact-link { font-family: 'Instrument Serif', Georgia, serif; }
.footer-v9 .footer-v9-nav a,
.footer-v9 .footer-v9-social a { font-family: 'DM Sans', Arial, sans-serif; }
.footer-v9 .footer-v9-hello,
.footer-v9 .footer-v9-back,
.footer-v9 .footer-v9-bottom { font-family: 'DM Mono', ui-monospace, monospace; }
@media(max-width:800px) {
  .footer-v9 .footer-v9-columns { gap: 19px !important; margin-bottom: 24px !important; }
}
@media(max-width:620px) {
  .footer-v9 .footer-v9-shell { padding-top: 22px !important; padding-bottom: 16px !important; }
  .footer-v9 .footer-v9-topline { margin-bottom: 21px !important; }
  .footer-v9 .footer-v9-columns { gap: 20px !important; margin-bottom: 21px !important; }
  .footer-v9 .footer-contact-feature { padding-bottom: 17px !important; }
  .footer-v9 .footer-v9-bottom { padding-top: 12px !important; }
}


/* Final navigation and FAQ polish: remove ornamental numbers without empty columns. */
.footer-v9 .footer-v9-nav a { justify-content: flex-start !important; }
.home-v7 .faq-v7 .faq-item summary {
  grid-template-columns: minmax(0, 1fr) 36px !important;
  gap: 14px !important;
}
.home-v7 .faq-v7 .faq-item .faq-answer { padding-left: 6px !important; }
body[data-page="services"] .service-faq-launch summary {
  grid-template-columns: minmax(0, 1fr) 36px !important;
  gap: 14px !important;
}
body[data-page="services"] .service-faq-launch .faq-answer { padding-left: 5px !important; }
@media (max-width: 600px) {
  .home-v7 .faq-v7 .faq-item summary,
  body[data-page="services"] .service-faq-launch summary {
    grid-template-columns: minmax(0, 1fr) 32px !important;
    gap: 10px !important;
  }
  .home-v7 .faq-v7 .faq-item .faq-answer,
  body[data-page="services"] .service-faq-launch .faq-answer {
    padding-left: 2px !important;
  }
}


/* Desktop FAQs: two independent editorial columns with accordion panels that
   do not create empty grid rows beside expanded neighbours. */
@media (min-width: 801px) {
  .home-v7 .faq-v7 .faq-cards,
  body[data-page="services"] .service-faq-launch .faq-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(26px, 3.8vw, 58px) !important;
    max-width: 1120px !important;
    align-items: start !important;
    margin-inline: auto !important;
  }
  .home-v7 .faq-v7 .faq-column,
  body[data-page="services"] .service-faq-launch .faq-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-items: stretch;
  }
  .home-v7 .faq-v7 .faq-column > .faq-item,
  body[data-page="services"] .service-faq-launch .faq-column > .faq-item {
    align-self: stretch !important;
    height: auto !important;
    min-width: 0;
    flex: 0 0 auto;
  }
  .home-v7 .faq-v7 .faq-column > .faq-item:last-child,
  body[data-page="services"] .service-faq-launch .faq-column > .faq-item:last-child {
    border-bottom: 1px solid #bacbd9;
  }
}
@media (max-width: 800px) {
  /* Flatten wrappers so mobile FAQs retain exactly their original single-column order. */
  .home-v7 .faq-v7 .faq-column,
  body[data-page="services"] .service-faq-launch .faq-column {display: contents !important;}
  .home-v7 .faq-v7 .faq-cards,
  body[data-page="services"] .service-faq-launch .faq-cards {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 0 !important;
  }
}



/* Mobile intro: preserve the original 16:9 film, uncropped, inside the phone viewport.
   A black cinematic surround replaces the mistaken 9:19 portrait export. */
@media (max-width: 800px) {
  .home-v7 .opening-v6.has-video {
    background: #050505 !important;
  }
  .home-v7 .opening-v6.has-video .opening-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    background: #050505 !important;
    transform: none !important;
  }
  .home-v7 .opening-v6.has-video .opening-foot {
    bottom: max(14px, env(safe-area-inset-bottom, 0px) + 12px) !important;
  }
}
