/* Loaded only by homepage_new.php. Keep every rule within this page. */
.home-new {
    color: var(--text-primary);
    background: var(--bg-primary);
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
.home-new .hn-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.home-new a:focus-visible, .home-new button:focus-visible, .home-new [tabindex="0"]:focus-visible { outline: 3px solid var(--brand-color); outline-offset: 4px; }
.home-new .hn-intro {
    padding: 85px 0 265px;
    background: linear-gradient(#18222c80, #18222c66), url('../img/homepage-new/construction-team.webp') center 24% / cover no-repeat;
    color: #fff;
    text-align: center;
}
.home-new .hn-hero-copy { position: relative; }
.home-new .hn-eyebrow { font-size: 15px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.home-new h1 { margin: 20px 0 18px; font-size: clamp(32px, 3.6vw, 50px); font-weight: 700; line-height: 1.18; letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.home-new .hn-tagline { max-width: 760px; margin-inline: auto; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4; font-weight: 600; text-wrap: balance; }
.home-new .hn-audiences { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 22px; margin-top: -174px; padding-bottom: 80px; }
.home-new .hn-audience { display: flex; flex-direction: column; min-width: 0; padding: 36px; border: 1px solid #e8e9eb; border-radius: 10px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 3px 10px #1118270a; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.home-new .hn-audience:focus-visible { border-color: var(--brand-color); box-shadow: 0 10px 26px #11182716; }
.home-new .hn-audience:focus-visible .hn-button { background-color: var(--brand-hover); }
@media (hover: hover) and (pointer: fine) {
    .home-new .hn-audience:hover { border-color: var(--brand-color); box-shadow: 0 10px 26px #11182716; transform: translateY(-4px); }
    .home-new .hn-audience:hover .hn-button { background-color: var(--brand-hover); }
}
@media (prefers-reduced-motion: reduce) {
    .home-new .hn-audience { transition: none; }
    .home-new .hn-audience:hover { transform: none; }
}
.home-new .hn-audience h2 { margin: 0 0 24px; color: #111; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.25; font-weight: 700; letter-spacing: -.03em; }
.home-new .hn-card-photo { display: block; width: 100%; height: auto; aspect-ratio: 954 / 570; object-fit: cover; border-radius: 6px; }
.home-new .hn-audience > p { margin: 25px 0 28px; color: #343b42; font-size: 16px; line-height: 1.6; }
.home-new .hn-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: auto; }
.home-new .hn-count-box { display: flex; min-height: 58px; min-width: 0; align-items: center; justify-content: center; gap: 9px; padding: 8px 12px; border: 1px solid #eadcd8; border-radius: var(--radius-sm); background: #faf4f2; color: var(--brand-color); }
.home-new .hn-count-box strong { font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.home-new .hn-count-box span { font-size: 12px; line-height: 1.25; }
.home-new .hn-button { min-width: 0; min-height: 58px; justify-content: center; text-align: center; line-height: 1.35; }
.home-new .hn-count-note { grid-column: 1 / -1; color: var(--text-secondary); font-size: 11px; text-align: center; line-height: 1.6; }
.home-new .hn-overview { grid-column: 1 / -1; max-width: 920px; margin: 14px auto 0; text-align: center; }
.home-new .hn-overview h2 { margin-bottom: 12px; font-size: 24px; line-height: 1.3; letter-spacing: -.02em; }
.home-new .hn-overview > p { color: #505860; font-size: 15px; line-height: 1.7; }
.home-new .hn-quick-links, .home-new .hn-answer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 13px; }
.home-new .hn-quick-links { justify-content: center; }
.home-new .hn-quick-links a, .home-new .hn-answer-links a { color: var(--brand-color); text-decoration: underline; text-underline-offset: 3px; }
.home-new .hn-quick-links a:hover, .home-new .hn-answer-links a:hover { color: var(--brand-hover); }
.home-new .hn-features {
    padding: 72px 0 80px;
    background-color: #f1f3f4;
    background-image: url('../img/homepage-new/features-background.webp');
    background-position: left top;
    background-size: cover;
    background-repeat: no-repeat;
}
.home-new .hn-features h2 { margin-bottom: 28px; color: #111; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.home-new .hn-tabs { display: flex; gap: 6px; align-items: stretch; }
.home-new .hn-tabs[hidden] { display: none; }
.home-new .hn-tab { position: relative; padding: 15px 28px; border: 1px solid var(--border-color); border-bottom: 0; border-radius: 7px 7px 0 0; background: #f2f3f5; color: #343b42; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.home-new .hn-tab[aria-selected="true"] { z-index: 1; background: #fff; color: var(--brand-color); }
.home-new .hn-tab[aria-selected="true"]::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #fff; }
.home-new .hn-tab:hover { color: var(--brand-color); }
.home-new .hn-feature-panel { padding: 30px; border: 1px solid var(--border-color); border-radius: 0 8px 8px 8px; background: #fff; }
.home-new .hn-feature-panel[hidden] { display: none; }
.home-new .hn-panel-audience { margin-bottom: 12px; color: var(--brand-color); font-weight: 700; }
.home-new.hn-tabs-ready .hn-panel-audience { display: none; }
.home-new:not(.hn-tabs-ready) .hn-feature-panel + .hn-feature-panel { margin-top: 20px; }
.home-new .hn-feature-intro { margin: 0 0 23px; color: #505860; font-size: 15px; }
.home-new .hn-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.home-new .hn-feature-grid li { padding: 20px 18px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafbfc; }
.home-new .hn-feature-grid h3 { margin: 0 0 9px; color: var(--brand-color); font-size: 14px; font-weight: 700; line-height: 1.4; }
.home-new .hn-feature-grid p { color: #505860; font-size: 13px; line-height: 1.6; }
.home-new .hn-questions { margin-top: 44px; }
.home-new .hn-questions h2 { font-size: 25px; margin-bottom: 20px; }
.home-new .hn-question { margin-top: 12px; border: 1px solid var(--border-color); border-radius: 8px; background: #fff; }
.home-new .hn-question summary { padding: 18px 22px; color: #343b42; font-size: 15px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.home-new .hn-question summary:hover, .home-new .hn-question[open] summary { color: var(--brand-color); }
.home-new .hn-question summary:focus-visible { outline: 3px solid var(--brand-color); outline-offset: 3px; border-radius: 6px; }
.home-new .hn-answer { padding: 0 22px 22px; color: #505860; font-size: 14px; line-height: 1.7; }
/* Remove the shared footer's outer gap only on this alternative homepage. */
#homepage-new ~ .site-footer { margin-top: 0; }
@media (max-width: 1100px) {
    .home-new .hn-intro { padding-top: 75px; padding-bottom: 235px; }
    .home-new .hn-audiences { column-gap: 32px; margin-top: -156px; padding-bottom: 65px; }
    .home-new .hn-audience { padding: 30px; }
    .home-new .hn-audience > p { font-size: 15px; }
    .home-new .hn-count-box { flex-direction: column; gap: 2px; }
    .home-new .hn-count-box strong { font-size: 23px; }
    .home-new .hn-count-box span { font-size: 11px; }
    .home-new .hn-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .home-new .hn-shell { width: calc(100% - 40px); }
    .home-new .hn-intro { padding: 54px 0 132px; background-position: center, 63% 35%; }
    .home-new .hn-eyebrow { font-size: 11px; }
    .home-new h1 { max-width: 620px; margin: 18px auto; font-size: clamp(30px, 5.3vw, 40px); line-height: 1.16; }
    .home-new .hn-tagline { max-width: 460px; font-size: 18px; }
    .home-new .hn-desktop-break { display: none; }
    .home-new .hn-audiences { max-width: 560px; grid-template-columns: 1fr; row-gap: 24px; margin-top: -78px; padding-bottom: 48px; }
    .home-new .hn-audience { padding: 28px; }
    .home-new .hn-audience h2 { margin-bottom: 22px; font-size: 28px; }
    .home-new .hn-audience > p { margin: 23px 0 26px; font-size: 15px; }
    .home-new .hn-count-box { flex-direction: row; gap: 9px; }
    .home-new .hn-count-note { margin-top: -4px; font-size: 10px; }
    .home-new .hn-features { padding: 44px 0 50px; }
    .home-new .hn-features h2 { max-width: 450px; margin-bottom: 24px; font-size: 25px; }
    .home-new .hn-tab { padding: 12px 23px; font-size: 15px; }
    .home-new .hn-feature-panel { padding: 24px; }
    .home-new .hn-feature-grid { gap: 12px; }
    .home-new .hn-feature-grid li { padding: 17px; }
}
@media (max-width: 480px) {
    .home-new .hn-shell { width: calc(100% - 32px); }
    .home-new .hn-intro { padding-top: 44px; padding-bottom: 122px; background-position: center, 64% 35%; }
    .home-new h1 { font-size: 31px; }
    .home-new .hn-tagline { font-size: 16px; line-height: 1.5; }
    .home-new .hn-audience { padding: 23px; }
    .home-new .hn-audience h2 { font-size: 27px; }
    .home-new .hn-audience > p { font-size: 14px; }
    .home-new .hn-card-actions { gap: 12px; }
    .home-new .hn-count-box { flex-direction: column; gap: 2px; }
    .home-new .hn-button { padding-inline: 9px; font-size: 13px; }
    .home-new .hn-feature-panel { padding: 20px; }
    .home-new .hn-feature-intro { font-size: 14px; }
    .home-new .hn-feature-grid { grid-template-columns: 1fr; gap: 12px; }
    .home-new .hn-feature-grid li { padding: 17px 18px; }
    .home-new .hn-feature-grid h3 { margin-bottom: 5px; font-size: 14px; }
    .home-new .hn-overview { margin-top: 8px; text-align: left; }
    .home-new .hn-overview h2 { font-size: 23px; }
    .home-new .hn-overview > p { font-size: 14px; }
    .home-new .hn-quick-links { justify-content: flex-start; gap: 10px 18px; }
    .home-new .hn-questions h2 { font-size: 23px; }
    .home-new .hn-question summary { padding: 16px 18px; font-size: 14px; }
    .home-new .hn-answer { padding: 0 18px 18px; }
}
