/* Landing-page components for the service, commercial and area pages. Loaded after site.css. */

/* Hero with the estimate form beside it */
.lp-hero{background:var(--slate);color:#fff;border-bottom:4px solid var(--gold);padding:56px 32px}
.lp-hero-inner{max-width:1256px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.lp-copy{min-width:0}
.lp-copy .crumbs{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:22px;font-family:'Montserrat'}
.lp-copy .crumbs a{text-decoration:none;color:rgba(255,255,255,.7)}
.lp-copy .crumbs span{margin:0 8px;color:rgba(255,255,255,.4)}
.lp-copy h1{color:#fff;font-size:clamp(34px,3.4vw,48px);font-weight:700;line-height:1.1;letter-spacing:-.02em;margin-bottom:20px;max-width:20ch}
.lp-copy h1 em{font-style:normal;color:var(--gold);display:block}
.lp-copy p.lede{color:rgba(255,255,255,.8);font-size:17px;line-height:1.6;margin-bottom:26px;max-width:52ch}
.lp-bullets{display:flex;flex-direction:column;gap:12px;margin:0 0 28px;padding:0}
.lp-bullets li{list-style:none;display:flex;align-items:flex-start;gap:14px;font-size:15px;color:rgba(255,255,255,.88);line-height:1.5}
.lp-bullets li svg{width:18px;height:18px;color:var(--gold);flex:none;margin-top:2px}
.lp-bullets a{color:var(--gold)}
.lp-ctas{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 32px}
.lp-facts{padding-top:26px;border-top:1px solid rgba(255,255,255,.14);display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px 24px;max-width:560px}
.lp-facts div strong{display:block;font-family:'Montserrat';font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:700;margin-bottom:4px}
.lp-facts div{font-family:'Montserrat';font-weight:700;font-size:14px;color:#fff}
.lp-action{min-width:0}

/* Image + copy */
.what{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line)}
.what-img{background:#000;min-height:460px;position:relative;overflow:hidden}
.what-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.92) contrast(1.03)}
.what-copy{padding:56px 48px;background:var(--paper);display:flex;flex-direction:column;justify-content:center;min-width:0}
.what-copy h2{font-size:clamp(28px,2.7vw,38px);line-height:1.12;font-weight:700;margin-bottom:18px;letter-spacing:-.02em}
.what-copy p{color:var(--slate-2);font-size:16px;line-height:1.7;margin-bottom:14px}
.what-list{margin:10px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}
.what-list li{list-style:none;font-size:14px;color:var(--slate);padding-left:18px;position:relative;line-height:1.5}
.what-list li::before{content:"";position:absolute;left:0;top:9px;width:10px;height:1px;background:var(--gold)}

/* Copy + side card (no image) */
.about-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:start}
.about-copy h2{font-size:clamp(28px,2.7vw,38px);line-height:1.12;font-weight:700;margin-bottom:20px;letter-spacing:-.02em}
.about-copy p{color:var(--slate-2);font-size:16px;line-height:1.7;margin-bottom:16px}
.about-copy p a{color:var(--gold-deep)}
.side-card{background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold);padding:32px 28px}
.side-card h3{font-size:19px;margin-bottom:16px}
.side-card ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.side-card li{font-size:14px;line-height:1.55;color:var(--slate);padding-left:20px;position:relative}
.side-card li::before{content:"";position:absolute;left:0;top:10px;width:10px;height:1px;background:var(--gold-deep)}

/* Tiles */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line);background:#fff}
.tile{padding:32px 28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-decoration:none;color:inherit;display:flex;flex-direction:column;min-height:190px;transition:background .15s ease}
.tile:hover{background:var(--paper)}
.tile .n{font-family:'Montserrat';font-size:10px;font-weight:700;color:var(--gold-deep);letter-spacing:.2em;margin-bottom:14px;text-transform:uppercase}
.tile .n:empty{display:none}
.tile h3{font-family:'Montserrat';font-size:20px;font-weight:700;margin-bottom:10px;line-height:1.2}
.tile p{font-size:14px;line-height:1.55;color:var(--slate-2);flex:1}
.tile .more{margin-top:16px;font-family:'Montserrat';font-weight:700;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-deep)}

/* Value cards */
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.why-card{padding:32px 28px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold)}
.why-card h3{font-size:19px;margin-bottom:10px}
.why-card p{font-size:14px;line-height:1.65;color:var(--slate-2)}

