/* Mathis Custom Remodeling, homepage v10 (2026-12-03): editorial, light, design-led.
   Scoped to <main class="h10"> so no other page changes. Buttons keep the terracotta
   --cta from styles.css, and nothing else on the page uses it. */
.h10{
  --h-ink:#1c201e;
  --h-text:#4b524d;
  --h-muted:#7d817a;
  --h-paper:#f5f1ea;
  --h-ivory:#fbf9f5;
  --h-sand:#ece5d9;
  --h-brass:#9a7b4f;
  --h-line:rgba(28,32,30,.13);
  --h-deep:#1b221f;
  color:var(--h-ink);
  background:var(--h-paper);
}
.h10 em{font-style:italic;color:var(--h-brass)}
.h10 h1,.h10 h2,.h10 h3{font-weight:400}
.h10 .h10-wrap{width:min(1240px,calc(100% - 48px));margin:0 auto}
.h10 .h10-eyebrow{display:flex;align-items:center;gap:14px;margin:0 0 22px;font:600 11px/1.4 var(--body);letter-spacing:.24em;text-transform:uppercase;color:var(--h-brass)}
.h10 .h10-eyebrow:before{content:'';width:34px;height:1px;background:currentColor;flex:0 0 auto}
.h10 .h10-h2{font:400 clamp(32px,2.3vw + 14px,52px)/1.08 var(--display);letter-spacing:-.018em;margin:0 0 20px;color:var(--h-ink)}
.h10 .h10-p{font-size:16.5px;line-height:1.75;color:var(--h-text);margin:0 0 16px;max-width:60ch}
.h10 .h10-link{display:inline-flex;align-items:center;gap:10px;font:600 12px/1 var(--body);letter-spacing:.18em;text-transform:uppercase;color:var(--h-ink);padding-bottom:7px;border-bottom:1px solid var(--h-ink);transition:gap .25s,color .25s,border-color .25s}
.h10 .h10-link:after{content:'\2192';font-size:14px;letter-spacing:0}
.h10 .h10-link:hover{gap:16px;color:var(--h-brass);border-color:var(--h-brass)}
.h10 .btn{border-radius:2px;min-height:54px;padding:0 30px;font:600 12.5px/1.2 var(--body);letter-spacing:.16em;text-transform:uppercase}
.h10 .btn-cta{box-shadow:none}
.h10 .btn-cta:hover{transform:none;box-shadow:none}
.h10 .btn-ghost{border-width:1px}
.h10 .btn-ghost:hover{transform:none;background:rgba(255,255,255,.08)}

/* ── Hero: copy and the consultation form on ivory, one large photo ────────── */
.h10-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:min(calc(100vh - 72px),940px);background:var(--h-paper)}
.h10-hero-panel{display:flex;flex-direction:column;justify-content:center;gap:34px;padding:clamp(40px,6vh,76px) clamp(28px,4.5vw,80px)}
.h10-hero-copy,.h10-hero-panel .h10-quote{width:100%;max-width:560px;margin:0 auto}
.h10-hero h1{font:400 clamp(46px,3.4vw + 14px,80px)/.98 var(--display);letter-spacing:-.025em;margin:0 0 22px;color:var(--h-ink)}
.h10-hero h1 em{display:inline-block;padding-right:.04em}
.h10-lede{font-size:17px;line-height:1.7;color:var(--h-text);margin:0;max-width:50ch}
.h10-hero-media{position:relative;margin:0;min-height:520px;overflow:hidden;background:var(--h-sand)}
.h10-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.h10-hero-media figcaption{position:absolute;left:24px;bottom:24px;padding:10px 16px;background:rgba(251,249,245,.9);backdrop-filter:blur(8px);font:600 10.5px/1.3 var(--body);letter-spacing:.2em;text-transform:uppercase;color:var(--h-ink)}

