/* River Road Landscape Supply - public information page.
   The palette, type scale and components are copied from the retired application's
   globals.css (`rr-*` rules, origin/main) so the page looks the same as it does today.
   The Tailwind utilities the old page used are written out below as `rr-*` rules, so
   this site needs no build step. It is a light design on a fixed paper ground, as before:
   half a page inverting in dark mode is not a dark theme. */

:root {
  --rr-ink:      #1C1B1A;
  --rr-paper:    #F4F1EB;
  --rr-surface:  #FFFFFF;
  --rr-line:     #D8D3C8;
  --rr-muted:    #706D67;
  --rr-red:      #D1262B;
  --rr-red-dark: #B22025;
  --rr-display: 'Archivo', system-ui, sans-serif;
  --rr-body:    'Barlow', system-ui, sans-serif;
  --rr-mono:    'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--rr-paper); }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

.rr-page {
  display: flex; flex-direction: column; min-height: 100vh;
  background: var(--rr-paper); color: var(--rr-ink); font-family: var(--rr-body);
}
.rr-wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
@media (min-width: 640px) { .rr-wrap { padding-inline: 32px; } }

/* ── Type ─────────────────────────────────────────────────────────────────── */
.rr-display {
  font-family: var(--rr-display); font-stretch: 112%; font-weight: 800;
  font-size: clamp(2.125rem, 5.2vw, 3.75rem); line-height: 1.02; letter-spacing: -.022em;
  text-wrap: balance; margin-top: 20px;
}
.rr-h2 {
  font-family: var(--rr-display); font-stretch: 112%; font-weight: 700;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.015em;
  text-wrap: balance; margin-top: 16px;
}
.rr-h3 {
  font-family: var(--rr-display); font-stretch: 112%; font-weight: 700;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em;
  text-wrap: balance;
}
.rr-lead { font-size: 1.0625rem; line-height: 1.65; color: var(--rr-muted); max-width: 34em; margin-top: 24px; }
.rr-emph { margin-top: 24px; font-size: 1.0625rem; line-height: 1.65; font-weight: 600; color: var(--rr-ink); }
.rr-small { font-size: .9375rem; line-height: 1.6; color: var(--rr-muted); }
.rr-ink { color: var(--rr-ink); }
.rr-gap-s { margin-top: 20px; }
.rr-footnote { font-size: .875rem; line-height: 1.55; color: var(--rr-muted); margin-top: 12px; }
.rr-kicker {
  font: 600 12.5px/1 var(--rr-display); letter-spacing: .12em;
  text-transform: uppercase; color: var(--rr-muted);
}
.rr-meta {
  font: 600 12.5px/1 var(--rr-mono); letter-spacing: .06em;
  text-transform: uppercase; color: var(--rr-muted);
}

/* ── Header: name, town, one shortcut out to GetGravel ───────────────────── */
.rr-header { border-bottom: 1px solid var(--rr-line); }
.rr-headbar {
  display: grid; align-items: center; gap: 12px 20px; padding-block: 20px;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name loc" "link link";
}
.rr-name { display: flex; align-items: center; grid-area: name; }
.rr-loc { grid-area: loc; text-align: right; }
.rr-logo { width: 170px; }
@media (min-width: 640px)  { .rr-logo { width: 210px; } }
@media (min-width: 1024px) { .rr-logo { width: 240px; } }
@media (max-width: 377px) {
  .rr-headbar { grid-template-columns: 1fr; grid-template-areas: "name" "link"; }
  .rr-headbar .rr-meta { display: none; }
}
@media (min-width: 900px) {
  .rr-headbar { gap: 0 22px; grid-template-columns: 1fr auto auto; grid-template-areas: "name loc link"; }
}
.rr-toplink { grid-area: link; font-size: .9375rem; line-height: 1.4; color: var(--rr-muted); text-decoration: none; }
.rr-toplink-go { color: var(--rr-red); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.rr-toplink:hover .rr-toplink-go { text-decoration: underline; }
.rr-toplink:focus-visible { outline: 2px solid var(--rr-ink); outline-offset: 3px; border-radius: 2px; }
@media (min-width: 900px) { .rr-toplink { border-left: 1px solid var(--rr-line); padding-left: 22px; } }

/* ── Main ────────────────────────────────────────────────────────────────── */
.rr-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; }
@media (min-width: 640px) { .rr-main { padding-block: 80px; } }
.rr-hero { display: grid; gap: 40px; }
@media (min-width: 1024px) { .rr-hero { grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; } }

/* What River Road no longer sells: a quiet, ruled list so the discontinued categories are
   unmistakable without competing with the headline or the GetGravel button. */
.rr-stopped { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rr-line); }
.rr-stopped-list {
  margin: 12px 0 0; padding: 0; list-style: none;
  display: grid; gap: 6px 24px; font-size: .9375rem; line-height: 1.5; color: var(--rr-ink);
}
@media (min-width: 560px) { .rr-stopped-list { grid-template-columns: 1fr 1fr; } }
.rr-stopped-list li { padding-left: 18px; position: relative; }
.rr-stopped-list li::before { content: '\2013'; position: absolute; left: 0; color: var(--rr-muted); }
.rr-stopped + .rr-emph { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rr-line); }

