.hn { color:#10243c; }
.hn-section { padding-block:clamp(3rem,5.5vw,5.5rem); scroll-margin-top:100px; }
.hn h2 { color:#10243c; font-weight:750; font-size:clamp(1.7rem,3.2vw,2.65rem); line-height:1.15; letter-spacing:-.025em; text-wrap:balance; margin:0 0 1.1rem; }
.hn h3 { color:#10243c; font-weight:750; font-size:1.15rem; line-height:1.3; text-wrap:balance; }
.hn p { color:#526174; line-height:1.7; }
.hn-heading { max-width:870px; text-align:center; margin:0 auto clamp(2rem,3.5vw,3rem); }
.hn-heading p { margin:0; }
.hn-soft { --edge:clamp(28px,4vw,72px); background:linear-gradient(to bottom,#fff,#f7f8fa var(--edge),#f7f8fa calc(100% - var(--edge)),#fff); }
.hn-intro__layout { display:grid; grid-template-columns:minmax(220px,1fr) minmax(0,2.3fr); align-items:center; gap:clamp(2rem,5vw,4.5rem); }
.hn-intro__brand { display:flex; justify-content:center; }
.hn-intro .national-wordmark { color:#10243c; font-size:clamp(1.4rem,2.35vw,1.9rem); }
.hn-intro__copy p { margin:0; }
.hn-gant { color:#d91c1e; white-space:nowrap; }
.hn-products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.hn-product { color:inherit; text-decoration:none; display:flex; flex-direction:column; min-width:0; border:1px solid #e0e5eb; border-radius:16px; overflow:hidden; background:#fff; }
.hn-product__photo { display:block; overflow:hidden; }
.hn-product__photo img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; }
.hn-product:last-child .hn-product__photo img { object-position:80% center; }
.hn-product__body { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:clamp(20px,2vw,28px); }
.hn .hn-product h3 { font-size:clamp(1.2rem,1.7vw,1.45rem); margin:0 0 .55rem; }
.hn-product:hover { color:inherit; text-decoration:none; }
.hn .hn-product__use { font-size:.88rem; font-weight:650; color:#284967; margin:0 0 1.2rem; }
.hn-product__body > p:not(.hn-product__use) { font-size:.98rem; line-height:1.65; margin-bottom:1rem; }
.hn-product__link { display:flex; align-items:center; justify-content:space-between; gap:12px; align-self:stretch; margin-top:auto; padding-top:.75rem; font-size:.95rem; line-height:1.4; font-weight:750; color:#10243c; text-decoration:none; }
.hn-product__link i { display:grid; flex:0 0 36px; place-items:center; width:36px; height:36px; background:#ffd300; border-radius:50%; }
.hn-catalog { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(2rem,5vw,4.5rem); }
.hn-catalog__copy p { margin-bottom:1.25rem; }
.hn-button { display:inline-flex; align-items:center; justify-content:center; gap:16px; padding:15px 24px; margin-top:.5rem; border-radius:13px; background:#ffd300; color:#10243c; font-weight:750; text-align:center; text-decoration:none; line-height:1.4; }
.hn-button:hover { background:#f1c600; color:#10243c; }
.hn-catalog__categories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.hn-category { display:flex; flex-direction:column; background:#fff; border:1px solid #e1e6ed; border-radius:14px; padding:16px; color:#10243c; text-decoration:none; }
.hn-category img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; }
.hn-category span { display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:.88rem; font-weight:700; margin-top:12px; }
.hn-category i { color:#496581; flex:none; }
.hn-selection { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.5rem,3vw,3rem); text-align:center; }
.hn-selection h3,.hn-steps h3 { margin:1.2rem 0 .65rem; }
.hn-selection p,.hn-steps p { margin:0; font-size:.98rem; line-height:1.65; }
.hn-icon { display:inline-grid; place-items:center; width:58px; height:58px; border-radius:14px; background:#eaf1f8; color:#264e76; font-size:1.5rem; }
.hn-selection article:nth-child(2) .hn-icon { background:#193958; color:#eef6ff; }
.hn-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(1.5rem,2.5vw,2.5rem); list-style:none; margin:0; padding:0; text-align:center; }
.hn-step { display:inline-grid; place-items:center; width:58px; height:58px; border-radius:50%; background:#ffd300; color:#10243c; font-weight:750; font-size:1.4rem; }
.hn-works__header {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.25rem 1.25rem;
  margin-bottom:clamp(1.25rem,2.2vw,2rem);
}
.hn-works__header h2 { margin:0; }
.hn-works__all {
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  min-height:44px;
  color:#174f89;
  font-weight:650;
  text-decoration:none;
}
.hn-works__grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(1rem,1.8vw,1.5rem);
}
.hn-work { display:block; min-width:0; color:#10243c; text-decoration:none; border-radius:14px; }
.hn-work__photo { aspect-ratio:3 / 2; overflow:hidden; border-radius:14px; background:#e4e8ed; }
.hn-work__photo img { display:block; height:100%; width:100%; object-fit:cover; }
.hn-work__caption {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:.5rem;
  padding-top:.8rem;
  font-weight:700;
  font-size:clamp(1rem,1.35vw,1.25rem);
  line-height:1.35;
}
.hn-work__caption i { flex:none; font-size:.9em; color:#526174; }
.hn-work:is(:hover,:focus-visible), .hn-works__all:hover { color:#174f89; text-decoration:underline; text-underline-offset:.2em; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .hn-work__photo img { transition:transform .3s ease; }
  .hn-work:hover img { transform:scale(1.025); }
}
@media(max-width:767px) {
  .hn-works__grid { grid-template-columns:minmax(0,1fr); gap:1.5rem; }
  .hn-work__photo { aspect-ratio:16 / 9; }
}
.hn .hn-faq h2 { text-align:center; margin-bottom:2rem; }
.hn a:focus-visible { outline:3px solid #315a88; outline-offset:4px; }
.hn-hero .site-hero__subject { display:block; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .hn-icon,.hn-step { transition:transform .22s ease; }
  .hn-selection article:hover .hn-icon,.hn-steps li:hover .hn-step { transform:scale(1.06); }
  .hn-product,.hn-category { transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease; }
  .hn-product:hover,.hn-category:hover { transform:translateY(-4px); border-color:#a7bacd; box-shadow:0 10px 28px #1823340d; }
  .hn-product__photo img { transition:transform .3s ease; }
  .hn-product__photo:hover img { transform:scale(1.035); }
}
@media(max-width:1199px) { .hn-steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; } }
@media(max-width:991px) {
  .hn-intro__layout { grid-template-columns:1fr; gap:1.8rem; }
  .hn-intro__brand { justify-content:flex-start; }
  .hn-products { grid-template-columns:1fr; }
  .hn-product { display:grid; grid-template-columns:40% 1fr; }
  .hn-product__photo { height:100%; }
  .hn-product__photo img { height:100%; min-height:260px; }
  .hn-catalog { grid-template-columns:1fr; }
  .hn-catalog__categories { max-width:660px; width:100%; margin:auto; }
  .hn-catalog__copy { max-width:760px; }
  .hn-selection { gap:1.5rem; }
}
@media(max-width:575px) {
  .hn-product { color:inherit; text-decoration:none; display:flex; }
  .hn-product__photo img { height:auto; min-height:0; }
  .hn-products { gap:24px; }
  .hn-product__body { padding:22px; }
  .hn .hn-product h3 { font-size:1.45rem; }
  .hn-selection,.hn-steps { grid-template-columns:1fr; gap:2.2rem; }
  .hn-selection p,.hn-steps p { max-width:40ch; margin-inline:auto; }
  .hn-category { padding:12px; }
  .hn-category span { font-size:.8rem; line-height:1.4; }
  .hn-catalog__categories { gap:12px; }
  .hn-section { scroll-margin-top:80px; }
  .hn-hero .site-hero__actions { align-items:stretch; }
}
@media(prefers-reduced-motion:reduce) { .hn * { scroll-behavior:auto; } }

/* Local navigation follows the portfolio on geographic homepages. */
.hn-selection--geo { grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); }
.hn-selection--geo p { max-width:50ch; margin-inline:auto; }
.hn .hn-locations .hn-directory { margin-top:0; padding-top:0; border-top:0; }
.hn-directory__heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin-bottom:1.25rem; }
.hn .hn-directory__heading h2 { margin:0; font-size:clamp(1.15rem,2vw,1.4rem); }
.hn-directory__search { display:inline-flex; align-items:center; justify-content:center; gap:.6rem; min-height:44px; max-width:100%; padding:.65rem 1rem; border:1px solid #d4e0ec; border-radius:12px; background:#fff; color:#174f89; font:inherit; font-size:.9rem; font-weight:650; text-align:center; }
.hn-directory__search:focus-visible { outline:3px solid #315a88; outline-offset:4px; }
.hn-directory__links { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:.6rem 1.25rem; }
.hn-directory__links a { display:flex; min-width:0; align-items:center; justify-content:space-between; gap:.75rem; min-height:44px; padding:.65rem .85rem; border:1px solid #e1e6ed; border-radius:10px; color:#174f89; line-height:1.4; font-size:.94rem; text-decoration:none; }
.hn-directory__links span { min-width:0; overflow-wrap:anywhere; }
.hn-directory__links i { flex:none; }
.hn-directory__links a:hover { background:#f7f8fa; color:#10243c; }
@media(max-width:575px) {
  .hn-directory__heading { align-items:stretch; flex-direction:column; }
  .hn-directory__search { align-self:flex-start; }
  .hn-hero--geo #home-title .text-green { font-size:clamp(1.15rem,7vw,2rem); overflow-wrap:normal; word-break:normal; }
}

@media(max-width:359px){.hn-hero--geo + .hn #home-selection-title {font-size:clamp(1.35rem,7.8vw,1.7rem)}}
