/* Hanover Websites - shared styles.
   Fonts are self-hosted (no Google Fonts request): faster, and no visitor data sent to Google. */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/bricolage-grotesque-latin.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/instrument-sans-latin.woff2) format('woff2')}
body{margin:0;background:#FFFFFF}
a{color:#1E2235}a:hover{color:#C23B5E}
.hw *{box-sizing:border-box}
.hw h1,.hw h2,.hw h3{font-family:'Bricolage Grotesque',system-ui,sans-serif;margin:0;font-optical-sizing:auto}
.hw p{margin:0}
.hw a:focus-visible,.hw button:focus-visible,.hw summary:focus-visible,.hw input:focus-visible,.hw textarea:focus-visible{outline:3px solid #1E2235;outline-offset:3px}
.on-dark a:focus-visible,.on-dark button:focus-visible{outline-color:#F2B632}
.wrap{max-width:1200px;margin:0 auto;padding:0 clamp(20px,5vw,64px)}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border-radius:999px;font-weight:600;font-size:17px;text-decoration:none;cursor:pointer;border:0;font-family:inherit;transition:transform .2s ease, background-color .2s ease, color .2s ease}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn svg{transition:transform .25s ease}
.btn:hover .arrow{transform:translateX(4px)}
.navlink{text-decoration:none;font-weight:500;padding:12px 4px;position:relative}
.navlink::after{content:"";position:absolute;left:4px;right:4px;bottom:6px;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.navlink:hover::after{transform:scaleX(1)}
.kicker{font-weight:600;font-size:17px;color:#2E3448}
.plaque{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:16px;align-self:flex-start}
.plaque .num{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#FFFFFF;border:2px solid #1E2235;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:16px;color:#1E2235}
.on-dark .plaque .num{background:#F2B632;border-color:#F2B632}
.mobile-bar{display:none}
.h2{font-size:clamp(34px,4.4vw,56px);line-height:1.04;font-weight:800;letter-spacing:-0.025em}

/* hero: text beside a framed street scene, both centred in height */
.hero{display:grid;grid-template-columns:minmax(0,1fr);gap:40px 56px;align-items:center;padding-top:clamp(16px,4vw,48px);padding-bottom:clamp(64px,7vw,104px)}
.hero-text{display:flex;flex-direction:column;gap:22px}
.hero-h1{font-size:clamp(42px,8vw,72px);line-height:.98;font-weight:800;letter-spacing:-0.03em}
.hero-art{position:relative;width:100%;max-width:720px;margin:0 auto}
.hero-frame{background:#C9DEF1;border:2.5px solid #1E2235;border-radius:28px;box-shadow:10px 10px 0 #1E2235;overflow:hidden}
.hero-frame svg{display:block;width:100%;height:auto}
.hero-card{position:absolute;right:-8px;bottom:-30px;width:min(260px,52%)}
@media (min-width:1080px){
.hero{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}
.hero-h1{font-size:clamp(48px,4.2vw,64px)}
.hero-art{max-width:none;margin:0}
.hero-card{right:-28px}
}
.mark{background-image:linear-gradient(#F2B632,#F2B632);background-repeat:no-repeat;background-position:0 86%;background-size:0% .24em;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:markIn .7s cubic-bezier(.6,0,.2,1) .9s forwards}
@keyframes markIn{to{background-size:100% .24em}}

/* research stats: four across on desktop, never 3 + 1 */
.stats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
@media (min-width:600px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1040px){.stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* stats motion: driven by .armed (set once the page is ready) and .in (set when scrolled into view) */
.stats>li{transition:opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1)}
.stats.armed>li{opacity:0;transform:translateY(28px)}
.stats.armed.in>li{opacity:1;transform:none}
.stats>li:nth-child(2){transition-delay:.12s}
.stats>li:nth-child(3){transition-delay:.24s}
.stats>li:nth-child(4){transition-delay:.36s}
.grow-x{transform-origin:0 50%;transition:transform 1.2s cubic-bezier(.2,.8,.2,1) .5s}
.stats.armed .grow-x{transform:scaleX(0)}
.stats.armed.in .grow-x{transform:scaleX(1)}
.ring{transition:stroke-dasharray 1.3s cubic-bezier(.2,.8,.2,1) .6s}
.stats.armed .ring{stroke-dasharray:0 163.4}
.stats.armed.in .ring{stroke-dasharray:63.7 163.4}
.grow-y{transform-box:fill-box;transform-origin:50% 100%;transition:transform .8s cubic-bezier(.2,.9,.3,1.2) .7s}
.grow-y + .grow-y{transition-delay:1s}
.stats.armed .grow-y{transform:scaleY(0)}
.stats.armed.in .grow-y{transform:scaleY(1)}
.houses-row path{transform-box:fill-box;transform-origin:50% 100%;transition:opacity .3s ease, transform .45s cubic-bezier(.2,.9,.3,1.3)}
.stats.armed .houses-row path{opacity:0;transform:scale(.4)}
.stats.armed.in .houses-row path{opacity:1;transform:none}
.houses-row path:nth-child(1){transition-delay:0.40s}
.houses-row path:nth-child(2){transition-delay:0.49s}
.houses-row path:nth-child(3){transition-delay:0.58s}
.houses-row path:nth-child(4){transition-delay:0.67s}
.houses-row path:nth-child(5){transition-delay:0.76s}
.houses-row path:nth-child(6){transition-delay:0.85s}
.houses-row path:nth-child(7){transition-delay:0.94s}
.houses-row path:nth-child(8){transition-delay:1.03s}
.houses-row path:nth-child(9){transition-delay:1.12s}
.houses-row path:nth-child(10){transition-delay:1.21s}

/* how it works: a route with four stops */
.route{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;position:relative}
.route::before{content:"";position:absolute;left:28px;right:28px;top:26px;border-top:3px dashed #1E2235}
.stop{position:relative;display:flex;flex-direction:column;gap:10px}
.stop-node{position:relative;z-index:1;width:56px;height:56px;border-radius:50%;border:3px solid #1E2235;display:grid;place-items:center;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:24px}
.who{align-self:flex-start;font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 10px;border-radius:999px;border:2px solid #1E2235;background:#FFFFFF}
@media (max-width:860px){
.route{grid-template-columns:minmax(0,1fr);gap:28px}
.route::before{left:26px;right:auto;top:28px;bottom:28px;border-top:0;border-left:3px dashed #1E2235}
.stop{padding-left:80px;min-height:56px}
.stop-node{position:absolute;left:0;top:0}
}

/* how it works motion: the line draws, a light travels along it and each stop pops as it arrives */
.route::before{transform-origin:0 50%;transition:transform 1.8s linear .3s}
.route.armed::before{transform:scaleX(0)}
.route.armed.in::before{transform:scaleX(1)}
.route-dot{position:absolute;z-index:0;top:15px;left:17px;width:22px;height:22px;border-radius:50%;background:#F2B632;border:3px solid #1E2235;opacity:0;transition:left 1.8s linear .3s, opacity .3s ease .3s}
.route.armed.in .route-dot{left:calc(75% + 41px);opacity:1}
.route .stop-node{z-index:1}
.route.armed .stop-node{transform:scale(0)}
.route.armed.in .stop-node{animation:nodePop .6s cubic-bezier(.2,.9,.3,1.3) both}
.route.armed .stop>*:not(.stop-node){opacity:0;transform:translateY(14px);transition:opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1)}
.route.armed.in .stop>*:not(.stop-node){opacity:1;transform:none}
.route>li:nth-child(1) .stop-node{animation-delay:.25s}
.route>li:nth-child(2) .stop-node{animation-delay:.85s}
.route>li:nth-child(3) .stop-node{animation-delay:1.45s}
.route>li:nth-child(4) .stop-node{animation-delay:2.05s}
.route>li:nth-child(1)>*{transition-delay:.4s}
.route>li:nth-child(2)>*{transition-delay:1s}
.route>li:nth-child(3)>*{transition-delay:1.6s}
.route>li:nth-child(4)>*{transition-delay:2.2s}
.route.armed.in>li:nth-child(4) .stop-node{animation:nodePop .6s cubic-bezier(.2,.9,.3,1.3) 2.05s both, arrive 1.4s ease-out 2.6s 2}
@keyframes arrive{0%{box-shadow:0 0 0 0 rgba(242,182,50,.9)}100%{box-shadow:0 0 0 18px rgba(242,182,50,0)}}
@media (max-width:860px){
.route::before{transform-origin:50% 0}
.route.armed::before{transform:scaleY(0)}
.route.armed.in::before{transform:scaleY(1)}
.route-dot{display:none}
}
@keyframes nodePop{from{transform:scale(0)}70%{transform:scale(1.15)}to{transform:scale(1)}}

/* biz chips pop in */
.chips li{transition:transform .2s ease, background-color .2s ease}
.chips li:hover{transform:translateY(-2px);background-color:#FFF3CF}

/* logo */
.logo-link{display:inline-flex;align-items:center;min-height:48px;transition:transform .25s ease}
.logo-link:hover{transform:rotate(-2deg) scale(1.03)}

.foot-link{color:#D5D9E4;text-decoration:none}
.foot-link:hover{color:#FFFFFF;text-decoration:underline}

/* research stats */
.stat-num{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:clamp(48px,4.4vw,60px);line-height:1;letter-spacing:-0.03em}
.stat-viz{height:64px;display:flex;align-items:flex-end}
.stat-src{font-size:14px;color:#3A3F52;margin-top:auto !important;padding-top:14px;border-top:2px dashed #C7CDD9}

/* FAQ columns */
.faq-grid{display:grid;grid-template-columns:minmax(0,1fr);column-gap:56px;align-items:start}
.faq-col{border-top:2px solid #1E2235}
.faq-col + .faq-col{border-top:0}
@media (min-width:900px){
.faq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.faq-col + .faq-col{border-top:2px solid #1E2235}
}

/* faint Hanover rooftops along the foot of sections */
.sky-art{background-image:url(/assets/img/rooftops.svg);background-repeat:repeat-x;background-position:center bottom;background-size:1440px 280px}
.sky-art-light{background-image:url(/assets/img/rooftops-light.svg);background-repeat:repeat-x;background-position:center bottom;background-size:1440px 280px}

/* hero: the terrace climbs the hill */
.house{transform-box:fill-box;transform-origin:50% 100%;animation:houseUp .8s cubic-bezier(.2,.8,.2,1) both}
@keyframes houseUp{from{opacity:0;transform:translateY(60px)}to{opacity:1;transform:none}}
.kerb{stroke-dasharray:900;animation:draw 1.2s cubic-bezier(.4,0,.2,1) both}
@keyframes draw{from{stroke-dashoffset:900}to{stroke-dashoffset:0}}
.lit{opacity:0;animation:lightsOn 7s ease-in-out infinite both}
@keyframes lightsOn{0%,55%{opacity:0}62%,88%{opacity:1}100%{opacity:0}}
.sash-open-a{animation:sashUp 9s ease-in-out 2.2s infinite}
.sash-open-b{animation:sashUp 11s ease-in-out 5.5s infinite}
@keyframes sashUp{0%,30%{transform:translateY(0)}40%,78%{transform:translateY(-21px)}88%,100%{transform:translateY(0)}}
.awning{transform-box:fill-box;transform-origin:50% 0;animation:unroll .7s cubic-bezier(.2,.8,.2,1) 1.1s both}
@keyframes unroll{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.tail{transform-box:fill-box;transform-origin:0% 100%;animation:swish 2.6s ease-in-out infinite}
@keyframes swish{0%,100%{transform:rotate(0)}50%{transform:rotate(-16deg)}}
.perched{transform-box:fill-box;transform-origin:50% 100%;animation:bob 4s ease-in-out 1.6s infinite}
@keyframes bob{0%,70%,100%{transform:none}78%{transform:translateY(-2px) rotate(-6deg)}86%{transform:none}}
.gull{animation:fly 26s linear infinite both}
.gull2{animation:fly 34s linear 9s infinite both}
@keyframes fly{from{transform:translate(-80px,0)}50%{transform:translate(380px,-18px)}to{transform:translate(860px,6px)}}
.wing{transform-box:fill-box;transform-origin:50% 100%;animation:flap 1.6s ease-in-out infinite}
@keyframes flap{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.55)}}
.cloud{animation:drift 40s ease-in-out infinite alternate}
.cloud2{animation:drift 55s ease-in-out infinite alternate-reverse}
@keyframes drift{from{transform:translateX(-30px)}to{transform:translateX(40px)}}
.intro>*{animation:fadeUp .7s cubic-bezier(.2,.8,.2,1) both}
.intro>*:nth-child(2){animation-delay:.08s}.intro>*:nth-child(3){animation-delay:.16s}.intro>*:nth-child(4){animation-delay:.24s}.intro>*:nth-child(5){animation-delay:.32s}
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.example{animation:cardIn .9s cubic-bezier(.2,.8,.2,1) 1.3s both}
@keyframes cardIn{from{opacity:0;transform:translateY(30px) rotate(-3deg)}to{opacity:1;transform:rotate(-2deg)}}

/* scroll-driven reveals, only where supported */
@supports (animation-timeline: view()){
.reveal{animation:fadeUp linear both;animation-timeline:view();animation-range:entry 0% entry 45%}
.stair{animation:stairUp linear both;animation-timeline:view();animation-range:entry 10% entry 70%}
}
@keyframes stairUp{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.stair{transform-origin:50% 100%}

/* doors swing open on hover */
.door-item .leaf{transform-origin:0 50%;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.door-item:hover .leaf{transform:perspective(240px) rotateY(-62deg)}
.door-item .glow{opacity:.35;transition:opacity .6s ease}
.door-item:hover .glow{opacity:1}

/* search demo */
.typed{display:inline-block;white-space:nowrap;overflow:hidden;vertical-align:middle}
.caret{display:inline-block;width:2px;height:22px;background:#1E2235;margin-left:-8px;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.search-demo{view-timeline-name:--demo}
@supports (animation-timeline: view()){
.search-demo .typed{animation:type steps(19,end) both;animation-timeline:--demo;animation-range:entry 40% cover 38%}
.search-demo .res1{animation:fadeUp linear both;animation-timeline:--demo;animation-range:cover 36% cover 48%}
.search-demo .res2{animation:fadeUp linear both;animation-timeline:--demo;animation-range:cover 44% cover 56%}
}
@keyframes type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}

/* price switch */
.swap{display:inline-block;animation:pop .45s cubic-bezier(.2,.9,.3,1.3) both}
@keyframes pop{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.pill{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.seg{cursor:pointer;background:transparent;border:0;font:inherit;font-weight:600;font-size:16px;min-height:48px;padding:0 20px;position:relative;z-index:1;color:#1E2235}
.plan{transition:transform .3s ease, box-shadow .3s ease}
.plan:hover{transform:translateY(-4px);box-shadow:0 14px 0 -6px #1E2235}

/* FAQ */
.faq summary{list-style:none;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq .plus{transition:transform .3s ease}
.faq details[open] .plus{transform:rotate(45deg)}
.faq details[open] .answer{animation:fadeUp .35s ease both}

/* contact form */
.field{display:flex;flex-direction:column;gap:6px}
.field label,.legend{font-weight:600;font-size:16px}
.input{font:inherit;font-size:17px;color:#1E2235;background:#FFFFFF;border:2px solid #1E2235;border-radius:12px;padding:12px 14px;min-height:52px;width:100%;transition:box-shadow .2s ease}
.input:focus{box-shadow:4px 4px 0 #F2B632;outline:none}
.input[aria-invalid="true"]{border-color:#B3261E;box-shadow:4px 4px 0 #F6C9C6}
.err{color:#B3261E;font-size:15px;font-weight:600;animation:fadeUp .25s ease both}
.chip{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:2px solid #1E2235;border-radius:999px;font-weight:600;cursor:pointer;transition:background-color .2s ease}
.chip input:focus-visible + span{outline:3px solid #1E2235;outline-offset:6px;border-radius:4px}
.sent{animation:pop .5s cubic-bezier(.2,.9,.3,1.3) both}

@media (max-width:720px){
.hide-sm{display:none}
.mobile-bar{display:flex;position:sticky;bottom:0;z-index:5;gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#FFFFFF;border-top:2px solid #1E2235}
.mobile-bar .btn{flex:1;min-height:48px;font-size:16px;padding:0 12px}
}
@media (prefers-reduced-motion: reduce){
.hw *,.hw *::before,.hw *::after{animation:none !important;transition:none !important}
.lit{opacity:0}
.example{transform:rotate(-2deg)}
.mark{background-size:100% .24em !important}
}

/* ===== additions for the static build (not in the original design export) ===== */
[hidden]{display:none !important}
.skip{position:absolute;left:12px;top:-60px;z-index:20;background:#1E2235;color:#FFFFFF !important;padding:10px 16px;border-radius:10px;font-weight:600;text-decoration:none}
.skip:focus{top:12px}

/* footer links (kept small on purpose) */
.foot-grid{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px 40px;padding-top:28px;padding-bottom:28px}
.foot-links{display:flex;flex-direction:column;gap:8px}
.foot-links ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px}
.foot-head{font-weight:600;color:#FFFFFF}
.foot-small{font-size:14px;color:#AEB4C6}

/* inner pages */
.page-hero{padding-top:clamp(16px,4vw,40px);padding-bottom:clamp(56px,7vw,96px);display:flex;flex-direction:column;gap:20px;max-width:880px}
.page-h1{font-size:clamp(40px,6.4vw,64px);line-height:1;font-weight:800;letter-spacing:-0.03em}
.lede{font-size:19px;max-width:34em;color:#2E3448}
.crumbs{font-size:15px;color:#2E3448}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.crumbs li+li::before{content:"/";margin-right:6px;color:#6A7085}
.band{padding:clamp(56px,8vw,112px) 0 clamp(150px,16vw,230px)}
.band-plain{padding:clamp(56px,8vw,104px) 0}
.prose{display:flex;flex-direction:column;gap:18px;max-width:40em;font-size:18px}
.prose h2{font-size:clamp(30px,3.6vw,44px);line-height:1.08;font-weight:800;letter-spacing:-0.02em;margin-top:12px}
.prose h3{font-size:23px;font-weight:700;line-height:1.2;margin-top:8px}
.prose ul{margin:0;padding-left:1.2em;display:flex;flex-direction:column;gap:8px}
.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}
.card{background:#FFFFFF;border:2.5px solid #1E2235;border-radius:18px;box-shadow:6px 6px 0 #1E2235;padding:24px;display:flex;flex-direction:column;gap:10px}
.card h3{font-size:22px;font-weight:700;line-height:1.2}
.card p{color:#3A3F52;font-size:17px}
.cta-panel{background:#FFFFFF;color:#1E2235;border:2.5px solid #1E2235;border-radius:20px;box-shadow:8px 8px 0 #F2B632;padding:clamp(24px,3.5vw,44px);display:flex;flex-direction:column;gap:16px;max-width:880px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center}
.price-line{font-size:18px}
.price-line strong{font-family:'Bricolage Grotesque',sans-serif;font-weight:800}
.example-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:28px;align-items:center;background:#FFFFFF;border:2.5px solid #1E2235;border-radius:20px;box-shadow:8px 8px 0 #1E2235;padding:clamp(20px,3vw,36px)}
.example-card img{display:block;width:100%;height:auto;border:2px solid #1E2235;border-radius:12px}
.related{display:flex;flex-wrap:wrap;gap:10px}
.related a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:2px solid #1E2235;border-radius:999px;font-weight:600;text-decoration:none;background:#FFFFFF}
.related a:hover{background:#FFF3CF}
.foot-small p a,.foot-small a.foot-email{text-decoration:underline}
