/* Original Liberty LLC — shared styles
   Seed 7-3-2-2-1-7-7: soft, light framing colours (chalk-line blue, pine lumber, soft brick) with navy text ·
   pale tint of chalk blue as the base · centred hero with a very large headline · humanist sans ·
   centred logo with the nav below · price tables · diagonal dividers shaped as a roof gable ·
   motif: stud-wall framing with staggered blocking */

@font-face { font-family: "Plumb Sans"; src: url("fonts/plumb-sans-var.woff") format("woff"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --sky: #eef4fb;
  --sky-2: #dce8f5;
  --chalk: #9dbbe0;
  --chalk-2: #cfe0f2;
  --pine: #ecd3a2;
  --pine-2: #f8eedb;
  --pine-dark: #c9a46a;
  --brick: #e3a28c;
  --brick-text: #a3472c;
  --navy: #1c2b3f;
  --slate: #47596f;
  --link: #2a5a8f;
  --white: #ffffff;
  --rule: 1px solid #c9d8ea;
  --font: "Plumb Sans", "Gill Sans", "Segoe UI", Candara, "Trebuchet MS", sans-serif;
  --wrap: 1140px;
  --pitch: clamp(1.75rem, 5vw, 4.5rem);
  --studs: url("assets/motif-studs.svg") 0 0 / 64px 96px repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--sky);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }

h1, h2, h3 { font-weight: 800; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }

a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.narrow { max-width: 780px; }
section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.flush-top { padding-top: 0; }
.center { text-align: center; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.55rem 1rem; background: var(--navy); color: var(--white); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- centred logo, nav below ---------- */
.site-header { background: var(--white); border-bottom: var(--rule); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding-block: 1rem 0.6rem; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; color: var(--navy); text-decoration: none; text-align: center; }
.brand img { width: 76px; height: auto; border-radius: 6px; }
.brand-name { font-weight: 800; font-size: clamp(1.45rem, 2.8vw, 1.8rem); line-height: 1.1; letter-spacing: -0.01em; }
.brand:hover .brand-name { color: var(--link); }
.main-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.4rem 0.95rem; border-radius: 4px; color: var(--navy); font-weight: 700; text-decoration: none; }
.main-nav a:hover { background: var(--sky); }
.main-nav a[aria-current="page"] { background: var(--chalk-2); box-shadow: inset 0 -3px 0 var(--navy); }

/* ---------- shared parts ---------- */
.kicker { margin: 0 0 0.45rem; color: var(--brick-text); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.tag { display: inline-block; margin: 0 0 1.1rem; padding: 0.3rem 0.85rem; border-radius: 4px; background: var(--pine); color: var(--navy); font-weight: 700; font-size: 0.95rem; line-height: 1.4; }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--slate); max-width: 52ch; }
.center .lede, .hero .lede, .offer-card .lede, .page-head .lede { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.78rem 1.4rem;
  border: 2px solid var(--navy);
  border-radius: 4px;
  font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  max-width: 100%; overflow-wrap: anywhere;
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--link); border-color: var(--link); color: var(--white); }
.btn-plain { background: var(--white); color: var(--navy); }
.btn-plain:hover { background: var(--pine-2); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.center .btn-row, .hero .btn-row, .offer-card .btn-row, .quote-note .btn-row { justify-content: center; }

/* ---------- gable-pitched section dividers ---------- */
.gable { padding-top: calc(var(--pitch) + clamp(2.25rem, 5vw, 3.5rem)); clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%); }
.band-pine { background: var(--pine-2) var(--studs); }
.band-chalk { background: var(--chalk-2) var(--studs); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2 { color: var(--white); }
.band-navy .kicker { color: var(--pine); }
.band-navy p { color: #d3deea; }
.band-navy :focus-visible { outline-color: var(--pine); }
.band-navy .btn-plain { border-color: var(--white); }

/* ---------- home ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.hero h1 { font-size: clamp(3.2rem, 9.5vw, 7.25rem); line-height: 0.98; letter-spacing: -0.03em; margin-inline: auto; max-width: 11ch; }
.hero-art { display: block; width: 100%; max-width: 760px; margin: clamp(2rem, 4vw, 3rem) auto 0; }

.trades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.trades a { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; color: var(--navy); text-align: center; text-decoration: none; }
.trades .icon-ring { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--white); border: 2px solid var(--pine-dark); }
.trades img { width: 64px; height: 64px; }
.trades .trade-name { font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.trades .trade-count { color: var(--slate); font-size: 0.95rem; }
.trades a:hover .trade-name { color: var(--link); text-decoration: underline; text-decoration-thickness: 2px; }

.offer-card { max-width: 820px; margin: 0 auto; text-align: center; }
.offer-card .offer-price { display: inline-block; margin: 0.4rem 0 0; padding: 0.45rem 1rem; border-radius: 4px; background: var(--white); color: var(--navy); font-weight: 800; font-size: 1.25rem; }
.offer-card .offer-price .reg { color: var(--slate); font-weight: 400; font-size: 1rem; }

.svc { list-style: none; margin: 1.5rem auto 0; padding: 0; max-width: 820px; text-align: left; }
.svc li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-top: var(--rule); color: var(--slate); }
.svc li:last-child { border-bottom: var(--rule); }
.svc li::before { content: ""; position: absolute; left: 0.25rem; top: 1.32rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px var(--pine); }
.svc strong { color: var(--navy); }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(1.75rem, 3vw, 2.5rem); text-align: center; }
.page-head h1 { margin-inline: auto; max-width: 18ch; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.jump a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.32rem 0.8rem; border-radius: 4px; background: var(--white); border: 1px solid var(--chalk); color: var(--navy); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.jump a:hover { background: var(--pine-2); }
.jump img { width: 26px; height: 26px; }

/* ---------- catalog: price tables ---------- */
.specials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 1.5rem 0 0; padding: 0; text-align: left; }
.specials li { display: flex; flex-direction: column; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: 6px; background: var(--white); border-left: 6px solid var(--pine-dark); }
.specials li:nth-child(even) { border-left-color: var(--chalk); }
.specials h3 { margin-bottom: 0.3rem; }
.specials p { margin: 0 0 0.75rem; color: var(--slate); }
.specials .offer-price { margin: auto 0 0; color: var(--navy); font-weight: 800; font-size: 1.12rem; }
.specials .offer-price .reg { color: var(--slate); font-weight: 400; font-size: 0.95rem; }

.cat { padding-block: 0; scroll-margin-top: 1rem; }
.cat + .cat { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.cat-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.cat-head .icon-ring { display: grid; place-items: center; width: 68px; height: 68px; flex: none; border-radius: 50%; background: var(--white); border: 2px solid var(--pine-dark); }
.cat-head img { width: 44px; height: 44px; }
.cat-head h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: 6px; overflow: hidden; border: var(--rule); }
.price-table thead th { padding: 0.6rem 1rem; background: var(--chalk-2); color: var(--navy); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; }
.price-table thead th.price-col { width: 15rem; text-align: right; }
.price-table tbody th, .price-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-top: var(--rule); }
.price-table tbody th { width: 34%; font-weight: 700; line-height: 1.35; }
.price-table td.desc { color: var(--slate); font-size: 1rem; }
.price-table td.price { text-align: right; white-space: nowrap; font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price-table td.price.quote { white-space: normal; color: var(--brick-text); font-size: 1rem; }
.price-table .call { display: block; margin-top: 0.25rem; font-size: 0.92rem; }

.quote-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.4rem, 3vw, 2rem); border-radius: 6px; background: var(--white); text-align: center; }
.quote-note h2 { margin-bottom: 0.35rem; }
.quote-note p { margin: 0 auto; color: var(--slate); max-width: 56ch; }

