/* Innovative Ranch Ott LLC: muted natural palette (tool red, pine, galvanized grey, cream); saturated red and
   pine bands with white text over white content; asymmetric offset grid; slab headings over a geometric sans;
   vertical side header on the right; two-column grouped product lists; diagonal section dividers;
   faint wood-grain motif on the pine bands */
@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: "Paddle Slab";
  src: url("fonts/paddle-slab-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #a5443a;
  --red-dk: #8a3830;
  --pine: #2f5a46;
  --pine-dk: #24483a;
  --night: #18261f;
  --galv: #8a9299;
  --cream: #f4eee3;
  --mustard: #d9a441;
  --ink: #1f2a25;
  --muted: #545f59;
  --rule: #e4ddd0;
  --white: #ffffff;
  --slab: "Paddle Slab", "Rockwell", Georgia, serif;
  --sans: "Outfit", "Segoe UI", Arial, sans-serif;
  --side: 250px;
  --cut: 52px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: linear-gradient(to left, var(--night) var(--side), var(--white) var(--side)); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.62; display: grid; grid-template-columns: minmax(0, 1fr) var(--side); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dk); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
h1, h2 { font-family: var(--slab); line-height: 1.1; margin: 0 0 .45em; }
h1 { font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-weight: 700; font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-weight: 700; font-size: 1.03rem; line-height: 1.3; margin: 0 0 2px; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--night); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 64px, 1000px); margin-inline: auto; }

