/* PermitSetReady — shared styles for the website and the client portal.
   One brand: navy + amber on warm paper; Fraunces for headlines, Inter for everything else. */
:root{
  --ink:#0E1F36; --navy:#1F3A5F; --navy-2:#2A4A73;
  --amber:#E0A030; --amber-2:#F3C978; --amber-deep:#B9832A; --amber-soft:#FBF0D9; --amber-wash:#FBF5E8;
  --paper:#F6F1E8; --card:#FFFFFF; --line:#E8E0D2; --line-2:#E2D9C8;
  --text:#0E1F36; --muted:#4A5A6E; --muted-2:#5B6B7F; --on-dark:#D3DCE8; --on-dark-2:#AEBBCD;
  --ok:#2F7A55; --ok-soft:#E6F2EC; --warn:#A8670A; --warn-soft:#FBF0D9; --bad:#A33A2B; --bad-soft:#F8E4E0;
  --f-display:"Fraunces",Georgia,serif; --f-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --max:1200px; --r:16px; --r-sm:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--f-body);color:var(--text);background:var(--paper);line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy)} a:hover{color:var(--ink)}
h1,h2,h3{margin:0;line-height:1.12;letter-spacing:-0.015em;text-wrap:balance}
p{margin:0}
.serif{font-family:var(--f-display);font-weight:600}
.wrap{max-width:var(--max);margin:0 auto;padding-inline:24px}
@media (max-width:600px){.wrap{padding-inline:16px}}
.eyebrow{margin:0;color:var(--amber-deep);font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.on-dark .eyebrow,.eyebrow.light{color:var(--amber-2)}
.lead{font-size:18.5px;line-height:1.6;color:var(--muted)}
.muted{color:var(--muted)} .small{font-size:14px;color:var(--muted-2)}
:focus-visible{outline:3px solid var(--amber);outline-offset:2px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:var(--r-sm);font-weight:700;font-size:16px;text-decoration:none;border:2px solid transparent;cursor:pointer;font-family:inherit;transition:background .15s,border-color .15s,color .15s}
.btn-amber{background:var(--amber);color:var(--ink)} .btn-amber:hover{background:var(--amber-2);color:var(--ink)}
.btn-navy{background:var(--navy);color:#fff} .btn-navy:hover{background:var(--ink);color:#fff}
.btn-line{border-color:var(--navy);color:var(--navy);background:transparent} .btn-line:hover{background:var(--navy);color:#fff}
.btn-ghost{border-color:rgba(255,255,255,.4);color:#fff;background:transparent} .btn-ghost:hover{background:rgba(255,255,255,.1);color:#fff}
.btn-sm{min-height:40px;padding:0 16px;font-size:14.5px}
.btn svg{width:18px;height:18px}

/* header */
.site-header{background:var(--ink);padding:14px 0;position:sticky;top:env(safe-area-inset-top,0px);z-index:20;border-bottom:1px solid rgba(255,255,255,.06)}
.site-header nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff}
.logo img{width:34px;height:34px}
.logo span{font-size:21px;letter-spacing:-.01em;font-weight:400} .logo b{font-weight:700}
.logo .badge{margin-left:6px;padding:4px 10px;border-radius:999px;background:rgba(243,201,120,.16);color:var(--amber-2);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.menu{display:flex;flex-wrap:wrap;gap:22px;align-items:center;font-size:15px;font-weight:600}
.menu a{color:var(--on-dark);text-decoration:none} .menu a:hover{color:#fff}
.menu a.quiet{color:#8FA0B6;font-weight:500}
.menu a.btn{color:var(--ink)}
.burger{display:none;background:none;border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:8px;min-height:44px;padding:0 14px;font:inherit;font-weight:600;cursor:pointer}
@media (max-width:900px){
  .burger{display:inline-flex;align-items:center}
  .menu{display:none;width:100%;flex-direction:column;align-items:stretch;gap:4px;padding-top:10px}
  .menu.open{display:flex}
  .menu a{padding:10px 0}
  .menu a.btn{margin-top:6px}
}

/* hero */
.hero{position:relative;background:var(--ink);overflow:hidden;color:#fff}
.hero .bg{position:absolute;inset:0;background-size:cover;background-position:right center}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,31,54,.97) 0%,rgba(14,31,54,.9) 42%,rgba(14,31,54,.4) 70%,rgba(14,31,54,.15) 100%)}
.hero .inner{position:relative;z-index:1;padding-block:88px 96px;display:flex;flex-direction:column;gap:18px}
.hero h1{font-family:var(--f-display);font-weight:600;font-size:clamp(38px,6vw,60px);line-height:1.04;max-width:680px}
.hero h1 em{color:var(--amber-2);font-style:italic}
.hero .lead{color:var(--on-dark);max-width:540px}
.hero .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
@media (max-width:700px){.hero .bg{background-position:62% center}.hero::after{background:linear-gradient(180deg,rgba(14,31,54,.85) 0%,rgba(14,31,54,.75) 55%,rgba(14,31,54,.94) 100%)}.hero .inner{padding-block:56px 64px}}
.hero.doors .inner{padding-bottom:190px}

/* door cards (landing) */
.doors-wrap{position:relative;z-index:2;margin-top:-130px}
.doors-wrap h2{color:#fff;font-size:15px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:18px}
.door-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:24px}
.door{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;text-decoration:none;box-shadow:0 14px 40px rgba(14,31,54,.16);transition:transform .2s,box-shadow .2s}
.door:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(14,31,54,.22)}
.door img{width:100%;height:230px;object-fit:cover}
.door .body{padding:30px 32px 32px;display:flex;flex-direction:column;gap:14px;flex-grow:1}
.door h3{font-family:var(--f-display);font-weight:600;font-size:32px;line-height:1.1}
.door.light{background:#fff;color:var(--ink)} .door.light p.desc{color:var(--muted)}
.door.dark{background:var(--navy);color:#fff} .door.dark p.desc{color:#C9D4E2} .door.dark .eyebrow{color:var(--amber-2)}
.door p.desc{font-size:16.5px;line-height:1.55}
.door .go{margin-top:auto;align-self:flex-start}
@media (prefers-reduced-motion:reduce){.door,.btn{transition:none}.door:hover{transform:none}}

/* lists with ticks */
.ticks{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px}
.ticks li{display:flex;gap:10px;align-items:flex-start}
.ticks li::before{content:"";flex:0 0 18px;height:18px;margin-top:2px;background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0A030' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")}

/* sections */
section{scroll-margin-top:80px}
.section{padding-block:72px 24px}
.section.last{padding-bottom:80px}
.section-head{display:flex;flex-direction:column;gap:8px;margin-bottom:26px;max-width:760px}
.section-head h2{font-family:var(--f-display);font-weight:600;font-size:clamp(30px,4vw,38px)}
.section-head p{color:var(--muted);font-size:16.5px}

/* stats strip */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.stats div{padding:24px 20px}
.stats b{display:block;font-size:30px;font-weight:800;letter-spacing:-.02em}
.stats span{color:var(--muted-2);font-size:14px}
.stats.dark{background:var(--navy);color:#fff;border:0} .stats.dark span{color:var(--on-dark-2)}

/* cards */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:28px;display:flex;flex-direction:column;gap:12px;min-width:0}
.card h3{font-size:19px}
.card.feature{border:2px solid var(--amber);box-shadow:0 16px 40px rgba(14,31,54,.10)}
.card.dark{background:var(--ink);color:#fff;border:0}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px}
.pill{align-self:flex-start;padding:4px 10px;border-radius:999px;background:var(--amber-soft);color:#8A5E12;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pill.navy{background:#EEF2F7;color:var(--navy)}
.price{font-size:40px;font-weight:800;letter-spacing:-.02em;margin-top:6px}
.price small{font-size:18px;font-weight:600;color:var(--muted-2)}
.icon{width:30px;height:30px;stroke:var(--navy);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* price list */
.plist{list-style:none;margin:0;padding:0}
.plist li{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid rgba(14,31,54,.08);font-size:15.5px}
.plist li b{font-weight:700}

/* steps */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px}
.steps li{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px;display:flex;flex-direction:column;gap:10px}
.steps .num{width:40px;height:40px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.steps b{font-size:17px} .steps span.d{color:var(--muted);font-size:15px;line-height:1.5}
.steps .who{margin-top:auto;color:var(--amber-deep);font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}

/* table */
.table-box{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--r)}
.wtable{width:100%;min-width:760px;border-collapse:collapse}
.wtable th,.wtable td{padding:16px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);font-size:15px;line-height:1.45}
.wtable thead th{background:var(--ink);color:#fff;font-size:14px;font-weight:700}
.wtable tbody th{color:var(--muted-2);font-weight:600;width:24%}
.wtable td.us{background:var(--amber-wash)}

/* callout */
.callout{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 22px}
.callout svg{flex:0 0 22px;margin-top:2px}
.callout p{color:var(--muted);font-size:14.5px;line-height:1.6}
.callout b{color:var(--ink)}

/* dark panel */
.panel-dark{background:var(--ink);color:#fff;border-radius:20px;padding:40px 44px;display:flex;flex-wrap:wrap;gap:32px}
.panel-dark .col-a{flex:1 1 360px} .panel-dark .col-b{flex:1 1 480px;display:flex;flex-direction:column;gap:14px;color:var(--on-dark);font-size:16.5px;line-height:1.6}
.panel-dark h2{font-family:var(--f-display);font-weight:600;font-size:34px;line-height:1.12;margin-top:10px}
@media (max-width:600px){.panel-dark{padding:28px 22px}}

/* split hero (homeowners) */
.split{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.split > div{flex:1 1 480px;display:flex;flex-direction:column;gap:18px;min-width:0}
.split > img{flex:1 1 520px;min-width:0;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:20px;box-shadow:0 18px 44px rgba(14,31,54,.16)}
.page-hero{background:#fff;border-bottom:1px solid var(--line)}
.page-hero .split{padding-block:72px}
.page-hero h1{font-family:var(--f-display);font-weight:600;font-size:clamp(36px,5vw,54px);line-height:1.05}
.ctas{display:flex;flex-wrap:wrap;gap:12px}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.gallery figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.gallery img{width:100%;height:220px;object-fit:contain;padding:12px;background:#fff}
.gallery figcaption{padding:10px 14px;background:var(--amber-wash);font-size:13px;font-weight:600;color:var(--navy);border-top:1px solid var(--line)}

/* faq */
.faq{display:flex;flex-direction:column;gap:12px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 24px}
.faq summary{cursor:pointer;font-weight:700;font-size:17px}
.faq details p{margin-top:12px;color:var(--muted);font-size:16px;line-height:1.6}

/* products */
.product{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.product img{width:100%;height:190px;object-fit:cover}
.product .body{padding:22px;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.product .body .btn{margin-top:auto;align-self:flex-start}
.product .cost{font-weight:700}

/* footer */
.site-footer{background:var(--ink);color:var(--on-dark-2);padding:34px 0;font-size:14px}
.site-footer .row{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;align-items:center}
.site-footer a{color:var(--amber-2);text-decoration:none} .site-footer a:hover{color:#fff}
.site-footer .links{display:flex;flex-wrap:wrap;gap:18px}
.site-footer .logo span{font-size:18px} .site-footer .logo img{width:28px;height:28px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-footer a.logo{color:#fff}
.site-footer .areas{flex-basis:100%;border-top:1px solid rgba(255,255,255,.1);padding-top:14px;font-size:13.5px}
