/* Homepage only. Reuse the existing photography and hero SVG.
   Navy carries trust and contact; light surfaces give the services room to breathe. */
.home-page {
  --home-ink: #152b3d;
  --home-muted: #536778;
  --home-line: #dbe5eb;
  --home-night: #0a1422;
}

/* The hero's dark foundation continues through the proof points. */
.home-page .home-stats {
  background: var(--home-night); padding: 56px 0 52px;
  border-top: 1px solid #1b2b3c;
}
.home-page .home-stats::before { content: none; }
.home-stats__title { display: flex; align-items: center; gap: 28px; color: #c5dce9; font-size: 20px; font-weight: 500; margin-bottom: 38px; }
.home-stats__heading { flex-shrink: 0; }
.home-stats__line { position: relative; flex: 1; height: 1px; overflow: hidden; background: #315069; transform-origin: left; }
.home-stats__pulse { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #86d5ff 42%, #ffd0a3 58%, transparent); opacity: 0; }
.home-page .stats__num { transform-origin: left bottom; }
.home-page [data-home-count] { display: inline-block; }
.home-page .stats__grid { text-align: left; gap: 40px; }
.home-page .stats__grid > div + div { border-color: #283a4b; padding-left: 40px; }
.home-page .stats__num { font-size: clamp(40px, 4.5vw, 62px); font-weight: 500; letter-spacing: -.055em; color: #f5f8fa; }
.home-page .stats__num small { font-size: 19px; color: #ff9d51; font-weight: 500; margin-left: 10px; }
.home-page .stats__label { color: #afc0ce; opacity: 1; font-size: 12px; letter-spacing: .015em; margin-top: 14px; }
.home-trust { background: var(--home-night); color: #a7bdcd; padding-bottom: 52px; }
.home-trust__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.home-trust__credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; border-top: 1px solid #283a4b; padding-top: 28px; }
.home-trust__credential { position: relative; padding-left: 14px; font-size: 11px; line-height: 1.9; }
.home-trust__credential::before { content: ""; position: absolute; left: 0; top: .8em; width: 4px; height: 4px; border-radius: 50%; background: #80b4d2; }
.home-trust__note { border-top: 1px solid #283a4b; padding-top: 28px; font-size: 12px; line-height: 2; }
.home-trust__link { display: inline-block; color: #e2edf4; text-decoration: underline; text-underline-offset: 5px; margin-top: 8px; }
.home-trust__link:hover { color: #ffb77f; }

/* One flagship service, with two complementary stories below it. */
.home-services { color: var(--home-ink); background: #fff; }
.home-section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.home-page .section__eyebrow { color: #486b85; text-transform: none; letter-spacing: .02em; font-size: 13px; font-weight: 500; }
.home-page .section__eyebrow::before { content: none; }
.home-page .section__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.5; letter-spacing: -.025em; margin: 12px 0 0; }
.home-section-head .section__lead { margin: 0; color: var(--home-muted); font-size: 15px; line-height: 2; max-width: 410px; }
.home-services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 44px; }
.home-service { min-width: 0; display: grid; grid-template-columns: 34% minmax(0, 1fr); gap: 28px; align-items: start; }
.home-service__media { position: relative; overflow: hidden; border-radius: 12px; background: #e9f0f5; }
.home-media-veil { position: absolute; inset: 0; background: #e9f0f5; pointer-events: none; }
.home-service__media img { width: 100%; height: 224px; object-fit: cover; }
.home-service__copy { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.home-service h3 { font-size: 21px; line-height: 1.6; letter-spacing: -.02em; margin-bottom: 14px; }
.home-service p { color: var(--home-muted); font-size: 13px; line-height: 1.95; margin-bottom: 20px; }
.home-service__link { display: inline-flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 600; min-height: 44px; margin-top: auto; color: var(--home-ink); }
.home-service__link::after { content: "↗"; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #c5d5df; border-radius: 50%; color: #37627e; transition: color .2s, background-color .2s, border-color .2s; }
.home-service__link:hover::after { background: var(--home-ink); color: #fff; border-color: var(--home-ink); }
.home-service__link:focus-visible { outline-color: #37627e; outline-offset: 5px; }
.home-service--featured { grid-column: 1 / -1; grid-template-columns: .9fr 1.1fr; gap: 0; background: #f0f5f8; border: 1px solid #e0eaf0; border-radius: 22px; overflow: hidden; align-items: stretch; }
.home-service--featured .home-service__media { grid-column: 2; grid-row: 1; border-radius: 0; }
.home-service--featured .home-service__media img { height: 100%; min-height: 370px; object-fit: cover; }
.home-service--featured .home-service__copy { grid-column: 1; grid-row: 1; padding: 52px 44px; justify-content: center; }
.home-service--featured h3 { font-size: clamp(26px, 2.6vw, 34px); }
.home-service--featured p { font-size: 15px; line-height: 2; }
.home-service--featured .home-service__link { margin-top: 10px; }

/* A real-world pause between product detail and the latest news. */
.home-page .home-anywhere { min-height: 570px; align-items: center; background: #102638; }
.home-page .home-anywhere::after {
  background: linear-gradient(90deg, #0d2030 0%, rgba(13, 32, 48, .94) 28%, rgba(13, 32, 48, .5) 57%, rgba(13, 32, 48, .08) 82%);
}
.home-page .photo-band__img { object-position: 60% center; }
.home-page .photo-band__inner { padding: 80px 24px; }
.home-page .photo-band__inner > * { max-width: 49%; }
.home-page .photo-band__eyebrow { text-transform: none; letter-spacing: .025em; color: #a9d3ed; font-weight: 500; }
.home-page .photo-band__title { font-size: clamp(30px, 3vw, 42px); font-weight: 600; line-height: 1.55; letter-spacing: -.015em; margin-top: 20px; }
.home-page .photo-band__title span { display: inline-block; }
.home-page .photo-band__lead { color: #d3dfe8; line-height: 2.1; font-size: 14px; margin-top: 24px; }
.home-page .photo-band__actions { margin-top: 34px; gap: 12px; }
.home-page .photo-band__actions .btn { font-size: 13px; }

/* A compact editorial list; API-loaded accordion entries retain their behavior. */
.home-news { background: #f4f7f9; color: var(--home-ink); }
.home-news__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.home-news__intro { position: sticky; top: 116px; }
.home-news__intro .section__foot { text-align: left; margin-top: 32px; }
.home-news__intro .btn { font-size: 13px; border-color: #bbcbd5; color: var(--home-ink); }
.home-page .home-news .news__item { grid-template-columns: 106px 1fr 24px; gap: 12px; padding: 26px 8px; border-color: #d5e1e8; align-items: center; }
.home-page .home-news .news__date { color: #526b7c; font-size: 12px; }
.home-page .home-news .badge { justify-self: start; font-size: 10px; background: #e4ecf1; color: #3c5c72; border: 0; padding: 3px 10px; }
.home-page .home-news .news__title { grid-column: 1 / 3; grid-row: 2; font-size: 14px; line-height: 1.9; }
.home-page .home-news .news__item::after { display: grid; place-items: center; position: static; grid-column: 3; grid-row: 1 / 3; width: 28px; height: 28px; border: 1px solid #c5d5df; border-radius: 50%; font-size: 12px; color: #456b84; opacity: 1; transform: none; }
.home-page .home-news .news__item:hover, .home-page .home-news .news__item[aria-expanded="true"] { background: #eaf1f5; }
.home-page .home-news .news__item:hover .news__title { color: #1a597e; }
.home-page .home-news .news__item[aria-expanded="true"]::after { transform: rotate(180deg); }
.home-page .home-news .news__panel { background: #eaf1f5; border-color: #d5e1e8; }
.home-page .home-news .news__panel-inner { padding: 4px 20px 28px; }
.home-page .home-news .news__body { color: #455c6c; font-size: 14px; }

/* Close with the same signal artwork; a cached static SVG adds no ongoing work. */
.home-contact { position: relative; isolation: isolate; overflow: hidden; color: #f5f8fa; background: #0d2134; padding: 100px 0; }
.home-contact::before { content: ""; position: absolute; z-index: -1; inset: -80% -15% -100% 30%; background: url('../assets/hero-signal.svg') center / cover no-repeat; opacity: .35; pointer-events: none; }
.home-contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; }
.home-contact h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; line-height: 1.6; letter-spacing: -.02em; margin-bottom: 22px; }
.home-contact p { font-size: 14px; line-height: 2; color: #bdcfdd; max-width: 540px; }
.home-contact .btn { min-height: 58px; padding: 16px 28px; font-size: 14px; }
.home-page .footer { background: #080f1a; color: #aebecb; border-top: 1px solid #1d2d3e; }
.home-page .footer__bottom { border-color: #24313f; color: #91a5b7; }
.home-page .footer__pmark span { color: #91a5b7; }
.home-page .footer__pmark img { background: #fff; padding: 4px; border-radius: 4px; }

@media (max-width: 1024px) {
  .home-trust__inner { gap: 32px; }
  .home-services__grid { gap: 36px 28px; }
  .home-service { grid-template-columns: 1fr; gap: 22px; }
  .home-service__media img { height: 220px; }
  .home-service--featured { grid-template-columns: 1fr 1fr; gap: 0; }
  .home-service--featured .home-service__copy { padding: 32px; }
  .home-news__layout { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
  .home-contact__inner { gap: 40px; }
}
@media (max-width: 768px) {
  .home-page .home-stats { padding: 42px 0 32px; }
  .home-stats__title { font-size: 15px; margin-bottom: 30px; gap: 18px; }
  .home-stats__heading { flex-shrink: 1; }
  .home-stats__line { min-width: 32px; }
  .home-page .stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .home-page .stats__grid > div + div { border-top: 0; border-left: 1px solid #283a4b; padding: 0 0 0 20px; }
  .home-page .stats__num { font-size: clamp(28px, 5.5vw, 40px); }
  .home-page .stats__num small { font-size: 12px; margin-left: 4px; }
  .home-page .stats__label { font-size: 10px; margin-top: 12px; }
  .home-trust { padding-bottom: 36px; }
  .home-trust__inner { grid-template-columns: 1fr; gap: 24px; }
  .home-trust__credentials { gap: 14px 20px; padding-top: 24px; }
  .home-trust__note { border-top: 0; padding-top: 0; font-size: 11px; }
  .home-section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .home-section-head .section__lead { font-size: 14px; max-width: 100%; }
  .home-services__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .home-service { grid-template-columns: 32% minmax(0, 1fr); gap: 22px; }
  .home-service__media img { height: 200px; }
  .home-service h3 { font-size: 20px; margin-bottom: 10px; }
  .home-service p { font-size: 13px; margin-bottom: 12px; }
  .home-service--featured { grid-template-columns: 1fr; gap: 0; margin-bottom: 4px; border-radius: 16px; }
  .home-service--featured .home-service__media { grid-column: 1; grid-row: 1; }
  .home-service--featured .home-service__media img { min-height: 0; height: auto; aspect-ratio: 800 / 605; object-fit: contain; }
  .home-service--featured .home-service__copy { grid-column: 1; grid-row: 2; padding: 28px; }
  .home-service--featured h3 { font-size: 26px; }
  .home-service--featured p { font-size: 14px; }
  .home-page .home-anywhere { min-height: 0; padding-top: 230px; }
  .home-page .photo-band__img { height: 310px; object-position: 76% center; }
  .home-page .home-anywhere::after { background: linear-gradient(0deg, #0d2030 0%, #0d2030 calc(100% - 230px), transparent calc(100% - 70px)); }
  .home-page .photo-band__inner { padding: 28px 24px 52px; }
  .home-page .photo-band__inner > * { max-width: 100%; }
  .home-page .photo-band__title { font-size: 30px; }
  .home-page .photo-band__lead { font-size: 13px; }
  .home-page .photo-band__actions { gap: 12px; }
  .home-news__layout { grid-template-columns: 1fr; gap: 32px; }
  .home-news__intro { position: static; }
  .home-news__intro .section__foot { margin-top: 22px; }
  .home-page .home-news .news__item { padding: 22px 0; }
  .home-page .home-news .news__panel-inner { padding: 4px 16px 24px; }
  .home-contact { padding: 64px 0; }
  .home-contact__inner { grid-template-columns: 1fr; gap: 28px; }
  .home-contact h2 { font-size: 30px; margin-bottom: 16px; }
  .home-contact p { font-size: 13px; }
  .home-contact .btn { justify-self: start; }
  .home-contact::before { inset: -20% -65% -20% 0; opacity: .22; }
  .home-page .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .home-page .footer__grid > div:first-child { grid-column: 1 / -1; max-width: 440px; }
  .home-page .footer h2 { font-size: 12px; }
  .home-page .footer ul { font-size: 12px; gap: 12px; }
}
@media (max-width: 480px) {
  .home-page .stats__grid { grid-template-columns: 1fr; gap: 24px; }
  .home-page .stats__grid > div { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: center; }
  .home-page .stats__grid > div + div { border-left: 0; border-top: 1px solid #283a4b; padding: 24px 0 0; }
  .home-page .stats__num { font-size: clamp(32px, 10.25vw, 40px); }
  .home-page .stats__label { margin: 0; font-size: 11px; }
  .home-service { grid-template-columns: 1fr; gap: 22px; }
  .home-service + .home-service { padding-top: 4px; }
  .home-service__media img { height: auto; aspect-ratio: 16 / 9; }
  .home-service--featured { gap: 0; }
  .home-service--featured .home-service__copy { padding: 26px 22px; }
  .home-page .photo-band__actions .btn { width: 100%; white-space: normal; }
  .home-contact .btn { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .home-service__link::after { transition: none; }
}