/* vertical side header on the right */
.side-header { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--night); color: var(--cream); padding: 30px 24px; display: flex; flex-direction: column; gap: 26px; }
.brand { display: flex; flex-direction: column; gap: 12px; color: var(--cream); text-decoration: none; }
.brand img { width: 108px; border-radius: 14px; }
.brand-name { font-family: var(--slab); font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: block; padding: 9px 12px; color: #cfd6d1; text-decoration: none; font-weight: 700; border-right: 4px solid transparent; }
.side-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.side-nav a[aria-current="page"] { color: var(--white); background: var(--red); border-right-color: var(--mustard); }
.side-meta { margin-top: auto; font-size: .86rem; color: #b8c2bc; }
.side-meta p { margin: 0 0 .7em; }
.side-meta a { color: var(--mustard); font-weight: 700; font-size: 1.05rem; }
main { grid-column: 1; grid-row: 1; min-width: 0; }
.site-footer { grid-column: 1; grid-row: 2; }

/* bands and diagonal dividers */
.band { color: var(--white); }
.band a:not(.btn) { color: var(--white); }
.band.red { background: var(--red); }
.band.pine { background-color: var(--pine); background-image: url("assets/motif-woodgrain.svg"); background-size: 200px 80px; }
.cut-b { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-bottom: calc(var(--cut) + 40px) !important; }
.cut-t { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--cut) + 40px) !important; margin-top: calc(var(--cut) * -0.5); }
.cut-t.cut-b { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
.band { padding: 56px 0; }
.plain { padding: 40px 0 64px; }
.plain.tight { padding-top: 0; }
.kicker { font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9em; }
.band .kicker { color: var(--cream); }
.plain .kicker { color: var(--red-dk); }
.lede { font-size: 1.15rem; max-width: 34em; }
.band .lede { color: #fbeee9; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.btn.cream { background: var(--cream); color: var(--night); }
.btn.cream:hover { background: var(--white); color: var(--night); }
.btn.ghost { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn.red { background: var(--red); color: var(--white); }
.btn.red:hover { background: var(--red-dk); color: var(--white); }
.btn.pine { background: var(--pine); color: var(--white); }
.btn.pine:hover { background: var(--pine-dk); color: var(--white); }

/* asymmetric offset grid */
.hero { padding-top: 64px; }
.hero.small { padding-top: 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.hero-fig { margin: 48px 0 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.hero-art { width: 100%; }
.offset-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px 56px; align-items: start; }
.offset-grid.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.offset-grid.rev .offset-head { order: 2; }
.offset-head { padding-top: 10px; }
.plain .offset-head p { color: var(--muted); }
.band .offset-head p { color: #dfe9e3; }
.dept-grid { list-style: none; margin: 0; padding: 0 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dept:nth-child(even) { transform: translateY(40px); }
.dept a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; background: var(--cream); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.dept a:hover { background: #ece3d3; }
.dept img { width: 56px; margin-bottom: 8px; }
.dept-name { font-family: var(--slab); font-weight: 700; font-size: 1.22rem; line-height: 1.2; }
.dept-count { color: var(--muted); font-size: .92rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; background: var(--mustard); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.band .ticks li { color: #dfe9e3; }
.band .ticks strong { color: var(--white); }
.plain .ticks li { color: var(--muted); }
.plain .ticks strong { color: var(--ink); }
.spot-wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr); }
.spot { grid-column: 2; padding: 30px 34px; background: var(--cream); border-left: 8px solid var(--red); border-radius: var(--r); }
.spot p:last-of-type { color: var(--muted); font-size: 1.08rem; }

/* products: two-column grouped lists */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.band .jump a { display: inline-block; padding: 6px 14px; border-radius: var(--r); background: rgba(0, 0, 0, .18); color: var(--white); text-decoration: none; font-weight: 700; font-size: .92rem; }
.band .jump a:hover { background: rgba(0, 0, 0, .3); }
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; align-items: start; }
.group { scroll-margin-top: 16px; }
.group:nth-child(even) { margin-top: 56px; }
.group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 4px solid var(--red); }
.group-head img { width: 52px; flex: none; }
.group-head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.item p { margin: 0; color: var(--muted); font-size: .94rem; }
.item .price { font-family: var(--slab); font-weight: 800; font-size: 1.15rem; color: var(--red-dk); white-space: nowrap; }
.unit { font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--muted); }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.offer { padding: 18px 22px; background: rgba(0, 0, 0, .16); border-left: 5px solid var(--mustard); border-radius: var(--r); }
.offer h3 { color: var(--white); }
.offer p { margin: 0; color: #dfe9e3; }
#featured { scroll-margin-top: 0; }

/* about / contact */
.story .first { font-family: var(--slab); font-weight: 700; font-size: 1.4rem; line-height: 1.4; margin: 0; }
.story-rest { padding-top: 64px; color: var(--muted); font-size: 1.08rem; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--rule); }
.facts div:first-child { border-top: 3px solid var(--red); }
.facts dt { font-weight: 700; color: var(--red-dk); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.contact-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.hours-card { margin-top: 70px; padding: 24px 26px; background: var(--cream); border-radius: var(--r); }
.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 th, .hours td { text-align: left; padding: 10px 4px; border-top: 1px solid #ddd3c2; }
.hours thead th { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.hours-note { margin: 12px 0 0; padding-top: 12px; border-top: 3px solid var(--mustard); font-weight: 700; color: var(--ink); font-size: .95rem; }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--r); display: block; background: var(--pine-dk); }
.map-link { margin: 14px 0 20px; font-weight: 700; }

/* footer */
.site-footer { background: var(--night); color: #c3ccc6; padding: 40px 0 26px; margin-top: 0; }
.site-footer a { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 20px 36px; }
.footer-name { font-family: var(--slab); font-weight: 800; font-size: 1.3rem; color: var(--white); margin-bottom: .3em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fig { margin-top: 8px; max-width: 560px; }
}
@media (max-width: 900px) {
  body { display: block; background: var(--white); }
  .side-header { position: static; height: auto; padding: 16px 20px; gap: 12px; }
  .brand { flex-direction: row; align-items: center; }
  .brand img { width: 64px; border-radius: 12px; }
  .brand-name { font-size: 1.2rem; }
  .side-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .side-nav a { padding: 6px 10px; border-right: 0; border-bottom: 3px solid transparent; }
  .side-nav a[aria-current="page"] { border-bottom-color: var(--mustard); }
  .side-meta { display: none; }
  .wrap { width: min(100% - 36px, 1000px); }
  .offset-grid, .offset-grid.rev, .contact-grid, .spot-wrap, .group-grid, .foot-grid { grid-template-columns: 1fr; }
  .offset-grid.rev .offset-head { order: 0; }
  .spot { grid-column: 1; }
  .group:nth-child(even) { margin-top: 0; }
  .story-rest { padding-top: 0; }
  .hours-card { margin-top: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --cut: 30px; }
  .band { padding: 40px 0; }
  .side-nav a { font-size: .9rem; padding: 6px 8px; }
  .dept-grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .dept:nth-child(even) { transform: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .spot { padding: 22px; }
  .hours-card { padding: 18px; }
  .map-frame { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
