/* CornerWood Roofing LLC: high-contrast black and white with safety orange as the only colour; centred logo with
   the navigation below, a narrow document-like column, monospace labels and prices with a sans body, price tables
   on soft-shadow cards with no borders, shingle-course divider */
@font-face {
  font-family: "Press Mono";
  src: url("fonts/press-mono-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Press Mono";
  src: url("fonts/press-mono-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #111111;
  --white: #ffffff;
  --orange: #f05a1c;
  --orange-text: #c2410c;
  --grey: #f2f2f2;
  --muted: #555555;
  --rule: #e4e4e4;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.10), 0 2px 6px rgba(17, 17, 17, 0.06);
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --mono: "Press Mono", "Consolas", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--sans); font-feature-settings: "calt" 0; font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--black); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 3.7rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
p { margin: 0 0 1em; }
address { font-style: normal; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.doc { width: min(780px, 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px;
  background: var(--orange); color: var(--black); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* centred logo, navigation below */
.site-header { background: var(--white); }
.center-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0 14px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--black); text-decoration: none; }
.brand img { width: 84px; height: 84px; }
.brand-name { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.main-nav a { display: block; padding: 6px 14px; color: var(--black); font-family: var(--mono); font-weight: 700; font-size: 0.95rem; text-decoration: none; border-bottom: 3px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--black); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--orange); }

/* black hero, shingle divider */
.hero { background: var(--black); color: var(--white); padding: 52px 0 48px; }
.hero h1 { color: var(--white); }
.label { margin: 0 0 14px; color: var(--orange); font-size: 0.85rem; font-weight: 700; }
.lede { color: #d9d9d9; font-size: 1.12rem; }
.shingles { height: 20px; background: var(--grey) url("assets/motif-shingles.svg") 0 0 / 40px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.btn { display: inline-block; padding: 11px 22px; font-family: var(--mono); font-weight: 700; text-decoration: none; box-shadow: var(--shadow); }
.btn-orange { background: var(--orange); color: var(--black); }
.btn-orange:hover { background: var(--white); color: var(--black); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--orange); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--orange); color: var(--black); }

/* narrow column with soft-shadow cards */
.body-col { display: grid; gap: 44px; padding: 40px 0 64px; }
.card { background: var(--white); box-shadow: var(--shadow); border-radius: 0; }
.hero-art { width: 100%; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cat { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; color: var(--black); text-decoration: none; }
.cat:hover strong { color: var(--orange-text); }
.cat img { width: 48px; height: 48px; flex: none; }
.cat strong { display: block; }
.cat .mono { color: var(--muted); font-size: 0.78rem; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--black); }
.ruled li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.ruled strong { color: var(--black); }
.spot { padding: 28px; border-top: 6px solid var(--orange); }
.spot p { color: var(--muted); }
.kicker { margin: 0 0 6px; color: var(--orange-text) !important; font-size: 0.82rem; font-weight: 700; }
.amount { font-size: 1.6rem; font-weight: 700; color: var(--black) !important; }

/* price tables */
.jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.jump a { font-weight: 700; font-size: 0.85rem; }
.table-card { padding: 24px 26px; scroll-margin-top: 14px; }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cat-head img { width: 46px; height: 46px; }
.cat-head h2 { margin: 0; font-family: var(--mono); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); letter-spacing: 0.02em; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { text-align: left; padding: 8px 0; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); border-bottom: 3px solid var(--black); }
.price-table thead th:last-child { text-align: right; }
.price-table tbody th, .price-table tbody td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.price-table tbody th { font-weight: 400; padding-right: 18px; }
.item-name { display: block; font-weight: 600; }
.item-desc { display: block; color: var(--muted); font-size: 0.93rem; }
.price-table .price { text-align: right; white-space: nowrap; font-weight: 700; }
.price-table td.price.mono { font-size: 1.05rem; }
.price-table td.price.quote { white-space: normal; min-width: 9em; font-weight: 600; line-height: 1.35; color: var(--orange-text); }
.price-table td.price.quote a { display: block; margin-top: 4px; color: var(--black); font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; }
#featured .btn-row { margin-top: 18px; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--black); font-size: 1.3rem; line-height: 1.5; }
.card h2 { margin-bottom: 10px; }
section.card { padding: 26px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--mono); color: var(--orange-text); font-size: 0.82rem; font-weight: 700; padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 600; font-size: 1.6rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 6px 0; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); border-bottom: 3px solid var(--black); }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.hours tbody th { padding-right: 14px; font-weight: 600; }
.hours td { font-family: var(--mono); white-space: nowrap; }
.hours td.closed { color: var(--muted); }
.hours .note { display: block; font-family: var(--sans); white-space: normal; color: var(--muted); font-size: 0.88rem; }
.note-line { margin: 16px 0 0; padding: 10px 14px; background: var(--black); color: var(--white); }
.map-frame { display: block; width: 100%; height: 380px; border: 0; }
.map-link { margin: 14px 0 0; }

/* footer */
.site-footer { background: var(--black); color: #cfcfcf; padding: 40px 0 24px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 24px; }
.footer-name { font-weight: 600; font-size: 1.2rem; color: var(--white); margin-bottom: 6px; }
.footer-title { color: var(--orange); font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid #333; font-size: 0.86rem; }

@media (max-width: 700px) {
  .hero { padding: 40px 0 36px; }
  .cat-list, .footer-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .table-card { padding: 18px; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tbody tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .price-table tbody th, .price-table tbody td { padding: 0; border: 0; }
  .price-table .price { text-align: left; margin-top: 4px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .main-nav, .main-nav ul { width: 100%; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .main-nav a { text-align: center; }
  .map-frame { height: 300px; }
}
.label, .facts dt, .jump a, .kicker, .footer-title { text-transform: uppercase; }
