/* Creative Touch Compass Music LLC — shared styles
   Seed 3-3-2-1-5-3-1: vivid vinyl colours · pale tint base · centred hero · serif + sans ·
   pill nav · flat category tiles · sharp corners, 1px rules · motif: record grooves */

@font-face { font-family: "Gelasio"; src: url("fonts/gelasio-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --vinyl: #141014;
  --magenta: #e0287a;
  --magenta-deep: #b5155f;
  --magenta-btn: #c81d6a;
  --yellow: #ffc21a;
  --pine: #d9a66b;
  --base: #fcedf3;
  --white: #ffffff;
  --ink: #1a1418;
  --muted: #55464f;
  --rule: rgba(20, 16, 20, 0.85);
  --hair: rgba(20, 16, 20, 0.18);
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --grooves: repeating-radial-gradient(circle at 50% 120%, transparent 0 13px, rgba(224, 40, 122, 0.11) 13px 14px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--base);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; color: var(--ink); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 7.4vw, 6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }

a { color: var(--magenta-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--magenta-deep); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2rem); }
section { padding-block: clamp(3rem, 6vw, 5rem); }
.flush-top { padding-top: 0; }
.center { text-align: center; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.55rem 1rem; background: var(--vinyl); color: var(--white); font-weight: 600; }
.skip-link:focus { top: 1rem; color: var(--white); }

/* groove motif: hairline record grooves used as dividers */
.grooves-rule { height: 9px; border: 0; margin: 0; background: repeating-linear-gradient(180deg, var(--vinyl) 0 1px, transparent 1px 4px); }

/* ---------- header with pill navigation ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 0.8rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 64px; height: auto; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.brand:hover .brand-name { color: var(--magenta-deep); }
.pills ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.pills a {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--vinyl);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.pills a:hover { border-color: var(--magenta-deep); color: var(--magenta-deep); }
.pills a[aria-current="page"] { background: var(--vinyl); color: var(--white); }

/* ---------- shared parts ---------- */
.tag { display: inline-block; margin: 0 0 1.3rem; padding: 0.3rem 0.8rem; border: 1px solid var(--vinyl); background: var(--white); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; }
.kicker { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta-deep); }
.lede { font-size: clamp(1.12rem, 2vw, 1.3rem); color: var(--muted); max-width: 44ch; }
.center .lede { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--vinyl);
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  max-width: 100%; overflow-wrap: anywhere;
}
.btn-mag { background: var(--magenta-btn); border-color: var(--magenta-btn); color: var(--white); }
.btn-mag:hover { background: var(--vinyl); border-color: var(--vinyl); color: var(--white); }
.btn-line { background: var(--white); color: var(--ink); }
.btn-line:hover { background: var(--vinyl); color: var(--white); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--vinyl); }
.btn-yellow:hover { background: var(--white); border-color: var(--white); color: var(--vinyl); }
.btn-ghost { background: transparent; border-color: var(--base); color: var(--base); }
.btn-ghost:hover { background: var(--base); color: var(--vinyl); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.center .btn-row { justify-content: center; }

/* ---------- home: centred hero, very large headline ---------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) 0; background: var(--grooves); border-bottom: 1px solid var(--rule); }
.hero h1 { max-width: 13ch; margin-inline: auto; }
.hero-art { display: block; width: min(100%, 720px); margin: clamp(2rem, 5vw, 3rem) auto 0; }

.dark-band { background: var(--vinyl); color: var(--base); }
.dark-band h2, .dark-band h3 { color: var(--white); }
.dark-band .kicker { color: var(--yellow); }
.dark-band a:not(.btn) { color: var(--yellow); }
.dark-band :focus-visible { outline-color: var(--yellow); }
.spot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.spot p { color: #e9d9e1; }
.spot .price-big { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; color: var(--yellow); }

.bins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 2rem 0 0; padding: 0; border: 1px solid var(--rule); background: var(--white); }
.bins li + li { border-left: 1px solid var(--rule); }
.bins a { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; height: 100%; padding: 1.4rem 1.3rem 1.25rem; color: var(--ink); text-decoration: none; }
.bins a:hover { background: #fff6fa; }
.bins img { width: 56px; height: 56px; }
.bins .bin-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.bins .bin-count { font-size: 0.92rem; color: var(--muted); }

.counter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.counter li { padding: 1.1rem 0; border-bottom: 1px solid var(--hair); }
.counter strong { font-family: var(--serif); font-size: 1.1rem; }

.sellers { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--rule); background: var(--white); }
.sellers p.note { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.4; }
.sellers .btn-row { margin-top: 0; }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(2.75rem, 6vw, 4.25rem) clamp(1.75rem, 4vw, 2.5rem); background: var(--grooves); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.jump a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border: 1px solid var(--vinyl); background: var(--white); color: var(--ink); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.jump a:hover { background: var(--vinyl); color: var(--white); }
.jump img { width: 22px; height: 22px; }

/* ---------- catalog: flat tiles grouped by category ---------- */
.featured-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 1.75rem 0 0; padding: 0; border: 1px solid rgba(253, 238, 245, 0.45); }
.featured-tiles li { display: flex; flex-direction: column; padding: 1.5rem; }
.featured-tiles li + li { border-left: 1px solid rgba(253, 238, 245, 0.45); }
.featured-tiles p { color: #e9d9e1; }
.featured-tiles .offer { margin: auto 0 0; padding-top: 0.5rem; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--yellow); }

