/* Rapid Crown LLC — shared styles
   Seed 2-6-1-7-8-7-1: deep awning burgundy, canvas cream and khaki duck · deep burgundy-black base ·
   split hero · rounded soft sans (Moon Rounded) · oversized logo and name with underline nav ·
   compact rows with price badges · sharp corners, 1px rules · motif: scalloped awning valance */

@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Moon Rounded"; src: url("fonts/moon-rounded-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --base: #22090e;
  --panel: #2f0f16;
  --panel-2: #3a1219;
  --cream: #f3e8d2;
  --muted: #d2c0aa;
  --red: #e0606c;
  --red-deep: #c23a48;
  --khaki: #cdb98d;
  --navy: #1c2b48;
  --rule: rgba(243, 232, 210, 0.2);
  --rounded: "Moon Rounded", "Nunito", "Segoe UI", Arial, sans-serif;
  --valance: url("assets/motif-valance.svg") 0 0 / 48px 24px repeat-x;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--base); }
body { margin: 0; font-family: var(--rounded); font-weight: 500; font-size: 1.02rem; line-height: 1.68; color: var(--cream); background: var(--base); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 800; }
h1, h2, h3 { font-family: var(--rounded); font-weight: 800; line-height: 1.12; margin: 0 0 0.45em; color: var(--cream); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.06rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--khaki); text-underline-offset: 0.2em; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--khaki); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.45rem 1rem; background: var(--cream); color: var(--base); }
.skip-link:focus { top: 1rem; }
.valance { height: 24px; background: var(--valance); }

/* ---------- oversized logo and name, underline nav ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.3rem 1rem; }
.brand { display: flex; align-items: center; gap: 1.1rem; color: var(--cream); text-decoration: none; }
.brand img { width: 96px; height: auto; flex: none; }
.brand-name { font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.brand:hover .brand-name { color: var(--khaki); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.2rem 0; border-bottom: 3px solid transparent; color: var(--cream); font-weight: 700; text-decoration: none; }
.main-nav a:hover { border-bottom-color: var(--khaki); color: var(--cream); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--cream); }

/* ---------- split hero ---------- */
.hero { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.split.top { align-items: start; }
.hero-art { display: block; width: 100%; }
.tag { display: inline-block; margin: 0 0 1rem; padding: 0.22rem 0.7rem; border: 1px solid var(--khaki); color: var(--khaki); font-size: 0.9rem; line-height: 1.45; }
.lede { font-size: clamp(1.08rem, 1.9vw, 1.22rem); color: var(--muted); max-width: 46ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.3rem; border: 1px solid var(--red-deep); background: var(--red-deep); color: #ffffff; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--base); }
.btn-line { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--base); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.section { padding-block: clamp(2.2rem, 5vw, 3.4rem); border-top: 1px solid var(--rule); }
.panel { background: var(--panel); }
.kicker { margin: 0 0 0.35rem; color: var(--red); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

/* home */
.dept { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.dept li { border-bottom: 1px solid var(--rule); }
.dept a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.8rem 0; color: var(--cream); text-decoration: none; }
.dept img { width: 56px; height: 56px; }
.dept .d-name { display: block; font-weight: 800; font-size: 1.1rem; }
.dept .d-meta { display: block; color: var(--muted); font-size: 0.92rem; }
.dept .badge { justify-self: end; }
.dept a:hover .d-name { color: var(--khaki); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0.7rem 0 0.7rem 1.8rem; border-bottom: 1px solid var(--rule); color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 1rem; border-top: 2px dashed var(--red); }
.ticks strong { color: var(--cream); }

/* ---------- compact rows with price badges ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: 0.1rem 0; border-bottom: 1px solid var(--khaki); color: var(--cream); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.jump a:hover { border-bottom-color: var(--red); }
.cat { scroll-margin-top: 1rem; }
.cat + .cat { margin-top: clamp(2.2rem, 4.5vw, 3rem); }
.cat-head { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--cream); }
.cat-head img { width: 54px; height: 54px; flex: none; }
.cat-head h2 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.cat-head .count { margin-left: auto; color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 1.4rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.rows h3 { margin: 0; }
.rows p { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.94rem; }
.badge { display: inline-block; padding: 0.22rem 0.7rem; background: var(--khaki); color: var(--base); font-weight: 800; font-size: 1.02rem; line-height: 1.3; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.badge.quote { background: transparent; border: 1px solid var(--red); color: var(--cream); font-size: 0.85rem; white-space: normal; max-width: 12rem; text-align: center; }
.quote-wrap { display: grid; justify-items: end; gap: 0.3rem; }
.quote-wrap a { font-size: 0.88rem; 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; border-top: 1px solid var(--cream); }
.offers li { padding: 1.1rem 1.2rem 1.2rem 0; }
.offers li + li { padding-left: 1.2rem; border-left: 1px solid var(--rule); }
.offers h3 { margin-bottom: 0.3rem; }
.offers p { margin: 0 0 0.6rem; color: var(--muted); }

/* ---------- about / contact ---------- */
.facts { margin: 0; border-top: 1px solid var(--cream); }
.facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--khaki); font-weight: 700; }
.facts dd { margin: 0; font-weight: 800; }
.story p { color: var(--muted); }
.story .first { color: var(--cream); font-size: 1.12rem; }
.story .tag { color: var(--khaki); }
.details { margin: 0; border-top: 1px solid var(--cream); }
.details div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--rule); }
.details dt { color: var(--khaki); font-weight: 700; }
.details dd { margin: 0; font-weight: 800; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.5rem; font-weight: 800; font-size: 1.4rem; }
.hours th, .hours td { padding: 0.55rem 0; text-align: left; border-bottom: 1px solid var(--rule); }
.hours thead th { color: var(--khaki); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--cream); }
.hours tbody th { font-weight: 700; padding-right: 1rem; }
.hours td { font-variant-numeric: lining-nums tabular-nums; }
.hours .closed { color: var(--muted); }
.map-frame { display: block; width: 100%; height: 380px; border: 1px solid var(--rule); background: var(--panel); }
.map-link { margin-top: 0.8rem; }

/* ---------- footer ---------- */
.site-footer { background: #170508; color: var(--muted); font-size: 0.95rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--khaki); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 1.6rem; padding-block: 2.1rem 1.3rem; }
.footer-name { margin: 0 0 0.3rem; font-weight: 800; font-size: 1.35rem; color: var(--cream); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--khaki); font-weight: 700; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 0.9rem 1.4rem; border-top: 1px solid var(--rule); font-size: 0.85rem; }

@media (max-width: 900px) {
  .split, .split.top { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offers li, .offers li + li { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .brand img { width: 72px; }
  .brand-name { font-size: 1.75rem; }
  .main-nav ul { gap: 0.2rem 1.1rem; }
  .rows li { grid-template-columns: 1fr; }
  .rows .badge, .quote-wrap { justify-self: start; justify-items: start; }
  .cat-head .count { display: none; }
  .facts div, .details div { grid-template-columns: 1fr; gap: 0.1rem; }
  .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; }
}
