/* Baton Rouge Restoration & Remediation — responsive layer.
   The page markup carries the desktop design inline; this file makes it fluid,
   adds the sticky header + mobile menu, and restacks grids at two breakpoints.
   Attribute selectors target the inline styles the export produced. */

html{scroll-padding-top:96px}
.mockwrap{width:100%;max-width:none}
.wrap{width:100%;max-width:1200px}
.site-outer{width:100%;max-width:none}
img{max-width:100%;height:auto}

/* ---------- Header ---------- */
.site-strip{background:var(--charcoal);color:#D7DAD6;font-size:14px}
.site-strip .wrap{display:flex;justify-content:space-between;align-items:center;min-height:38px;gap:16px}
.site-strip .strip-l,.site-strip .strip-r{display:flex;gap:24px;align-items:center}
.site-strip .strip-item{display:flex;gap:8px;align-items:center;white-space:nowrap}
.site-strip .strip-item.strong{color:#fff;font-weight:600}
.site-strip .strip-mobile{display:none}

.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(0,0,0,0)}
.site-header.is-stuck{box-shadow:0 2px 12px rgba(28,31,29,.08)}
.site-header .wrap{display:flex;justify-content:space-between;align-items:center;height:88px;gap:16px}
.site-header .logo img{height:58px;width:auto;display:block}
.site-header .nav{display:flex;gap:20px;align-items:center}
.site-header .nav a{padding-bottom:2px;border-bottom:2px solid transparent}
.site-header .nav a.active{color:var(--green-dk);border-bottom-color:var(--green)}
.site-header .actions{display:flex;gap:8px;align-items:center}
.site-header .btn-call-icon{display:none}
.site-header .menu-btn{display:none;width:44px;height:44px;border:0;background:transparent;padding:0;cursor:pointer;align-items:center;justify-content:center;border-radius:8px}
.site-header .menu-btn:hover{background:var(--bg)}
.site-header .menu-btn .ico-close{display:none}
.site-header.menu-open .menu-btn .ico-open{display:none}
.site-header.menu-open .menu-btn .ico-close{display:block}

.mobile-menu{display:none;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:76px;z-index:49}
.mobile-menu.open{display:block;max-height:calc(100vh - 76px);overflow-y:auto}
.mobile-menu nav{display:flex;flex-direction:column;padding:8px 20px 16px}
.mobile-menu nav a{display:block;padding:14px 4px;border-bottom:1px solid var(--line);color:var(--ink);font-family:'Archivo',Arial,sans-serif;font-weight:700;font-size:17px}
.mobile-menu nav a.active{color:var(--green-dk)}
.mobile-menu nav a:last-of-type{border-bottom:0}
.mobile-menu .menu-cta{display:flex;flex-direction:column;gap:10px;padding-top:12px}
.mobile-menu .menu-cta .btn{width:100%}

/* ---------- Tablet (≤1100px) ---------- */
@media (max-width:1100px){
  .site-header .nav{display:none}
  .site-header .menu-btn{display:flex}
  .site-header .actions .btn-outline{display:none}
  .site-strip .strip-r{display:none}
  .site-strip .strip-l{flex-wrap:wrap;gap:6px 20px;padding:6px 0}
  .site-strip .strip-item{white-space:normal}
  .wrap{padding-left:28px;padding-right:28px}
  h1{font-size:44px}
  [style*="font-size:52px"]{font-size:44px!important}
  h2{font-size:32px}
  [style*="grid-template-columns:7fr 5fr"]{grid-template-columns:1fr!important}
  [style*="grid-template-columns:5fr 7fr"]{grid-template-columns:1fr!important}
  [style*="grid-template-columns:8fr 4fr"],[style*="grid-template-columns:4fr 8fr"]{grid-template-columns:1fr!important}
  [style*="grid-template-columns:repeat(4"]{grid-template-columns:repeat(2, minmax(0, 1fr))!important}
  [style*="grid-template-columns:repeat(3"]{grid-template-columns:repeat(2, minmax(0, 1fr))!important}
  [style*="padding:88px 40px"]{padding:64px 28px!important}
  [style*="padding:72px 40px 56px"]{padding:48px 28px 40px!important}
  [style*="padding:64px 40px 24px"]{padding:48px 28px 16px!important}
  [style*="padding:56px 40px 40px"]{padding:40px 28px 32px!important}
  [style*="padding:56px 60px 56px 120px"]{padding:44px 40px!important}
  [style*="padding:56px 120px 56px 60px"]{padding:44px 40px!important}
  .foot [style*="grid-template-columns:repeat(4"]{grid-template-columns:repeat(2, minmax(0, 1fr))!important}
}

/* ---------- Phone (≤700px) ---------- */
@media (max-width:700px){
  html{scroll-padding-top:80px}
  .site-outer{overflow-x:clip}
  .wrap{padding-left:20px;padding-right:20px}
  body{font-size:16px}
  h1,[style*="font-size:52px"],[style*="font-size:56px"]{font-size:32px!important;line-height:1.12}
  h2,[style*="font-size:38px"],[style*="font-size:34px"]{font-size:26px!important}
  h3[style*="font-size:28px"]{font-size:22px!important}
  [style*="font-size:20px;color:var(--muted)"]{font-size:17px!important}
  p[style*="font-size:18px"]{font-size:16px!important}

  /* header */
  .site-strip .strip-l,.site-strip .strip-r{display:none}
  .site-strip .strip-mobile{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:34px;font-size:13px;font-weight:600;color:#fff}
  .site-header .wrap{height:72px;gap:10px}
  .site-header .logo img{height:44px}
  .site-header .actions .btn-call{display:none}
  .site-header .btn-call-icon{display:flex;width:44px;height:44px;border-radius:8px;background:var(--orange);align-items:center;justify-content:center}
  .mobile-menu{top:72px}

  /* every multi-column grid becomes one column */
  [style*="grid-template-columns:"]{grid-template-columns:1fr!important}
  .foot [style*="grid-template-columns:repeat(4"]{grid-template-columns:1fr!important}
  /* photo collages: two-up, no stagger */
  [style*="grid-template-columns:repeat(2, minmax(0, 1fr));gap:14px"],[style*="grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px"]{grid-template-columns:repeat(2, minmax(0, 1fr))!important}
  img[style*="margin-top:36px"],img[style*="margin-top:40px"]{margin-top:0!important}
  img[style*="height:230px"],img[style*="height:250px"]{height:150px!important}
  img[style*="height:400px"],img[style*="height:380px"]{height:240px!important}
  .photo[style*="height:380px"]{height:220px!important}

  /* section padding */
  [style*="padding:88px 40px"]{padding:44px 20px!important}
  [style*="padding:72px 40px 56px"]{padding:32px 20px 32px!important}
  [style*="padding:64px 40px 24px"]{padding:32px 20px 8px!important}
  [style*="padding:56px 40px 40px"]{padding:36px 20px 24px!important}
  [style*="padding:18px 40px"]{padding:16px 20px!important}
  [style*="padding:56px 60px 56px 120px"],[style*="padding:56px 120px 56px 60px"]{padding:36px 20px!important}
  .card[style*="padding:32px"]{padding:22px!important}
  .card[style*="padding:28px"]{padding:20px!important}
  .card[style*="padding:26px"]{padding:20px!important}

  /* flex rows that need to wrap or stack */
  [style*="justify-content:space-between;align-items:flex-end"]{flex-direction:column;align-items:flex-start!important;gap:16px!important}
  [style*="display:flex;gap:14px;align-items:center"]{flex-wrap:wrap}
  [style*="display:flex;gap:14px\"]"]{flex-wrap:wrap}
  .btn{white-space:normal;text-align:center}
  a.btn[style*="height:60px"]{height:auto!important;min-height:54px;padding:12px 20px!important;font-size:18px!important;width:100%}
  a.btn[style*="height:58px"],a.btn[style*="height:56px"]{height:auto!important;min-height:52px;padding:12px 20px!important;font-size:17px!important;align-self:stretch!important}
  .foot [style*="justify-content:space-between;align-items:center"]{flex-direction:column;align-items:flex-start!important;gap:8px!important}
  .foot [style*="display:flex;gap:18px"]{flex-wrap:wrap}
  table{display:block;overflow-x:auto}
}

/* ---------- Dropdown navigation ---------- */
.site-header .nav .has-menu{position:relative;display:flex;align-items:center}
.site-header .nav .has-menu>a{display:flex;gap:4px;align-items:center}
.site-header .nav .menu{display:none;position:absolute;top:calc(100% + 10px);left:-12px;min-width:240px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(28,31,29,.12);padding:8px;flex-direction:column;z-index:60}
.site-header .nav .menu::before{content:"";position:absolute;top:-14px;left:0;right:0;height:14px}
.site-header .nav .has-menu:hover .menu,.site-header .nav .has-menu:focus-within .menu{display:flex}
.site-header .nav .menu a{padding:10px 12px;border-radius:8px;border-bottom:0;font-size:15px;white-space:nowrap}
.site-header .nav .menu a:hover{background:var(--green-tint);color:var(--green-dk)}
.site-header .nav .menu a.active{color:var(--green-dk);background:var(--green-tint)}
.mobile-menu details{border-bottom:1px solid var(--line)}
.mobile-menu summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:14px 4px;cursor:pointer;font-family:'Archivo',Arial,sans-serif;font-weight:700;font-size:17px;color:var(--ink)}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu details[open] summary svg{transform:rotate(180deg)}
.mobile-menu .sub{display:flex;flex-direction:column;padding:0 0 10px 14px}
.mobile-menu .sub a{border-bottom:0;padding:9px 4px;font-family:'Source Sans 3','Segoe UI',sans-serif;font-weight:600;font-size:16px}

/* ---------- Prose (imported page + post content) ---------- */
.prose{display:flex;flex-direction:column;gap:16px;font-size:18px;line-height:1.65}
.prose h2{font-size:30px;margin-top:20px}
.prose h3{font-size:22px;margin-top:10px}
.prose h4{font-size:18px;margin-top:6px}
.prose p{margin:0}
.prose ul,.prose ol{margin:0;padding-left:24px;display:flex;flex-direction:column;gap:6px}
.prose img{width:100%;max-height:420px;object-fit:cover;border-radius:12px;display:block;margin:8px 0}
.prose a:not(.btn):not(.card){text-decoration:underline;text-underline-offset:3px}
.prose .card a,.prose .card{text-decoration:none}
.prose .btn{align-self:flex-start}
.prose table{font-size:16px}
.prose strong{color:var(--ink)}

/* ---------- FAQ accordion ---------- */
details.faq{border-top:1px solid var(--line);padding:18px 0}
details.faq:last-child{border-bottom:1px solid var(--line)}
details.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+";font-family:'Archivo',Arial,sans-serif;font-size:24px;font-weight:700;color:var(--green-dk);flex-shrink:0}
details.faq[open] summary::after{content:"\2013"}
details.faq .muted p{margin:0 0 8px}

/* sticky sidebars sit under the sticky header */
@media (max-width:1100px){ .sidebar{position:static!important} }
@media (max-width:700px){
  .prose{font-size:17px}
  .prose h2{font-size:24px}
  .prose img{max-height:260px}
  .prose .card[style*="justify-content:space-between"]{flex-direction:column;align-items:flex-start!important}
}

/* ---------- Contact form ---------- */
input.input,textarea.textarea{font-family:inherit;color:var(--ink);width:100%}
input.input::placeholder,textarea.textarea::placeholder{color:#8A877F}
input.input:focus,textarea.textarea:focus{outline:2px solid var(--green);outline-offset:0;border-color:var(--green)}
textarea.textarea{resize:vertical}
.badge.chip{cursor:pointer;position:relative}
.badge.chip input{position:absolute;opacity:0;width:0;height:0}
.badge.chip:has(input:checked){background:var(--green-tint);border-color:#01A13D;color:var(--green-dk)}
.field.invalid .input{border-color:#C0392B}
#estimate-form{position:relative}

/* ==========================================================================
   Polish layer (design audit, Sep 2026). Typography, rhythm, surfaces and
   interaction states only. Calm by design: short transitions, no reveals.
   ========================================================================== */

/* ---------- Typography ---------- */
h1,h2,h3,h4{text-wrap:balance}
p,li,dd,figcaption{text-wrap:pretty}
h3,h4{font-weight:600}
h1{line-height:1.06}
h2{line-height:1.12}
.eyebrow{letter-spacing:.14em}
a[href^="tel:"],.site-strip,td,.crumb,time{font-variant-numeric:tabular-nums}
.prose p,.prose li,.prose h2,.prose h3,.prose h4,.prose blockquote{max-width:70ch}
.prose h2{line-height:1.15;margin-top:28px;padding-top:4px}
.prose h3{margin-top:14px}
.prose hr{border:0;border-top:1px solid var(--line);margin:12px 0;max-width:70ch}
.prose blockquote{margin:0;padding:4px 0 4px 20px;border-left:3px solid var(--green);color:var(--muted)}
.muted{color:var(--muted)}

/* ---------- Rhythm ---------- */
@media (min-width:1101px){
  [style*="padding:88px 40px"]{padding:88px 40px 96px!important}
  [style*="padding:72px 40px 56px"]{padding:72px 40px 64px!important}
  [style*="grid-template-columns:repeat(4, minmax(0, 1fr));gap:20px"],
  [style*="grid-template-columns:repeat(3, minmax(0, 1fr));gap:20px"]{gap:24px!important}
}
@media (max-width:700px){
  [style*="display:flex;gap:28px;align-items:center;flex-wrap:wrap;font-size:15px"]{gap:8px 18px!important;font-size:14px!important}
  [style*="padding:88px 40px"]{padding:44px 20px 52px!important}
}

/* ---------- Surfaces ---------- */
.card{border-radius:14px;border-color:#E9E7E1;box-shadow:0 1px 2px rgba(60,50,20,.03),0 10px 24px -14px rgba(60,50,20,.10)}
.card .card{border-radius:10px;box-shadow:none}
.card[style*="border:2px solid"]{box-shadow:0 1px 2px rgba(60,50,20,.03),0 14px 30px -16px rgba(60,50,20,.14)}
/* home "why local" mini boxes: a quiet list, not cards inside a section */
.card[style*="padding:20px;display:flex;flex-direction:column;gap:6px"]{background:transparent;border:0;border-left:2px solid var(--green);border-radius:0;box-shadow:none;padding:2px 0 2px 16px!important}
.btn{border-radius:10px}
.badge{border-radius:999px}
.input,.textarea,input.input,textarea.textarea{border-radius:10px;border-color:#D6D2C8}
.site-header.is-stuck{box-shadow:0 1px 0 var(--line),0 8px 24px -12px rgba(28,31,29,.18)}
.site-header .nav .menu{box-shadow:0 1px 0 rgba(28,31,29,.04),0 18px 40px -18px rgba(28,31,29,.28);border-radius:14px}
.map{border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#E9E6DF}
.map iframe{width:100%;height:100%;border:0;display:block}

/* ---------- Interaction states ---------- */
a,.btn,.card,.badge,.menu-btn,summary,.input,.textarea,input.input,textarea.textarea,.site-header .nav .menu{
  transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease,opacity .18s ease,visibility .18s}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0) scale(.98);transition-duration:.08s}
.btn-outline:hover{background:var(--ink);color:#fff}
.btn-white:hover{background:var(--green-tint);color:var(--green-dk)}
a.card:hover{transform:translateY(-2px);border-color:#DCD9D1;box-shadow:0 1px 2px rgba(60,50,20,.04),0 18px 36px -16px rgba(60,50,20,.18)}
a.card:active{transform:translateY(0)}
a.card h3{transition:color .18s ease}
a.card:hover h3{color:var(--green-dk)}
.site-header .nav a:hover{border-bottom-color:var(--line)}
.site-header .nav a.active:hover{border-bottom-color:var(--green)}
.site-header .nav .menu{display:flex;opacity:0;visibility:hidden;transform:translateY(6px);pointer-events:none}
.site-header .nav .has-menu:hover .menu,.site-header .nav .has-menu:focus-within .menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
details.faq summary:hover h3{color:var(--green-dk)}
.mobile-menu nav a:hover,.mobile-menu summary:hover{color:var(--green-dk)}

/* keyboard focus */
:focus{outline:none}
:focus-visible{outline:3px solid var(--green);outline-offset:3px;border-radius:6px}
.btn:focus-visible,.badge:focus-visible{outline-offset:3px}
.card:focus-visible{outline-offset:2px}
input.input:focus-visible,textarea.textarea:focus-visible{outline:2px solid var(--green);outline-offset:0}
.badge.chip:has(input:focus-visible){outline:3px solid var(--green);outline-offset:3px}

/* skip link */
.skip-link{position:absolute;left:16px;top:-60px;z-index:100;background:var(--ink);color:#fff;padding:10px 14px;border-radius:8px;font-weight:700}
.skip-link:focus{top:12px;color:#fff}

/* smooth in-page anchors (guide TOC, FAQ links) */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .btn:hover,a.card:hover{transform:none}
}
