/* Champion Contracting site styles (bright redesign, 11-22-2026).
   White and Paper backgrounds, navy for text and the header and footer accents, gold as the one
   call-to-action color, real job photos. Colors and type come from brand.md.
   The site stays light on every device: no dark-mode switch, by design. */
:root {
  --navy: #2D3E50;
  --navy-deep: #22303E;
  --ink: #17212B;
  --muted: #4F5D6B;
  --gold: #F2BC1B;
  --gold-hover: #FFCB32;
  --sky: #4AABDE;
  --sky-tint: #EAF4FB;
  --blue: #3F72B3;
  --paper: #F6F8FA;
  --card: #FFFFFF;
  --line: #D9E0E7;
  --on-navy: rgba(255, 255, 255, 0.9);
  --on-navy-muted: rgba(255, 255, 255, 0.7);
  --ok: #1E7A4C;
  --err: #B3261E;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", Arial, Helvetica, sans-serif;
  --wrap: 1160px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(23, 33, 43, 0.06), 0 8px 24px rgba(23, 33, 43, 0.06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--card); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: 0.005em; color: var(--navy); }
h1 { font-size: clamp(40px, 6vw, 60px); }
h2 { font-size: clamp(30px, 4vw, 40px); }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--display); font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue);
}
.lead { font-size: 20px; color: var(--muted); max-width: 62ch; }
.prose { max-width: 68ch; display: grid; gap: 16px; }
.prose h2 { margin-top: 24px; font-size: 30px; }
.prose h3 { margin-top: 12px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--gold); color: var(--ink); padding: 8px 12px; }
.text-link { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px; }

