/* Tree Products LLC: dusty olive, clay and stainless grey on a pale olive tint; pill navigation, centred hero with a
   very large slab headline, slab headings with a sans body, flat tiles grouped by category, thick 3px outlines and no
   shadows, chrome wire-shelf dividers */
@font-face {
  font-family: "Paddle Slab";
  src: url("fonts/paddle-slab-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --tint: #f0f1e8;
  --white: #fbfbf6;
  --olive: #4f5b3a;
  --olive-d: #2f3723;
  --clay: #a0573a;
  --steel: #6d7376;
  --ink: #20251a;
  --muted: #555c4c;
  --slab: "Paddle Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Open Sans", "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(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-d); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(3rem, 8.4vw, 6.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.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; }
.center { text-align: center; }
.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(--olive-d); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* header with pill navigation */
.site-header { background: var(--white); border-bottom: 3px solid var(--olive-d); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.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-family: var(--slab); font-weight: 700; font-size: 1.5rem; }
.pills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: block; padding: 7px 18px; border: 3px solid var(--olive-d); border-radius: 999px; color: var(--olive-d); font-weight: 600; text-decoration: none; }
.pills a:hover { background: var(--tint); color: var(--olive-d); }
.pills a[aria-current="page"] { background: var(--olive-d); color: var(--white); }

/* wire shelf divider */
.wire { height: 14px; background: var(--white) url("assets/motif-wire.svg") 0 0 / 20px 14px repeat-x; border-block: 3px solid var(--olive-d); }

/* hero */
.hero { padding: 56px 0 60px; }
.hero.slim { padding: 46px 0 44px; }
.hero.slim h1 { font-size: clamp(2.6rem, 6.6vw, 4.6rem); }
.tag { display: inline-block; margin: 0 0 16px; padding: 4px 14px; border: 3px solid var(--olive); border-radius: 999px; color: var(--olive-d); font-weight: 600; font-size: 0.92rem; background: var(--white); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 40em; margin-inline: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.center .btn-row, .center-row { justify-content: center; }
.btn { display: inline-block; padding: 11px 22px; border: 3px solid var(--olive-d); border-radius: 6px; background: var(--olive-d); color: var(--white); font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--clay); border-color: var(--clay); color: var(--white); }
.btn-line { background: var(--white); color: var(--olive-d); }
.hero-frame { margin: 42px auto 0; max-width: 900px; border: 3px solid var(--olive-d); border-radius: 6px; overflow: hidden; background: var(--white); }
.hero-art { width: 100%; }

/* tiles */
.section { padding: 56px 0; }
.section.pt0 { padding-top: 0; }
.tinted { background: #e4e7d8; border-block: 3px solid var(--olive-d); }
.tile-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.tile-grid.three { grid-template-columns: repeat(3, 1fr); }
.tile-grid.four { grid-template-columns: repeat(4, 1fr); }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--white); border: 3px solid var(--olive-d); border-radius: 6px; }
.tile > strong { font-family: var(--slab); font-size: 1.12rem; line-height: 1.3; }
.tile > span { color: var(--muted); }
.cat-tile { height: 100%; align-items: flex-start; color: var(--ink); text-decoration: none; }
.cat-tile:hover { background: #e4e7d8; color: var(--ink); }
.cat-tile img { width: 56px; height: 56px; margin-bottom: 6px; }
.cat-tile span { font-size: 0.92rem; }
.tile-feature { border-color: var(--clay); }
.kicker { margin: 0; color: var(--clay); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.text-link { margin-top: auto; font-weight: 600; }
.price { margin: auto 0 0; padding-top: 10px; font-family: var(--slab); font-weight: 700; font-size: 1.35rem; color: var(--clay); }
.tile-feature .price { margin-top: 4px; }
.price.quote { font-size: 1.05rem; line-height: 1.35; color: var(--olive-d); }
.price.quote a { display: block; margin-top: 4px; font-family: var(--sans); font-size: 0.92rem; color: var(--clay); }

/* catalogue */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jump a { display: block; padding: 5px 14px; border: 3px solid var(--olive); border-radius: 999px; background: var(--white); color: var(--olive-d); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.jump a:hover { background: var(--olive-d); border-color: var(--olive-d); color: var(--white); }
.groups { padding: 44px 0 60px; display: grid; gap: 48px; }
.group { scroll-margin-top: 14px; }
.group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--olive-d); }
.group-head img { width: 52px; height: 52px; }
.group-head h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.group .tile-grid { margin-top: 18px; }
.item h3 { margin: 0; }
.item .desc { margin: 0; color: var(--muted); font-size: 0.95rem; }
.offer { background: #f7efe6; border-color: var(--clay); }
#featured .btn-row { margin-top: 24px; }

/* about */
.story { max-width: 760px; }
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-size: 1.3rem; line-height: 1.55; }
.facts { margin-top: 20px; }
.facts dt { color: var(--olive); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.facts dd { margin: 0; font-family: var(--slab); font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }

/* contact */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.panel { padding: 26px; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--slab); font-weight: 700; font-size: 1.6rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 6px 0; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive); border-bottom: 3px solid var(--olive-d); }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid #c9ccbb; }
.hours tbody th { padding-right: 14px; font-weight: 600; }
.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; }
.details { margin: 0 0 16px; }
.details div { padding: 10px 0; border-bottom: 1px solid #c9ccbb; }
.details dt { color: var(--olive); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.details dd { margin: 0; overflow-wrap: anywhere; }
.map-frame { display: block; width: 100%; height: 420px; border: 3px solid var(--olive-d); border-radius: 6px; background: var(--white); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: var(--olive-d); color: #e6e9da; padding: 40px 0 24px; }
.site-footer a { color: #e7c9a8; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-family: var(--slab); font-weight: 700; font-size: 1.35rem; color: var(--white); margin-bottom: 6px; }
.footer-title { color: var(--white); font-weight: 600; 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(230, 233, 218, 0.3); font-size: 0.9rem; }

@media (max-width: 1000px) {
  .head-row { flex-direction: column; align-items: flex-start; }
  .tile-grid.four { grid-template-columns: 1fr 1fr; }
  .tile-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .section { padding: 42px 0; }
  .section.pt0 { padding-top: 0; }
  .tile-grid.three, .duo, .footer-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .pills, .pills ul { width: 100%; }
  .pills ul { display: grid; grid-template-columns: 1fr 1fr; }
  .pills a { text-align: center; padding: 7px 8px; }
  .tile-grid.four { grid-template-columns: 1fr; }
  .map-frame { height: 320px; }
}
.point { margin: 0; color: var(--muted); }
.point strong { font-family: var(--slab); font-size: 1.12rem; line-height: 1.3; color: var(--ink); }
