/* River Valley Legacy LLC — shared styles
   Seed 2-1-1-3-6-1-5: deep rich lake colours (Lake Michigan navy, lake blue, pine, bobber red) ·
   bright white base with a strong accent · split hero · condensed bold uppercase headings (Anton) + Roboto body ·
   vertical side header · price tables · thick 3px outlines, no shadows · motif: lake waves */

@font-face { font-family: "Anton"; src: url("fonts/anton-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0e222e;
  --lake: #1f5f8b;
  --pine: #1f4d3a;
  --red: #c0392b;
  --red-dark: #9c2c20;
  --birch: #efe6d2;
  --sky: #dcecf6;
  --white: #ffffff;
  --ink: #13232c;
  --muted: #4b5b63;
  --line: 3px solid var(--navy);
  --cond: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --waves: url("assets/motif-waves.svg") 0 0 / 60px 24px repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--cond); font-weight: 400; line-height: 1.05; margin: 0 0 0.45em; text-transform: uppercase; letter-spacing: 0.02em; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; letter-spacing: 0.03em; }
p { margin: 0 0 1em; }
a { color: var(--lake); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; background: var(--red); color: var(--white); font-weight: 700; border: var(--line); }
.skip-link:focus { top: 1rem; }

/* ---------- shell: vertical side header + main column ---------- */
.shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--navy) 0 266px, var(--red) 266px 272px, var(--white) 272px); }
.site-header { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; gap: 1.6rem; padding: 1.6rem 1.4rem; background: var(--navy); color: var(--birch); border-right: 6px solid var(--red); overflow-y: auto; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; color: var(--birch); text-decoration: none; }
.brand img { width: 96px; height: auto; border: 3px solid var(--birch); }
.brand-name { font-family: var(--cond); font-size: 1.75rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.02em; }
.brand:hover .brand-name { color: #8fd0f0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.main-nav a { display: block; padding: 0.45rem 0.85rem; border: 3px solid rgba(239, 230, 210, 0.35); color: var(--birch); font-family: var(--cond); font-size: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.main-nav a:hover { border-color: var(--birch); }
.main-nav a[aria-current="page"] { background: var(--red); border-color: var(--red); color: var(--white); }
.side-call { margin-top: auto; padding-top: 1rem; border-top: 3px solid rgba(239, 230, 210, 0.25); font-size: 0.95rem; }
.side-call p { margin: 0 0 0.35rem; color: #c9d6dc; }
.side-call a { color: var(--white); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.side-call a:hover { color: #8fd0f0; }
.main-col { min-width: 0; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.6rem); }

/* ---------- sections ---------- */
.section { padding-block: clamp(2.3rem, 5vw, 3.6rem); }
.section + .section { border-top: var(--line); }
.waves { background: var(--sky) var(--waves); }
.navy { background: var(--navy); color: var(--birch); }
.navy h2, .navy h3 { color: var(--white); }
.navy a:not(.btn) { color: #8fd0f0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.split.top { align-items: start; }
.hero-art { display: block; width: 100%; border: var(--line); background: var(--white); }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.25rem 0.7rem; border: var(--line); background: var(--white); color: var(--ink); font-weight: 500; font-size: 0.92rem; line-height: 1.45; }
.lede { font-size: clamp(1.12rem, 1.9vw, 1.28rem); color: var(--muted); max-width: 44ch; }
.navy .lede { color: #c9d6dc; }
.kicker { margin: 0 0 0.3rem; color: var(--red); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; }
.navy .kicker { color: #f08a7e; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.65rem 1.3rem; border: var(--line); background: var(--red); color: var(--white); font-family: var(--cond); font-size: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--navy); }
.btn-ghost:hover { background: var(--birch); color: var(--navy); }
.navy .btn { border-color: var(--birch); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- home ---------- */
.aisles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.aisles a { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 0.9rem 1rem; border: var(--line); background: var(--white); color: var(--ink); text-decoration: none; }
.aisles a:hover { background: var(--birch); }
.aisles img { width: 56px; height: 56px; flex: none; }
.aisles .a-name { display: block; font-family: var(--cond); font-size: 1.35rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.aisles .a-count { display: block; color: var(--muted); font-size: 0.95rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.ticks li { padding: 0.8rem 1rem 0.8rem 1.1rem; border: var(--line); border-left-width: 10px; border-left-color: var(--red); background: var(--white); color: var(--muted); }
.ticks strong { color: var(--ink); }
.spot { margin-top: 1.4rem; padding: 0.9rem 1.1rem; border: var(--line); border-left-width: 10px; border-left-color: var(--red); }
.spot h3 { margin-bottom: 0.2rem; }
.spot p:last-child { margin: 0; color: var(--muted); }
.navy .ticks li { border-color: var(--birch); border-left-color: var(--red); background: transparent; color: #c9d6dc; }
.navy .ticks strong { color: var(--white); }

/* ---------- price tables ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.3rem 0 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.25rem 0.7rem 0.25rem 0.35rem; border: var(--line); background: var(--white); color: var(--navy); font-family: var(--cond); font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.chips a:hover { background: var(--birch); }
.chips img { width: 28px; height: 28px; }
.cat { scroll-margin-top: 1rem; }
.cat + .cat { margin-top: clamp(2.4rem, 5vw, 3.2rem); }
.cat-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.cat-head img { width: 60px; height: 60px; flex: none; padding: 4px; border: var(--line); background: var(--white); }
.cat-head h2 { margin: 0; }
.price-table { width: 100%; border-collapse: collapse; border: var(--line); background: var(--white); }
.price-table th, .price-table td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; }
.price-table thead th { background: var(--navy); color: var(--birch); font-family: var(--cond); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; }
.price-table tbody tr + tr > * { border-top: 2px solid var(--navy); }
.price-table tbody tr:nth-child(even) > * { background: #f6f9fb; }
.price-table tbody th { width: 34%; font-weight: 700; }
.price-table .det { color: var(--muted); }
.price-table .pr { width: 10.5rem; text-align: right; font-weight: 700; font-size: 1.12rem; color: var(--red-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table thead .pr { color: var(--birch); font-size: 1.05rem; }
.pr.quote { white-space: normal; font-size: 0.95rem; line-height: 1.35; color: var(--ink); }
.pr .call { display: block; margin-top: 0.3rem; font-weight: 700; white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.offers li { padding: 1rem 1.15rem; border: 3px solid var(--birch); }
.offers h3 { margin-bottom: 0.3rem; color: var(--white); }
.offers p { margin: 0; color: #c9d6dc; }

/* ---------- about / contact ---------- */
.story p { color: var(--muted); }
.story .first { color: var(--ink); font-size: 1.2rem; }
.story .kicker { color: var(--red); }
.facts { margin: 0; border: var(--line); background: var(--white); }
.facts div { padding: 0.7rem 1rem; }
.facts div + div { border-top: 2px solid var(--navy); }
.facts dt { color: var(--red); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 700; }
.details { margin: 0; display: grid; gap: 0.8rem; }
.details div { padding: 0.8rem 1rem; border: var(--line); background: var(--white); }
.details dt { color: var(--red); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.details dd { margin: 0; font-weight: 700; font-size: 1.08rem; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; border: var(--line); background: var(--white); }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.45rem; font-family: var(--cond); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy); }
.hours th, .hours td { padding: 0.5rem 0.9rem; text-align: left; }
.hours tbody tr + tr > * { border-top: 2px solid var(--navy); }
.hours thead th { background: var(--navy); color: var(--birch); font-family: var(--cond); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.hours tbody th { font-weight: 700; }
.hours td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--red-dark); font-weight: 700; }
.map-frame { display: block; width: 100%; height: 400px; border: var(--line); background: var(--sky); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 6px solid var(--red); background: var(--navy); color: #c9d6dc; font-size: 0.98rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #8fd0f0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.8rem; padding-block: 2rem 1.3rem; }
.footer-name { margin: 0 0 0.3rem; font-family: var(--cond); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--white); line-height: 1.1; }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: #f08a7e; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 0.9rem 1.4rem; border-top: 2px solid rgba(239, 230, 210, 0.2); font-size: 0.88rem; }

@media (max-width: 1100px) {
  .offers { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .shell { display: block; background: var(--white); }
  .site-header { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1rem; padding: 0.9rem clamp(1.1rem, 4vw, 2rem); border-right: 0; border-bottom: 6px solid var(--red); }
  .brand { flex-direction: row; align-items: center; }
  .brand img { width: 60px; }
  .brand-name { font-size: 1.45rem; }
  .main-nav { width: 100%; }
  .main-nav ul { grid-template-columns: repeat(4, auto); justify-content: start; gap: 0.4rem; }
  .main-nav a { padding: 0.3rem 0.7rem; font-size: 1.05rem; }
  .side-call { display: none; }
  .split, .split.top { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  .main-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a { text-align: center; }
  .aisles { grid-template-columns: 1fr; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .price-table, .price-table tbody { display: block; }
  .price-table tbody tr { display: grid; grid-template-columns: 1fr; padding: 0.85rem 1rem; }
  .price-table tbody tr + tr { border-top: 2px solid var(--navy); }
  .price-table tbody tr + tr > * { border-top: 0; }
  .price-table tbody tr:nth-child(even) { background: #f6f9fb; }
  .price-table tbody th, .price-table tbody td { display: block; width: auto; padding: 0; }
  .price-table .det { margin-top: 0.2rem; }
  .price-table .pr { width: auto; margin-top: 0.4rem; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-frame { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