.cat { scroll-margin-top: 1rem; }
.cat + .cat { padding-top: 0; }
.cat-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.25rem; }
.cat-head img { width: 56px; height: 56px; flex: none; }
.cat-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: 0.01em; }
.cat-head .count { margin-left: auto; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.tile { display: flex; flex-direction: column; padding: 1.25rem 1.25rem 1.1rem; background: var(--white); border: 1px solid var(--rule); scroll-margin-top: 1rem; }
.tile h3 { margin-bottom: 0.4rem; }
.tile .desc { color: var(--muted); font-size: 0.98rem; }
.tile .price { margin: auto 0 0; padding-top: 0.8rem; border-top: 1px solid var(--hair); line-height: 1.35; }
.tile .amt { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--magenta-deep); }
.tile .unit { font-weight: 600; }
.tile .qual { display: block; font-size: 0.9rem; color: var(--muted); }
.tile .amt.quote { font-size: 1.08rem; color: var(--ink); }
.tile .call { display: inline-block; margin-top: 0.3rem; font-weight: 600; font-size: 0.92rem; }

.wantlist { padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--vinyl); color: var(--base); }
.wantlist h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.wantlist :focus-visible { outline-color: var(--yellow); }

/* ---------- about ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2rem 0 0; padding: 0; border: 1px solid var(--rule); background: var(--white); text-align: left; }
.facts div { padding: 1rem 1.2rem; }
.facts div + div { border-left: 1px solid var(--rule); }
.facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta-deep); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.story { max-width: 44rem; margin-inline: auto; }
.story .first { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.5; }
.story p { font-size: 1.12rem; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.why li { padding-top: 1rem; border-top: 1px solid var(--rule); }
.why strong { font-family: var(--serif); font-size: 1.15rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.75rem, 5vw, 3.5rem); align-items: start; }
.shop-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--rule); }
.shop-card address { font-style: normal; font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; margin-bottom: 1rem; }
.shop-card dl { margin: 0; }
.shop-card div { padding: 0.55rem 0; border-top: 1px solid var(--hair); }
.shop-card dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.shop-card dd { margin: 0; font-weight: 600; }
.buy-note { margin-top: 1.25rem; padding-left: 1rem; border-left: 3px solid var(--magenta); }

.hours { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.65rem; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.hours th, .hours td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.hours thead th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--rule); }
.hours tbody tr:last-child th, .hours tbody tr:last-child td { border-bottom: 0; }
.hours tbody th { font-weight: 600; white-space: nowrap; }
.hours .closed { color: var(--muted); }
.hours .note { display: block; font-size: 0.92rem; color: var(--muted); }

.map { margin-top: clamp(2rem, 5vw, 3rem); }
.map iframe { display: block; width: 100%; height: 380px; border: 1px solid var(--rule); background: var(--white); }
.map p { margin-top: 0.8rem; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--vinyl); color: #e9d9e1; font-size: 0.97rem; }
.site-footer .grooves-rule { background: repeating-linear-gradient(180deg, var(--magenta) 0 1px, transparent 1px 4px); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 2rem; padding-block: 2.75rem 1.75rem; }
.footer-name { margin: 0 0 0.35rem; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 0.15rem 0; }
.footer-bottom { margin: 0; padding-block: 1rem 1.6rem; border-top: 1px solid rgba(253, 238, 245, 0.25); font-size: 0.86rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bins li:nth-child(3) { border-left: 0; }
  .bins li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .spot, .sellers, .contact-grid { grid-template-columns: 1fr; }
  .featured-tiles { grid-template-columns: 1fr; }
  .featured-tiles li + li { border-left: 0; border-top: 1px solid rgba(253, 238, 245, 0.45); }
  .why { grid-template-columns: 1fr; gap: 1.25rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .brand img { width: 56px; }
  .brand-name { font-size: 1.15rem; }
  .pills ul { gap: 0.3rem; }
  .pills a { padding: 0.36rem 0.68rem; font-size: 0.84rem; }
  .tiles, .counter { grid-template-columns: 1fr; }
  .bins { grid-template-columns: 1fr; }
  .bins li + li, .bins li:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .facts { grid-template-columns: 1fr; }
  .facts div + div, .facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .cat-head .count { display: none; }
  .hours th, .hours td { padding: 0.65rem 0.75rem; }
  .hours tbody th { white-space: normal; }
  .map iframe { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