/* Three-step strip uses .phase-grid from site.css */
.phase-grid.three{grid-template-columns:repeat(3,1fr)}
.steps-link{margin-top:20px;font-size:14px;color:var(--slate-2)}
.steps-link a{color:var(--gold-deep)}

/* Link chips (areas, services) */
.chip-label{font-family:'Montserrat';font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--slate-3);font-weight:700;margin:0 0 12px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 32px;padding:0;list-style:none}
.chips a{display:inline-block;padding:10px 16px;border:1px solid var(--line-2);background:#fff;font-family:'Montserrat';font-weight:700;font-size:12px;letter-spacing:.06em;text-decoration:none;color:var(--slate)}
.chips a:hover{border-color:var(--slate);background:var(--paper)}
.link-block{max-width:1120px}
.link-intro{font-size:15px;line-height:1.7;color:var(--slate-2);max-width:760px;margin-bottom:24px}

/* Form card extras */
.alt-contact{margin-top:12px;font-size:13px;color:var(--slate-2);line-height:1.5;overflow-wrap:anywhere}
.alt-contact a{color:var(--slate);font-weight:700}
.faq-inner{max-width:1120px;margin:0 auto}

/* Hubs */
.hub-group{margin-bottom:40px}
.hub-group > h3{font-size:12px;letter-spacing:.22em;text-transform:uppercase;font-family:'Montserrat';color:var(--gold-deep);margin-bottom:16px}
.tiles.four{grid-template-columns:repeat(4,1fr)}
.tiles.five{grid-template-columns:repeat(5,1fr)}
.tiles.five .tile{min-height:0;padding:24px}
.tiles.two{grid-template-columns:repeat(2,1fr)}

@media (max-width:1080px){
  .lp-hero-inner{grid-template-columns:1fr;gap:48px;max-width:720px}
  .tiles,.tiles.four{grid-template-columns:1fr 1fr}
  .tiles.five{grid-template-columns:repeat(5,1fr)}
  .why{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr;gap:32px}
}
@media (max-width:960px){
  .what{grid-template-columns:1fr}
  .what-img{height:300px;min-height:0}
  .what-copy{padding:48px 24px}
  .what-copy h2,.about-copy h2{font-size:30px}
  .what-list{grid-template-columns:1fr}
  .phase-grid.three{grid-template-columns:1fr}
}
@media (max-width:760px){
  .lp-hero{padding:40px 24px 48px}
  .lp-copy p.lede{font-size:16px}
  .lp-facts{gap:10px}
  .lp-facts div{font-size:13px}
  .tiles,.tiles.four,.tiles.two,.tiles.five{grid-template-columns:1fr}
  .lp-ctas .btn{flex:1 1 100%;justify-content:center}
}

.band-line{border-top:1px solid var(--line)}
.band-faq{border-top:1px solid var(--line)}
.band .band-inner{padding:0}

/* Category pages: scope sections alternate image left / right (2026-10-18). */
@media (min-width:961px){.what-flip .what-img{order:2}}

/* Balanced tile grids (2026-10-18, Steven): exactly four tiles sit 2 over 2, never 3 plus one stray.
   On tablets, an odd number of tiles stacks in one column instead of leaving a single tile alone on the last row. */
.tiles:has(> .tile:nth-child(4):last-child){grid-template-columns:repeat(2,1fr)}
@media (max-width:960px){
  .tiles:not(.five):has(> .tile:nth-child(odd):last-child){grid-template-columns:1fr}
}
@media (max-width:640px){.tiles:has(> .tile:nth-child(4):last-child){grid-template-columns:1fr}}

/* Recent Work photo bands (2026-10-18): equal 4:3 tiles, cropped to fit. */
.shots{display:grid;gap:12px;grid-template-columns:repeat(3,1fr)}
.shots.n4{grid-template-columns:repeat(4,1fr)}
.shots.n6{grid-template-columns:repeat(3,1fr)}
.shots figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--paper)}
.shots img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.95) contrast(1.02)}
@media (max-width:960px){.shots.n4,.shots.n6{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.shots,.shots.n4,.shots.n6{grid-template-columns:1fr 1fr}.shots.n3 figure:first-child{grid-column:1/-1}}

/* Scope section without a photo (commercial restoration, 2026-10-18): full-width text on the paper background. */
.what.what-noimg{grid-template-columns:1fr}
.what-noimg .what-copy{padding:56px max(32px,calc((100% - var(--max))/2 + 32px))}
.what-noimg .what-copy p{max-width:820px}
@media (max-width:960px){.what-noimg .what-copy{padding:48px 24px}}
