/* Ajax Kitchen Cabinets — Scarborough main location page.
   Built on the actual approved HOMEPAGE system (site.css, aj-global-v5/v6/v7).
   Custom CSS only where the source document requires different component counts. */
.scarborough-home-match{--hm-navy:#09152d;--hm-gold:#d7b369;--hm-cream:#f4f1ea}
.scarborough-home-match .hero{height:auto;min-height:min(100svh,940px)}
.scarborough-home-match .hero-container{padding:190px 0 116px;min-height:840px;justify-content:center}
.scarborough-home-match .hero-main{max-width:980px;margin-top:0}
.scarborough-home-match .hero-title.hm-hero-title{font-size:clamp(56px,5.25vw,91px);line-height:.99;max-width:950px;margin:23px 0 26px}
.scarborough-home-match .hero-title .headline-row{white-space:normal}
.scarborough-home-match .hero-title .hm-hero-third{font-size:.64em;line-height:1.15;max-width:980px;letter-spacing:-.03em}
.scarborough-home-match .hero-intro{max-width:665px}
.scarborough-home-match .hero-intro p{font-size:clamp(16px,1.15vw,18px);line-height:1.75}
.scarborough-home-match .hero-bottom{bottom:31px}
.scarborough-home-match .hero-trust{grid-template-columns:repeat(2,minmax(0,1fr));width:540px}
.scarborough-home-match .hero-trust li{font-size:13px;white-space:normal}
.scarborough-home-match .video-replay{z-index:6}
.scarborough-home-match .hm-trust .promise-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:34px}
.scarborough-home-match .hm-trust .promise-grid article{padding:0 clamp(22px,3vw,48px);min-height:130px;border-right:1px solid rgba(255,255,255,.16)}
.scarborough-home-match .hm-trust .promise-grid article:nth-child(3n+1){padding-left:0}
.scarborough-home-match .hm-trust .promise-grid article:nth-child(3n){border-right:0}
.scarborough-home-match .hm-trust .promise-grid p{font-size:16px;line-height:1.6}
.scarborough-home-match .section-top .hm-section-intro p{font-size:16px;line-height:1.75;margin:0}
.scarborough-home-match .section-top .hm-section-intro p+p{margin-top:13px}
.scarborough-home-match .section-title{font-size:clamp(44px,4.25vw,70px);line-height:1.075}
.scarborough-home-match .section-top{margin-bottom:37px}
.scarborough-home-match .section-top .section-title{max-width:860px}
.scarborough-home-match .hm-grid{display:grid;gap:17px;min-width:0}
.scarborough-home-match .hm-grid>*{min-width:0}
.scarborough-home-match .hm-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.scarborough-home-match .hm-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.scarborough-home-match .hm-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.scarborough-home-match .hm-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.scarborough-home-match .hm-card,.scarborough-home-match .hm-layout-card{padding:27px 27px 30px;border:1px solid #e6e0d5;border-radius:19px;background:#fff;min-height:226px;transition:transform .3s,border-color .3s,box-shadow .3s}
.scarborough-home-match .hm-card:hover,.scarborough-home-match .hm-layout-card:hover{transform:translateY(-6px);border-color:#cba564;box-shadow:0 18px 35px rgba(10,22,48,.09)}
.scarborough-home-match .hm-card-no{font:700 12px/1.2 var(--sans);letter-spacing:.18em;color:#b18b4f;display:block;margin-bottom:23px}
.scarborough-home-match .hm-card h3,.scarborough-home-match .hm-layout-card h3{font:500 clamp(24px,2.05vw,32px)/1.13 var(--serif);color:#0b1831;letter-spacing:-.018em;margin:0 0 12px}
.scarborough-home-match .hm-card p,.scarborough-home-match .hm-layout-card p{font:400 16px/1.68 var(--sans);color:#5a6574;margin:0}
.scarborough-home-match .hm-card p+p{margin-top:10px}
.scarborough-home-match .hm-explorer{height:565px}
.scarborough-home-match .hm-types-section .service-active-content p{max-width:510px}
.scarborough-home-match .hm-compare-section{background:#fff}
.scarborough-home-match .hm-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.scarborough-home-match .hm-compare-card{padding:clamp(28px,3.7vw,55px);background:#f7f5f1;border:1px solid #e0d9cc;border-radius:22px;color:#17213a;min-height:415px}
.scarborough-home-match .hm-compare-card.hm-compare-premium{background:#0a1730;color:#fff;border-color:#bd9759}
.scarborough-home-match .hm-compare-card h3{font:500 clamp(32px,3vw,49px)/1.07 var(--serif);letter-spacing:-.024em;margin:0 0 22px;color:inherit}
.scarborough-home-match .hm-compare-card ul{padding-left:20px;margin:0;display:grid;gap:12px}
.scarborough-home-match .hm-compare-card li{font:400 16px/1.65 var(--sans);color:#5a6574}
.scarborough-home-match .hm-compare-premium li{color:#d8deea}
.scarborough-home-match .hm-layout-section{background:#fff}
.scarborough-home-match .hm-layout-section .about-layout{margin-bottom:55px}
.scarborough-home-match .hm-layout-section .about-visual{height:470px}
.scarborough-home-match .hm-layout-section .photo-stack{inset:35px 0 65px}
.scarborough-home-match .hm-layout-section .hm-layout-card{min-height:240px;background:#f7f5f1}
.scarborough-home-match .hm-navy-section{background:#0a1630!important;color:#f6f2e9}
.scarborough-home-match .hm-navy-section .section-title{color:#f7f2e8}
.scarborough-home-match .hm-navy-section .hm-section-intro p{color:#cbd3e0}
.scarborough-home-match .hm-navy-card{min-height:228px;padding:26px 26px 30px;border:1px solid rgba(207,220,244,.22);border-radius:19px;background:#162745;transition:transform .3s,background .3s,border-color .3s}
.scarborough-home-match .hm-navy-card:hover{transform:translateY(-5px);background:#213453;border-color:#d5b16c}
.scarborough-home-match .hm-navy-card h3{font:500 clamp(25px,2.15vw,33px)/1.09 var(--serif);color:#f8f2e4;margin:0 0 12px}
.scarborough-home-match .hm-navy-card p{font:400 16px/1.68 var(--sans);color:#cbd4e2;margin:0}
.scarborough-home-match .hm-navy-card p+p{margin-top:10px}
.scarborough-home-match .hm-material-section{background:#f8f6f0}
.scarborough-home-match .hm-material-card{border-radius:18px;background:#fff;overflow:hidden;border:1px solid #dfded9;transition:transform .3s,box-shadow .3s;display:flex;flex-direction:column}
.scarborough-home-match .hm-material-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px #172b4030}
.scarborough-home-match .hm-material-photo{height:210px;overflow:hidden;background:#ded9cc}
.scarborough-home-match .hm-material-photo img,.scarborough-home-match .hm-material-photo .hm-finish-swatch{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.scarborough-home-match .hm-material-card:hover .hm-material-photo img{transform:scale(1.06)}
.scarborough-home-match .hm-material-copy{padding:27px 28px 29px;flex:1}
.scarborough-home-match .hm-material-copy h3{font:500 clamp(26px,2.2vw,34px)/1.07 var(--serif);margin:0 0 12px;color:#09162e}
.scarborough-home-match .hm-material-copy p{font:400 16px/1.66 var(--sans);color:#616d7a;margin:0}
.scarborough-home-match .hm-swatch-3{background:linear-gradient(110deg,#10182b 0%,#14213b 28%,#6c7785 49%,#111b31 64%,#0b1121 100%)}
.scarborough-home-match .hm-swatch-4{background:repeating-linear-gradient(105deg,#e3dfd6 0px,#c9c4b9 10px,#f2eee8 22px,#dbd7ce 32px)}
.scarborough-home-match .hm-swatch-5{background:linear-gradient(90deg,#c4b59e 0%,#f2e6d6 31%,#7d898c 32%,#7d898c 35%,#f4ead9 36%,#c3ad93 64%,#788282 65%,#e5dfd1 68%,#f6ece0 100%)}
.scarborough-home-match .hm-hardware-section{background:#fff}
.scarborough-home-match .hm-hardware-section .hm-card{background:#f8f7f3;min-height:280px}
.scarborough-home-match .hm-image-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:23px;align-items:stretch}
.scarborough-home-match .hm-image-grid>figure{margin:0;min-height:570px;border-radius:20px;overflow:hidden}
.scarborough-home-match .hm-image-grid>figure img{width:100%;height:100%;object-fit:cover}
.scarborough-home-match .hm-image-grid .hm-navy-card{min-height:215px}
.scarborough-home-match .hm-services-other{background:#fff}
.scarborough-home-match .hm-service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.scarborough-home-match .hm-service-row{display:grid;grid-template-columns:42px 1fr 28px;gap:18px;align-items:start;padding:25px 24px;border-radius:16px;border:1px solid #dedfdc;background:#f8f7f3;transition:background .3s,transform .3s,border-color .3s}
.scarborough-home-match .hm-service-row:hover{background:#efe7d8;border-color:#d4ad6c;transform:translateY(-4px)}
.scarborough-home-match .hm-service-row>span:first-child{font:700 12px var(--sans);color:#ab8c56;padding-top:6px}
.scarborough-home-match .hm-service-row h3{font:500 clamp(24px,2.1vw,34px)/1.08 var(--serif);color:#101d38;margin:0 0 11px}
.scarborough-home-match .hm-service-row p{font:400 16px/1.62 var(--sans);color:#596571;margin:0}
.scarborough-home-match .hm-arrow{font-size:22px;color:#ae8548;justify-self:end}
.scarborough-home-match .hm-scope-section .hm-grid{margin-top:20px}
.scarborough-home-match .hm-scope-section .hm-navy-card{min-height:245px}
.scarborough-home-match .hm-budget{background:#f7f5f1}
.scarborough-home-match .hm-budget .range-card strong{font-size:clamp(45px,5vw,77px);white-space:nowrap}
.scarborough-home-match .hm-budget .range-card p{font:400 15px/1.67 var(--sans)}
.scarborough-home-match .hm-budget-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0 34px}
.scarborough-home-match .hm-budget-extra{padding:28px 30px;border:1px solid #dfdbd2;border-radius:17px;background:white}
.scarborough-home-match .hm-budget-extra h3{font:500 29px/1.08 var(--serif);color:#12213a;margin:0 0 12px}
.scarborough-home-match .hm-budget-extra strong{display:block;font:500 18px var(--sans);color:#ae864c;margin-bottom:15px}
.scarborough-home-match .hm-budget-extra p{font:400 16px/1.66 var(--sans);color:#596474}
.scarborough-home-match .hm-cost-factors .hm-card{min-height:215px;padding:23px;background:#fff}
.scarborough-home-match .hm-budget-disclaimer{padding:22px 26px;border-left:3px solid #c49b55;background:#eae6dd;border-radius:0 11px 11px 0;margin-top:26px}
.scarborough-home-match .hm-budget-disclaimer p{font:400 16px/1.75 var(--sans);color:#374356;margin:0}
.scarborough-home-match .hm-process-section{background:#0a1630;color:#fff}
.scarborough-home-match .hm-process-section .section-title{color:#fff4e8}
.scarborough-home-match .hm-process-section .section-lead p{font:400 17px/1.68 var(--sans);color:#d2d9e4;margin:0}
.scarborough-home-match .hm-process-section .center-title{margin-bottom:45px}
.scarborough-home-match .hm-process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.scarborough-home-match .hm-process-grid .process-card{min-height:265px;padding:25px;border-radius:18px}
.scarborough-home-match .hm-process-grid .hm-process-symbol{height:75px;font:400 64px/1 var(--serif);color:#e0b96b;display:flex;align-items:center;justify-content:flex-start;margin:0 0 18px}
.scarborough-home-match .hm-process-grid .process-card h3{font-size:clamp(25px,2.15vw,35px)}
.scarborough-home-match .hm-process-grid .process-card p{font-size:16px;line-height:1.64}
.scarborough-home-match .hm-schedule-section{background:#fff}
.scarborough-home-match .hm-schedule-section .hm-card{background:#f8f6f0}
.scarborough-home-match .hm-projects-section{background:#f4f1ea}
.scarborough-home-match .hm-projects-section .projects-viewport{margin-top:25px}
.scarborough-home-match .hm-why .why-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(230px,auto)}
.scarborough-home-match .hm-why .why-feature{grid-column:2;grid-row:1/span 3;min-height:650px}
.scarborough-home-match .hm-why .why-feature h3{font-size:clamp(29px,2.5vw,42px)}
.scarborough-home-match .hm-why .why-card{min-height:240px}
.scarborough-home-match .hm-why .why-card h3{font-size:clamp(26px,2.1vw,36px)}
.scarborough-home-match .hm-why .why-card p{font-size:16px;line-height:1.65}
.scarborough-home-match .hm-areas{background:#09162e}
.scarborough-home-match .hm-areas .section-title{color:#f6f0e5}
.scarborough-home-match .hm-areas .section-lead{color:#d0d6e3}
.scarborough-home-match .hm-area-copy{margin-top:26px;max-width:630px}
.scarborough-home-match .hm-area-story{border-top:1px solid #ffffff29;padding:18px 0}
.scarborough-home-match .hm-area-story h3{font:500 clamp(25px,2.1vw,34px)/1.13 var(--serif);color:#edcf93;margin:0 0 12px}
.scarborough-home-match .hm-area-story p{font:400 16px/1.7 var(--sans);color:#d1d9e6;margin:0 0 12px}
.scarborough-home-match .hm-area-map{height:620px;max-width:100%;align-self:start}
.scarborough-home-match .hm-area-map .hm-point{font-size:10px;max-width:145px;line-height:1.3;white-space:normal;transform:translate(-50%,-50%);text-align:center}
.scarborough-home-match .hm-area-tags{display:flex;flex-wrap:wrap;gap:10px;margin:32px 0}
.scarborough-home-match .hm-area-tags>span{font:500 14px/1.4 var(--sans);color:#f4e2bc;padding:10px 15px;border:1px solid #d1b47961;border-radius:50px}
.scarborough-home-match .hm-areas .hm-area-card{padding:27px;border:1px solid #465771;background:#172a49;border-radius:19px;min-height:258px}
.scarborough-home-match .hm-area-card h3{font:500 clamp(26px,2.1vw,35px)/1.09 var(--serif);color:#f5e1bb;margin:0 0 12px}
.scarborough-home-match .hm-area-card p{font:400 16px/1.68 var(--sans);color:#d5dbe5;margin:0}
.scarborough-home-match .quote-form select{width:100%;padding:14px 13px;min-height:48px;background:#f8f8f7;border:1px solid #d9d9d6;border-radius:9px;color:#152540;font:400 16px var(--sans)}
.scarborough-home-match .contact-section .section-lead p{font:400 16px/1.78 var(--sans);color:#cad1df}
@media (max-width:1180px){
 .scarborough-home-match .hm-grid-four,.scarborough-home-match .hm-grid-five{grid-template-columns:repeat(2,minmax(0,1fr))}
 .scarborough-home-match .hm-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}
 .scarborough-home-match .hm-image-grid{grid-template-columns:1fr}
 .scarborough-home-match .hm-image-grid>figure{max-height:450px;min-height:360px}
 .scarborough-home-match .hm-why .why-grid{grid-template-columns:repeat(2,1fr)}
 .scarborough-home-match .hm-why .why-feature{grid-column:2;grid-row:1/span 2;min-height:530px}
 .scarborough-home-match .hm-area-map{height:540px}
}
@media (max-width:900px){
 .scarborough-home-match .hero-container{min-height:820px;padding:155px 0 140px}
 .scarborough-home-match .hero-title.hm-hero-title{font-size:clamp(56px,6vw,77px)}
 .scarborough-home-match .hero-bottom{gap:16px}
 .scarborough-home-match .hm-trust .promise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .scarborough-home-match .hm-trust .promise-grid article:nth-child(3n){border-right:1px solid rgba(255,255,255,.16)}
 .scarborough-home-match .hm-trust .promise-grid article:nth-child(2n){border-right:0}
 .scarborough-home-match .hm-compare-grid{grid-template-columns:1fr}
 .scarborough-home-match .hm-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .scarborough-home-match .hm-service-list{grid-template-columns:1fr}
 .scarborough-home-match .hm-area-map{max-width:100%}
}
@media (max-width:680px){
 .scarborough-home-match .hero{min-height:100svh}
 .scarborough-home-match .hero-container{min-height:860px;height:auto;padding:145px 0 190px;justify-content:flex-start}
 .scarborough-home-match .hero-main{margin-top:0}
 .scarborough-home-match .hero-title.hm-hero-title{font-size:clamp(41px,10vw,56px);line-height:1.02;margin-top:15px}
 .scarborough-home-match .hero-title .hm-hero-third{font-size:.70em;line-height:1.12}
 .scarborough-home-match .hero-intro p{font-size:15px;line-height:1.62}
 .scarborough-home-match .hero-actions{margin-top:20px}
 .scarborough-home-match .hero-actions .button{min-height:50px;padding:12px 17px;font-size:13px}
 .scarborough-home-match .hero-bottom{bottom:36px;left:0;right:0}
 .scarborough-home-match .hero-fineprint{display:none}
 .scarborough-home-match .hero-trust{width:100%;grid-template-columns:1fr 1fr;gap:9px 12px;padding:0 0 0 14px}
 .scarborough-home-match .hero-trust li{font-size:12px;line-height:1.45}
 .scarborough-home-match .location-badge{top:105px!important;right:18px!important;width:70px!important;height:70px!important}
 .scarborough-home-match .hm-trust .promise-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:23px}
 .scarborough-home-match .hm-trust .promise-grid article{padding:0 12px!important;min-height:122px}
 .scarborough-home-match .hm-trust .promise-grid article:nth-child(odd){padding-left:0!important}
 .scarborough-home-match .hm-trust .promise-grid h2{font-size:25px}
 .scarborough-home-match .hm-trust .promise-grid p{font-size:15px}
 .scarborough-home-match .hm-grid-three,.scarborough-home-match .hm-grid-four,.scarborough-home-match .hm-grid-five,.scarborough-home-match .hm-grid-two{grid-template-columns:1fr}
 .scarborough-home-match .hm-types-section .hm-explorer{display:flex;flex-direction:column;height:auto;overflow:visible}
 .scarborough-home-match .hm-types-section .service-panel,.scarborough-home-match .hm-types-section .service-panel.active{flex:none;min-height:65px;max-height:65px;transition:max-height .4s ease}
 .scarborough-home-match .hm-types-section .service-panel.active{max-height:400px;min-height:330px}
 .scarborough-home-match .hm-types-section .service-select{height:65px;min-width:100%;width:100%;flex-direction:row;padding:10px 22px;inset:0 auto auto 0;justify-content:flex-start;gap:18px}
 .scarborough-home-match .hm-types-section .service-vertical{writing-mode:horizontal-tb;transform:none;white-space:normal;font-size:16px!important}
 .scarborough-home-match .hm-types-section .service-symbol{margin-left:auto}
 .scarborough-home-match .hm-types-section .service-active-content{padding:22px;bottom:0}
 .scarborough-home-match .hm-types-section .service-active-content h3{font-size:36px}
 .scarborough-home-match .hm-types-section .service-active-content p{font-size:15px}
 .scarborough-home-match .hm-layout-section .about-visual{height:395px}
 .scarborough-home-match .hm-compare-card{min-height:0;padding:27px}
 .scarborough-home-match .hm-image-grid>figure{max-height:370px;min-height:280px}
 .scarborough-home-match .hm-process-grid{grid-template-columns:1fr}
 .scarborough-home-match .hm-process-grid .process-card{min-height:230px}
 .scarborough-home-match .hm-why .why-grid{grid-template-columns:1fr}
 .scarborough-home-match .hm-why .why-feature{grid-column:auto;grid-row:auto;min-height:385px}
 .scarborough-home-match .hm-areas .hm-area-map{height:445px}
 .scarborough-home-match .hm-area-map .hm-point{font-size:8px;max-width:105px;padding:4px 6px}
 .scarborough-home-match .hm-budget-extras{grid-template-columns:1fr}
 .scarborough-home-match .hm-budget .range-card strong{font-size:52px}
 .scarborough-home-match .contact-facts>div{grid-template-columns:85px 1fr}
}
@media(prefers-reduced-motion:reduce){.scarborough-home-match .hm-material-card,.scarborough-home-match .hm-service-row,.scarborough-home-match .hm-compare-card{transition:none!important}}
/* Source-local advice and mobile headline punctuation */
.scarborough-home-match .hm-area-practicals{display:grid;gap:12px}
.scarborough-home-match .hm-area-practical{padding:13px 16px;background:#172744;border:1px solid #ffffff21;border-radius:10px}
.scarborough-home-match .hm-area-practical strong{color:#dfbb78;font-size:15px}
.scarborough-home-match .hm-area-practical p{margin:6px 0 0}
.scarborough-home-match .hm-area-advisory{border-left:2px solid #dfbb78;padding:10px 16px;color:#dbe1ea;font-size:15px;line-height:1.65;margin:14px 0}
@media(max-width:680px){
.scarborough-home-match .hm-h1-pipe{display:none}
.scarborough-home-match .hero-eyebrow,.scarborough-home-match .hero-main>.eyebrow{max-width:225px}
.scarborough-home-match .hero-container{padding-bottom:216px;min-height:930px}
.scarborough-home-match .location-badge{top:105px!important;right:16px!important;width:64px!important;height:64px!important}
}
