/*
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); }

.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: 36px; max-width: 150px; }
	.brand--footer .brand__logo { height: 36px; }
	.site-nav { gap: 14px; font-size: .84rem; }
	.site-nav__cta { padding: 9px 13px; }
	.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%; }
}
