/* Green Light Heritage Coatings LLC: dusty sage, terracotta and ochre paint colours on a pale sage tint; boxed
   floating header with a double border, split hero, rounded soft sans throughout, numbered items with large
   numerals, double and offset borders with outlined buttons, colour-chip strip dividers */
@font-face {
  font-family: "Grain Rounded";
  src: url("fonts/grain-rounded-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Grain Rounded";
  src: url("fonts/grain-rounded-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --tint: #eef2ec;
  --white: #fbfcfa;
  --sage: #5d7a5a;
  --sage-d: #34492f;
  --terra: #a9583a;
  --ochre: #c9a24a;
  --ink: #1f2a1d;
  --muted: #56614f;
  --line: #c9d3c4;
  --round: "Grain Rounded", "Nunito", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tint); color: var(--ink); font-family: var(--round); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-d); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.08rem; line-height: 1.3; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 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(--sage-d); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* boxed floating header with a double border */
.site-header { padding: 16px 0 0; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; background: var(--white); border: 6px double var(--sage-d); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 64px; height: 64px; }
.brand-name { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a { display: block; padding: 6px 14px; border: 2px solid transparent; color: var(--ink); font-weight: 700; text-decoration: none; }
.main-nav a:hover { border-color: var(--sage); }
.main-nav a[aria-current="page"] { border-color: var(--sage-d); box-shadow: 4px 4px 0 var(--ochre); }

/* colour-chip divider */
.chips { height: 12px; background: url("assets/motif-chips.svg") 0 0 / 80px 12px repeat-x; }

/* split hero */
.hero { padding: 48px 0 56px; }
.hero.slim { padding: 42px 0 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.top { align-items: start; }
.tag { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border: 4px double var(--sage); color: var(--sage-d); font-weight: 700; font-size: 0.9rem; background: var(--white); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.btn { display: inline-block; padding: 10px 20px; border: 2px solid var(--sage-d); color: var(--sage-d); background: var(--white); font-weight: 700; text-decoration: none; box-shadow: 5px 5px 0 var(--sage-d); }
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--sage-d); color: var(--sage-d); }
.btn-alt { border-color: var(--terra); color: var(--terra); box-shadow: 5px 5px 0 var(--terra); }
.btn-alt:hover { box-shadow: 3px 3px 0 var(--terra); color: var(--terra); }
.offset-frame { border: 2px solid var(--sage-d); background: var(--white); box-shadow: 12px 12px 0 var(--ochre); }
.hero-art { width: 100%; }

/* numbered lists with large numerals */
.section { padding: 56px 0; }
.section.pt0 { padding-top: 0; }
.tinted { background: #e2e9de; border-block: 6px double var(--sage); }
.num { font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--sage); letter-spacing: -0.03em; }
.cat-list { list-style: none; margin: 0; padding: 0; border-top: 6px double var(--sage-d); }
.cat-list a { display: grid; grid-template-columns: 64px 48px 1fr; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 2px solid var(--line); color: var(--ink); text-decoration: none; }
.cat-list a:hover strong { color: var(--terra); }
.cat-list img { width: 48px; height: 48px; }
.cat-text strong { display: block; font-size: 1.2rem; }
.cat-text small { color: var(--muted); }
.numbered { list-style: none; margin: 0 0 26px; padding: 0; }
.numbered li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 2px solid var(--line); }
.numbered .num { font-size: 2rem; color: var(--ochre); }
.numbered p { margin: 0; color: var(--muted); }
.numbered strong { color: var(--ink); }
.numbered.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.numbered.three li { grid-template-columns: 1fr; border-bottom: 0; border-top: 6px double var(--sage-d); padding-top: 18px; }
.numbered.three .num { font-size: 3rem; color: var(--terra); }
.double-box { border: 6px double var(--sage-d); background: var(--white); padding: 26px; }
.spot p { color: var(--muted); }
.kicker { margin: 0 0 6px; color: var(--terra) !important; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.amount { font-weight: 700; font-size: 1.5rem; color: var(--sage-d) !important; }

/* catalogue */
.jump { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: block; padding: 5px 12px; border: 2px solid var(--sage-d); background: var(--white); color: var(--ink); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.jump a:hover { box-shadow: 3px 3px 0 var(--ochre); }
.groups { padding: 44px 0 60px; display: grid; gap: 46px; }
.group { scroll-margin-top: 14px; }
.group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 6px double var(--sage-d); }
.group-head img { width: 52px; height: 52px; }
.group-head h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: 0.03em; }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 16px 0; border-bottom: 2px solid var(--line); }
.item .num { font-size: 2.8rem; }
.item h3 { margin: 0 0 3px; }
.item .desc { margin: 0; color: var(--muted); font-size: 0.96rem; }
.price { margin: 0; font-weight: 700; font-size: 1.3rem; color: var(--terra); text-align: right; white-space: nowrap; }
.price.quote { font-size: 1rem; line-height: 1.35; white-space: normal; max-width: 11em; color: var(--sage-d); }
.price.quote a { display: block; margin-top: 4px; color: var(--terra); white-space: nowrap; }
.featured { background: var(--white); }
.featured .num { color: var(--terra); }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-size: 1.28rem; line-height: 1.5; }
.facts { margin: 0 0 16px; }
.facts div { padding: 10px 0; border-bottom: 2px solid var(--line); }
.facts dt { color: var(--sage); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: 1.7rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 6px 0; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); border-bottom: 6px double var(--sage-d); }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 2px solid var(--line); }
.hours tbody th { padding-right: 14px; }
.hours td { white-space: nowrap; }
.hours td.closed { color: var(--muted); }
.hours .note { display: block; white-space: normal; color: var(--muted); font-size: 0.9rem; }
.map-frame { display: block; width: 100%; height: 400px; border: 0; background: var(--white); }
.map-link { margin: 22px 0 0; }

/* footer */
.site-footer { background: var(--sage-d); color: #e3eadf; padding: 40px 0 24px; }
.site-footer a { color: #f0d79c; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-weight: 700; font-size: 1.3rem; color: var(--white); margin-bottom: 6px; }
.footer-title { color: var(--white); font-weight: 700; 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 rgba(227, 234, 223, 0.3); font-size: 0.9rem; }

@media (max-width: 1000px) {
  .box-head { flex-direction: column; align-items: flex-start; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .offset-frame { margin-right: 12px; }
}
@media (max-width: 700px) {
  .section { padding: 42px 0; }
  .section.pt0 { padding-top: 0; }
  .numbered.three, .footer-grid { grid-template-columns: 1fr; }
  .double-box { padding: 18px; }
  .item { grid-template-columns: 54px minmax(0, 1fr); }
  .item .num { font-size: 2.1rem; }
  .item .price { grid-column: 2; text-align: left; }
  .cat-list a { grid-template-columns: 48px 40px 1fr; gap: 10px; }
  .cat-list .num { font-size: 2rem; }
  .cat-list img { width: 40px; height: 40px; }
}
@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; }
}
