/* GreenLine Supply LLC: soft paint-chip mint, butter, sky and blush on a bright white base with a strong
   GreenLine green accent; centred hero with a very large headline; slab serif headings over a sans body;
   pill-button navigation; every aisle in its own full-width coloured band; thick 3px outlines, no shadows;
   pegboard-hole motif */
@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/roboto-slab-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/roboto-slab-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #1f7a4a;
  --green-dk: #155c37;
  --deep: #1f3b2d;
  --mint: #e3f4ea;
  --butter: #fdf3d3;
  --sky: #e4eef8;
  --blush: #fbe7e1;
  --steel: #5f6b73;
  --ink: #1b2620;
  --white: #ffffff;
  --slab: "Roboto Slab", "Rockwell", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
  --line: 3px solid var(--deep);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); 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(--green-dk); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; color: var(--deep); }
h1 { font-size: clamp(2.8rem, 8.5vw, 6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; color: var(--ink); }
p { margin: 0 0 1em; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--deep); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 40px, 780px); }

/* header with pill-button navigation */
.site-header { border-bottom: var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--deep); }
.brand img { width: 66px; height: auto; border-radius: 12px; }
.brand-name { font-family: var(--slab); font-weight: 700; font-size: 1.45rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a { display: inline-block; padding: 6px 16px; border: var(--line); border-radius: 999px; color: var(--deep); text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:hover { background: var(--mint); }
.main-nav a[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--white); }

/* centred hero, very large headline */
.hero { padding: 58px 0 50px; }
.hero.small { padding: 50px 0 40px; }
.hero.small h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
.tag { display: inline-block; padding: 3px 14px; border: var(--line); border-radius: 999px; font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; background: var(--butter); margin-bottom: 1.1em; }
.lede { font-size: 1.2rem; color: #46524b; max-width: 38em; margin-inline: auto; }
.hero-art { width: 100%; max-width: 860px; margin: 36px auto 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.btn-row.left { justify-content: flex-start; }
.btn { display: inline-block; padding: 11px 22px; border: var(--line); border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn.solid { background: var(--green); border-color: var(--green); color: var(--white); }
.btn.solid:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn.line { background: var(--white); color: var(--deep); }
.btn.line:hover { background: var(--mint); }
.btn.light { background: var(--white); border-color: var(--white); color: var(--deep); }
.btn.light:hover { background: var(--butter); border-color: var(--butter); }
.btn.line-light { color: var(--white); border-color: var(--white); }
.btn.line-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

.sec { padding: 56px 0; }
.sec.peg { background: var(--white) url("assets/motif-pegboard.svg") repeat; background-size: 28px 28px; border-top: var(--line); border-bottom: var(--line); }
.aisles { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aisles a { display: grid; justify-items: center; gap: 8px; padding: 24px 12px; border: var(--line); text-decoration: none; color: var(--deep); height: 100%; }
.aisles .mint a { background: var(--mint); }
.aisles .butter a { background: var(--butter); }
.aisles .sky a { background: var(--sky); }
.aisles .blush a { background: var(--blush); }
.aisles a:hover { background: var(--white); }
.aisles img { width: 64px; }
.cn { font-family: var(--slab); font-weight: 700; font-size: 1.2rem; line-height: 1.15; }
.cc { font-size: .88rem; color: var(--steel); font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.box { border: var(--line); padding: clamp(22px, 4vw, 34px); background: var(--white); }
.box.accent { background: var(--mint); }
.box .amt { font-family: var(--slab); font-weight: 700; font-size: 2.2rem; color: var(--green-dk); margin: 0 0 .4em; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 2px dashed #c9d6ce; }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 16px; border: var(--line); border-radius: 50%; background: var(--butter); }
.ticks strong { color: var(--deep); }
.ticks.boxed { border: var(--line); background: var(--white); padding: 8px 22px; }

/* each aisle in its own full-width coloured band */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jump a { display: inline-block; padding: 5px 14px; border: var(--line); border-radius: 999px; text-decoration: none; color: var(--deep); font-weight: 600; font-size: .9rem; }
.jump a:hover { background: var(--mint); }
.band { padding: 50px 0; border-top: var(--line); }
.band.mint { background: var(--mint); }
.band.butter { background: var(--butter); }
.band.sky { background: var(--sky); }
.band.blush { background: var(--blush); }
.band.deep { background: var(--deep); color: var(--white); }
.band.deep h2, .band.deep h3 { color: var(--white); }
.cat { scroll-margin-top: 10px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cat-head img { width: 58px; background: var(--white); border: var(--line); border-radius: 12px; padding: 4px; }
.cat-head h2 { margin: 0; }
.cat-head .cc { margin-left: auto; border: var(--line); border-radius: 999px; padding: 2px 12px; background: var(--white); color: var(--deep); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.item { background: var(--white); border: var(--line); padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: start; }
.item h3 { grid-column: 1; margin: 0; }
.item .ds { grid-column: 1; margin: 0; color: #4c5a52; font-size: .95rem; }
.item .pr { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-family: var(--slab); font-weight: 700; font-size: 1.3rem; color: var(--green-dk); white-space: nowrap; }
.band.deep .item { background: transparent; border-color: rgba(255, 255, 255, .6); }
.band.deep .item .ds { color: #d3e5da; }
.band.deep .item .pr { color: var(--butter); }

/* about */
.story .first { font-family: var(--slab); font-size: 1.3rem; line-height: 1.45; color: var(--deep); }
.story .pull { font-weight: 600; background: var(--butter); border: var(--line); padding: 12px 16px; margin: 0; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 10em 1fr; gap: 12px; padding: 10px 0; border-bottom: 2px dashed #c9d6ce; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; color: var(--green-dk); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; }
address { font-style: normal; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--slab); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--deep); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 12px 10px; border-bottom: 2px dashed #c9d6ce; }
.hours thead th { background: var(--mint); border-bottom: var(--line); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.map-frame { width: 100%; height: 380px; border: var(--line); background: var(--sky); display: block; }
.map-link { margin: 16px 0 0; font-weight: 600; }

/* footer */
.site-footer { background: var(--deep); color: #cfe0d6; padding: 40px 0 24px; border-top: var(--line); }
.site-footer a { color: var(--white); }
.foot { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.footer-name { font-family: var(--slab); font-weight: 700; font-size: 1.4rem; color: var(--white); margin-bottom: .3em; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; }

@media (max-width: 900px) {
  .aisles { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .items { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .head-in { justify-content: center; }
  .brand-name { font-size: 1.25rem; }
  .main-nav ul { justify-content: center; gap: 5px; }
  .main-nav a { padding: 4px 10px; font-size: .84rem; border-width: 2px; }
  .cat-head { flex-wrap: wrap; }
  .item { grid-template-columns: 1fr; }
  .item .pr { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
