/* KL Home Remodeling in the Sonora look: only what the template's stylesheet does not cover. */

.brand>span{font-size:24px;letter-spacing:-.7px;word-spacing:3px;white-space:nowrap}
.footer-brand .brand-letters>span{font-weight:600!important}
.mobile-nav[hidden]{display:none}
.hero-image{object-position:center 46%}

/* Six services in three columns. */
.service-grid{grid-template-columns:repeat(3,1fr);gap:58px 30px}


/* Meet the owner: bio and numbers beside the portrait. */
.owner-story{display:flex;flex-direction:column;justify-content:center;min-width:0}
.owner-bio{display:flex;flex-direction:column;gap:20px;max-width:570px;padding-bottom:46px}
.owner-bio p{font-size:16px;line-height:1.75;color:#C9CFE5}
.owner-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding-top:36px}
.owner-stat{display:flex;flex-direction:column;gap:14px;min-width:0}
.owner-stat strong{font-size:54px;font-weight:300;line-height:1.05;letter-spacing:-.055em}
.owner-stat .mono{font-size:8px;max-width:150px}
.material-frontplate>img{object-position:50% 12%}
.owner .material-feature-copy>.mono:first-child{position:static;margin-bottom:16px}


/* Footer contact. */
.footer-note p{font-size:18px}
.footer-copy{display:flex;flex-wrap:wrap;gap:8px 26px;margin-top:10px}
.footer-copy .text-link{font-size:11px;gap:14px;padding:0}
.footer-bottom>span:nth-child(2){text-align:center}

/* Estimate form: short fields side by side. */
.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}

@media(max-width:1023px){
  .service-grid{grid-template-columns:1fr 1fr}
  .owner-stat strong{font-size:42px}
}
@media(max-width:640px){
  .brand>span{font-size:20px;letter-spacing:-.5px;word-spacing:2px}
  .hero-image{object-position:62% 30%}
  .owner-bio{padding-bottom:36px}
  .owner-bio p{font-size:14px}
  .owner-stats{gap:14px;padding-top:28px}
  .owner-stat strong{font-size:36px}
  .owner-stat .mono{font-size:7px}
  .hero-shade{background:linear-gradient(180deg,#0C1330B8 0%,#0C133040 24%,#0C133088 61%,#0C1330F2 100%)}
  .projects-statement p br{display:none}
  .footer-brand,.footer-note{grid-column:1/-1}
  .footer-note p{font-size:17px}
  .footer-bottom>span:nth-child(2){order:3;flex-basis:100%;text-align:left}
  .form-pair{grid-template-columns:1fr;gap:19px}
  /* On a phone the name sits over the shirt collar: a deeper shade keeps it readable. */
  .owner .material-frontplate:after{background:linear-gradient(#131C3F11,#131C3F00 30%,#131C3FA8 58%,#131C3FF0)}
}
/* "30+" is a fixed figure here, not a running counter: normal figures sit tighter. */
.mosaic-count>span:first-child{font-variant-numeric:normal}

/* Our work: the firm's own job photos, under the statement. On a desktop each row is three portrait
   photos and a wide one; on tablets and phones they are plain squares, like the place cards above. */
.work{position:relative;margin-top:64px;padding-top:30px}
.work>.motion-rule{position:absolute;top:0;left:0}
.work-label{padding-bottom:26px}
.work-label h3{font-weight:400}
.work-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:30px 16px}
.work-tile{display:flex;flex-direction:column;min-width:0}
.work-tile.is-wide{grid-column:span 2}
.work-photo{position:relative;overflow:hidden;aspect-ratio:3/4;background:var(--surface)}
.work-tile.is-wide .work-photo{aspect-ratio:auto;flex:1;min-height:0}
.work-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--wide,50% 50%)}
.work-tile figcaption{display:flex;flex-direction:column;gap:7px;margin-top:14px}
.work-tile figcaption>span:first-child{font-size:14px;line-height:1.3;letter-spacing:-.01em}
.work-tile figcaption>.mono{color:var(--muted);font-size:8px}
@media(max-width:1023px){
  .work{margin-top:48px;padding-top:26px}
  .work-grid{grid-template-columns:repeat(4,1fr);gap:24px 12px}
  .work-tile.is-wide{grid-column:auto}
  .work-photo,.work-tile.is-wide .work-photo{aspect-ratio:1;flex:none}
  .work-photo img{object-position:var(--square,50% 50%)}
  .work-tile figcaption{gap:6px;margin-top:11px}
  .work-tile figcaption>span:first-child{font-size:12.5px}
}
@media(max-width:640px){
  .work{margin-top:40px;padding-top:24px}
  .work-label{padding-bottom:20px}
  .work-grid{grid-template-columns:1fr 1fr;gap:22px 13px}
  .work-tile figcaption>span:first-child{font-size:12px;line-height:1.4}
  .work-tile figcaption>.mono{letter-spacing:.025em;font-size:7px}
}

/* Estimate dialog: call or text choice. */
.estimate-choice{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 26px}
.estimate-choice .button{margin:0}