/* Top strip and header */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; padding-block: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .lbi { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--card); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-block: 10px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 46px; height: 46px; background: #fff; border-radius: 50%; }
.brand span { display: grid; line-height: 1; }
.brand b { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: 0.04em; }
.brand small { font-family: var(--display); font-size: 12.5px; font-weight: 600; letter-spacing: 0.26em; color: var(--muted); margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius);
}
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 17px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 14px; color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--card);
  border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(23, 33, 43, 0.12);
  display: grid; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
}
.menu-panel a { padding: 11px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 20px; font-weight: 600; }
.menu-panel a[aria-current="page"]:not(.btn) { color: var(--blue); }
.menu-panel .btn { margin-top: 12px; border-bottom: 0; }
@media (max-width: 960px) { .nav { display: none; } .menu { display: block; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 13px 22px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--paper); }
.nav .btn { margin-left: 10px; font-size: 16px; padding: 10px 16px; color: var(--ink); }
.nav .btn:hover { background: var(--gold-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Home hero: a full-width photo of our crew on the roof */
.photo-hero { position: relative; isolation: isolate; color: #fff; min-height: min(78vh, 640px); display: grid; align-items: end; overflow: hidden; background: var(--navy); }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.photo-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(23, 33, 43, 0.82) 0%, rgba(23, 33, 43, 0.6) 42%, rgba(23, 33, 43, 0.08) 75%),
              linear-gradient(0deg, rgba(23, 33, 43, 0.45) 0%, rgba(23, 33, 43, 0) 45%);
}
.photo-hero .wrap { width: 100%; padding-block: 96px 64px; display: grid; gap: 20px; }
.photo-hero h1 { color: #fff; max-width: 16ch; }
.photo-hero .eyebrow { color: var(--gold); }
.photo-hero .lead { color: rgba(255, 255, 255, 0.92); max-width: 52ch; }
.photo-hero .btn-line { border-color: #fff; color: #fff; }
.photo-hero .btn-line:hover { background: rgba(255, 255, 255, 0.14); }
.photo-hero .caption { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 720px) {
  .photo-hero { min-height: 0; }
  .photo-hero::before { background: linear-gradient(0deg, rgba(23, 33, 43, 0.88) 0%, rgba(23, 33, 43, 0.62) 55%, rgba(23, 33, 43, 0.3) 100%); }
  .photo-hero .wrap { padding-block: 140px 40px; }
}
.proof { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 4px; font-size: 15px; }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

/* Inner-page heading band: light, with the logo's ring faint on the right */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 1; padding-block: 56px 52px; display: grid; gap: 16px; }
.page-head h1 { max-width: 22ch; font-size: clamp(38px, 5vw, 54px); }
.ring-art { position: absolute; right: -130px; top: 50%; width: 440px; transform: translateY(-50%); opacity: 0.22; pointer-events: none; }
@media (max-width: 820px) { .ring-art { width: 300px; right: -150px; top: 24px; transform: none; opacity: 0.14; } .page-head .wrap { padding-block: 40px 36px; } }

/* Sections */
.section { padding-block: 72px; }
.section.tint { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 720px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } .section { padding-block: 52px; } }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.sticky { position: sticky; top: 100px; display: grid; gap: 16px; }
@media (max-width: 900px) { .sticky { position: static; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.03em; text-decoration: none; color: var(--navy); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.jump a:hover { border-color: var(--blue); }

/* Service tiles: the arc in the corner is the quadrant of the ring that service owns */
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
}
a.tile:hover { border-color: var(--blue); }
.tile p { color: var(--muted); }
.tile .more { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px; color: var(--blue); margin-top: 4px; }
.tile .arc { width: 44px; height: 44px; }
.tile ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
.tile.photo { padding: 0; }
.tile.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.tile.photo .tile-body { padding: 20px 22px 22px; display: grid; gap: 8px; }

/* Photos */
figure { margin: 0; }
.shot { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { padding: 10px 14px; font-size: 14.5px; color: var(--muted); background: var(--card); border-top: 1px solid var(--line); }
.shot.wide img { aspect-ratio: 16 / 9; }
.shot.tall img { aspect-ratio: 4 / 5; }
.shot.square img { aspect-ratio: 1 / 1; }
.photo-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: pstep; list-style: none; margin: 0; padding: 0; }
.photo-steps li { counter-increment: pstep; }
.photo-steps figcaption::before { content: counter(pstep) ". "; font-family: var(--display); font-weight: 700; color: var(--navy); }
.photo-steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-steps.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 900px) { .photo-steps, .photo-steps.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .photo-steps, .photo-steps.three { grid-template-columns: minmax(0, 1fr); } }

/* Steps: used only where the order is real (claims, how we work) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--gold); display: grid; place-items: center; background: var(--card);
  font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--navy);
}
.steps h3 { font-size: 22px; align-self: center; }
.steps p { color: var(--muted); max-width: 70ch; }

/* Notes and callouts */
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 6px; }
.note strong { font-family: var(--display); font-size: 19px; letter-spacing: 0.02em; color: var(--navy); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--navy); }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Financing */
.finance-wrap { background: var(--sky-tint); border-block: 1px solid #D3E6F3; }
.finance { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.finance-text { display: grid; gap: 12px; }
.finance-action { display: grid; gap: 12px; justify-items: center; }
.finance-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.finance-points li { background: var(--card); border: 1px solid #C9DDEC; border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 600; color: var(--navy); }
.fine { font-size: 13.5px; color: var(--muted); max-width: 80ch; margin-top: 22px; }
@media (max-width: 760px) { .finance { grid-template-columns: minmax(0, 1fr); } .finance-action { justify-items: start; } }

/* Case studies */
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); box-shadow: var(--shadow); }
.case > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center 15%; display: block; }
.case-body { padding: 26px 28px 28px; display: grid; gap: 14px; align-content: start; }
@media (max-width: 860px) { .case { grid-template-columns: minmax(0, 1fr); } .case > img { min-height: 0; aspect-ratio: 16 / 9; } }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; color: var(--muted); background: var(--paper); }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-card { padding: 20px 16px; } }
.form-card fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.form-card legend { font-family: var(--display); font-weight: 700; font-size: 22px; margin-bottom: 4px; padding: 0; color: var(--navy); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 15.5px; }
.req { color: var(--err); }
.hint { font-size: 14px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 11px 12px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74, 171, 222, 0.28); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .row-2, .row-3 { grid-template-columns: minmax(0, 1fr); } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font-weight: 500; cursor: pointer; background: var(--paper); }
.choices input { accent-color: var(--navy); width: 17px; height: 17px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--blue); background: var(--card); }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; text-align: center; background: var(--paper); }
.drop input { justify-self: center; max-width: 100%; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 14px; color: var(--muted); }
.form-error { color: var(--err); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.done { display: grid; gap: 16px; }
.done .check { width: 54px; height: 54px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.done ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.preview-flag { font-size: 14px; border: 1px dashed var(--muted); border-radius: var(--radius); padding: 10px 12px; color: var(--muted); }

/* Contact blocks */
.contact-list { display: grid; gap: 18px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list .k { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-list .v { font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.v:hover { color: var(--blue); }

/* Call to action: a light panel with the gold button */
.cta { background: var(--paper); border-top: 1px solid var(--line); }
.cta .wrap { padding-block: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta .wrap > div:first-child { display: grid; gap: 8px; }
.cta h2 { max-width: 22ch; }
.cta p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); font-size: 15.5px; }
.site-footer .wrap { padding-block: 52px 28px; display: grid; gap: 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h4 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--on-navy-muted); }
.foot-contact { display: grid; gap: 6px; margin-top: 16px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
.foot-base .lbi { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; color: #fff; font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 16px; }
