/* Richardson Car Washes LLC: earthy, dusty car-wash palette (rinse-water teal, foam, clay brush, sand) on warm
   off-white paper; a few large panels; classic serif headings over a clean sans; logo left with pill-button
   nav; flat tiles grouped by category; 4px corners; foam-bubble motif */
@font-face {
  font-family: "Cardo";
  src: url("fonts/cardo-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f1e7;
  --water: #4f7c8c;
  --water-dk: #3a5f6c;
  --foam: #e6eeee;
  --clay: #a85d43;
  --sand: #e3d4b6;
  --ink: #1e2b31;
  --muted: #55636a;
  --white: #ffffff;
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--water-dk); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: var(--r); }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 .45em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; margin: 0 0 4px; }
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(--water); color: var(--white); padding: 8px 14px; border-radius: var(--r); z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, 1120px); margin-inline: auto; }

/* header with pill-button nav */
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 26px; padding: 18px 0 6px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand img { width: 64px; border-radius: var(--r); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; box-shadow: inset 0 0 0 1px #d8cfbd; }
.main-nav a:hover { background: var(--foam); }
.main-nav a[aria-current="page"] { background: var(--water); color: var(--white); box-shadow: none; }

/* a few large panels */
.panels { display: grid; gap: 18px; padding: 18px 0 50px; }
.panel { background: var(--white); border-radius: var(--r); padding: clamp(22px, 3.6vw, 42px); }
.panel.foam { background: var(--foam) url("assets/motif-foam.svg") repeat; background-size: 120px 120px; }
.panel.clay { background: var(--clay); color: var(--white); }
.panel.clay a:not(.btn) { color: var(--white); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pair.wide-left { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: center; background: var(--water); color: var(--white); }
.hero .lede { color: #e6eef0; }
.hero .kicker { color: var(--sand); }
.hero-fig { margin: 0; border-radius: var(--r); overflow: hidden; }
.hero-art { width: 100%; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: .8em; }
.panel.clay .kicker { color: var(--sand); }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 36em; }
.note { display: inline-block; margin: 6px 0 0; padding: 8px 14px; border-radius: var(--r); background: var(--sand); font-weight: 600; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn.water { background: var(--water); color: var(--white); }
.btn.water:hover { background: var(--water-dk); color: var(--white); }
.hero .btn.water { background: var(--white); color: var(--water-dk); }
.btn.pill-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.pill-line:hover { background: var(--foam); color: var(--ink); }
.hero .btn.pill-line, .btn.pill-line.light { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.hero .btn.pill-line:hover, .btn.pill-line.light:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn.paper { background: var(--paper); color: var(--ink); }
.btn.paper:hover { background: var(--white); color: var(--ink); }
.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cat-tiles a { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; height: 100%; }
.cat-tiles a:hover { background: var(--paper); }
.cat-tiles img { width: 52px; margin-bottom: 8px; border-radius: var(--r); }
.cn { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.cc { color: var(--muted); font-size: .9rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 28px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--foam); box-shadow: inset 0 0 0 2px var(--water), 6px -4px 0 -3px var(--water); }
.ticks strong { color: var(--ink); }
.ticks.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.big { font-size: 1.2rem; }
.clay strong { color: var(--white); }

/* flat tiles grouped by category */
.cat { scroll-margin-top: 14px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cat-head img { width: 52px; border-radius: var(--r); }
.cat-head h2 { margin: 0; letter-spacing: .03em; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; padding: 16px 18px; border-radius: var(--r); background: var(--paper); }
.tile .d { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.tile .price { margin: auto 0 0; font-family: var(--serif); font-weight: 700; font-size: 1.55rem; color: var(--water-dk); }
.tile .price.q { font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--clay); }
.clay .tile { background: rgba(255, 255, 255, .12); }
.clay .tile .d { color: #f6e7df; margin: 0; }

/* about / contact */
.story .first { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; line-height: 1.4; }
.story p { color: var(--muted); }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid #cfdcdc; }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 600; color: var(--water-dk); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 6px; border-top: 1px solid #cfdcdc; }
.hours thead th { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.hours-note { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r); background: var(--white); font-weight: 600; }
.map-frame { width: 100%; height: 360px; border: 0; border-radius: var(--r); display: block; background: var(--foam); }
.map-link { margin: 14px 0 0; font-weight: 600; }

/* footer */
.site-footer { background: var(--ink); color: #c9d3d6; padding: 36px 0 22px; }
.site-footer a { color: var(--white); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 40px; }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--white); margin-bottom: .3em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin-top: 18px; font-size: .84rem; }

@media (max-width: 900px) {
  .hero, .pair, .pair.wide-left { grid-template-columns: 1fr; }
  .ticks.cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 24px, 1120px); }
  .head-in { justify-content: center; }
  .brand img { width: 54px; }
  .brand-name { font-size: 1.22rem; }
  .main-nav ul { justify-content: center; gap: 4px; }
  .main-nav a { padding: 6px 9px; font-size: .82rem; }
  .cat-tiles { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