.rr-inline { color: var(--rr-ink); font-weight: 600; text-underline-offset: 3px; }
.rr-inline:focus-visible { outline: 2px solid var(--rr-ink); outline-offset: 2px; border-radius: 2px; }

.rr-card { background: var(--rr-surface); border: 1px solid var(--rr-line); border-radius: 4px; }
.rr-card-pad { padding: 28px; }
@media (min-width: 640px) { .rr-card-pad { padding: 36px; } }
.rr-wordmark-line { display: block; margin-top: 16px; }
.rr-wordmark { width: 190px; }
@media (min-width: 640px) { .rr-wordmark { width: 220px; } }
.rr-card-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rr-line); }

/* The one red fill on the page. */
.rr-btn {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 28px;
  font: 700 16px/1 var(--rr-display); letter-spacing: .01em;
  padding: 18px 28px; border-radius: 4px; text-decoration: none;
  border: 1.5px solid transparent; background: var(--rr-red); color: #fff;
  transition: background .12s;
}
.rr-btn:hover { background: var(--rr-red-dark); }
.rr-btn:focus-visible { outline: 2px solid var(--rr-ink); outline-offset: 3px; }
@media (max-width: 479px) { .rr-btn { display: flex; width: 100%; justify-content: center; padding-inline: 16px; } }

/* Hardscape projects and former names, side by side on a wide screen, stacked on a phone. */
.rr-row { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 900px) { .rr-row { grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; } }
@media (min-width: 1024px) { .rr-row { margin-top: 56px; } }
.rr-textlink {
  font: 600 15px/1.4 var(--rr-display); letter-spacing: .01em;
  color: var(--rr-ink); text-underline-offset: 3px;
}
.rr-textlink:focus-visible { outline: 2px solid var(--rr-ink); outline-offset: 2px; border-radius: 2px; }

/* The former names: distinct from the white cards by a heavy ink rule and the display face,
   so a returning customer who remembers Island Cache or Sun-Ko sees their name at a glance. */
.rr-names { border-top: 4px solid var(--rr-ink); padding: 24px 4px 4px; }
.rr-names-list { margin: 16px 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.rr-names-list li {
  font-family: var(--rr-display); font-stretch: 112%; font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; color: var(--rr-ink);
}

.rr-past { margin-top: 40px; }
@media (min-width: 1024px) { .rr-past { margin-top: 56px; } }
.rr-contact { margin-top: 16px; font: 600 1.0625rem/1.5 var(--rr-display); }
.rr-contact a { color: var(--rr-ink); text-underline-offset: 3px; }
.rr-contact a:focus-visible { outline: 2px solid var(--rr-ink); outline-offset: 2px; border-radius: 2px; }
.rr-sep { color: var(--rr-muted); margin-inline: 8px; }
.rr-contact-cols { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 760px) { .rr-contact-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.rr-contact-cols .rr-contact { margin-top: 12px; }
.rr-gap-xs { margin-top: 8px; }
.rr-strong { font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.rr-footer { border-top: 1px solid var(--rr-line); }
.rr-footbar { display: flex; flex-direction: column; gap: 12px; padding-block: 28px; }
@media (min-width: 640px) { .rr-footbar { flex-direction: row; align-items: center; justify-content: space-between; } }
.rr-footbar a { color: inherit; text-decoration: none; }
.rr-footbar a:hover { text-decoration: underline; }
