/* Truman Roofing redesign preview: modern commercial theme */
:root {
  --ink: #0c1a13;
  --ink-2: #1b2a22;
  --body: #3d4a43;
  --muted: #69766f;
  --line: rgba(12, 26, 19, .1);
  --line-strong: rgba(12, 26, 19, .18);
  --bg: #ffffff;
  --bg-soft: #f5f7f5;
  --bg-tint: #eef4f0;
  --brand: #003300;
  --brand-900: #06180f;
  --brand-800: #0a2417;
  --brand-700: #0f3a24;
  --accent: #1a7a45;
  --accent-600: #15663a;
  --accent-soft: #e4f3ea;
  --mint: #8fe3b0;
  --red: #c4281c;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 26, 19, .06);
  --shadow: 0 1px 2px rgba(12, 26, 19, .05), 0 12px 32px -12px rgba(12, 26, 19, .18);
  --shadow-lg: 0 2px 4px rgba(12, 26, 19, .06), 0 30px 60px -20px rgba(12, 26, 19, .35);
  --head: 'Manrope', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --text: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--accent-600); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--mint); color: var(--ink); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bg); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Utility bar */
.utility-bar { background: var(--brand-900); color: #a9bdb0; font-size: 13.5px; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.utility-bar a { color: #fff; text-decoration: none; font-weight: 500; white-space: nowrap; }
.utility-bar a:hover { color: var(--mint); }
.utility-links { display: flex; gap: 22px; align-items: center; }
.utility-leak { color: #ffc9c4 !important; }
.utility-leak::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff5a4e; margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(255, 90, 78, .25); }
.utility-phone { font-weight: 700 !important; }
@media (max-width: 719px) { .utility-area, .utility-links a:first-child { display: none; } .utility-inner { justify-content: center; } }

/* Header */
.site-header { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; color: var(--brand); }
.wordmark { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 31px; letter-spacing: .02em; text-transform: uppercase; border-top: 3px solid currentColor; padding-top: 3px; }
.wordmark-sub { font-family: var(--head); font-weight: 700; font-size: 11.5px; letter-spacing: .55em; text-transform: uppercase; margin-top: 5px; }
.brand.on-dark { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; white-space: nowrap; }
.site-nav > ul > li > a { display: block; padding: 9px 13px; border-radius: 99px; transition: background .2s var(--ease), color .2s var(--ease); }
.site-nav > ul > li > a:hover { background: var(--bg-soft); color: var(--ink); }
.site-nav > ul > li > a.active { background: var(--accent-soft); color: var(--accent-600); }
.has-menu { position: relative; display: flex; align-items: center; }
.submenu-toggle { width: 22px; height: 30px; border: 0; background: none; cursor: pointer; margin-left: -8px; }
.submenu-toggle::before { content: ''; display: block; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: -4px auto 0; }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.submenu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.submenu a { display: block; padding: 10px 14px; border-radius: 12px; font-weight: 500; }
.submenu a:hover { background: var(--bg-soft); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; }
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 99px; background: #fff; cursor: pointer; }
  .nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; content: ''; }
  .nav-toggle span:first-child::before { position: absolute; top: -6px; }
  .nav-toggle span:first-child::after { position: absolute; top: 6px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; max-height: calc(100vh - 120px); overflow: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav > ul > li > a { border-radius: 12px; padding: 12px 14px; }
  .has-menu { flex-wrap: wrap; }
  .has-menu > a { flex: 1; }
  .submenu-toggle { width: 44px; height: 44px; margin: 0; }
  .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-menu.open .submenu { display: block; }
  .nav-cta { text-align: center; }
  .wordmark { font-size: 27px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 15.5px/1.2 var(--head); letter-spacing: -.005em; text-decoration: none; padding: 15px 24px; border-radius: 99px; border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(26, 122, 69, .55); }
.btn-accent:hover { background: var(--accent-600); color: #fff; box-shadow: 0 12px 26px -10px rgba(26, 122, 69, .6); }
.btn-accent::after, .btn-outline::after { content: '\2192'; font-weight: 500; transition: transform .2s var(--ease); }
.btn-accent:hover::after, .btn-outline:hover::after { transform: translateX(3px); }
.btn-green { background: var(--brand); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.nav-cta { padding: 11px 20px; font-size: 14.5px; color: #fff !important; }
.nav-cta::after { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-soft); }
.section-green { background: var(--brand-900); color: #b9cbbf; position: relative; overflow: hidden; }
.section-green::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(143, 227, 176, .12), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(26, 122, 69, .25), transparent 70%); pointer-events: none; }
.section-green .wrap { position: relative; }
.section-green h2, .section-green h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-dark { color: var(--mint); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--muted); }

/* Hero */
.hero { position: relative; background: var(--brand-900); color: #c4d6ca; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 15% 30%, rgba(6, 24, 15, .97) 0%, rgba(6, 24, 15, .85) 50%, rgba(6, 24, 15, .45) 100%), linear-gradient(180deg, transparent 60%, rgba(6, 24, 15, .9)); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 140px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #8fe3b0, #c9f2d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.16rem; max-width: 600px; color: #c4d6ca; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 10px; }
.hero-points li { padding-left: 32px; position: relative; color: #eef5f0; font-weight: 500; }
.hero-points li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(143, 227, 176, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%238fe3b0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero .lead-form { box-shadow: var(--shadow-lg); border: 0; }
.page-hero { background: var(--brand-900); color: #c4d6ca; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 90% at 100% 0%, rgba(143, 227, 176, .14), transparent 60%), radial-gradient(40% 70% at 0% 100%, rgba(26, 122, 69, .3), transparent 70%); }
.page-hero::after { content: ''; position: absolute; right: -40px; bottom: -30px; width: 560px; height: 260px; z-index: -1; background: url('/assets/img/ridge.svg') no-repeat right bottom / contain; opacity: .45; }
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.page-hero .lede { color: #b9cbbf; max-width: 760px; }
.crumbs { font-size: 13.5px; margin-bottom: 18px; color: #8fa898; }
.crumbs a { color: #c4d6ca; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.hero-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .hero-grid, .hero-split { grid-template-columns: 1fr; } .hero-grid { padding-top: 56px; padding-bottom: 120px; } }

/* Forms */
.lead-form { background: #fff; color: var(--body); border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { font: 800 1.4rem/1.2 var(--head); letter-spacing: -.02em; color: var(--ink); margin: 0 0 2px; }
.lead-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.lead-form input, .lead-form select, .lead-form textarea { font: 15.5px/1.4 var(--text); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; width: 100%; background: var(--bg-soft); color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.lead-form input:hover, .lead-form select:hover, .lead-form textarea:hover { border-color: rgba(12, 26, 19, .3); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--accent); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(26, 122, 69, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .lead-form { padding: 22px; } }
.lead-form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.form-status { display: block; color: var(--accent-600); font-weight: 600; }

/* Credentials panel, overlapping the hero */
.cred-bar { position: relative; z-index: 2; margin-top: -84px; }
.cred-list { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.cred-list li { display: flex; gap: 12px; align-items: center; font: 700 14px/1.3 var(--head); color: var(--ink); padding: 18px 16px; }
.cred-list li + li { border-left: 1px solid var(--line); }
.cred-list svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.cred-list small { display: block; font: 500 12.5px/1.35 var(--text); color: var(--muted); margin-top: 2px; }
@media (max-width: 1100px) { .cred-list { grid-template-columns: repeat(3, 1fr); } .cred-list li:nth-child(4) { border-left: 0; } .cred-list li:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .cred-list { grid-template-columns: 1fr 1fr; } .cred-list li { border-left: 0 !important; border-top: 1px solid var(--line); } .cred-list li:nth-child(-n+2) { border-top: 0; } .cred-list li:nth-child(even) { border-left: 1px solid var(--line) !important; } }

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 2px; }
.card p { margin: 0; font-size: 15.5px; }
.card .more { margin-top: auto; padding-top: 18px; font: 700 14.5px/1 var(--head); text-decoration: none; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.card .more::after { content: '\2192'; transition: transform .2s var(--ease); }
.card-link { text-decoration: none; color: inherit; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.card-link:hover { border-color: rgba(26, 122, 69, .35); box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.card-link:hover .more::after { transform: translateX(4px); }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.icon-badge svg { width: 24px; height: 24px; }
.section-green .card, .section-green .tier { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #b9cbbf; box-shadow: none; }
.audience-card { position: relative; overflow: hidden; }
.audience-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--mint)); opacity: 0; transition: opacity .25s var(--ease); }
.audience-card:hover::before { opacity: 1; }
.system-card { padding: 26px; }
.system-card .tag { align-self: flex-start; font: 700 11px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); background: var(--accent-soft); padding: 6px 10px; border-radius: 99px; margin-bottom: 8px; }

/* Maintenance tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; color: var(--body); box-shadow: var(--shadow-sm); }
.tier.featured { border: 1.5px solid var(--accent); position: relative; box-shadow: var(--shadow-lg); }
.tier.featured::before { content: 'Recommended'; position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font: 700 11.5px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; }
.section-green .tier.featured { border-color: var(--mint); background: rgba(143, 227, 176, .08); }
.section-green .tier.featured::before { background: var(--mint); color: var(--brand-900); }
.tier h3 { color: var(--ink); font-size: 1.45rem; letter-spacing: -.02em; }
.section-green .tier h3 { color: #fff; }
.tier .tier-for { color: var(--muted); font-size: 15px; margin: 0; }
.section-green .tier .tier-for { color: #a9bdb0; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.tier li { padding-left: 28px; position: relative; font-size: 15.5px; }
.tier li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231a7a45' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.tier .btn { margin-top: auto; }

/* Projects */
.project-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.photo-slot { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e8efea, #f5f8f6); display: grid; place-items: center; color: var(--muted); font-size: 13.5px; font-weight: 600; text-align: center; position: relative; border-radius: inherit; }
.photo-slot svg { width: 40px; height: 40px; margin: 0 auto 8px; color: #9fb3a6; }
.photo-slot.tall { aspect-ratio: 4 / 3; border-radius: 14px; }
.project-body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.project-body .more { font: 700 14.5px/1 var(--head); text-decoration: none; }
.project-body .more::after { content: ' \2192'; }
.project-body p { margin: 0; font-size: 15.5px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; font-weight: 600; background: var(--bg-soft); color: var(--ink-2); padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--ink); font-weight: 600; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow-sm); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 800 13px/1 var(--head); letter-spacing: .08em; color: var(--accent); margin-bottom: 18px; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: 14.5px; margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.section-green .steps li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-green .steps li::before { color: var(--mint); }
.section-green .steps p { color: #a9bdb0; }

/* Testimonials */
.quote-slot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; color: var(--muted); box-shadow: var(--shadow-sm); }
.quote-slot .q-mark { font: 800 56px/0.6 var(--serif); color: var(--accent); height: 22px; }
.quote-slot strong { color: var(--ink); }
.quote-slot p:last-child { font-size: 14px; margin: 0; }

/* Split + media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.figure img { border-radius: 12px; }
.figure figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231a7a45' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.check-list.on-dark li { color: #dce8e0; }
.check-list.on-dark li::before { background-color: rgba(143, 227, 176, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%238fe3b0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Map */
.map-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow); }
.map-wrap svg { border-radius: 16px; }
.map-wrap a text { fill: var(--brand-700); font: 600 13px var(--text); }
.map-wrap a:hover text { fill: var(--accent); text-decoration: underline; }
.city-list { columns: 3; column-gap: 28px; padding: 0; list-style: none; margin: 0; }
.city-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.city-list a { text-decoration: none; font-weight: 600; }
@media (max-width: 620px) { .city-list { columns: 2; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { cursor: pointer; font: 700 1.05rem/1.4 var(--head); color: var(--ink); padding: 20px 40px 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%230c1a13' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--body); }

/* Tables */
.compare { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-soft); color: var(--ink); font: 700 13px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.compare tbody th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.callout { background: var(--bg-tint); border: 1px solid rgba(26, 122, 69, .18); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.callout.warn { background: #fdf1ef; border-color: rgba(196, 40, 28, .2); }
.callout p:last-child { margin: 0; }
.aside-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.aside-layout aside { position: sticky; top: 104px; display: grid; gap: 18px; }
@media (max-width: 980px) { .aside-layout { grid-template-columns: 1fr; } .aside-layout aside { position: static; } }

/* Stat tiles */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact-strip div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fact-strip strong { display: block; font: 800 2.1rem/1.05 var(--head); letter-spacing: -.03em; color: var(--ink); margin-bottom: 4px; }
.fact-strip span { font-size: 13.5px; color: var(--muted); }
.page-hero .fact-strip div { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.page-hero .fact-strip strong { color: #fff; }
.page-hero .fact-strip span { color: #a9bdb0; }
.page-hero .card { background: rgba(255, 255, 255, .05) !important; }
@media (max-width: 760px) { .fact-strip { grid-template-columns: 1fr 1fr; } }

/* Leak page */
.leak-hero { background: #3a0905; }
.leak-hero::before { background: radial-gradient(60% 90% at 100% 0%, rgba(255, 90, 78, .25), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(196, 40, 28, .35), transparent 70%); }
.leak-hero::after { display: none; }
.big-phone { font: 800 clamp(2rem, 4vw, 2.8rem)/1.1 var(--head); letter-spacing: -.03em; color: #fff; text-decoration: none; }

/* Closing CTA */
.closing-cta { padding: clamp(72px, 9vw, 112px) 0; background: var(--bg); }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: var(--brand-900); color: #b9cbbf; border-radius: 36px; padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.closing-grid::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 0% 0%, rgba(143, 227, 176, .14), transparent 60%), url('/assets/img/ridge.svg') no-repeat left -60px bottom -40px / 560px auto; }
.closing-cta h2 { color: #fff; }
.cta-phone { font-size: 1.05rem; color: #fff; margin: 0; }
.cta-phone a { color: var(--mint); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .closing-grid { grid-template-columns: 1fr; border-radius: 24px; } }
@media (max-width: 719px) { .closing-cta .wrap { padding: 0 12px; } }

/* Footer */
.site-footer { background: var(--brand-900); color: #93a99b; font-size: 14.5px; padding: 72px 0 0; }
.site-footer a { color: #d6e2da; text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-head { font: 700 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { max-width: 360px; }
.footer-nap { color: #d6e2da; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 52px; padding-top: 20px; padding-bottom: 92px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .footer-legal { padding-bottom: 28px; } }

/* Mobile sticky bar */
.mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 99px; box-shadow: var(--shadow-lg); }
.mobile-bar a { text-align: center; padding: 12px 6px; font: 700 14px/1.2 var(--head); text-decoration: none; color: var(--ink); border-radius: 99px; }
.mobile-bar .mobile-bar-main { background: var(--accent); color: #fff; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Building-type cards */
.type-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.type-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease); }
.type-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(26, 122, 69, .35); color: inherit; }
.type-card:hover img { transform: scale(1.04); }
.type-body { padding: 22px 24px 26px; display: grid; gap: 8px; position: relative; background: #fff; }
.type-body .tag { justify-self: start; font: 700 11px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); background: var(--accent-soft); padding: 6px 10px; border-radius: 99px; }
.type-body h3 { margin: 0; }
.type-body p { margin: 0; font-size: 15.5px; }

/* Promises */
.promise { padding: 30px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.promise-num { display: block; font: 800 44px/1 var(--head); letter-spacing: -.04em; background: linear-gradient(135deg, var(--accent), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.promise p { margin: 0; font-size: 15.5px; }

/* Team avatars */
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--head); letter-spacing: -.02em; color: #fff; background: linear-gradient(135deg, var(--brand-700), var(--accent)); margin-bottom: 14px; }
.figure img[src*="report-sample"] { max-width: min(420px, 100%); margin: 0 auto; box-shadow: var(--shadow); border-radius: 18px; }
/* Articles */
.byline { font-size: 14px; color: #a9bdb0; margin-top: -4px; }
.prose dl { margin: 0 0 1.5em; }
.prose dt { font: 700 1.02rem/1.35 var(--head); color: var(--ink); margin-top: 18px; }
.prose dd { margin: 4px 0 0; color: var(--body); }
.prose h2 + dl dt:first-child { margin-top: 6px; }
.prose table { width: 100%; }
.card-link .eyebrow { margin-bottom: 8px; }
/* Keep wide tables and long content inside the column on small screens */
.split > *, .aside-layout > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .hero-split > *, .hero-grid > *, .closing-grid > * { min-width: 0; }
.prose table:not(.compare) { display: block; overflow-x: auto; border-collapse: collapse; }
.prose > table.compare, .prose > .compare { display: block; overflow-x: auto; }
.prose table:not(.compare) th, .prose table:not(.compare) td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose table:not(.compare) thead th { background: var(--bg-soft); font: 700 13px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 980px) { .aside-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: minmax(0, 1fr); } }
.prose pre, .prose code { white-space: pre-wrap; word-break: break-word; }
:not(.table-scroll) > table.compare { display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* Live forms: honeypot field and sending state */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button:disabled { opacity: .65; cursor: wait; transform: none; }