/* The form card, restyled: hairlines, square corners, quiet type */
.h10 .h10-quote{background:var(--h-ivory);border:1px solid var(--h-line);border-top:1px solid var(--h-line);border-radius:3px;box-shadow:0 40px 70px -46px rgba(28,32,30,.45);padding:30px 32px 30px;scroll-margin-top:90px}
.h10 .h10-quote>h3{font:400 27px/1.15 var(--display);letter-spacing:-.01em;margin:0 0 6px}
.h10 .h10-quote .quote-sub{font-size:14px;line-height:1.55;color:var(--h-text);margin:0 0 20px}
.h10 .h10-quote .form-progress{font:600 10.5px/1 var(--body);letter-spacing:.2em;text-transform:uppercase;color:var(--h-muted);margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--h-line)}
.h10 .h10-quote .dots{gap:5px}
.h10 .h10-quote .dots i{width:30px;height:2px;border-radius:0;background:var(--h-sand)}
.h10 .h10-quote .dots i.on{background:var(--h-ink)}
.h10 .h10-quote .form-step h3{font:500 15.5px/1.35 var(--body);margin:0 0 14px;color:var(--h-ink)}
.h10 .h10-quote .choice-grid{gap:8px}
.h10 .h10-quote .choice{position:relative;background:transparent;border:1px solid var(--h-line);border-radius:2px;padding:15px 34px 15px 16px;min-height:52px;font:500 14px/1.3 var(--body);color:var(--h-ink);transition:background .2s,border-color .2s,color .2s}
.h10 .h10-quote .choice:after{content:'\2192';position:absolute;right:14px;top:50%;transform:translate(-4px,-50%);opacity:0;transition:opacity .2s,transform .2s;color:var(--h-brass)}
.h10 .h10-quote .choice:hover{transform:none;border-color:var(--h-ink);background:var(--h-paper)}
.h10 .h10-quote .choice:hover:after{opacity:1;transform:translate(0,-50%)}
.h10 .h10-quote .choice.selected{background:var(--h-ink);border-color:var(--h-ink);color:var(--h-ivory);box-shadow:none}
.h10 .h10-quote .choice.selected:after{color:var(--h-ivory);opacity:1;transform:translate(0,-50%)}
.h10 .h10-quote .back-link{font-size:12px;letter-spacing:.04em;color:var(--h-muted);margin-bottom:12px}
.h10 .h10-quote label{font:600 11px/1.3 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--h-text);margin:12px 0}
.h10 .h10-quote label span{letter-spacing:.04em;text-transform:none;font-weight:500}
.h10 .h10-quote input[type=text],.h10 .h10-quote input[type=tel],.h10 .h10-quote input[type=email],.h10 .h10-quote input:not([type]){border-radius:2px;border:1px solid var(--h-line);background:#fff;padding:13px 14px;margin-top:7px;font:400 15px/1.3 var(--body);letter-spacing:0;text-transform:none}
.h10 .h10-quote input:focus{border-color:var(--h-ink)}
.h10 .h10-quote .sms-consent{font:400 10.5px/1.5 var(--body)!important;letter-spacing:0!important;text-transform:none!important;color:var(--h-muted)}
.h10 .h10-quote .sms-consent strong{color:var(--h-text)}
.h10 .h10-quote .sms-consent input{align-self:start;margin:2px 0 0}
.h10 .h10-quote .btn-cta{margin-top:16px}
.h10 .h10-quote .form-note{font-size:12px;color:var(--h-muted);margin-top:12px}
.h10 .h10-quote .form-success h3{font:400 26px/1.2 var(--display)}

/* ── Credentials band ──────────────────────────────────────────────────────── */
.h10-creds{background:var(--h-ivory);border-top:1px solid var(--h-line);border-bottom:1px solid var(--h-line)}
.h10-creds .h10-wrap{display:grid;grid-template-columns:repeat(4,1fr)}
.h10-cred{padding:34px 24px;text-align:center;border-left:1px solid var(--h-line)}
.h10-cred:first-child{border-left:0}
.h10-cred b{display:block;font:400 clamp(30px,1.6vw + 16px,42px)/1 var(--display);letter-spacing:-.01em;color:var(--h-ink);margin-bottom:10px}
.h10-cred span{display:block;font:600 10.5px/1.5 var(--body);letter-spacing:.2em;text-transform:uppercase;color:var(--h-muted)}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.h10-sec{padding:clamp(80px,9vw,140px) 0}
.h10-sec--ivory{background:var(--h-ivory)}
.h10-sec--sand{background:var(--h-sand)}
.h10-head{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:clamp(40px,4.5vw,64px)}
.h10-head>div{max-width:680px}
.h10-head .h10-p{margin:0}

/* Studio: design and build under one roof */
.h10-studio{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(48px,7vw,120px);align-items:center}
.h10-collage{position:relative;padding:0 14% 14% 0}
.h10-collage .h10-c-main{margin:0;aspect-ratio:4/5;overflow:hidden}
.h10-collage .h10-c-main img{width:100%;height:100%;object-fit:cover}
.h10-collage .h10-c-inset{position:absolute;right:0;bottom:0;width:46%;aspect-ratio:3/4;margin:0;overflow:hidden;border:10px solid var(--h-paper);box-shadow:0 30px 60px -30px rgba(28,32,30,.4)}
.h10-collage .h10-c-inset img{width:100%;height:100%;object-fit:cover}
.h10-collage:before{content:'';position:absolute;left:-18px;top:-18px;width:52%;height:56%;border:1px solid var(--h-brass);opacity:.55;z-index:0}
.h10-collage>*{position:relative;z-index:1}
.h10-collage .h10-c-inset{position:absolute}
.h10-pillars{list-style:none;margin:34px 0 36px;padding:0;border-top:1px solid var(--h-line)}
.h10-pillars li{display:grid;grid-template-columns:56px 1fr;gap:6px 20px;padding:22px 0;border-bottom:1px solid var(--h-line)}
.h10-pillars b{grid-row:span 2;font:400 26px/1 var(--display);color:var(--h-brass)}
.h10-pillars h3{font:600 15px/1.3 var(--body);letter-spacing:.02em;margin:2px 0 0}
.h10-pillars p{font-size:15px;line-height:1.65;color:var(--h-text);margin:0}
.h10-links{display:flex;flex-wrap:wrap;gap:20px 34px}

/* Services: photo tiles */
.h10-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2vw,30px)}
.h10-tile{display:flex;flex-direction:column;background:var(--h-ivory);color:var(--h-ink)}
.h10-tile figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--h-sand)}
.h10-tile img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.7,.2,1)}
.h10-tile:hover img{transform:scale(1.045)}
.h10-tile-body{padding:24px 24px 26px;display:flex;flex-direction:column;gap:8px;flex:1}
.h10-tile-num{font:600 10.5px/1 var(--body);letter-spacing:.22em;color:var(--h-brass)}
.h10-tile h3{font:400 25px/1.15 var(--display);letter-spacing:-.01em;margin:4px 0 2px}
.h10-tile p{font-size:14.5px;line-height:1.65;color:var(--h-text);margin:0 0 6px;flex:1}
.h10-tile .h10-more{align-self:flex-start;font:600 11px/1 var(--body);letter-spacing:.2em;text-transform:uppercase;padding-bottom:6px;border-bottom:1px solid var(--h-line);transition:border-color .25s,color .25s}
.h10-tile:hover .h10-more{border-color:var(--h-brass);color:var(--h-brass)}

