/* RPM Specialty Coffee — flat-pack catalogue style: concrete, black, one green dot */
:root {
  --ink: #111210;
  --ink-2: #3a3b38;
  --muted: #6b6c67;
  --paper: #f6f5f1;
  --concrete: #d3d2cc;
  --concrete-2: #e6e5e0;
  --green: #3c5e49;
  --green-ink: #2b4535;
  --amber: #d8963a;
  --line: rgba(17, 18, 16, 0.16);
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.02; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: 0.02em; text-transform: lowercase; }
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; margin-left: 4px; transform: translateY(-3px); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform 0.2s, background 0.2s; margin: auto; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 600 15px/1 var(--body); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.btn:hover { background: var(--green-ink); border-color: var(--green-ink); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--concrete); border-color: var(--concrete); }
.btn.sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn img { height: 18px; width: auto; }

/* ---------- hero ---------- */
.hero { background: var(--concrete); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 56px 0 64px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(52px, 8.4vw, 112px); font-weight: 700; line-height: 0.92; margin-bottom: 22px; }
.hero .lede { font-size: 19px; max-width: 34ch; color: var(--ink-2); margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.status { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.open::before { background: #2f9e55; box-shadow: 0 0 0 4px rgba(47, 158, 85, 0.2); }
.status.closed::before { background: #c0392b; }

.shelf-fig { margin: 0; }
.shelf { width: 100%; height: auto; filter: drop-shadow(0 22px 28px rgba(17, 18, 16, 0.28)); }
.shelf .spin { transform-box: fill-box; transform-origin: center; animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.shelf-fig figcaption { margin-top: 14px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); padding-top: 8px; }

/* ---------- facts strip ---------- */
.facts { background: var(--ink); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 24px 20px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; margin-bottom: 6px; }
.fact span { font-size: 13px; color: rgba(255, 255, 255, 0.72); display: block; }
.fact .star { width: 22px; height: 22px; display: inline-block; vertical-align: -2px; margin-right: 4px; fill: var(--amber); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; }
.sec-head p { max-width: 46ch; margin: 0; color: var(--ink-2); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; display: block; }

/* product cards — article-number catalogue */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: transform 0.18s, box-shadow 0.18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(17, 18, 16, 0.12); }
.acc { fill: var(--green); stroke: none; }
.card .pic { background: var(--concrete-2); aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--ink); }
.card .pic.photo { aspect-ratio: 16 / 9; background: #3b4350; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .pic svg { width: 34%; max-width: 92px; height: auto; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.art { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.price { margin-top: auto; font-family: var(--display); font-weight: 700; display: flex; align-items: flex-start; gap: 2px; line-height: 1; }
.price .cur { font-size: 18px; margin-top: 4px; }
.price .int { font-size: 44px; }
.price .dec { font-size: 20px; margin-top: 4px; }
.price .from { font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 6px 8px 0 0; }

/* assembly-manual steps */
.manual { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); }
.step { padding: 28px 26px 30px; border-left: 2px solid var(--ink); position: relative; }
.step:first-child { border-left: 0; }
.step .num { font-family: var(--display); font-size: 92px; font-weight: 700; line-height: 0.85; display: block; margin-bottom: 12px; }
.step .fig { height: 96px; display: flex; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--ink); }
.step .fig svg { height: 88px; width: auto; }
.step .qty { font-family: var(--display); font-size: 28px; font-weight: 600; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* vinyl band */
.vinyl { background: var(--ink); color: #fff; }
.vinyl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vinyl h2 { font-size: clamp(44px, 7vw, 96px); font-weight: 700; margin-bottom: 20px; }
.vinyl p { color: rgba(255, 255, 255, 0.78); font-size: 18px; max-width: 40ch; }
.vinyl .eyebrow { color: #8fc2a2; }
.record-wrap { display: grid; place-items: center; }
.record { width: min(360px, 80%); height: auto; }
.record .spin { transform-box: fill-box; transform-origin: center; animation: spin 1.8s linear infinite; }
.record-cap { text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-top: 14px; }

/* reviews */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); padding: 26px 24px 22px; display: flex; flex-direction: column; }
.quote .stars { display: flex; gap: 3px; margin-bottom: 14px; }
.quote .stars svg { width: 18px; height: 18px; fill: var(--amber); }
.quote blockquote { margin: 0 0 18px; font-size: 17px; line-height: 1.45; }
.quote cite { margin-top: auto; font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* order / visit panels */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 36px 34px 34px; border: 2px solid var(--ink); background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.panel.dark { background: var(--green-ink); border-color: var(--green-ink); color: #fff; }
.panel h3 { font-size: 40px; margin-bottom: 12px; }
.panel p { color: inherit; opacity: 0.85; max-width: 38ch; margin-bottom: 22px; }
.panel .partner { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 600; }
.panel .partner img { width: 44px; height: 44px; border-radius: 10px; }
.panel .btn { margin-top: auto; }
.panel .shot { width: calc(100% + 68px); margin: -36px -34px 26px; max-width: none; aspect-ratio: 16 / 8; object-fit: cover; }

/* ---------- menu page ---------- */
.page-hero { background: var(--concrete); border-bottom: 1px solid var(--line); padding: 52px 0 44px; }
.page-hero h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 700; margin-bottom: 14px; }
.page-hero p { max-width: 52ch; color: var(--ink-2); font-size: 18px; margin: 0; }
.tools { position: sticky; top: 68px; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 0; }
.tools-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.search { flex: 1 1 260px; position: relative; max-width: 380px; }
.search input { width: 100%; height: 48px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; padding: 0 20px 0 48px; font: 500 16px var(--body); color: var(--ink); }
.search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2.4; stroke-linecap: round; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.chip:hover { background: var(--concrete-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cat { padding: 52px 0 6px; }
.cat h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 22px; display: flex; align-items: baseline; gap: 14px; }
.cat h2 small { font-family: var(--body); font-size: 13px; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; }
.note { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--green); padding: 16px 20px; font-size: 14px; color: var(--ink-2); margin: 40px 0 0; }
.empty { display: none; padding: 60px 0; text-align: center; color: var(--muted); font-size: 18px; }
.empty.show { display: block; }
[hidden] { display: none !important; }
.menu-list .card .pic { aspect-ratio: 16 / 9; }
.menu-list .card .pic svg { width: 28%; max-width: 72px; }

/* ---------- visit page ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: start; }
.info { background: #fff; border: 2px solid var(--ink); padding: 30px 30px 26px; }
.info h2 { font-size: 30px; margin-bottom: 14px; }
.info address { font-style: normal; font-size: 19px; line-height: 1.4; margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; background: var(--concrete-2); padding-inline: 10px; }
.map-frame { border: 2px solid var(--ink); background: var(--concrete-2); aspect-ratio: 4 / 3.3; width: 100%; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.stack { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.site-footer .logo { font-size: 56px; margin-bottom: 14px; }
.site-footer .logo i { background: #8fc2a2; width: 13px; height: 13px; }
.site-footer h4 { font-size: 15px; letter-spacing: 0.16em; margin-bottom: 14px; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.site-footer p, .site-footer li, .site-footer address { font-size: 15px; color: rgba(255, 255, 255, 0.86); font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.soc { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; transition: transform 0.15s; }
.soc:hover { transform: translateY(-3px); }
.soc img { width: 28px; height: 28px; object-fit: contain; }
.soc.maps img { width: 20px; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* ---------- 404 ---------- */
.lost { padding: 120px 0; text-align: center; }
.lost h1 { font-size: clamp(80px, 18vw, 220px); font-weight: 700; }
.lost p { font-size: 20px; color: var(--ink-2); margin-bottom: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .vinyl-grid, .visit-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding: 36px 0 44px; }
  .grid, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .quotes, .panels { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 2px solid var(--ink); }
  .step:first-child { border-top: 0; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .tools { top: 68px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .search { max-width: none; }
}
@media (max-width: 560px) {
  .grid, .grid.four { grid-template-columns: 1fr; }
  .menu-list .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .menu-list .card .pic:not(.photo) { aspect-ratio: 16 / 9; }
  .menu-list .card .body { padding: 12px 12px 14px; }
  .menu-list .card h3 { font-size: 18px; }
  .menu-list .card p { display: none; }
  .menu-list .price .int { font-size: 34px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact b { font-size: 28px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .panel { padding: 28px 22px; }
  .panel .shot { width: calc(100% + 44px); margin: -28px -22px 22px; }
  .panel h3 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shelf .spin, .record .spin { animation: none; }
  .card, .btn, .soc { transition: none; }
}
