/* Creative Cedar Will LLC: north-woods forest green and cedar red with film amber on snow white; Bricolage
   Grotesque throughout; white header over a film-strip rule; full-bleed viewfinder hero with an overlay panel;
   catalog as a numbered contact sheet; sprocket motif */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #142a24;
  --forest-2: #1f3d34;
  --forest-3: #2e5447;
  --cedar: #a2492b;
  --cedar-dk: #803720;
  --amber: #f2b134;
  --snow: #f7f8f6;
  --frost: #e7ece9;
  --ink: #17211d;
  --muted: #53625c;
  --line: #d4ddd8;
  --font: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--snow); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cedar); text-underline-offset: 3px; }
a:hover { color: var(--cedar-dk); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0 0 .5em; color: var(--forest); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--forest); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* header */
.site-header { background: #ffffff; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--forest); text-decoration: none; }
.brand img { width: 56px; height: 56px; border-radius: 6px; }
.brand-name { font-weight: 700; font-size: 1.25rem; }
.brand:hover { color: var(--cedar); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: block; color: var(--forest); text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 6px; }
.main-nav a:hover { background: var(--frost); }
.main-nav a[aria-current="page"] { background: var(--forest); color: #ffffff; }
.film { height: 26px; background-color: #0d1a16; background-image: url("assets/motif-sprockets.svg"); background-repeat: repeat-x; background-size: 40px 26px; }

/* hero */
.hero { position: relative; background: var(--forest); }
.hero-art { width: 100%; height: 560px; object-fit: cover; }
.hero-over { position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: flex; align-items: center; }
.hero-panel { background: rgba(13, 26, 22, .92); color: #ffffff; padding: 36px; max-width: 560px; border-left: 6px solid var(--amber); }
.hero-panel h1 { color: #ffffff; font-size: clamp(2rem, 3.8vw, 3rem); }
.kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--cedar); margin-bottom: 12px; }
.hero-panel .kicker { color: var(--amber); }
.lede { font-size: 1.15rem; max-width: 40em; color: var(--muted); }
.hero-panel .lede { color: #d6e2dc; }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 6px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn.cedar { background: var(--cedar); color: #ffffff; }
.btn.cedar:hover { background: var(--cedar-dk); color: #ffffff; }
.btn.line { border-color: #ffffff; color: #ffffff; }
.btn.line:hover { background: rgba(255, 255, 255, .12); color: #ffffff; }
.btn.line.dark { border-color: var(--forest); color: var(--forest); }
.btn.line.dark:hover { background: var(--frost); color: var(--forest); }

/* sections */
.sec { padding-top: 60px; padding-bottom: 60px; }
.sec-b { padding-bottom: 60px; }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shelf a { display: flex; align-items: center; gap: 14px; padding: 18px; background: #ffffff; border: 1px solid var(--line); border-radius: 8px; color: var(--forest); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.shelf a:hover { border-color: var(--cedar); color: var(--cedar-dk); }
.shelf img { width: 56px; height: 56px; flex: none; border-radius: 6px; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.split.top { align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 0 0 12px 34px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 14px; border: 3px solid var(--cedar); border-radius: 3px; }
.checks strong { color: var(--forest); }
.spot { background: var(--forest); color: #ffffff; padding: 32px; border-radius: 10px; position: relative; }
.spot::before, .spot::after { content: ""; position: absolute; width: 28px; height: 28px; border: 3px solid var(--amber); }
.spot::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.spot::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.spot h2 { color: #ffffff; }
.label { display: inline-block; background: var(--amber); color: var(--forest); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }

/* products */
.intro { padding-top: 52px; padding-bottom: 24px; }
.tabs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a { display: block; padding: 6px 14px; border-radius: 6px; background: #ffffff; border: 1px solid var(--line); color: var(--forest); text-decoration: none; font-weight: 700; font-size: .95rem; }
.tabs a:hover { border-color: var(--cedar); color: var(--cedar-dk); }
.cat { padding-top: 32px; padding-bottom: 32px; scroll-margin-top: 16px; }
.cat h2 { display: flex; align-items: center; gap: 14px; }
.cat h2 img { width: 52px; height: 52px; flex: none; border-radius: 6px; }
.sheet { list-style: none; margin: 16px 0 0; padding: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; background: #0d1a16; border-radius: 8px; }
.frame { background: #ffffff; border-radius: 4px; padding: 16px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.fno { font-size: .78rem; font-weight: 700; color: var(--amber); background: #0d1a16; align-self: flex-start; padding: 1px 8px; border-radius: 3px; letter-spacing: .08em; }
.frame h3 { margin: 4px 0 0; }
.frame .d { margin: 0; color: var(--muted); font-size: .95rem; }
.fprice { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 1.2rem; color: var(--cedar); }
.fprice.q { font-size: .92rem; color: var(--forest); background: var(--frost); padding: 6px 10px; border-radius: 4px; align-self: flex-start; }
.dark { background: var(--forest); color: #ffffff; padding: 60px 0; }
.dark h2 { color: #ffffff; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offers li { background: var(--forest-2); border-radius: 8px; padding: 20px; border-top: 5px solid var(--amber); }
.offers h3 { margin: 0 0 6px; color: #ffffff; }
.offers p { margin: 0; color: #d6e2dc; }
.price { font-weight: 700; color: var(--amber); }
.spot .price { color: var(--amber); }

/* about */
.story p { font-size: 1.08rem; }
.story p.first { font-size: 1.3rem; font-weight: 700; color: var(--forest); line-height: 1.45; }
.facts { margin: 0; background: #ffffff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.facts.plain { border: 0; padding: 0; background: none; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why li { background: var(--forest-2); border-radius: 8px; padding: 22px; color: #d6e2dc; border-left: 5px solid var(--cedar); }
.why strong { display: block; color: #ffffff; font-size: 1.08rem; }

/* contact */
.card { background: #ffffff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: 1.6rem; color: var(--forest); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.hours thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hours tbody th { white-space: nowrap; }
.hours .note { display: block; color: var(--cedar); font-size: .92rem; }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: 10px; display: block; background: var(--frost); }
.map-link { margin-top: 12px; }

/* footer */
.site-footer { background: var(--forest); color: #c9d6d0; }
.site-footer .foot { padding-top: 40px; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--amber); }
.foot { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-name { font-weight: 700; font-size: 1.3rem; color: #ffffff; margin-bottom: 6px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 32px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid var(--forest-3); font-size: .9rem; }

@media (max-width: 1000px) {
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .sheet, .offers { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-art { height: 300px; }
  .hero-over { position: static; padding-top: 0; padding-bottom: 0; }
  .hero-panel { max-width: none; margin: 0 -28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.1rem; }
  .main-nav a { padding: 7px 10px; }
  .hero-art { height: 220px; }
  .hero-panel { margin: 0 -18px; padding: 28px 18px; }
  .sec { padding-top: 44px; padding-bottom: 44px; }
  .shelf { grid-template-columns: 1fr; }
  .sheet, .offers { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .map-frame { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
