/* Shared styles for Local Line Vinyl's inner pages. The home page keeps its own inline styles. */
:root {
  --ground: #F4F7F9;
  --paper: #FFFFFF;
  --ink: #141920;
  --muted: #55606C;
  --faint: #8792A0;
  --grid: #E1EBF2;
  --grid-major: #C9DAE7;
  --rule: #CBD4DC;
  --sky: #2A86C2;
  --star: #CF2335;
  --star-hover: #B01C2C;
  --on-star: #FFFFFF;
  --band: #141920;
  --on-band: #F4F7F9;
  --on-band-muted: #A9B4BF;
  --display: "Big Shoulders Display", "Big Shoulders", "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --stencil: "Big Shoulders Stencil Display", "Big Shoulders Display", "Arial Narrow", Arial, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0E1216;
    --paper: #161B21;
    --ink: #ECF0F3;
    --muted: #A3AEB9;
    --faint: #6F7B87;
    --grid: #151D25;
    --grid-major: #1F2B36;
    --rule: #2A343E;
    --sky: #74BFEA;
    --star: #DD3446;
    --star-hover: #EC4A5B;
    --band: #1B222A;
    --on-band: #ECF0F3;
    --on-band-muted: #A3AEB9;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
p { margin: 0; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; text-wrap: balance; margin: 0; }
h2 { font-weight: 800; font-size: clamp(36px, 4.6vw, 54px); line-height: .92; letter-spacing: .005em; }
h3 { font-weight: 700; font-size: 24px; line-height: 1; letter-spacing: .01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  border-radius: 3px; border: 1.5px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 16px; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--star); color: var(--on-star); }
.btn-primary:hover { background: var(--star-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ground); }
.btn-small { min-height: 42px; padding: 8px 16px; font-size: 15px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 900; font-size: 27px; line-height: 1;
  letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
}
.star { width: 24px; height: 24px; flex: none; }
.star polygon { fill: var(--star); }

/* Intro */
.intro {
  border-block: 1px solid var(--rule);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.intro .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: clamp(36px, 6vw, 76px); }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.intro h1 { font-weight: 900; font-size: clamp(52px, 8.4vw, 108px); line-height: .86; max-width: 11em; }
.intro h1 .cut { font-family: var(--stencil); font-weight: 800; color: var(--star); }
.lede { font-size: 19px; color: var(--muted); max-width: 38em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section + .section { border-top: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-intro { display: flex; flex-direction: column; gap: 16px; }
.split-intro p { color: var(--muted); max-width: 30em; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 2px solid var(--ink); }
.card p { color: var(--muted); font-size: 16px; }
.card a { text-underline-offset: 3px; }
.spec { font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; color: var(--sky); }

.prose { display: flex; flex-direction: column; gap: 14px; }
.prose p { color: var(--muted); max-width: 62ch; }
.prose strong { color: var(--ink); font-weight: 600; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 9px; height: 9px; margin-top: 9px; background: var(--sky); }

/* Service area */
.hoods-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.hood-group h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }
.hood-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.hood-list li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.hood-list b { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase; }
.hood-list span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 20px; font-weight: 600; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 62ch; }

/* Band */
.band { background: var(--band); color: var(--on-band); }
.band .eyebrow, .band p { color: var(--on-band-muted); }
.band-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; align-items: start; }
.band-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.band .btn-outline { color: var(--on-band); border-color: var(--on-band); }
.band .btn-outline:hover { background: var(--on-band); color: var(--band); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--on-band) 35%, transparent);
  color: var(--on-band); font-size: 15px; font-weight: 500; text-decoration: none;
}
.pills a:hover { border-color: var(--on-band); }

/* Closing */
.closing { display: flex; flex-direction: column; gap: 22px; padding-block: clamp(56px, 8vw, 96px); }
.closing h2 { font-size: clamp(40px, 6vw, 76px); max-width: 13em; }

footer { border-top: 1px solid var(--rule); padding-block: 24px 40px; }
.foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Mobile action bar */
.actionbar { display: none; }
@media (max-width: 880px) {
  .split, .band-grid, .hoods-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .top .btn { display: none; }
  .cards { grid-template-columns: 1fr; }
  .actionbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--rule);
  }
  .actionbar .btn { min-height: 48px; padding: 8px; font-size: 15px; }
  .actionbar .btn-outline:hover { background: transparent; color: var(--ink); }
}
