/* Marsh Lane Cycle Workshop
   Hand-written CSS. No preprocessor, no framework, no external font.
   System font stack only, so the page makes no request to any other host. */

:root {
  --ink: #1c1d20;
  --ink-soft: #4a4d54;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --rule: #e0ddd6;
  --accent: #1f5f4f;
  --warn-bg: #fff4d6;
  --warn-edge: #b4801a;
  --warn-ink: #4a3506;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Demonstration banner -------------------------------------------
   Deliberately loud and deliberately first. Someone arriving from a scan
   report needs to understand what this page is before they read anything
   else on it. Do not move this below the fold. */

.demo-banner {
  background: var(--warn-bg);
  border-bottom: 3px solid var(--warn-edge);
  color: var(--warn-ink);
  padding: 1.5rem 0;
}

.demo-banner .wrap { max-width: 54rem; }

.demo-banner__lead {
  margin: 0 0 .6rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.demo-banner__body {
  margin: 0 0 .75rem;
  font-size: .95rem;
}

.demo-banner__link { margin: 0; font-size: .95rem; font-weight: 600; }

.demo-banner a { color: var(--warn-ink); text-underline-offset: 3px; }

/* ---- Header ---------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 1.75rem 0 1.5rem;
  background: var(--panel);
}

.brand {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-sub {
  margin: .15rem 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

/* ---- Sections -------------------------------------------------------- */

main section { padding: 3rem 0; border-bottom: 1px solid var(--rule); }

.hero { background: var(--panel); }

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.hero__text { margin: 0; max-width: 58ch; color: var(--ink-soft); font-size: 1.05rem; }

h2 {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

h3 { margin: 0 0 .5rem; font-size: 1.05rem; }

/* ---- Service cards --------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.25rem;
}

.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---- Hours ----------------------------------------------------------- */

.hours-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 30rem;
  text-align: left;
}

.hours-table th,
.hours-table td {
  padding: .6rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 400;
}

.hours-table th { color: var(--ink); }
.hours-table td { color: var(--ink-soft); text-align: right; }

.hours__note {
  margin: 1rem 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ---- About ----------------------------------------------------------- */

.about p { max-width: 62ch; color: var(--ink-soft); margin: 0 0 1rem; }
.about p:last-child { margin-bottom: 0; }

/* ---- Footer ---------------------------------------------------------- */

.site-footer {
  padding: 2rem 0 3rem;
  font-size: .9rem;
  color: var(--ink-soft);
}

.site-footer p { margin: 0 0 .35rem; }

a { color: var(--accent); }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceae5;
    --ink-soft: #a9a69f;
    --paper: #16171a;
    --panel: #1d1f23;
    --rule: #32353b;
    --accent: #6fc4ac;
  }
  .demo-banner { background: #3a2f10; --warn-ink: #ffe6a8; border-bottom-color: #a9821f; }
}