/* Recent work gallery */
.h10-gallery{display:grid;grid-template-columns:1.45fr 1fr;grid-template-rows:1fr 1fr;gap:clamp(14px,1.6vw,24px);height:clamp(480px,52vw,760px)}
.h10-gallery figure{position:relative;margin:0;overflow:hidden;background:var(--h-sand)}
.h10-gallery figure:first-child{grid-row:span 2}
.h10-gallery img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.h10-gallery figure:hover img{transform:scale(1.03)}
.h10-gallery figcaption{position:absolute;left:18px;bottom:18px;padding:8px 13px;background:rgba(251,249,245,.9);font:600 10px/1.3 var(--body);letter-spacing:.2em;text-transform:uppercase}

/* Process */
.h10-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;border-top:1px solid var(--h-line)}
.h10-step{padding:30px 26px 0 0}
.h10-step+.h10-step{padding-left:26px;border-left:1px solid var(--h-line)}
.h10-step b{display:block;font:400 44px/1 var(--display);color:var(--h-brass);margin-bottom:22px}
.h10-step h3{font:600 15px/1.3 var(--body);letter-spacing:.02em;margin:0 0 8px}
.h10-step p{font-size:14.5px;line-height:1.65;color:var(--h-text);margin:0}

/* Client voices: dark */
.h10-voices{background:var(--h-deep);color:#f4efe6}
.h10-voices .h10-eyebrow{color:#c9ad83}
.h10-voices .h10-h2{color:#f7f2ea}
.h10-voices .h10-h2 em{color:#c9ad83}
.h10-award{display:inline-flex;align-items:center;gap:14px;margin:0 0 8px;font:400 19px/1.3 var(--display);color:#f4efe6}
.h10-award .stars{margin:0;color:#c9ad83;letter-spacing:4px;font-size:13px}
.h10-voices-grid{display:grid;grid-template-columns:300px 1fr;gap:clamp(40px,6vw,96px);align-items:center}
.h10-voices .video-card{border-radius:2px;box-shadow:0 40px 80px -40px rgba(0,0,0,.7)}
.h10-voices .video-caption{color:rgba(244,239,230,.6)}
.h10-quotes{list-style:none;margin:0 0 34px;padding:0}
.h10-quotes li{padding:26px 0;border-bottom:1px solid rgba(244,239,230,.14)}
.h10-quotes li:first-child{border-top:1px solid rgba(244,239,230,.14)}
.h10-quotes q{display:block;font:400 clamp(22px,1.3vw + 12px,32px)/1.3 var(--display);font-style:italic;color:#f7f2ea;quotes:'\201C' '\201D';margin-bottom:12px}
.h10-quotes cite{font:600 10.5px/1 var(--body);letter-spacing:.22em;text-transform:uppercase;font-style:normal;color:rgba(244,239,230,.6)}
.h10-voices .h10-link{color:#f4efe6;border-color:rgba(244,239,230,.6)}
.h10-voices .h10-link:hover{color:#c9ad83;border-color:#c9ad83}

/* Service areas */
.h10-areas{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(48px,7vw,120px);align-items:start}
.h10-area-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--h-line)}
.h10-area-list a{display:flex;justify-content:space-between;align-items:center;padding:20px 4px;border-bottom:1px solid var(--h-line);font:400 clamp(21px,.8vw + 14px,27px)/1.2 var(--display);color:var(--h-ink);transition:padding .3s,color .3s}
.h10-area-list a:after{content:'\2192';font:400 16px var(--body);color:var(--h-brass)}
.h10-area-list a:hover{padding-left:14px;color:var(--h-brass)}

/* Closing band over a photo */
.h10-close{position:relative;padding:clamp(110px,12vw,180px) 0;color:#fff;text-align:center;overflow:hidden;background:var(--h-deep)}
.h10-close>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h10-close:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,24,22,.55),rgba(20,24,22,.72))}
.h10-close .h10-wrap{position:relative;z-index:2;max-width:780px}
.h10-close .h10-eyebrow{justify-content:center;color:#e3cfae}
.h10-close .h10-eyebrow:after{content:'';width:34px;height:1px;background:currentColor}
.h10-close .h10-h2{color:#fff}
.h10-close .h10-h2 em{color:#e3cfae}
.h10-close .h10-p{color:rgba(255,255,255,.86);margin:0 auto 34px}
.h10-close .cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.h10-close .btn-ghost{color:#fff}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media(max-width:1100px){
  .h10-tiles{grid-template-columns:1fr 1fr}
  .h10-steps{grid-template-columns:repeat(3,1fr);row-gap:34px}
  .h10-step:nth-child(4){padding-left:0;border-left:0}
}
@media(max-width:980px){
  .h10-hero{grid-template-columns:1fr;min-height:0}
  .h10-hero-panel{display:contents}
  .h10-hero-media{grid-row:1;grid-column:1;min-height:0;height:clamp(300px,52vw,440px)}
  .h10-hero-media:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,24,22,0) 30%,rgba(20,24,22,.72) 100%)}
  .h10-hero-media figcaption{display:none}
  .h10-hero-copy{grid-row:1;grid-column:1;align-self:end;position:relative;z-index:2;max-width:none;padding:0 22px 24px;color:#fff}
  .h10-hero-copy .h10-eyebrow{color:#ecd9b8;margin-bottom:12px}
  .h10-hero h1{color:#fff;font-size:clamp(38px,8.4vw,56px);margin:0}
  .h10-hero h1 em{color:#ecd9b8}
  .h10-lede{display:none}
  .h10-hero-panel .h10-quote{grid-row:2;grid-column:1;max-width:none;margin:0;border-radius:0;border-left:0;border-right:0;border-top:0;box-shadow:none;padding:24px 20px 28px}
  .h10-creds .h10-wrap{grid-template-columns:1fr 1fr}
  .h10-cred:nth-child(3){border-left:0}
  .h10-cred:nth-child(n+3){border-top:1px solid var(--h-line)}
  .h10-studio,.h10-areas{grid-template-columns:1fr}
  .h10-collage{max-width:560px}
  .h10-head{flex-direction:column;align-items:flex-start;gap:22px}
  .h10-voices-grid{grid-template-columns:1fr;justify-items:center}
  .h10-voices-grid .video-slot{width:min(300px,100%)}
  .h10-voices-grid>div{width:100%}
}
/* ── Phone ────────────────────────────────────────────────────────────────── */
@media(max-width:640px){
  .h10 .h10-wrap{width:calc(100% - 40px)}
  .h10-hero-media{height:300px}
  .h10-hero-media:after{background:linear-gradient(180deg,rgba(20,24,22,0) 18%,rgba(20,24,22,.8) 100%)}
  .h10-hero-copy .h10-eyebrow{font-size:9.5px;letter-spacing:.18em;margin-bottom:10px}
  .h10-hero-copy .h10-eyebrow:before{display:none}
  .h10-hero h1{font-size:40px}
  .h10 .h10-quote>h3{font-size:23px}
  .h10 .h10-quote .quote-sub{margin-bottom:16px}
  .h10 .h10-quote .form-progress{margin-bottom:14px;padding-bottom:12px}
  .h10 .h10-quote .choice{min-height:48px;padding:12px 26px 12px 12px;font-size:13px}
  .h10 .h10-quote .choice:after{display:none}
  .h10-cred{padding:24px 12px}
  .h10-sec{padding:72px 0}
  .h10-tiles{grid-template-columns:1fr}
  .h10-gallery{grid-template-columns:1fr;grid-template-rows:auto;height:auto}
  .h10-gallery figure{aspect-ratio:4/3}
  .h10-gallery figure:first-child{grid-row:auto;aspect-ratio:4/5}
  .h10-steps{grid-template-columns:1fr;row-gap:0}
  .h10-step,.h10-step+.h10-step{padding:24px 0;border-left:0;border-bottom:1px solid var(--h-line);display:grid;grid-template-columns:64px 1fr;gap:4px 16px}
  .h10-step b{grid-row:span 2;font-size:34px;margin:0}
  .h10-collage{padding:0 10% 12% 0}
  .h10-collage:before{left:-10px;top:-10px}
  .h10-close{padding:96px 0}
}
@media(prefers-reduced-motion:reduce){.h10 *{transition:none!important}}
