/*
Theme Name: ZeroY Starter
Version: 1.1.0
*/

:root {
	--heco-navy: #0b2d5b;
	--heco-navy-2: #102a43;
	--heco-ink: #1d2b36;
	--heco-muted: #566879;
	--heco-line: #dbe5eb;
	--heco-pale: #f2f6f8;
	--heco-blue-pale: #f2fafd;
	--heco-yellow: #ffb800;
	--heco-white: #fff;
	--heco-shadow: 0 28px 70px rgba(11, 34, 57, .12);
	--heco-radius: 18px;
	--heco-wrap: min(100% - 40px, 1240px);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--heco-ink);
	background: var(--heco-white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--heco-white); color: var(--heco-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 700; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: var(--heco-wrap); margin-inline: auto; }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; color: var(--heco-white); background: var(--heco-navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--heco-yellow); outline-offset: 4px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(16, 42, 67, .1); background: rgba(255, 255, 255, .96); }
.site-header__inner { width: var(--heco-wrap); min-height: 80px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand__logo { display: block; width: auto; height: 44px; max-width: min(250px, 42vw); object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: .92rem; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.site-nav__cta):hover { color: #34566f; }
.site-nav__cta { padding: 11px 19px; border-radius: 999px; color: var(--heco-white); background: var(--heco-navy); }
.site-nav__cta:hover { background: var(--heco-navy-2); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 6px; padding: 10px 0; color: var(--heco-ink); cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary span { font-size: .85em; transition: transform .2s ease; }
.nav-dropdown[open] summary span { transform: rotate(180deg); }
.nav-dropdown__menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 50%; width: max-content; min-width: 168px; padding: 8px; border: 1px solid var(--heco-line); border-radius: 12px; background: var(--heco-white); box-shadow: var(--heco-shadow); transform: translateX(-50%); }
.nav-dropdown__menu::before { position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; border-top: 1px solid var(--heco-line); border-left: 1px solid var(--heco-line); background: var(--heco-white); transform: translateX(-50%) rotate(45deg); content: ""; }
.site-nav .nav-dropdown__menu a { position: relative; display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.site-nav .nav-dropdown__menu a:hover, .site-nav .nav-dropdown__menu a:focus-visible { color: var(--heco-navy); background: var(--heco-blue-pale); }

.site-footer { margin-top: 0; padding: 64px max(20px, calc((100% - 1240px) / 2)) 24px; color: #d9e5ec; background: var(--heco-navy); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; }
.brand--footer { width: fit-content; padding: 8px 12px; border-radius: 8px; background: var(--heco-white); }
.brand--footer .brand__logo { height: 40px; }
.site-footer__statement { max-width: 540px; margin: 20px 0 0; color: #aebfcb; }
.site-footer__nav { display: flex; gap: 30px; font-weight: 700; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { color: var(--heco-yellow); }
.site-footer__base { margin-top: 54px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: #92a7b7; font-size: .82rem; }
.site-footer__base p { margin: 0; }

.home main, .blog main, .archive main, .single main, .error404 main { width: var(--heco-wrap); margin-inline: auto; padding-block: clamp(60px, 10vw, 120px); }
.home main h1, .blog main h1, .archive main h1, .single main h1, .error404 main h1 { max-width: 900px; margin: .2em 0; color: var(--heco-navy); font-size: clamp(3rem, 8vw, 7rem); line-height: 1.02; letter-spacing: -.055em; }
.home main p, .blog main p, .archive main p, .single main p, .error404 main p { max-width: 65ch; }

.eyebrow { margin: 0 0 18px; color: #35536a; font-size: .76rem; line-height: 1.2; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--light { color: #b9d1df; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 24px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--heco-navy); background: var(--heco-yellow); }
.button--primary:hover { background: #ffc52e; }
.button--secondary { color: var(--heco-navy); border-color: #adc0cc; background: var(--heco-white); }
.button--secondary:hover { border-color: var(--heco-navy); }

.contact-hero { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 138px) 0 clamp(80px, 10vw, 128px); color: var(--heco-white); background: var(--heco-navy); }
.contact-hero::before { position: absolute; width: 520px; height: 520px; top: -250px; right: -100px; border: 1px solid rgba(255,184,0,.3); border-radius: 50%; content: ""; }
.contact-hero::after { position: absolute; width: 11px; height: 11px; top: 72px; right: 17%; border-radius: 50%; background: var(--heco-yellow); box-shadow: 0 0 0 16px rgba(255,184,0,.08); content: ""; }
.contact-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(260px, 3fr); gap: clamp(50px, 9vw, 120px); align-items: end; }
.contact-hero h1 { max-width: 880px; margin: 0; font-size: clamp(3.2rem, 7.2vw, 6.7rem); line-height: .96; letter-spacing: -.065em; }
.contact-hero__lede { max-width: 700px; margin: 34px 0 0; color: #c9d8e1; font-size: clamp(1.04rem, 1.7vw, 1.27rem); }
.system-line { margin-top: 50px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #edf5f8; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.system-line i { width: clamp(18px, 3vw, 42px); height: 1px; background: rgba(255,255,255,.35); }
.contact-hero__aside { padding: 28px 0 6px 28px; border-left: 1px solid rgba(255,255,255,.2); }
.aside-label { margin: 0 0 16px; color: var(--heco-yellow); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-hero__aside ul { margin: 0; padding: 0; list-style: none; }
.contact-hero__aside li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #dce8ee; }

.contact-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 8vw, 104px); padding-block: clamp(74px, 10vw, 132px); align-items: start; }
.contact-intro { position: sticky; top: 36px; }
.contact-intro h2, .form-card h2 { margin: 0; color: var(--heco-navy); font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.contact-intro > p:not(.eyebrow) { margin: 24px 0 0; color: var(--heco-muted); }
.process-list { margin: 42px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 23px 0; border-top: 1px solid var(--heco-line); }
.process-list li > span { color: #607b8e; font-size: .75rem; font-weight: 800; }
.process-list h3 { margin: 0 0 5px; color: var(--heco-navy); font-size: 1rem; }
.process-list p { margin: 0; color: var(--heco-muted); font-size: .91rem; }

.form-card { padding: clamp(26px, 4vw, 52px); border: 1px solid var(--heco-line); border-radius: var(--heco-radius); background: var(--heco-white); box-shadow: var(--heco-shadow); }
.form-card__head { padding-bottom: 34px; border-bottom: 1px solid var(--heco-line); }
.preview-notice { display: flex; gap: 12px; align-items: center; margin: 25px 0 0; padding: 13px 15px; border-radius: 10px; color: #38546a; background: var(--heco-blue-pale); font-size: .86rem; }
.preview-notice span { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; color: var(--heco-white); background: var(--heco-navy-2); font-size: .75rem; font-weight: 800; }
.contact-form { padding-top: 34px; }
.contact-form fieldset { margin: 0 0 38px; padding: 0; border: 0; }
.contact-form legend { width: 100%; margin: 0 0 21px; color: var(--heco-navy); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 20px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; color: var(--heco-navy); font-size: .9rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #b8c8d2; border-radius: 8px; color: var(--heco-ink); background: var(--heco-white); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 142px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #668093; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--heco-navy-2); outline: 0; box-shadow: 0 0 0 3px rgba(255,184,0,.45); }
.field-help { margin: 8px 0 0; color: var(--heco-muted); font-size: .78rem; }
.form-submit { width: 100%; border: 0; }
.form-privacy { margin: 14px auto 0; max-width: 570px; color: var(--heco-muted); font-size: .76rem; text-align: center; }

.thank-page { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: clamp(64px, 10vw, 120px) 0; background: var(--heco-pale); }
.thank-panel { max-width: 900px; padding: clamp(42px, 7vw, 82px); border-radius: 24px; background: var(--heco-white); box-shadow: var(--heco-shadow); text-align: center; }
.status-mark { width: 92px; height: 92px; margin: 0 auto 34px; display: grid; place-items: center; border: 1px solid #d6e2e8; border-radius: 50%; background: var(--heco-blue-pale); }
.status-mark span { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--heco-yellow); }
.status-mark span::after { position: absolute; width: 8px; height: 17px; top: 7px; left: 14px; border: solid var(--heco-navy); border-width: 0 3px 3px 0; transform: rotate(45deg); content: ""; }
.thank-panel h1 { margin: 0 auto; max-width: 760px; color: var(--heco-navy); font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.06em; }
.thank-panel__lede { margin: 28px auto 0; max-width: 580px; color: var(--heco-muted); font-size: 1.15rem; }
.button-row { margin-top: 34px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.thank-panel__note { margin: 42px auto 0; padding-top: 23px; max-width: 600px; border-top: 1px solid var(--heco-line); color: #667987; font-size: .82rem; }
.password-view { min-height: 58vh; padding-block: 100px; }
.password-view h1 { color: var(--heco-navy); font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.05em; }
.password-view input[type="password"] { min-height: 48px; border: 1px solid #9eb2bf; border-radius: 8px; }
.password-view input[type="submit"] { min-height: 48px; padding: 10px 18px; border: 0; border-radius: 8px; color: var(--heco-white); background: var(--heco-navy); }

@media (max-width: 900px) {
	.contact-hero__grid, .contact-body { grid-template-columns: 1fr; }
	.contact-hero__aside { max-width: 580px; }
	.contact-intro { position: static; }
	.site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	:root { --heco-wrap: min(100% - 30px, 1240px); }
	.site-header__inner { min-height: 70px; gap: 14px; }
	.brand__logo { height: 34px; max-width: 125px; }
	.brand--footer .brand__logo { height: 36px; }
	.site-nav { gap: 9px; font-size: .76rem; }
	.site-nav__cta { padding: 9px 11px; }
	.nav-dropdown summary { gap: 3px; }
	.nav-dropdown__menu { right: 0; left: auto; min-width: 145px; transform: none; }
	.nav-dropdown__menu::before { right: 28px; left: auto; transform: rotate(45deg); }
	.contact-hero { padding-top: 66px; }
	.contact-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
	.contact-hero__aside { padding-left: 20px; }
	.system-line { align-items: flex-start; flex-direction: column; }
	.system-line i { width: 1px; height: 16px; margin-left: 4px; }
	.field-grid { grid-template-columns: 1fr; }
	.field--full { grid-column: auto; }
	.form-card { padding: 26px 20px; }
	.button-row { align-items: stretch; flex-direction: column; }
	.site-footer { padding-top: 48px; }
	.site-footer__nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
	.button:hover { transform: none; }
}


/* Homepage — heat pump first positioning */
.home .home-page { width: 100%; margin: 0; padding: 0; }
.home-hero { overflow: hidden; padding: clamp(78px, 10vw, 140px) 0; color: var(--heco-white); background: var(--heco-navy); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: clamp(60px, 9vw, 120px); align-items: center; }
.home .home-hero h1 { max-width: 900px; margin: 0; color: var(--heco-white); font-size: clamp(3.5rem, 7.7vw, 7.3rem); line-height: .94; letter-spacing: -.065em; }
.home-hero__lede { max-width: 720px; margin: 32px 0 0; color: #cbd9e4; font-size: clamp(1.06rem, 1.7vw, 1.28rem); }
.button-row--start { justify-content: flex-start; }
.energy-orbit { position: relative; min-height: 470px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.energy-orbit::before { position: absolute; width: 72%; height: 72%; border: 1px solid rgba(255,184,0,.35); border-radius: 50%; content: ""; }
.energy-orbit__core { z-index: 1; width: 190px; height: 190px; display: grid; place-content: center; border-radius: 50%; color: var(--heco-navy); background: var(--heco-yellow); text-align: center; box-shadow: 0 0 0 18px rgba(255,184,0,.08); }
.energy-orbit__core strong { font-family: Manrope, sans-serif; font-size: 1.55rem; }
.energy-orbit__core span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.energy-orbit__node { position: absolute; padding: 9px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #e8f1f6; background: var(--heco-navy); font-size: .75rem; font-weight: 600; }
.energy-orbit__node--solar { top: 11%; right: 10%; }
.energy-orbit__node--sg { bottom: 15%; right: 3%; }
.energy-orbit__node--home { bottom: 8%; left: 7%; }
.home-focus { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(50px, 9vw, 120px); padding-block: clamp(80px, 11vw, 150px); }
.home-focus h2, .home-system h2, .home-cta h2 { margin: 0; color: var(--heco-navy); font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.home-focus__intro > p:not(.eyebrow) { margin-top: 26px; color: var(--heco-muted); }
.focus-grid { display: grid; gap: 0; }
.focus-grid article { display: grid; grid-template-columns: 50px 1fr; column-gap: 22px; padding: 28px 0; border-top: 1px solid var(--heco-line); }
.focus-grid article > span { grid-row: 1 / 3; color: #678094; font-size: .76rem; font-weight: 700; }
.focus-grid h3 { margin: 0 0 7px; color: var(--heco-navy); font-size: 1.35rem; }
.focus-grid p { margin: 0; color: var(--heco-muted); }
.home-system { padding: clamp(80px, 10vw, 140px) 0; background: var(--heco-blue-pale); }
.home-system__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(50px, 9vw, 120px); align-items: start; }
.home-system__grid > div:last-child > p { margin: 0; color: #425b70; font-size: 1.08rem; }
.system-capabilities { margin: 34px 0 0; padding: 0; list-style: none; }
.system-capabilities li { padding: 16px 0 16px 26px; border-top: 1px solid #d6e4eb; color: var(--heco-navy); font-weight: 600; }
.system-capabilities li::before { display: inline-block; width: 8px; height: 8px; margin: 0 18px 1px -26px; border-radius: 50%; background: var(--heco-yellow); content: ""; }
.home-cta { padding-block: clamp(85px, 11vw, 150px); text-align: center; }
.home-cta h2 { max-width: 900px; margin-inline: auto; }
.home-cta > p:not(.eyebrow) { max-width: 690px; margin: 28px auto 34px; color: var(--heco-muted); font-size: 1.08rem; }

@media (max-width: 900px) {
	.home-hero__grid, .home-focus, .home-system__grid { grid-template-columns: 1fr; }
	.energy-orbit { width: min(100%, 520px); min-height: auto; aspect-ratio: 1; margin-inline: auto; }
}

@media (max-width: 620px) {
	.home-hero { padding-top: 64px; }
	.home-hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
	.home-hero__grid { gap: 58px; }
	.energy-orbit__core { width: 140px; height: 140px; }
	.energy-orbit__core strong { font-size: 1.2rem; }
	.energy-orbit__node { padding: 7px 10px; font-size: .65rem; }
	.home-focus, .home-system__grid { gap: 45px; }
	.focus-grid article { grid-template-columns: 38px 1fr; gap: 14px; }
	.home-cta { text-align: left; }
	.home-cta .button { width: 100%; }
}


/* Books mega menu */
@media (min-width: 621px) {
	.nav-mega:hover > .nav-mega__menu,
	.nav-mega:focus-within > .nav-mega__menu { display: block; }
	.nav-mega__menu { display: none; right: -100px; left: auto; width: min(760px, calc(100vw - 40px)); min-width: 620px; padding: 0; overflow: hidden; transform: none; }
	.nav-mega__menu::before { right: 138px; left: auto; transform: rotate(45deg); }
	.nav-mega[open] > .nav-mega__menu { display: block; }
}
.nav-mega__header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 20px 24px; color: var(--heco-white); background: var(--heco-navy); }
.nav-mega__header strong { font-family: Manrope, sans-serif; font-size: 1.15rem; }
.site-nav .nav-mega__header a { padding: 0; color: var(--heco-white); font-size: .8rem; }
.site-nav .nav-mega__header a:hover { color: var(--heco-yellow); background: transparent; }
.nav-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 22px 16px 24px; }
.nav-mega__grid section { padding: 0 16px; border-right: 1px solid var(--heco-line); }
.nav-mega__grid section:last-child { border-right: 0; }
.nav-mega__grid h2 { margin: 0 0 10px; color: #61798b; font-family: Inter, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-nav .nav-mega__grid a { padding: 8px 10px; font-size: .86rem; }

@media (max-width: 620px) {
	.nav-mega__menu { position: fixed; top: 70px; right: 15px; left: 15px; width: auto; max-height: calc(100vh - 90px); overflow-y: auto; transform: none; }
	.nav-mega__menu::before { right: 80px; left: auto; transform: rotate(45deg); }
	.nav-mega__header { padding: 16px 18px; }
	.nav-mega__grid { grid-template-columns: 1fr; padding: 12px 14px 18px; }
	.nav-mega__grid section { padding: 12px 4px; border-right: 0; border-bottom: 1px solid var(--heco-line); }
	.nav-mega__grid section:last-child { border-bottom: 0; }
	.site-nav .nav-mega__grid a { display: inline-flex; margin: 2px 3px 2px 0; padding: 7px 9px; }
}


/* Homepage redesign — scoped overrides */
.home .home-page { width: 100%; margin: 0; padding: 0; overflow: hidden; background: var(--heco-white); }
.home-page h2 { margin: 0; color: var(--heco-navy); font-size: clamp(2.35rem, 4.8vw, 4.8rem); line-height: 1.02; letter-spacing: -.055em; }
.home-page h3 { color: var(--heco-navy); }
.home-section { padding-block: clamp(80px, 10vw, 140px); }
.home-hero { position: relative; padding: clamp(72px, 9vw, 132px) 0; background: #08284f; }
.home-hero::before { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, #000, transparent 58%); content: ""; }
.home-hero__grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); gap: clamp(46px, 7vw, 96px); }
.home .home-hero h1 { max-width: 760px; font-size: clamp(3.15rem, 6.4vw, 6.5rem); }
.home-hero__lede { max-width: 690px; margin-top: 28px; }
.home-hero__note { max-width: 670px; margin: 20px 0 0; padding-left: 18px; border-left: 2px solid var(--heco-yellow); color: #aebfcb; font-size: .94rem; }
.home-page .button-row { justify-content: flex-start; }
.home-page .button--ghost { color: var(--heco-white); border-color: rgba(255,255,255,.36); background: transparent; }
.home-page .button--ghost:hover { border-color: var(--heco-white); background: rgba(255,255,255,.08); }
.home-media { position: relative; margin: 0; overflow: hidden; background: #e7ebef; }
.home-media img { display: block; width: 100%; height: 100%; object-fit: cover; background: #e7ebef; }
.home-media figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 8px 10px; color: #40505d; background: rgba(255,255,255,.9); font-size: .7rem; line-height: 1.35; }
.home-media--hero { aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; box-shadow: 24px 24px 0 rgba(255,184,0,.12); }
.section-heading { margin-bottom: clamp(44px, 6vw, 76px); }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); gap: clamp(38px, 8vw, 112px); align-items: end; }
.section-heading > p, .section-heading > div + p { margin: 0; color: var(--heco-muted); font-size: 1.04rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { border: 1px solid var(--heco-line); background: var(--heco-white); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.product-card:hover { border-color: #9eb1bd; transform: translateY(-4px); box-shadow: 0 20px 54px rgba(11,34,57,.1); }
.home-media--card { aspect-ratio: 3 / 2; }
.product-card__body { position: relative; padding: 30px 28px 34px; }
.card-index { color: #758b9a; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.product-card h3 { margin: 14px 0 10px; font-size: 1.4rem; }
.product-card p { margin: 0; color: var(--heco-muted); font-size: .94rem; }
.home-system { padding: clamp(82px, 10vw, 140px) 0; color: #d6e3eb; background: var(--heco-navy); }
.home-system__grid { grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr); align-items: center; }
.home-system h2 { color: var(--heco-white); }
.home-system__content > p:not(.eyebrow) { margin: 26px 0 0; color: #bed0db; }
.system-flow { margin-top: 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.system-flow span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); color: #f0f6f9; font-size: .76rem; font-weight: 750; }
.system-flow i { color: var(--heco-yellow); font-style: normal; }
.home-system .system-disclosure { padding: 18px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.05); font-size: .86rem; }
.home-media--system { aspect-ratio: 16 / 9; border-radius: 4px; }

.home-advantages { background: var(--heco-pale); }
.advantage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cad8e0; border-left: 1px solid #cad8e0; }
.advantage-grid article { min-height: 255px; padding: 30px; border-right: 1px solid #cad8e0; border-bottom: 1px solid #cad8e0; background: rgba(255,255,255,.46); }
.advantage-grid span { color: #718795; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.advantage-grid h3 { margin: 42px 0 10px; font-size: 1.28rem; }
.advantage-grid p { margin: 0; color: var(--heco-muted); font-size: .91rem; }
.home-proof { padding-block: clamp(80px, 10vw, 140px); }
.home-proof__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(44px, 8vw, 108px); align-items: center; }
.home-media--proof { aspect-ratio: 20 / 13; border-radius: 4px; }
.home-proof__content h2 { margin-bottom: 26px; }
.proof-statement { margin: 0; color: var(--heco-navy); font-size: 1.18rem; font-weight: 750; }
.testimonial-placeholder { margin-top: 34px; padding: 28px; border-left: 3px solid var(--heco-yellow); background: var(--heco-pale); }
.testimonial-placeholder span { color: #9cafbb; font-family: Georgia, serif; font-size: 2.6rem; line-height: .6; }
.testimonial-placeholder p { margin: 10px 0 0; color: var(--heco-muted); font-size: .9rem; }
.home-insights { border-top: 1px solid var(--heco-line); background: #fbfcfc; }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.insight-card { min-height: 310px; padding: 30px; display: flex; flex-direction: column; border-top: 3px solid var(--heco-navy); background: var(--heco-white); box-shadow: 0 12px 40px rgba(11,34,57,.07); }
.insight-card time { color: #6c8291; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.insight-card h3 { margin: 26px 0 12px; font-size: 1.35rem; line-height: 1.25; }
.insight-card h3 a { text-decoration: none; }
.insight-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--heco-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.insight-card p { margin: 0 0 24px; color: var(--heco-muted); font-size: .91rem; }
.text-link { width: fit-content; margin-top: auto; color: var(--heco-navy); font-size: .82rem; font-weight: 800; text-decoration: none; }
.text-link:hover { color: #355d7b; }
.insights-empty { padding: 38px; border: 1px dashed #9eb1bd; background: var(--heco-white); }
.insights-empty p { margin: 0; color: var(--heco-muted); }
.home-final-cta { padding-block: clamp(72px, 9vw, 120px); color: var(--heco-white); background: #071f3b; }
.home-final-cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(48px, 10vw, 130px); align-items: center; }
.home-final-cta h2 { max-width: 760px; color: var(--heco-white); }
.home-final-cta__inner > div:last-child > p { margin: 0 0 28px; color: #b8cad5; }
.home-final-cta .button { min-width: 220px; }

@media (max-width: 900px) {
	.home-hero__grid, .home-system__grid, .home-proof__grid, .home-final-cta__inner, .section-heading--split { grid-template-columns: 1fr; }
	.home-hero__grid { gap: 54px; }
	.product-grid, .advantage-grid, .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-card:last-child, .insight-card:last-child { grid-column: 1 / -1; }
	.home-media--hero { width: min(100%, 680px); }
}

@media (max-width: 620px) {
	.home-section, .home-proof { padding-block: 76px; }
	.home-hero { padding-block: 62px 76px; }
	.home .home-hero h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
	.home-page h2 { font-size: clamp(2.2rem, 11vw, 3.35rem); }
	.home-hero__note { font-size: .86rem; }
	.home-page .button-row { align-items: stretch; }
	.home-page .button-row .button { width: 100%; }
	.product-grid, .advantage-grid, .insight-grid { grid-template-columns: 1fr; }
	.product-card:last-child, .insight-card:last-child { grid-column: auto; }
	.product-card__body, .advantage-grid article, .insight-card { padding: 24px 22px 28px; }
	.advantage-grid article { min-height: 220px; }
	.advantage-grid h3 { margin-top: 30px; }
	.system-flow { align-items: stretch; flex-direction: column; }
	.system-flow i { align-self: center; transform: rotate(90deg); }
	.home-final-cta .button { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.home-page .product-card:hover { transform: none; }
}


/* About page — locally scoped */
.about-page { width: 100%; margin: 0; padding: 0; overflow: hidden; background: var(--heco-white); }
.about-page h2 { margin: 0; color: var(--heco-navy); font-size: clamp(2.35rem, 4.8vw, 4.8rem); line-height: 1.02; letter-spacing: -.055em; }
.about-page h3 { color: var(--heco-navy); }
.about-section { padding-block: clamp(80px, 10vw, 140px); }
.about-heading { margin-bottom: clamp(44px, 6vw, 76px); }
.about-heading--split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); gap: clamp(38px, 8vw, 112px); align-items: end; }
.about-heading--split > p { margin: 0; color: var(--heco-muted); font-size: 1.04rem; }
.about-hero { position: relative; padding: clamp(72px, 9vw, 132px) 0; color: var(--heco-white); background: #08284f; }
.about-hero::before { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, #000, transparent 58%); content: ""; }
.about-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); gap: clamp(46px, 7vw, 96px); align-items: center; }
.about-hero h1 { max-width: 780px; margin: 0; font-size: clamp(3.15rem, 6.4vw, 6.5rem); line-height: .94; letter-spacing: -.065em; }
.about-hero__content > p:not(.eyebrow) { max-width: 690px; margin: 28px 0 0; color: #cbd9e4; font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.about-hero__content .about-hero__note { margin-top: 18px; padding-left: 18px; border-left: 2px solid var(--heco-yellow); color: #aebfcb; font-size: .94rem; }
.about-hero .button { margin-top: 34px; }
.about-media { position: relative; margin: 0; overflow: hidden; background: #e7ebef; }
.about-media img { display: block; width: 100%; height: 100%; object-fit: cover; background: #e7ebef; }
.about-media figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 8px 10px; color: #40505d; background: rgba(255,255,255,.9); font-size: .7rem; line-height: 1.35; }
.about-media--hero { aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; box-shadow: 24px 24px 0 rgba(255,184,0,.12); }
.about-purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--heco-line); border-left: 1px solid var(--heco-line); }
.about-purpose__grid article { min-height: 340px; padding: clamp(30px, 5vw, 58px); border-right: 1px solid var(--heco-line); border-bottom: 1px solid var(--heco-line); }
.about-purpose__grid span, .about-roles__grid span { color: #647d8e; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.about-purpose__grid h3 { max-width: 620px; margin: 46px 0 18px; font-size: clamp(1.45rem, 2.6vw, 2.25rem); line-height: 1.2; }
.about-purpose__grid p { margin: 0; color: var(--heco-muted); }
.about-story { background: var(--heco-blue-pale); }
.about-story__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(48px, 8vw, 108px); align-items: center; }
.about-media--story { aspect-ratio: 3 / 2; border-radius: 4px; }
.about-story__content > p:not(.eyebrow) { color: var(--heco-muted); font-size: 1.03rem; }
.about-story__content h2 { margin-bottom: 28px; }
.about-scope { margin-top: 34px; padding: 24px; border-left: 3px solid var(--heco-yellow); background: var(--heco-white); }
.about-scope strong { color: var(--heco-navy); }
.about-scope p { margin: 8px 0 0; color: var(--heco-muted); font-size: .88rem; }
.about-path__list, .about-trust__list { margin: 0; padding: 0; list-style: none; }
.about-path__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #cad8e0; border-left: 1px solid #cad8e0; }
.about-path__list li { min-height: 330px; padding: 30px; border-right: 1px solid #cad8e0; border-bottom: 1px solid #cad8e0; background: var(--heco-white); }
.about-path__list li > span, .about-values__grid span, .about-trust__list li > span { color: #718795; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.about-path__list h3 { margin: 70px 0 12px; font-size: 1.3rem; }
.about-path__list p { margin: 0; color: var(--heco-muted); font-size: .91rem; }
.about-roles { background: var(--heco-pale); }
.about-roles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.about-roles__grid article { border: 1px solid var(--heco-line); background: var(--heco-white); }
.about-media--role { aspect-ratio: 4 / 5; }
.about-roles__grid article > div { padding: 24px 22px 28px; }
.about-roles__grid h3 { margin: 10px 0 9px; font-size: 1.2rem; }
.about-roles__grid p { margin: 0; color: var(--heco-muted); font-size: .88rem; }
.about-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cad8e0; border-left: 1px solid #cad8e0; }
.about-values__grid article { min-height: 255px; padding: 30px; border-right: 1px solid #cad8e0; border-bottom: 1px solid #cad8e0; background: rgba(242,246,248,.4); }
.about-values__grid h3 { margin: 42px 0 10px; font-size: 1.28rem; }
.about-values__grid p { margin: 0; color: var(--heco-muted); font-size: .91rem; }
.about-trust { color: #d6e3eb; background: var(--heco-navy); }
.about-trust__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr); gap: clamp(50px, 9vw, 120px); align-items: start; }
.about-trust h2 { color: var(--heco-white); }
.about-trust__intro > p:not(.eyebrow) { margin: 26px 0 0; color: #b8cad5; }
.about-trust__list { border-top: 1px solid rgba(255,255,255,.17); }
.about-trust__list li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.about-trust__list li > span { color: #9db1be; }
.about-trust__list h3 { margin: 0 0 4px; color: var(--heco-white); font-size: 1.05rem; }
.about-trust__list p { margin: 0; color: #b8cad5; font-size: .9rem; }
.about-cta { padding-block: clamp(72px, 9vw, 120px); color: var(--heco-white); background: #071f3b; }
.about-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; }
.about-cta h2 { max-width: 900px; color: var(--heco-white); }
.about-cta .button { min-width: 220px; }
.about-password { min-height: 58vh; padding-block: 100px; }
.about-password input[type="password"] { min-height: 48px; border: 1px solid #9eb2bf; border-radius: 8px; }
.about-password input[type="submit"] { min-height: 48px; padding: 10px 18px; border: 0; border-radius: 8px; color: var(--heco-white); background: var(--heco-navy); }

@media (max-width: 1000px) {
	.about-roles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.about-path__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.about-hero__grid, .about-heading--split, .about-story__grid, .about-trust__grid, .about-cta__inner { grid-template-columns: 1fr; }
	.about-hero__grid { gap: 54px; }
	.about-media--hero { width: min(100%, 680px); }
	.about-cta__inner { align-items: start; }
}

@media (max-width: 620px) {
	.site-header__inner { min-height: 0; padding-block: 10px; align-items: flex-start; }
	.site-nav { max-width: 185px; justify-content: flex-end; gap: 5px 10px; flex-wrap: wrap; line-height: 1.2; }
	.site-nav > a:not(.site-nav__cta), .site-nav > .nav-dropdown summary { padding-block: 5px; }
	.site-nav__cta { padding: 7px 10px; }
	.about-section { padding-block: 76px; }
	.about-hero { padding-block: 62px 76px; }
	.about-hero h1 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
	.about-page h2 { font-size: clamp(2.2rem, 11vw, 3.35rem); }
	.about-purpose__grid, .about-path__list, .about-roles__grid, .about-values__grid { grid-template-columns: 1fr; }
	.about-purpose__grid article { min-height: 0; padding: 30px 24px; }
	.about-purpose__grid h3 { margin-top: 34px; }
	.about-path__list li { min-height: 0; padding: 26px 22px 30px; }
	.about-path__list h3 { margin-top: 36px; }
	.about-values__grid article { min-height: 220px; padding: 24px 22px 28px; }
	.about-values__grid h3 { margin-top: 30px; }
	.about-cta .button { width: 100%; min-width: 0; }
}

@media (max-width: 360px) {
	:root { --heco-wrap: min(100% - 24px, 1240px); }
	.brand__logo { max-width: 108px; }
	.site-nav { max-width: 172px; gap-inline: 8px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
	.about-page .button:hover { transform: none; }
}


/* News navigation dropdown */
@media (min-width: 621px) {
	.nav-news:hover > .nav-news__menu,
	.nav-news:focus-within > .nav-news__menu { display: block; }
	.nav-news__menu { display: none; }
	.nav-news[open] > .nav-news__menu { display: block; }
}
.nav-news__menu { left: 50%; min-width: 190px; transform: translateX(-50%); }
.site-nav .nav-news__menu a { padding: 11px 14px; }
@media (max-width: 620px) {
	.nav-news__menu { position: absolute; right: 0; left: auto; min-width: 170px; transform: none; }
	.nav-news__menu::before { right: 34px; left: auto; transform: rotate(45deg); }
}
