.cost-detail{padding:44px 20px;background:#faf7f1;}
.cost-detail-wrap{max-width:80rem;margin:0 auto;}
.cost-detail-head{margin-bottom:24px;}
.cost-detail-head h2{margin:12px 0;color:var(--plum);font:600 clamp(1.9rem,3.1vw,2.7rem)/1.13 Georgia,serif;letter-spacing:-.025em;}
.cost-detail p{margin:0;color:var(--warmgray);font:400 .95rem/1.6 Arial,Helvetica,sans-serif;}
.cost-detail h3{margin:0 0 10px;color:var(--plum);font:600 1.2rem/1.2 Georgia,serif;}
.cost-detail--factors{background:#f0e9df;}
.cost-drivers-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:stretch;}
.cost-drivers-photo{position:relative;margin:0;min-height:440px;overflow:hidden;border-radius:10px;}
.cost-drivers-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;}
.cost-factor-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.cost-factor-card{padding:22px;border:1px solid #e4d6c6;border-radius:10px;background:rgba(255,255,255,.83);}
.cost-factor-number{display:block;margin-bottom:10px;color:var(--copper-dark);font:600 1.65rem/1 Georgia,serif;}
.cost-detail--materials{padding-top:44px;padding-bottom:32px;}
.cost-material-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;}
.cost-material-card{overflow:hidden;border:1px solid #e6dbce;border-radius:10px;background:#fff;box-shadow:0 4px 10px rgba(52,42,56,.05);}
.cost-material-card>img{display:block;width:100%;height:auto;aspect-ratio:1.85;object-fit:cover;}
.cost-material-card>div{padding:22px;}
.cost-written-total{margin-top:18px;padding:24px 28px;display:flex;gap:28px;align-items:center;border-radius:10px;background:var(--plum);}
.cost-written-total h3{color:#fff;font-size:1.5rem;}
.cost-written-total p{color:#f4edf2;}
.cost-detail-icon{display:grid;place-items:center;flex:none;width:48px;color:var(--copper-dark);}
.cost-detail-icon svg{width:42px;height:42px;}
.cost-written-total .cost-detail-icon{color:#e6a36c;}
.cost-written-total .cost-detail-icon svg{width:52px;height:60px;}
.cost-detail--permits{padding-top:28px;padding-bottom:28px;}
.cost-permits-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(0,1fr);gap:32px;align-items:stretch;}
.cost-permit-list{list-style:none;padding:0;margin:0;}
.cost-permit-list li{display:flex;gap:22px;padding:20px 0;border-bottom:1px solid #e2d6c8;}
.cost-permit-list li:first-child{padding-top:0;}
.cost-permit-list li:last-child{border-bottom:0;padding-bottom:0;}
.cost-permit-list .cost-detail-icon{align-self:flex-start;}
.cost-permit-photos{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;}
.cost-permit-photos figure{margin:0;position:relative;overflow:hidden;border-radius:9px;min-height:220px;}
.cost-permit-photos img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;}
.cost-detail--value{padding-top:0;padding-bottom:44px;}
.cost-value-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:30px;align-items:center;padding:16px;border-radius:14px;background:#e6dbcc;}
.cost-value-panel figure{position:relative;margin:0;min-height:240px;align-self:stretch;overflow:hidden;border-radius:9px;}
.cost-value-panel img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;}
.cost-value-panel>div{padding:12px 14px 12px 0;}
.cost-value-panel .cost-detail-head{margin-bottom:12px;}
.cost-value-panel .cost-detail-head h2{font-size:clamp(1.8rem,2.6vw,2.3rem);}
.cost-value-panel .section-label{font-size:.65rem;}
@media(min-width:768px){.cost-detail{padding-left:32px;padding-right:32px;}}
@media(max-width:1023px){
  .cost-drivers-layout{grid-template-columns:minmax(0,1fr);}
  .cost-drivers-photo{min-height:280px;}
  .cost-permits-layout{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;}
  .cost-material-card>div{padding:18px;}
  .cost-value-panel{gap:22px;}
}
@media(max-width:767px){
  .cost-material-cards{grid-template-columns:minmax(0,1fr);}
  .cost-permits-layout{grid-template-columns:minmax(0,1fr);}
  .cost-permit-photos{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:240px;}
  .cost-permit-photos figure{min-height:0;}
  .cost-value-panel{grid-template-columns:minmax(0,1fr);gap:18px;}
  .cost-value-panel>div{padding:0 8px 12px;}
}
@media(max-width:559px){
  .cost-detail-head h2{font-size:2rem;}
  .cost-factor-cards{grid-template-columns:minmax(0,1fr);}
  .cost-drivers-photo{min-height:260px;}
  .cost-written-total{align-items:flex-start;gap:18px;padding:24px 20px;}
  .cost-written-total .cost-detail-icon{width:32px;}
  .cost-written-total .cost-detail-icon svg{width:32px;height:42px;}
  .cost-written-total h3{font-size:1.35rem;}
  .cost-permit-list li{gap:14px;}
  .cost-permit-list .cost-detail-icon{width:32px;}
  .cost-permit-list .cost-detail-icon svg{width:30px;height:32px;}
  .cost-permit-photos{grid-template-columns:minmax(0,1fr);grid-template-rows:230px 230px;}
}
.page-ledger .cost-project-pricing{
  padding-top:64px;padding-bottom:64px;
  background:linear-gradient(180deg,#fbf8f3 0%,#f2ece3 100%);
}
.page-ledger .cost-project-pricing .lg-head{max-width:none;margin-bottom:18px;}
.page-ledger .cost-project-pricing .lg-head h2{font:600 clamp(2rem,3.7vw,3.25rem)/1.1 Georgia,serif;letter-spacing:-.025em;}
.page-ledger .cost-project-pricing .lg-intro{max-width:840px;margin-bottom:36px;font-size:1rem;}
.page-ledger .cost-project-pricing .lg-tiers{gap:20px;align-items:stretch;}
.page-ledger .cost-project-pricing .lg-tier{min-width:0;border-radius:12px;border:1px solid #e7dacb;box-shadow:0 8px 24px rgba(77,54,34,.055);}
.page-ledger .cost-project-pricing .lg-tier-pic{aspect-ratio:1.2;}
.page-ledger .cost-project-pricing .lg-tier-pic::after{display:none;}
.page-ledger .cost-project-pricing .lg-tier-body{min-width:0;container-type:inline-size;display:grid;grid-template-rows:auto minmax(3rem,auto) auto auto 1fr;gap:14px;padding:22px 20px 26px;}
.cost-project-number{display:flex;align-items:center;gap:12px;color:var(--copper-dark);font:600 .9rem/1 Arial,Helvetica,sans-serif;}
.cost-project-number::after{content:"";width:36px;height:1px;background:var(--copper);}
.page-ledger .cost-project-pricing .lg-tier-body h3{margin:0;color:var(--plum);font:600 1.2rem/1.25 Georgia,serif;letter-spacing:-.02em;}
.page-ledger .cost-project-pricing .lg-price{margin:0;font:700 clamp(1.2rem,8.6cqi,1.85rem)/1.15 Georgia,serif;letter-spacing:-.03em;white-space:normal;}
.page-ledger .cost-project-pricing .lg-price span{margin-top:8px;white-space:normal;font:400 .83rem/1.4 Arial,Helvetica,sans-serif;letter-spacing:0;}
.page-ledger .cost-project-pricing .lg-timeline{margin:0;padding:12px 10px;border:1px solid #f0e6da;border-radius:16px;background:#f8f4ee;font:400 .78rem/1.5 Arial,Helvetica,sans-serif;gap:8px;}
.page-ledger .cost-project-pricing .lg-timeline svg{width:20px;height:20px;}
.page-ledger .cost-project-pricing .lg-tier-body>p:last-child{margin:0;font:400 .95rem/1.6 Arial,Helvetica,sans-serif;color:var(--warmgray);}
@media(min-width:1100px) and (max-width:1279px){
  .page-ledger .cost-project-pricing .lg-tiers{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:639px){
  .page-ledger .cost-project-pricing{padding-top:48px;padding-bottom:48px;}
  .page-ledger .cost-project-pricing .lg-tier-body{grid-template-rows:auto auto auto auto 1fr;gap:14px;}
}

.page-ledger .cost-project-pricing .lg-tier-body>*{min-width:0;}
