/* A.C.E Roofing, "Heritage Original" design (2026). One stylesheet, no framework. */

:root {
  --ink: #1c1a17;
  --ink-2: #26231f;
  --ink-3: #3a3631;
  --paper: #f5f2eb;
  --card: #ffffff;
  --line: #e3ddd2;
  --line-dark: #3a3631;
  --muted: #5f5950;
  --muted-dark: #b9b2a7;
  --yellow: #f4b92c;
  --yellow-dark: #d99f14;
  --rust: #a83d25;
  --rust-dark: #963521;
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1160px;
  --gutter: 20px;
  --head: 'Bricolage Grotesque', 'Arial Narrow', Arial, sans-serif;
  --body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 1px 2px rgba(28, 26, 23, .06), 0 8px 24px rgba(28, 26, 23, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { 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(--yellow); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 40px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: var(--radius-sm);
  font: 700 15px/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-dark { background: var(--ink); color: var(--yellow); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--yellow); }
.btn-white { background: #fff; color: var(--rust); font-family: var(--head); font-size: 20px; font-weight: 800; }
.btn-white:hover { background: var(--paper); }
.btn-block { width: 100%; }
.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
.link:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #e9e4db; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar .hours { color: var(--yellow); font-weight: 600; }
.topbar a { text-decoration: none; display: inline-block; padding: 4px 0; }
.topbar .tb-left { display: flex; gap: 18px; }
@media (max-width: 767px) { .topbar .tb-area { display: none; } .topbar .wrap { justify-content: center; } .topbar .tb-right { display: none; } }

.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand-name { font: 800 19px/1.1 var(--head); letter-spacing: -.01em; }
.brand-sub { display: block; font: 600 11px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button { background: none; border: 0; padding: 10px 12px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border-radius: var(--radius-sm); }
.nav > a:hover, .nav-drop > button:hover, .nav a[aria-current="page"] { background: rgba(28, 26, 23, .06); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-panel {
  position: absolute; left: -12px; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; display: none; z-index: 50;
  grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 2px; min-width: 380px;
}
.nav-panel.wide { grid-template-columns: repeat(3, minmax(140px, 1fr)); min-width: 480px; }
/* Invisible bridge over the 6px gap, so moving the mouse from the button to the panel keeps it open. */
.nav-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel, .nav-drop.open .nav-panel { display: grid; }
.nav-panel a { padding: 8px 10px; border-radius: var(--radius-sm); text-decoration: none; font-size: 14px; }
.nav-panel a:hover { background: var(--paper); }
.nav-panel .all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; }
.head-call { text-align: right; text-decoration: none; line-height: 1.15; }
.head-call small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.head-call strong { font: 800 22px/1.1 var(--head); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1179px) {
  .head-call, .header .btn-quote { display: none; }
}
.nav > a, .nav-drop > button, .brand-name, .head-call strong, .btn { white-space: nowrap; }
@media (max-width: 899px) {
  .header .wrap { min-height: 64px; }
  .brand img { width: 44px; height: 44px; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px;
    max-height: calc(100vh - 64px); overflow-y: auto; box-shadow: var(--shadow);
  }
  .menu-open .nav { display: flex; padding-bottom: 96px; }
  .menu-open .callbar { display: none; }
  .nav > a, .nav-drop > button { width: 100%; text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .nav-drop > button { display: flex; justify-content: space-between; align-items: center; }
  .nav-panel, .nav-panel.wide { position: static; display: none; box-shadow: none; border: 0; min-width: 0; grid-template-columns: 1fr 1fr; padding: 6px 0 10px; background: transparent; }
  .nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel { display: none; }
  .nav-drop.open .nav-panel { display: grid; }
  .nav-panel::before { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 18, 16, .92) 0%, rgba(20, 18, 16, .78) 45%, rgba(20, 18, 16, .55) 100%); }
.hero .wrap { position: relative; display: grid; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1fr 380px; align-items: center; padding-top: 72px; padding-bottom: 64px; } }
.pill { display: inline-block; border: 1px solid rgba(244, 185, 44, .55); color: var(--yellow); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.hero-lead { font-size: 18px; color: #e6e1d8; max-width: 520px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); }
.stat strong { display: block; font: 800 30px/1 var(--head); color: var(--yellow); }
.stat span { font-size: 13px; color: #d8d2c7; }
.stats img { width: 56px; height: auto; background: #fff; border-radius: 4px; padding: 3px; }

/* ---------- Quote form ---------- */
.quote-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.quote-card h2 { font-size: 24px; margin-bottom: 4px; }
.quote-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; background: #fff; border: 1px solid #d3ccbf; border-radius: var(--radius-sm);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(244, 185, 44, .45); }
.field-row { display: grid; gap: 10px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field { margin-bottom: 0; } .field-row { margin-bottom: 10px; } }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form-note a { color: inherit; }
.form-msg { display: none; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; margin-bottom: 12px; }
.form-msg.ok { background: #e3f1e2; color: #1d4d1b; }
.form-msg.err { background: #f8e1dc; color: #7a2413; }
.cf-turnstile { margin: 6px 0 10px; min-height: 0; }
.btn-loading { opacity: .65; pointer-events: none; }

/* ---------- "Really us" strip ---------- */
.really { background: var(--yellow); color: var(--ink); }
.really .wrap { display: grid; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; align-items: center; }
@media (min-width: 900px) { .really .wrap { grid-template-columns: auto 1fr 1fr 1.4fr 1.2fr auto; } }
.really h2 { font-size: 19px; margin: 0; line-height: 1.15; }
.really .chk { font-size: 13.5px; font-weight: 600; line-height: 1.35; padding-left: 20px; position: relative; }
.really .chk::before { content: ''; position: absolute; left: 2px; top: 3px; width: 6px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.really a.link { border-color: var(--ink); font-size: 14px; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin-bottom: 8px; }
.sec-head { display: grid; gap: 12px 40px; margin-bottom: 32px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 42px); margin: 0; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head.row { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; }

.grid-3 { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc picture, .svc img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; background: #ddd6ca; }
.svc-body { padding: 18px 20px 20px; }
.svc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.svc h3 { font-size: 20px; margin: 0; }
.tag { background: var(--yellow); font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.svc p { font-size: 14.5px; color: var(--muted); margin: 0; }
.also { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.also a { color: var(--ink); }

/* ---------- Leak band ---------- */
.leak { background: var(--rust); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .leak { grid-template-columns: 1fr auto; padding: 32px 36px; } }
.leak .eyebrow { color: #fff; opacity: .92; }
.leak h2 { font-size: clamp(24px, 3vw, 31px); margin-bottom: 6px; }
.leak p { margin: 0; color: #fff; font-size: 15px; }

/* ---------- Heritage split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split-media { position: relative; }
.split-media picture img, .split-media > img { border-radius: var(--radius); aspect-ratio: 6 / 5; object-fit: cover; width: 100%; }
.badge-1976 { position: absolute; left: -12px; bottom: 28px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); padding: 16px 20px; max-width: 290px; }
.badge-1976 strong { font: 800 38px/1 var(--head); color: var(--yellow); display: block; margin-bottom: 6px; }
.badge-1976 span { font-size: 13px; color: #ddd7cd; }
@media (max-width: 599px) { .badge-1976 { position: static; margin-top: -30px; margin-left: 12px; margin-right: 12px; } }
.split h2 { font-size: clamp(30px, 4vw, 40px); }
.split p { color: #3d3933; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 26px; }
.facts div { border-top: 2px solid var(--ink-3); padding: 12px 0 16px; }
.facts strong { display: block; font-size: 15px; }
.facts span { font-size: 13px; color: var(--muted); }

/* ---------- Reviews ---------- */
.dark { background: var(--ink); color: #fff; }
.dark .sec-head p, .dark .muted { color: var(--muted-dark); }
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 18px; }
.rv-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.rv-head h2 { font-size: clamp(30px, 4.4vw, 42px); margin: 0; }
.rv-head .rating { font-size: 14px; color: var(--muted-dark); display: flex; gap: 10px; align-items: center; }
.rv-head .rating a { color: #fff; }
.review { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; }
.review blockquote { margin: 10px 0 14px; font-size: 16px; line-height: 1.55; }
.review blockquote p { margin: 0; }
.review blockquote strong { font-weight: 600; }
.review cite { font-style: normal; font-weight: 700; font-size: 14px; }
.review cite span { display: block; font-weight: 400; color: var(--muted-dark); font-size: 13px; }

/* ---------- Jobs mosaic ---------- */
.jobs { display: grid; gap: 14px; }
@media (min-width: 760px) { .jobs { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; } .jobs .job:first-child { grid-row: span 2; } }
.job { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: #3a3631; min-height: 210px; display: block; }
.job picture, .job img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.job:hover img { transform: scale(1.04); }
.job::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .78) 100%); }
.job-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.job-cap small { display: block; color: var(--yellow); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.job-cap strong { font: 800 18px/1.2 var(--head); }
.jobs .job:first-child .job-cap strong { font-size: 24px; }

/* ---------- Areas ---------- */
.areas { display: grid; gap: 28px; }
@media (min-width: 900px) { .areas { grid-template-columns: 1fr 2fr; gap: 48px; } }
.areas h2 { font-size: clamp(28px, 4vw, 38px); }
.areas p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.chip { border: 1px solid #cfc8bb; background: #fff; border-radius: 999px; padding: 7px 15px; font-size: 14px; font-weight: 600; text-decoration: none; }
.chip:hover, .chip[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--yellow); }

/* ---------- CTA band ---------- */
.cta { background: var(--yellow); }
.cta .wrap { display: grid; gap: 20px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
@media (min-width: 860px) { .cta .wrap { grid-template-columns: 1fr auto; } }
.cta h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 6px; }
.cta p { margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d6d0c5; font-size: 14px; padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer img.logo { width: 64px; height: 64px; margin-bottom: 14px; }
.footer h3 { font: 700 15px/1.2 var(--body); color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer a { text-decoration: none; display: inline-block; padding: 3px 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .phone { font: 800 22px/1.2 var(--head); color: var(--yellow); }
.footer address { font-style: normal; }
.footer-legal { border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12.5px; color: #9c958a; }
.footer-legal a { color: #9c958a; }
.footer .tm { width: 90px; background: #fff; border-radius: 4px; padding: 4px; margin-top: 16px; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 767px) {
  .callbar { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--ink); padding: 10px 84px calc(10px + env(safe-area-inset-bottom)) 12px; }
  /* right padding keeps both buttons clear of the chat launcher */
  .callbar .btn { min-height: 46px; font-size: 14px; padding: 10px 8px; white-space: nowrap; }
  .callbar .btn-ghost { border-color: #58524a; }
  body { padding-bottom: 72px; }
  body.has-consent-open .callbar { display: none; }
}

/* ---------- Inner pages ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden; }
.page-hero.has-img::before { content: ''; position: absolute; inset: 0; background: var(--hero-img) center / cover no-repeat; opacity: .28; }
.page-hero .wrap { position: relative; }
.crumbs { font-size: 13px; color: var(--muted-dark); margin-bottom: 14px; }
.crumbs a { color: #e6e1d8; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; opacity: .6; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 54px); margin: 0 0 10px; max-width: 820px; }
.page-hero p { color: #ddd7cd; max-width: 640px; margin: 0; font-size: 17px; }

.layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } }
.aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 960px) { .aside { position: sticky; top: 100px; } }
.aside-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-box h2 { font-size: 20px; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14.5px; }
.aside-box li:last-child a { border-bottom: 0; }
.aside-box li a[aria-current="page"] { font-weight: 800; }
.aside-box li a[aria-current="page"]::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; margin-right: 8px; }
.aside-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.aside-dark .big { font: 800 26px/1.1 var(--head); color: var(--yellow); text-decoration: none; display: block; margin: 6px 0 4px; }
.aside-dark p { color: var(--muted-dark); font-size: 14px; }

/* CMS body copy */
.prose { font-size: 17px; line-height: 1.7; color: #2f2b26; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 1.4em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 1.3em 0 .4em; color: var(--ink); }
.prose h4, .prose h5 { font-size: 18px; margin: 1.2em 0 .4em; }
.prose p { margin: 0 0 1.05em; }
.prose a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 6px; }
.prose ul li::before { content: ''; position: absolute; left: 3px; top: 8px; width: 6px; height: 11px; border-right: 2px solid var(--rust); border-bottom: 2px solid var(--rust); transform: rotate(45deg); }
.prose ol { padding-left: 22px; }
.prose img { border-radius: var(--radius); height: auto; margin: 1em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose blockquote { border-left: 3px solid var(--yellow); margin: 1em 0; padding-left: 16px; }
.lead-img { border-radius: var(--radius); margin: 0 0 28px; }
.lead-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-weight: 600; }
.checks li::before { content: ''; position: absolute; left: 4px; top: 4px; width: 7px; height: 12px; border-right: 2.5px solid var(--rust); border-bottom: 2.5px solid var(--rust); transform: rotate(45deg); }

.why { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why strong { display: block; font: 800 18px/1.2 var(--head); margin-bottom: 6px; }
.why span { font-size: 14.5px; color: var(--muted); }

/* Gallery */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.work-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-grid .job { min-height: 0; aspect-ratio: 4 / 3; }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; margin: 0; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 700; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(12, 11, 10, .94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 4px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 24px; }
.contact-list small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list address { font-style: normal; font-weight: 700; font-size: 17px; text-decoration: none; }
.contact-list .phone { font: 800 28px/1.1 var(--head); }
.map { border: 0; width: 100%; height: 300px; border-radius: var(--radius); background: #ddd6ca; }

/* Copycat page */
.id-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; }
.id-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; margin: 0; }
.id-card dt { color: var(--muted-dark); font-size: 14px; }
.id-card dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.id-card dd a { color: var(--yellow); }

.notfound { text-align: center; padding: 96px 0; }
.notfound h1 { font-size: clamp(40px, 7vw, 72px); }
.quote-mark { font: 800 54px/0.6 var(--head); color: var(--yellow); height: 24px; }
@media (max-width: 767px) { .section { padding: 48px 0; } .page-hero { padding: 32px 0 30px; } }
