/* Inner-page visual treatment — Draft 1C
   Carries the stronger Give Back homepage identity across the rest of the site. */
.inner-page{
  --cream:#f2eee7;
  --warm:#fbfaf7;
  --steel:#d8dde4;
  background:var(--warm);
}
.inner-page .header{
  background:#06172f;
  border-bottom:0;
  box-shadow:0 8px 28px rgba(3,15,31,.16);
}
.inner-page .header:after{
  content:"";position:absolute;left:0;right:0;bottom:-4px;height:4px;
  background:linear-gradient(90deg,#b9232f 0 34%,#f8f8f4 34% 38%,#1859a9 38% 100%);
}
.inner-page .identity-strip{background:#0b2a55;color:rgba(255,255,255,.86);border-bottom:1px solid rgba(255,255,255,.08)}
.inner-page .identity-inner{min-height:36px;display:flex;align-items:center;justify-content:center;gap:17px;font-size:.72rem;font-weight:800;letter-spacing:.095em;text-transform:uppercase}
.inner-page .identity-inner .diamond{color:#c93642;font-size:.56rem}
.inner-page h1,.inner-page h2{letter-spacing:-.038em}
.inner-page .section:not(.navy) h2:after{
  content:"";display:block;width:58px;height:4px;margin-top:18px;
  background:linear-gradient(90deg,#b9232f 0 58%,#1859a9 58% 100%);
}
.inner-page .page-hero{
  padding:0;background:#071a35;position:relative;overflow:hidden;
}
.inner-page .visual-hero-grid{
  min-height:490px;display:grid;grid-template-columns:.95fr 1.05fr;align-items:stretch;
}
.inner-page .visual-hero-copy{padding:72px 54px 70px 0;align-self:center;position:relative;z-index:2}
.inner-page .visual-hero-copy:before{
  content:"";position:absolute;left:-180px;top:-160px;width:380px;height:380px;border:56px solid rgba(255,255,255,.025);border-radius:50%;pointer-events:none
}
.inner-page .visual-hero-copy h1,.inner-page .visual-hero-copy p{color:#fff}
.inner-page .visual-hero-copy p{color:rgba(255,255,255,.78);max-width:680px}
.inner-page .visual-hero-copy .eyebrow{color:#ff9da5}
.inner-page .visual-hero-media{position:relative;min-height:490px;overflow:hidden}
.inner-page .visual-hero-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.inner-page.real-estate-page .chris-hero-media{background:#fff}
.inner-page.real-estate-page .chris-hero-media .chris-hero-image{object-fit:contain;object-position:center;background:#fff}
.inner-page.real-estate-page .chris-hero-media:before{background:none}
.inner-page .visual-hero-media:before{
  content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#071a35 0%,rgba(7,26,53,.35) 26%,rgba(7,26,53,0) 55%)
}
.inner-page .visual-hero-media:after{
  content:"";position:absolute;z-index:2;left:0;top:0;bottom:0;width:8px;background:#b9232f;transform:skewX(-7deg);transform-origin:top
}
.inner-page .hero-tag{
  position:absolute;right:22px;bottom:20px;z-index:3;background:rgba(6,23,47,.9);color:#fff;padding:9px 13px;border-left:4px solid #b9232f;
  font-size:.69rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase
}
.inner-page .section{position:relative}
.inner-page .section.soft{background:#f2eee7}
.inner-page .visual-split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.inner-page .visual-split.reverse .visual-copy{order:2}
.inner-page .visual-split.reverse .visual-frame{order:1}
.inner-page .visual-frame{position:relative;min-height:390px}
.inner-page .visual-frame img{width:100%;height:390px;object-fit:cover;border-radius:4px;box-shadow:18px 18px 0 rgba(11,42,85,.10)}
.inner-page .visual-frame.chris-contact-frame,.inner-page .visual-frame.chris-about-frame{background:#eef1f4;border-radius:4px}
.inner-page .visual-frame .chris-contact-image,.inner-page .visual-frame .chris-about-image{object-fit:contain;object-position:center top}
.inner-page .visual-frame:after{content:"";position:absolute;right:-10px;bottom:-10px;width:32%;height:32%;border-right:6px solid #b9232f;border-bottom:6px solid #b9232f;pointer-events:none}
.inner-page .visual-frame.blue:after{border-color:#1859a9}
.inner-page .visual-frame.navy:after{border-color:#0b2a55}
.inner-page .visual-label{position:absolute;left:18px;bottom:18px;background:#06172f;color:#fff;padding:9px 13px;font-size:.72rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.inner-page .list{gap:10px}
.inner-page .list li{border-radius:0;border:0;border-left:4px solid #1859a9;background:#fff;box-shadow:0 5px 18px rgba(13,34,63,.05)}
.inner-page .list li:nth-child(3n+1){border-left-color:#b9232f}
.inner-page .list li:nth-child(3n+2){border-left-color:#0b2a55}
.inner-page .photo-ribbon{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:10px;margin-top:28px}
.inner-page .photo-ribbon img{width:100%;height:250px;object-fit:cover}
.inner-page .photo-ribbon img:nth-child(2){height:220px;margin-top:30px}
.inner-page .navy-band{background:linear-gradient(135deg,#06172f,#0b2a55);color:#fff;overflow:hidden}
.inner-page .navy-band h2,.inner-page .navy-band h3,.inner-page .navy-band p{color:#fff}
.inner-page .navy-band .eyebrow{color:#ff9da5}
.inner-page .navy-band h2:after{background:linear-gradient(90deg,#d03a46 0 58%,#74a7e4 58% 100%)!important}
.inner-page .trade-grid{gap:12px}
.inner-page .partner{border:1px solid rgba(255,255,255,.16);border-radius:0;background:rgba(255,255,255,.06);color:#fff;min-height:190px;position:relative;overflow:hidden;padding:28px}
.inner-page .partner h3,.inner-page .partner p{color:#fff}
.inner-page .partner:before{position:absolute;right:18px;top:8px;font-size:4.6rem;line-height:1;color:#fff;opacity:.08;font-weight:900}
.inner-page .partner.electrical:before{content:"⚡"}
.inner-page .partner.plumbing:before{content:"●"}
.inner-page .partner.hvac:before{content:"✣"}
.inner-page .image-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}
.inner-page .image-card{position:relative;min-height:300px;overflow:hidden;background:#06172f;text-decoration:none}
.inner-page .image-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.inner-page .image-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(2,12,26,.88) 100%)}
.inner-page .image-card .image-caption{position:absolute;left:0;right:0;bottom:0;padding:24px;z-index:2;color:#fff}
.inner-page .image-card h3,.inner-page .image-card p{color:#fff;margin-bottom:4px}
.inner-page .image-card p{opacity:.75;font-size:.9rem}
.inner-page .image-card:hover img{transform:scale(1.035)}
.inner-page .mission{gap:0;background:#fff;border:1px solid #d8dce2;box-shadow:0 18px 45px rgba(13,34,63,.08)}
.inner-page .mission-mark{border-radius:0;min-height:390px;background:linear-gradient(145deg,rgba(6,23,47,.96),rgba(12,47,93,.92)),url("assets/logo-home-services.webp") center/cover no-repeat}
.inner-page .mission>div:last-child{padding:48px}
.inner-page .re-card{border-radius:0;border:0;border-left:6px solid #1859a9;box-shadow:12px 12px 0 rgba(11,42,85,.08)}
.inner-page .review{border-radius:0;border:0;border-top:5px solid #0b2a55;background:#f5f2ec;position:relative}
.inner-page .review:nth-child(2){border-top-color:#1859a9}.inner-page .review:nth-child(3){border-top-color:#b9232f}
.inner-page .review:before{content:"“";position:absolute;right:16px;top:5px;font-family:Georgia,serif;font-size:5rem;color:#0b2a55;opacity:.08;line-height:1}
.inner-page .cta-box{border-radius:0;background:linear-gradient(112deg,#06172f 0%,#0b2a55 75%,#123d76 75%);border-left:7px solid #b9232f}
.inner-page .project-grid{grid-template-columns:repeat(12,1fr);gap:14px}
.inner-page .project-card{border:0;border-radius:0;box-shadow:none;position:relative;overflow:hidden;min-height:330px;background:#06172f}
.inner-page .project-card:nth-child(1),.inner-page .project-card:nth-child(4){grid-column:span 7}
.inner-page .project-card:nth-child(2),.inner-page .project-card:nth-child(3){grid-column:span 5}
.inner-page .project-card:nth-child(5),.inner-page .project-card:nth-child(6){grid-column:span 6}
.inner-page .project-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.inner-page .project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(2,12,26,.88) 100%)}
.inner-page .project-card .caption{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:24px}
.inner-page .project-card .caption h3,.inner-page .project-card .caption p{color:#fff;margin-bottom:3px}
.inner-page .project-card:hover img{transform:scale(1.035)}
.inner-page .gallery-filter{border-bottom:1px solid #d2d7de;padding-bottom:18px}
.inner-page .filter-chip{border-radius:0;background:transparent;border:1px solid #cfd5dd}
.inner-page .filter-chip:first-child{background:#0b2a55;color:#fff;border-color:#0b2a55}
.inner-page .contact-visuals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}
.inner-page .contact-visuals img{height:220px;width:100%;object-fit:cover}
.inner-page .contact-visuals img:first-child{grid-row:span 2;height:450px}
.inner-page .contact-box{border-radius:0;background:#fff;border-left:5px solid #1859a9;box-shadow:0 8px 24px rgba(13,34,63,.06)}
.inner-page .contact-box.real{border-left-color:#b9232f}
.inner-page .form-visual-wrap{display:grid;grid-template-columns:1.08fr .92fr;gap:42px;align-items:start}
.inner-page .form-card{background:#fff;padding:34px;border-left:6px solid #b9232f;box-shadow:12px 12px 0 rgba(11,42,85,.08)}
.inner-page .real-photo-stack{display:grid;grid-template-columns:1.08fr .92fr;gap:12px;margin-top:26px;align-items:end}
.inner-page .real-photo-stack img{width:100%;height:330px;object-fit:cover}
.inner-page .real-photo-stack img:last-child{height:270px}
.inner-page .feature-band{padding:0;background:#06172f;color:#fff}
.inner-page .feature-band-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.inner-page .feature-band-grid>div{padding:24px 28px;border-right:1px solid rgba(255,255,255,.14)}
.inner-page .feature-band-grid>div:last-child{border-right:0}
.inner-page .feature-band strong{display:block;color:#fff;margin-bottom:2px}
.inner-page .feature-band span{color:rgba(255,255,255,.62);font-size:.86rem}
@media(max-width:1000px){
  .inner-page .visual-hero-grid,.inner-page .visual-split,.inner-page .form-visual-wrap{grid-template-columns:1fr}
  .inner-page .visual-hero-copy{padding:58px 0 42px}
  .inner-page .visual-hero-media{min-height:390px}
  .inner-page .visual-split.reverse .visual-copy,.inner-page .visual-split.reverse .visual-frame{order:initial}
  .inner-page .project-card:nth-child(n){grid-column:span 6}
  .inner-page .image-card-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .inner-page .identity-inner{gap:9px;font-size:.58rem;letter-spacing:.055em;flex-wrap:wrap;padding:8px 0}
  .inner-page .visual-hero-grid{min-height:auto}
  .inner-page .visual-hero-copy{padding:46px 0 34px}
  .inner-page .visual-hero-media{min-height:300px}
  .inner-page .visual-frame,.inner-page .visual-frame img{min-height:0;height:300px}
  .inner-page .photo-ribbon,.inner-page .image-card-grid,.inner-page .real-photo-stack,.inner-page .contact-visuals,.inner-page .feature-band-grid{grid-template-columns:1fr}
  .inner-page .photo-ribbon img,.inner-page .photo-ribbon img:nth-child(2),.inner-page .real-photo-stack img,.inner-page .real-photo-stack img:last-child,.inner-page .contact-visuals img,.inner-page .contact-visuals img:first-child{height:250px;margin-top:0;grid-row:auto}
  .inner-page .project-card:nth-child(n){grid-column:1/-1;min-height:290px}
  .inner-page .image-card{min-height:270px}
  .inner-page .feature-band-grid>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.14)}
}

/* Trusted Trade Partners — Draft 1D */
.inner-page .trade-section{padding-top:82px;padding-bottom:88px}
.inner-page .trade-intro{display:grid;grid-template-columns:1.25fr .75fr;gap:52px;align-items:end;margin-bottom:34px}
.inner-page .trade-intro>div:first-child p{max-width:760px;color:rgba(255,255,255,.78)}
.inner-page .trade-promise{border-left:5px solid #d03a46;padding:8px 0 8px 22px}
.inner-page .trade-promise-kicker{display:block;color:#ff9da5;font-size:.7rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}
.inner-page .trade-promise strong{display:block;font-size:1.08rem;line-height:1.45;margin-bottom:7px}
.inner-page .trade-promise p{font-size:.83rem;color:rgba(255,255,255,.62);margin:0}
.inner-page .trade-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.inner-page .trade-grid .partner{min-height:265px;padding:30px 28px 26px;display:flex;flex-direction:column;border-top:4px solid rgba(255,255,255,.22);background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035))}
.inner-page .trade-grid .partner.electrical{border-top-color:#e1a93d}
.inner-page .trade-grid .partner.plumbing{border-top-color:#70a9e8}
.inner-page .trade-grid .partner.hvac{border-top-color:#c4d5e7}
.inner-page .trade-grid .partner:before{display:none}
.inner-page .partner-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);font-size:1.45rem;margin-bottom:22px;background:rgba(255,255,255,.06)}
.inner-page .partner-type{font-size:.66rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#9ec7f6;margin-bottom:7px}
.inner-page .partner h3{font-size:1.25rem;margin-bottom:9px}
.inner-page .partner p{font-size:.9rem;color:rgba(255,255,255,.68);margin-bottom:20px}
.inner-page .partner-link-placeholder{margin-top:auto;border-top:1px solid rgba(255,255,255,.16);padding-top:15px;color:rgba(255,255,255,.55);font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
@media(max-width:900px){.inner-page .trade-intro,.inner-page .trade-grid{grid-template-columns:1fr}.inner-page .trade-intro{gap:24px}.inner-page .trade-grid .partner{min-height:220px}}

/* Reviews — one clear destination for Builders and real-estate feedback */
.inner-page.reviews-page .reviews-hero{background:linear-gradient(180deg,#f8fafc,#fff)}
.inner-page.reviews-page .reviews-hero p{max-width:760px}
.inner-page.reviews-page .review-service-head{display:grid;grid-template-columns:1.15fr .85fr;gap:46px;align-items:end;margin-bottom:30px}
.inner-page.reviews-page .review-service-head p{max-width:720px;margin-bottom:0}
.inner-page.reviews-page .review-service-actions,.inner-page.reviews-page .review-choice-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.inner-page.reviews-page .review-service-actions .btn{flex:1 1 220px;text-align:center}
.inner-page.reviews-page .review-grid{margin-top:0}
.inner-page.reviews-page .review-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}
.inner-page.reviews-page .review-choice{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:center}
.inner-page.reviews-page .review-choice p{max-width:700px;margin-bottom:0}
.inner-page.reviews-page .review-choice .btn.secondary{border-color:#fff;color:#fff;background:transparent}
.inner-page.reviews-page .review-choice .btn.secondary:hover{background:rgba(255,255,255,.1)}
@media(max-width:900px){
  .inner-page.reviews-page .review-service-head,.inner-page.reviews-page .review-choice{grid-template-columns:1fr;gap:24px}
  .inner-page.reviews-page .review-service-actions,.inner-page.reviews-page .review-choice-actions{justify-content:flex-start}
  .inner-page.reviews-page .review-grid-four{grid-template-columns:1fr}
}

/* Project Gallery — curated archive */
.inner-page.gallery-page .gallery-filter{gap:8px;align-items:center}
.inner-page.gallery-page .filter-chip{appearance:none;font:inherit;cursor:pointer;padding:10px 14px;color:#334155;transition:background .18s ease,color .18s ease,border-color .18s ease}
.inner-page.gallery-page .filter-chip:first-child{background:transparent;color:#334155;border-color:#cfd5dd}
.inner-page.gallery-page .filter-chip.active,.inner-page.gallery-page .filter-chip[aria-pressed="true"]{background:#0b2a55;color:#fff;border-color:#0b2a55}
.inner-page.gallery-page .filter-chip:focus-visible{outline:3px solid rgba(24,89,169,.28);outline-offset:3px}
.inner-page.gallery-page .project-grid{grid-template-columns:repeat(12,1fr);gap:14px;grid-auto-flow:dense}
.inner-page.gallery-page .project-card:nth-child(n){grid-column:span 4;min-height:330px}
.inner-page.gallery-page .project-card.featured{grid-column:span 8;min-height:420px}
.inner-page.gallery-page .project-card.is-hidden{display:none}
.inner-page.gallery-page .gallery-empty{padding:30px 0;margin:0;color:#64748b;font-weight:700}
@media(max-width:1000px){
  .inner-page.gallery-page .project-card:nth-child(n),.inner-page.gallery-page .project-card.featured{grid-column:span 6;min-height:320px}
}
@media(max-width:680px){
  .inner-page.gallery-page .gallery-filter{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .inner-page.gallery-page .filter-chip{width:100%;text-align:center;padding:11px 9px;font-size:.82rem}
  .inner-page.gallery-page .filter-chip:first-child{grid-column:1/-1}
  .inner-page.gallery-page .project-card:nth-child(n),.inner-page.gallery-page .project-card.featured{grid-column:1/-1;min-height:290px}
}

/* Draft 1K — Project Gallery previews prioritize the full project photo, not dramatic cropping */
.inner-page.gallery-page .project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  grid-auto-flow:row;
  align-items:stretch;
}
.inner-page.gallery-page .project-card:nth-child(n),
.inner-page.gallery-page .project-card.featured{
  grid-column:auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid #d8e0e9;
  box-shadow:0 8px 22px rgba(15,23,42,.055);
}
.inner-page.gallery-page .project-card img{
  position:static;
  inset:auto;
  display:block;
  width:100%;
  height:235px;
  object-fit:contain;
  object-position:center;
  padding:10px;
  background:#e9eef4;
  transition:transform .22s ease;
}
.inner-page.gallery-page .project-card:after{display:none}
.inner-page.gallery-page .project-card .caption{
  position:static;
  left:auto;
  right:auto;
  bottom:auto;
  z-index:auto;
  padding:16px 18px 18px;
  background:#fff;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.inner-page.gallery-page .project-card .caption h3{
  color:#0b2a55;
  margin:0 0 4px;
  font-size:1.08rem;
  line-height:1.25;
}
.inner-page.gallery-page .project-card .caption p{
  color:#64748b;
  margin:0;
  font-size:.9rem;
  line-height:1.45;
}
.inner-page.gallery-page .project-card:hover img{transform:scale(1.012)}
.inner-page.gallery-page .project-card.story-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(15,23,42,.10);
}
.inner-page.gallery-page .story-badge{
  top:10px;
  left:10px;
  border-radius:7px;
  padding:7px 9px;
  background:rgba(6,23,47,.95);
  box-shadow:0 3px 10px rgba(0,0,0,.18);
}
.inner-page.gallery-page .project-story-link{
  width:100%;
  margin-top:auto!important;
  padding:10px 12px!important;
  border-radius:7px;
  text-align:center;
  background:#0b376d;
  color:#fff!important;
  font-size:.74rem!important;
  line-height:1.25;
}
.inner-page.gallery-page .story-card:hover .project-story-link{background:#174f87}
.inner-page.gallery-page .gallery-browse-note{
  max-width:900px;
}
@media(max-width:1000px){
  .inner-page.gallery-page .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .inner-page.gallery-page .project-card:nth-child(n),
  .inner-page.gallery-page .project-card.featured{grid-column:auto;min-height:0}
  .inner-page.gallery-page .project-card img{height:225px}
}
@media(max-width:680px){
  .inner-page.gallery-page .project-grid{grid-template-columns:1fr;gap:18px}
  .inner-page.gallery-page .project-card:nth-child(n),
  .inner-page.gallery-page .project-card.featured{grid-column:auto;min-height:0}
  .inner-page.gallery-page .project-card img{height:250px;padding:8px}
  .inner-page.gallery-page .project-card .caption{padding:15px 16px 17px}
}
