/* Home Matcher extension of DESIGN.md. Scoped to this page. */
.matcher-design{--matcher-heading:clamp(28px,2.6vw,36px);--matcher-subheading:24px;--matcher-body:17px;--matcher-small:14px;--matcher-error:#a02525;--matcher-tint:#edf3f9;--matcher-focus:#b56c00;caret-color:var(--blue)}
.matcher-design ::selection{background:var(--blue);color:var(--white)}
.matcher-page h1,.matcher-page h2,.matcher-page h3{text-wrap:balance;font-weight:500;letter-spacing:-.025em}
.matcher-page p{text-wrap:pretty}
.matcher-page a{text-underline-offset:5px}
.matcher-hero{display:grid;grid-template-columns:42% 58%;background:var(--stone)}
.matcher-hero-copy{padding:66px 44px 62px max(48px,calc((100vw - 1240px)/2));align-self:center}
.matcher-hero h1{font-size:clamp(36px,3.7vw,58px);line-height:1.08;margin:0 0 24px;text-transform:uppercase;color:var(--navy)}
.matcher-hero h1 span{color:var(--blue)}
.matcher-hero-copy>p{max-width:38ch;font-size:18px;line-height:1.65;margin:0 0 28px}
.matcher-hero-copy .matcher-reassurance{font-size:14px;margin:16px 0 0;color:var(--muted)}
.matcher-hero-photo{margin:0;position:relative;min-width:0;display:flex;flex-direction:column;background:var(--white)}
.matcher-hero-photo img{width:100%;height:100%;min-height:480px;object-fit:cover;object-position:58% center;flex:1}
.matcher-hero-photo figcaption{padding:10px 20px;font-size:12px;line-height:1.5;background:var(--white);color:var(--muted)}
.matcher-availability{background:var(--blue);color:var(--white);padding:30px 0}
.matcher-availability .wrap{display:flex;align-items:center;justify-content:space-between;gap:28px}
.matcher-availability h2{color:var(--white);font-size:25px;text-transform:none;margin:0 0 7px}
.matcher-availability p{margin:0;font-size:16px;line-height:1.6;color:var(--white)}
.matcher-availability a{color:var(--white);display:inline-flex;align-items:center;gap:22px;min-height:48px;flex-shrink:0;border-bottom:1px solid currentColor;text-decoration:none}
.matcher-availability a:hover{background:#ffffff12}
.matcher-workspace{padding-block:80px;scroll-margin-top:150px}
.matcher-design .ahm{font:inherit;color:var(--ink);scroll-margin-top:150px}
.matcher-design .ahm__screen{display:none}
.matcher-design .ahm__screen.is-active{display:block}
.matcher-design .ahm__hero,.matcher-design .ahm__home-icon{display:none}
.matcher-design .ahm__quiz-panel{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);column-gap:64px}
.matcher-design .ahm__step-label{font-size:14px;color:var(--blue);margin:0 0 20px;font-variant-numeric:tabular-nums}
.matcher-design .ahm__quiz-panel>.ahm__step-label{grid-column:1;grid-row:1}
.matcher-design .ahm__quiz-heading{grid-column:1;grid-row:2 / 6;align-self:start}
.matcher-design .ahm__quiz-heading h2{font-size:var(--matcher-heading);line-height:1.14;text-transform:uppercase;margin:0 0 20px;color:var(--navy)}
.matcher-design .ahm__quiz-heading p{font-size:17px;line-height:1.65;margin:0;max-width:29ch;color:var(--muted)}
.matcher-design .ahm__question{grid-column:2;border:0;padding:0;margin:0 0 30px;min-width:0}
.matcher-design .ahm__question:first-of-type{grid-row:1 / 3}
.matcher-design .ahm__question legend{font-size:18px;line-height:1.45;font-weight:600;margin-bottom:14px;padding:0}
.matcher-design .ahm__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.matcher-design .ahm__choices--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.matcher-design .ahm__choice{position:relative;cursor:pointer;display:flex;min-width:0;align-items:stretch}
.matcher-design .ahm__choice input{position:absolute;opacity:0;width:1px;height:1px}
.matcher-design .ahm__choice span{display:flex;width:100%;align-items:center;justify-content:center;min-height:54px;padding:10px 12px;border:1px solid var(--line);font-size:15px;line-height:1.4;text-align:center;transition:background-color 160ms,border-color 160ms,color 160ms}
.matcher-design .ahm__choice:hover span{border-color:var(--blue);background:var(--matcher-tint)}
.matcher-design .ahm__choice input:checked+span{background:var(--blue);border-color:var(--blue);color:var(--white)}
.matcher-design .ahm__choice input:checked+span::after{content:'';width:6px;height:10px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin-inline-start:10px;flex-shrink:0}
.matcher-design .ahm__choice input:focus-visible+span,.matcher-page :focus-visible{outline:3px solid var(--matcher-focus);outline-offset:4px}
.matcher-design .ahm__choice input[aria-invalid=true]+span{border-color:var(--matcher-error)}
.matcher-design .ahm__quiz-panel>.ahm__button,.matcher-design .ahm__privacy-line,.matcher-design .ahm__quiz-panel>.ahm__message{grid-column:2}
.matcher-design .ahm__button{display:inline-flex;align-items:center;justify-content:center;gap:16px;background:var(--blue);color:var(--white);padding:15px 24px;border:1px solid var(--blue);border-radius:0;min-height:54px;font:inherit;font-size:15px;line-height:1.4;cursor:pointer;text-decoration:none}
.matcher-design .ahm__button:hover{background:var(--navy);border-color:var(--navy)}
.matcher-design .ahm__button:active{transform:translateY(1px)}
.matcher-design .ahm__button:disabled{opacity:.6;cursor:wait}
.matcher-design .ahm__privacy-line{font-size:13px;color:var(--muted);text-align:center;margin:12px 0 0}
.matcher-design .ahm__message{font-size:15px;line-height:1.5;color:var(--matcher-error);margin-top:14px}
.matcher-design .ahm__message:empty{display:none}
.matcher-design .ahm__matches-heading{max-width:700px;margin-bottom:34px}
.matcher-design .ahm__matches-heading h2{font-size:var(--matcher-heading);line-height:1.15;text-transform:uppercase;margin:0 0 18px;color:var(--navy)}
.matcher-design .ahm__matches-heading p{color:var(--muted);font-size:17px;line-height:1.65}
.matcher-design .ahm__preview-results,.matcher-design .ahm__final-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.matcher-design .ahm__card{min-width:0;background:var(--stone)}
.matcher-design .ahm__gallery{position:relative;aspect-ratio:4/3;background:var(--stone);overflow:hidden}
.matcher-design .ahm__card-image{width:100%;height:100%;object-fit:cover}
.matcher-design .ahm__gallery--floorplan .ahm__card-image{object-fit:contain;background:var(--white)}
/* Small visible controls retain generous 44px touch targets. */
.matcher-design .ahm__gallery-button{position:absolute;top:calc(50% - 22px);width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--white);font-size:0;cursor:pointer;display:grid;place-items:center}
.matcher-design .ahm__gallery-button::before{content:'';position:absolute;inset:6px;border-radius:50%;background:rgb(20 47 70 / 82%);transition:background-color 160ms,transform 160ms}
.matcher-design .ahm__gallery-button::after{content:'';position:absolute;top:18px;left:18px;width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateX(-1px) rotate(-45deg)}
.matcher-design .ahm__gallery-button--previous{left:4px}.matcher-design .ahm__gallery-button--next{right:4px}
.matcher-design .ahm__gallery-button--previous::after{transform:translateX(1px) rotate(135deg)}
.matcher-design .ahm__gallery-button:hover::before{background:var(--navy);transform:scale(1.06)}
.matcher-design .ahm__gallery-button:active::before{transform:scale(.94)}
.matcher-design .ahm__gallery-button:focus-visible{outline-offset:-2px}
.matcher-design .ahm__gallery-count{position:absolute;bottom:12px;right:12px;background:rgb(20 47 70 / 82%);color:var(--white);border-radius:20px;padding:2px 8px;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.matcher-design .ahm .matcher-price-note{font-size:var(--matcher-small);color:var(--muted);margin:18px 0 0}
.matcher-design .ahm__card-body{padding:24px}
.matcher-design .ahm__plan-pill{font-size:26px;margin:0 0 10px;color:var(--blue)}
.matcher-design .ahm__card-facts{display:flex;flex-wrap:wrap;gap:12px;font-size:14px;font-variant-numeric:tabular-nums}
.matcher-design .ahm__highlights{padding-left:20px;margin:20px 0;font-size:15px;line-height:1.65}
.matcher-design .ahm__highlights li+li{margin-top:8px}
.matcher-design .ahm__model-price{display:flex;flex-direction:column;gap:4px;margin-top:22px}
.matcher-design .ahm__model-price span{font-size:13px;color:var(--muted)}
.matcher-design .ahm__model-price strong{font-size:21px;font-weight:500;color:var(--navy)}
.matcher-design .ahm__lead-gate{max-width:820px;margin:64px auto 0;padding:40px;background:var(--stone)}
.matcher-design .ahm__lead-intro h3{font-size:var(--matcher-heading);line-height:1.2;color:var(--navy);margin:0 0 16px}
.matcher-design .ahm__lead-intro p{font-size:17px;line-height:1.65;margin:0 0 12px}
.matcher-design .ahm__lead-intro>span{font-size:14px;color:var(--muted)}
.matcher-design .ahm__contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}
.matcher-design .ahm__contact-grid label{display:flex;flex-direction:column;gap:8px;font-size:15px}
.matcher-design .ahm__contact-grid input{font:inherit;font-size:16px;line-height:1.5;padding:12px;border:1px solid var(--line);border-radius:0;background:var(--white);min-width:0;width:100%;min-height:50px;color:var(--ink)}
.matcher-design .ahm__check{display:flex;align-items:flex-start;gap:13px;font-size:14px;line-height:1.65;margin:22px 0;cursor:pointer}
.matcher-design .ahm__check input{width:20px;height:20px;flex:0 0 20px;margin-top:3px;accent-color:var(--blue)}
.matcher-design .ahm__check a{color:var(--blue)}
.matcher-design .ahm__check--required{padding-bottom:22px;border-bottom:1px solid var(--line)}
.matcher-design .ahm__check.is-invalid{outline:2px solid var(--matcher-error);outline-offset:6px}
.matcher-design input[aria-invalid=true]{border-color:var(--matcher-error)}
.matcher-design .ahm__honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.matcher-design .ahm__lead-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px}
.matcher-design .ahm__text-button{font:inherit;color:var(--blue);background:transparent;border:0;min-height:48px;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.matcher-design .ahm__disclosure{font-size:var(--matcher-small);line-height:1.65;color:var(--muted);max-width:820px;margin:28px auto 0}
.matcher-design .ahm__success-panel h2{font-size:var(--matcher-heading);color:var(--navy);margin:0 0 20px;text-transform:uppercase}
.matcher-design .ahm__success-panel>p{font-size:18px;line-height:1.6}
.matcher-design .ahm__badge{display:inline-block;padding:8px 14px;background:var(--stone);font-size:14px}
.matcher-design .ahm__empty{grid-column:1/-1;margin:30px 0;padding:36px;background:var(--stone)}
.matcher-design .ahm__empty h3{font-size:28px;margin:0 0 14px}
.matcher-design .ahm__empty p,.matcher-design .ahm__thanks-copy{max-width:68ch;line-height:1.65}
.matcher-design .ahm__next-panel h3{font-size:26px}
.matcher-help{padding-block:0 80px;max-width:1000px}
.matcher-help h2{font-size:var(--matcher-heading);color:var(--navy);margin:0 0 28px}
.matcher-help details{border-top:1px solid var(--line);padding:20px 0}
.matcher-help summary{cursor:pointer;font-size:18px;min-height:32px}
.matcher-help details p{max-width:72ch;font-size:16px;line-height:1.7;color:var(--muted);margin:14px 0 0}
.matcher-preview-note{padding:8px 20px;background:var(--navy);color:var(--white);font-size:12px;text-align:center}
@media(max-width:1000px){.matcher-hero{grid-template-columns:1fr 1fr}.matcher-hero-copy{padding:42px 28px}.matcher-hero h1{font-size:38px}.matcher-design .ahm__quiz-panel{column-gap:36px;grid-template-columns:1fr 1.7fr}.matcher-design .ahm__choices--three{grid-template-columns:repeat(2,minmax(0,1fr))}.matcher-design .ahm__preview-results{gap:16px}.matcher-design .ahm__card-body{padding:20px}}
@media(max-width:700px){.matcher-hero{display:flex;flex-direction:column}.matcher-hero-copy{padding:38px 20px}.matcher-hero h1{font-size:36px}.matcher-hero-copy>p{font-size:17px}.matcher-hero-photo img{min-height:0;height:auto;aspect-ratio:3/2;object-fit:cover}.matcher-hero-photo figcaption{font-size:11px}.matcher-availability{padding:26px 0}.matcher-availability .wrap{align-items:flex-start;flex-direction:column;gap:16px}.matcher-availability h2{font-size:24px}.matcher-workspace{padding-block:48px;scroll-margin-top:110px}.matcher-design .ahm{scroll-margin-top:110px}.matcher-design .ahm__quiz-panel{display:block}.matcher-design .ahm__quiz-heading{margin-bottom:32px}.matcher-design .ahm__quiz-heading h2{font-size:30px}.matcher-design .ahm__quiz-heading p{max-width:none}.matcher-design .ahm__question legend{font-size:17px}.matcher-design .ahm__choice span{font-size:14px;padding:10px;min-height:56px}.matcher-design .ahm__quiz-panel>.ahm__button{width:100%}.matcher-design .ahm__preview-results,.matcher-design .ahm__final-results{grid-template-columns:1fr}.matcher-design .ahm__matches-heading h2,.matcher-design .ahm__success-panel h2{font-size:var(--matcher-heading)}.matcher-design .ahm__lead-gate{margin-top:36px;padding:24px 20px}.matcher-design .ahm__lead-intro h3{font-size:27px}.matcher-design .ahm__contact-grid{grid-template-columns:1fr;gap:20px}.matcher-design .ahm__lead-actions{flex-direction:column-reverse;align-items:stretch}.matcher-design .ahm__check{font-size:14px}.matcher-design .ahm__empty{padding:24px}.matcher-help{padding-bottom:48px}.matcher-help h2{font-size:28px}.matcher-help summary{font-size:17px}}
@media(prefers-reduced-motion:reduce){.matcher-design,.matcher-design *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Shared site-header rules must not turn the model section heading into navigation. */
.matcher-design .ahm__matches-heading{position:static;box-shadow:none;z-index:auto;background:transparent}

/* Refinement v2: one working type scale and a continuous three-stage journey. */
.matcher-design .ahm{--matcher-stage-duration:360ms}
.matcher-design .ahm h2{font-size:var(--matcher-heading);line-height:1.18;text-transform:none;margin-bottom:18px}
.matcher-design .ahm h3{font-size:var(--matcher-subheading);line-height:1.25;text-transform:none}
.matcher-design .ahm p{font-size:var(--matcher-body);line-height:1.65}
.matcher-design .ahm .ahm__disclosure,.matcher-design .ahm .ahm__privacy-line{font-size:var(--matcher-small)}
.matcher-design .ahm .ahm__step-label{display:none}
.matcher-progress{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;margin:0 0 56px;font-size:14px;line-height:1.45}
.matcher-progress li{position:relative;padding-bottom:16px;color:var(--muted);border-bottom:2px solid var(--line)}
.matcher-progress li::after{content:'';position:absolute;inset:auto 0 -2px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform 360ms cubic-bezier(.16,1,.3,1)}
.matcher-progress li.is-current{color:var(--blue);font-weight:600}
.matcher-progress li.is-complete::after,.matcher-progress li.is-current::after{transform:scaleX(1)}

.matcher-design .ahm__quiz-heading{grid-row:1 / 6}
.matcher-design .ahm__quiz-heading h2{max-width:12ch}
.matcher-design .ahm__question{margin-bottom:32px}
.matcher-design .ahm__question legend{font-size:17px;font-weight:500}
.matcher-design .ahm__choice span{background:var(--white);border-color:#bdc7ce;transition:background-color 180ms,border-color 180ms,color 180ms,box-shadow 180ms}
.matcher-design .ahm__choice input:checked+span{box-shadow:inset 0 0 0 1px var(--blue)}
.matcher-design .ahm__choice:hover span{background:var(--matcher-tint)}
.matcher-design .ahm__choice input:checked+span{background:var(--blue)}
.matcher-design .ahm__matches-heading{max-width:760px;padding:0 0 6px;margin-bottom:30px}
.matcher-design .ahm__card{background:transparent;border-bottom:1px solid var(--line)}
.matcher-design .ahm__card-body{padding:24px 0 30px}
.matcher-design .ahm__card-body h3{font-size:24px}
.matcher-design .ahm__model-price{padding-top:18px;border-top:1px solid var(--line)}
.matcher-design .ahm__lead-gate{max-width:900px;padding:44px;margin-top:64px}
.matcher-design .ahm__lead-intro h3{font-size:var(--matcher-heading)}
.matcher-design .ahm__lead-intro>span{display:none}
.matcher-design .ahm__contact-grid{margin-block:32px}
.matcher-design .ahm__check{font-size:14px;line-height:1.7}
.matcher-design .ahm__button{transition:background-color 180ms,border-color 180ms,transform 180ms}
.matcher-design .ahm__button:disabled{position:relative;padding-inline-end:48px}
.matcher-design .ahm__button:disabled::after{content:'';position:absolute;right:20px;width:14px;height:14px;border:2px solid #ffffff60;border-top-color:var(--white);border-radius:50%;animation:matcher-spin 800ms linear infinite}
.matcher-design .ahm__final-screen.has-no-matches.is-active{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:64px;row-gap:32px;align-items:start}
.matcher-design .has-no-matches .ahm__success-panel{grid-column:1;padding-block:4px}
.matcher-design .has-no-matches .ahm__success-panel h2{max-width:none}
.matcher-design .has-no-matches .ahm__success-panel>p{margin:0;max-width:39ch}
.matcher-design .has-no-matches .ahm__success-check{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--blue);border-radius:50%;margin-bottom:24px;color:var(--blue)}
.matcher-design .has-no-matches .ahm__success-check i{width:11px;height:19px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
.matcher-design .has-no-matches .ahm__badge{display:none}
.matcher-design .has-no-matches .ahm__final-results{grid-column:2;display:block;align-self:stretch}
.matcher-design .has-no-matches .ahm__empty{height:100%;margin:0;padding:36px;background:var(--stone);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.matcher-design .has-no-matches .ahm__empty h3{font-size:var(--matcher-subheading);margin:0 0 16px}
.matcher-design .has-no-matches .ahm__empty p{margin:0 0 24px}
.matcher-design .has-no-matches .ahm__empty .ahm__button{margin-top:auto}
.matcher-design .has-no-matches .ahm__next-panel{margin:24px 0 0;padding-top:24px;border-top:1px solid var(--line)}
.matcher-design .has-no-matches .ahm__next-panel h3,.matcher-design .has-no-matches .ahm__thanks-mark{display:none}
.matcher-design .has-no-matches .ahm__thanks-copy{margin:0;color:var(--muted);font-size:17px}
.matcher-design .has-no-matches>.ahm__disclosure{grid-column:1/-1;margin:0;max-width:none;color:var(--muted);font-size:14px}
.matcher-design .has-no-matches>.ahm__payment-disclosure{padding-top:24px;border-top:1px solid var(--line)}
.matcher-design .has-no-matches>.ahm__disclosure:empty{display:none}
.matcher-help{max-width:none;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);column-gap:64px;padding-top:16px}
.matcher-help h2{grid-column:1;grid-row:1 / 6;font-size:var(--matcher-heading);text-transform:none;max-width:13ch;line-height:1.18}
.matcher-help details{grid-column:2;padding:22px 0}
.matcher-help summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:17px;line-height:1.5;min-height:32px;color:var(--navy)}
.matcher-help summary::-webkit-details-marker{display:none}
.matcher-help summary::after{content:'';flex:0 0 10px;width:10px;height:10px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);transition:transform 200ms}
.matcher-help details[open] summary::after{transform:rotate(225deg)}
.matcher-help details p{font-size:17px;margin-top:16px;padding-right:24px;line-height:1.65}
.matcher-help details a{color:var(--blue)}
.matcher-help summary:hover{color:var(--blue)}
@keyframes matcher-spin{to{transform:rotate(360deg)}}
@media(max-width:1000px){.matcher-design .ahm__final-screen.has-no-matches.is-active,.matcher-help{column-gap:36px}.matcher-design .has-no-matches .ahm__empty{padding:28px}.matcher-design .ahm__lead-gate{padding:32px}}
@media(max-width:700px){.matcher-design{--matcher-heading:28px;--matcher-subheading:23px}.matcher-progress{gap:14px;font-size:12px;margin-bottom:32px}.matcher-progress li{padding-bottom:12px}.matcher-design .ahm__quiz-heading h2{max-width:none}.matcher-design .ahm__lead-gate{padding:28px 20px;margin-top:40px}.matcher-design .ahm__final-screen.has-no-matches.is-active{grid-template-columns:1fr;gap:28px}.matcher-design .has-no-matches .ahm__success-panel,.matcher-design .has-no-matches .ahm__final-results{grid-column:1}.matcher-design .has-no-matches .ahm__success-panel h2{max-width:none}.matcher-design .has-no-matches .ahm__empty{padding:28px 24px}.matcher-design .has-no-matches .ahm__empty .ahm__button{margin-top:0}.matcher-help{display:block;padding-top:0}.matcher-help h2{max-width:none;margin-bottom:24px}.matcher-help details p{padding-right:0}.matcher-design .ahm__card-body{padding:22px 0 28px}}
@media(prefers-reduced-motion:reduce){.matcher-progress li::after,.matcher-help summary::after{transition:none}.matcher-design .ahm__button:disabled::after{animation:none;border-top-color:var(--white)}}