/* ---------- about ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.75rem 0 0; padding: 0; border-radius: 6px; background: var(--white); border: var(--rule); text-align: left; }
.facts div { padding: 1rem 1.2rem; }
.facts div + div { border-left: var(--rule); }
.facts dt { color: var(--brick-text); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd { margin: 0.15rem 0 0; font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.story p { color: var(--slate); }
.story .kicker { color: var(--brick-text); }
.story .first { color: var(--navy); font-size: clamp(1.25rem, 2.3vw, 1.5rem); line-height: 1.5; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 1.5rem 0 0; padding: 0; text-align: left; }
.why li { padding: 1.25rem; border-radius: 6px; background: var(--white); border-top: 6px solid var(--chalk); color: var(--slate); }
.why li:nth-child(2) { border-top-color: var(--pine-dark); }
.why li:nth-child(3) { border-top-color: var(--brick); }
.why strong { color: var(--navy); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.card { padding: 1.4rem; border-radius: 6px; background: var(--white); border: var(--rule); }
.card address { font-style: normal; font-weight: 800; font-size: 1.3rem; line-height: 1.4; margin-bottom: 0.9rem; }
.card dl { margin: 0; }
.card div { padding: 0.55rem 0; border-top: var(--rule); }
.card dt { color: var(--slate); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.card dd { margin: 0; font-weight: 700; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: 6px; overflow: hidden; border: var(--rule); }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.6rem; font-weight: 800; font-size: 1.4rem; }
.hours th, .hours td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; }
.hours thead th { background: var(--chalk-2); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hours tbody th, .hours tbody td { border-top: var(--rule); }
.hours tbody th { font-weight: 700; }
.hours td { font-variant-numeric: tabular-nums; }
.hours .note { display: block; color: var(--slate); font-size: 0.95rem; }
.hours .closed { color: var(--brick-text); font-weight: 700; }
.map-frame { display: block; width: 100%; height: 380px; border: var(--rule); border-radius: 6px; background: var(--sky-2); }
.map-link { margin-top: 0.9rem; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { padding-top: var(--pitch); background: var(--navy); color: #d3deea; font-size: 1rem; clip-path: polygon(0 var(--pitch), 50% 0, 100% var(--pitch), 100% 100%, 0 100%); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--pine); }
.site-footer :focus-visible { outline-color: var(--pine); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 2rem; padding-block: 2.3rem 1.5rem; }
.footer-name { margin: 0 0 0.35rem; font-weight: 800; font-size: 1.5rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 0.12rem 0; }
.footer-bottom { margin: 0; padding-block: 1rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.88rem; }
main > section:last-child:not(.gable) { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .specials { grid-template-columns: 1fr; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .price-table, .price-table tbody { display: block; }
  .price-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem; padding: 0.85rem 1rem; }
  .price-table tbody tr + tr { border-top: var(--rule); }
  .price-table tbody th, .price-table td { padding: 0; width: auto; border-top: 0; }
  .price-table td.price { text-align: left; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .brand img { width: 64px; }
  .main-nav ul { gap: 0.15rem; }
  .main-nav a { padding: 0.3rem 0.5rem; font-size: 0.97rem; }
  .trades .icon-ring { width: 86px; height: 86px; }
  .trades img { width: 54px; height: 54px; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div, .facts div:nth-child(3) { border-left: 0; border-top: var(--rule); }
  .hours th, .hours td { padding: 0.65rem 0.75rem; }
  .map-frame { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

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