/* SelectRiver LLC — shared styles
   Seed 3-2-5-5-4-6-5: bright, vivid colors (river cyan, coral, sunny yellow, leaf green, navy ink) · warm
   off-white paper base · editorial multi-column layout with a narrow side rail · serif throughout (Andiron
   Serif) · pill-button nav · numbered items with large numerals · thick 3px outlines, no shadows ·
   motif: river ripples */

@font-face { font-family: "Andiron Serif"; src: url("fonts/andiron-serif-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Andiron Serif"; src: url("fonts/andiron-serif-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Andiron Serif"; src: url("fonts/andiron-serif-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Andiron Serif"; src: url("fonts/andiron-serif-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #fbf6ec;
  --white: #ffffff;
  --ink: #0e2134;
  --muted: #45505c;
  --cyan: #1aa3d1;
  --cyan-ink: #0b6788;
  --coral: #ff7a59;
  --coral-ink: #b8402a;
  --sun: #ffc845;
  --leaf: #3bb273;
  --mist: #cfe9f2;
  --serif: "Andiron Serif", Georgia, "Times New Roman", serif;
  --ripple: url("assets/motif-ripple.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 0.45em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 0.9em; }
a { color: var(--cyan-ink); text-underline-offset: 0.16em; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(1rem, 3.6vw, 1.8rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.4rem 1rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--sun); color: var(--ink); }
.skip-link:focus { top: 1rem; }

/* ---------- header: pill-button nav ---------- */
.site-header { background: var(--paper); border-bottom: 3px solid var(--ink); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.6rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.brand img { width: 70px; height: auto; flex: none; border: 3px solid var(--ink); }
.brand-name { font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.brand:hover .brand-name { color: var(--cyan-ink); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.28rem 1.05rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 1.02rem; text-decoration: none; }
.main-nav a:hover { background: var(--mist); }
.main-nav a[aria-current="page"] { background: var(--coral); color: var(--ink); }

/* ---------- editorial layout: narrow side rail + multi-column main ---------- */
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3rem); padding-block: clamp(1.6rem, 4vw, 2.8rem) clamp(2.4rem, 5vw, 3.6rem); }
.layout > main { min-width: 0; }
.rail { font-size: 1rem; }
.rail-block { padding: 1rem; margin-bottom: 1rem; border: 3px solid var(--ink); background: var(--white); }
.rail-block h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.rail-block p { margin: 0 0 0.45rem; color: var(--muted); }
.rail-block.sun { background: var(--sun); }
.rail-block.sun p { color: var(--ink); }
.rail ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rail ol li { counter-increment: r; border-top: 2px solid var(--mist); }
.rail ol a { display: flex; gap: 0.5rem; padding: 0.4rem 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.rail ol a::before { content: counter(r); color: var(--coral-ink); }
.rail ol a:hover { color: var(--cyan-ink); }
.kicker { display: block; margin: 0 0 0.35rem; color: var(--coral-ink); font-style: italic; font-size: 1.05rem; }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.15rem 0.85rem; border: 3px solid var(--ink); border-radius: 999px; background: var(--mist); font-size: 0.98rem; line-height: 1.45; max-width: 100%; }
.lede { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--muted); }
.hero-art { display: block; width: 100%; margin-top: 1.6rem; border: 3px solid var(--ink); }
.cols { columns: 2 17rem; column-gap: 2.4rem; column-rule: 3px solid var(--mist); }
.cols > * { break-inside: avoid; }
.section { margin-top: clamp(2rem, 4.5vw, 3rem); padding-top: clamp(1.2rem, 3vw, 1.8rem); border-top: 3px solid var(--ink); background: var(--ripple) 0 0 / 80px 24px repeat-x; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1.25rem; border: 3px solid var(--ink); border-radius: 0; background: var(--cyan); color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--sun); color: var(--ink); }
.btn-line { background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.rail .btn { width: 100%; margin-top: 0.4rem; padding-inline: 0.5rem; white-space: nowrap; font-size: 1rem; }

/* home */
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { break-inside: avoid; margin-bottom: 0.8rem; }
.lines a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0.8rem; align-items: center; padding: 0.6rem; border: 3px solid var(--ink); background: var(--white); color: var(--ink); text-decoration: none; }
.lines a:hover { background: var(--mist); }
.lines img { width: 56px; height: 56px; }
.lines .l-name { display: block; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.lines .l-meta { display: block; font-style: italic; color: var(--muted); font-size: 0.98rem; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { break-inside: avoid; margin: 0 0 0.9rem; color: var(--muted); }
.notes strong { color: var(--ink); }
.deal { display: inline-block; padding: 0.1rem 0.6rem; border: 3px solid var(--ink); background: var(--sun); font-weight: 700; }

/* ---------- catalog: numbered items, large numerals ---------- */
.cat { scroll-margin-top: 1rem; margin-top: clamp(2rem, 4.5vw, 3rem); }
.cat:first-of-type { margin-top: 0; }
.cat-head { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 0.6rem; border-bottom: 3px solid var(--ink); }
.cat-head img { width: 56px; height: 56px; flex: none; border: 3px solid var(--ink); background: var(--white); padding: 2px; }
.cat-head h2 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.75rem); letter-spacing: 0.04em; }
.numbered { list-style: none; margin: 0; padding: 0; }
.numbered li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: 0.1rem 1.2rem; align-items: start; padding: 0.9rem 0; border-bottom: 3px solid var(--mist); }
.numbered .num { grid-row: 1 / span 2; font-size: 3.2rem; line-height: 0.9; font-weight: 700; color: var(--cyan); font-variant-numeric: lining-nums; }
.numbered h3 { margin: 0; }
.numbered p { grid-column: 2; margin: 0; color: var(--muted); font-size: 1.02rem; }
.numbered .price { grid-column: 3; grid-row: 1 / span 2; font-weight: 700; font-size: 1.2rem; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.numbered .price.quote { max-width: 12rem; white-space: normal; text-align: right; font-size: 1rem; font-style: italic; color: var(--coral-ink); }
.numbered .price.quote a { display: block; font-style: normal; white-space: nowrap; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.offers li { padding: 1rem 1.1rem; border: 3px solid var(--ink); background: var(--white); }
.offers h3 { margin-bottom: 0.25rem; }
.offers p { margin: 0 0 0.6rem; color: var(--muted); }
.offers p:last-child { margin-bottom: 0; }

/* ---------- about / contact ---------- */
.story .first::first-letter { float: left; margin: 0.06em 0.1em 0 0; font-size: 3.8em; line-height: 0.8; font-weight: 700; color: var(--cyan); }
.story .first { font-size: 1.22rem; }
.story p { color: var(--muted); }
.story .first { color: var(--ink); }
.facts, .details { margin: 0; }
.facts div, .details div { padding: 0.45rem 0; border-top: 2px solid var(--mist); }
.facts dt, .details dt { font-style: italic; color: var(--coral-ink); font-size: 0.98rem; }
.facts dd, .details dd { margin: 0; font-weight: 700; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; border: 3px solid var(--ink); background: var(--white); }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-weight: 700; font-size: 1.6rem; }
.hours th, .hours td { padding: 0.55rem 0.8rem; text-align: left; vertical-align: top; border-top: 2px solid var(--mist); }
.hours thead th { background: var(--ink); color: var(--white); font-style: italic; font-weight: 400; border-top: 0; }
.hours tbody th { font-weight: 700; }
.hours td { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.hours td.closed { color: var(--coral-ink); font-weight: 700; }
.hours .note { display: block; white-space: normal; font-style: italic; font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.map-frame { display: block; width: 100%; height: 380px; border: 3px solid var(--ink); background: var(--mist); }
.map-link { margin: 0.8rem 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9d3dc; font-size: 1rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sun); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem 2rem; padding-block: 2rem 1.2rem; }
.footer-name { margin: 0 0 0.2rem; font-weight: 700; font-size: 1.45rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.3rem; font-style: italic; color: var(--sun); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { grid-column: 1 / -1; margin: 0.4rem 0 0; padding-top: 0.8rem; border-top: 3px solid #23394f; font-size: 0.95rem; }

@media (max-width: 920px) {
  .layout { grid-template-columns: 1fr; }
  .rail { order: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
  .rail-block { margin-bottom: 0; }
  .rail.index-first { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .brand img { width: 58px; }
  .main-nav a { padding: 0.22rem 0.8rem; font-size: 0.98rem; }
  .numbered li { grid-template-columns: 3rem minmax(0, 1fr); }
  .numbered .num { font-size: 2.2rem; }
  .numbered .price { grid-column: 2; grid-row: auto; margin-top: 0.3rem; }
  .numbered .price.quote { max-width: none; text-align: left; }
  .offers { grid-template-columns: 1fr; }
  .footer-inner { 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; }
}
