/* Plumbing demo — work ticket on cream paper, copper accent. Not a card grid. */
:root {
  --bg: #efe4d4;
  --paper: #f7edd9;
  --ink: #1c140e;
  --muted: #5c4a3a;
  --accent: #a33b16;
  --accent-ink: #fffaf4;
  --photo-a: #c47a4a;
  --photo-b: #6b5344;
  --photo-c: #8a3d22;
  --rule: #1c140e;
}

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

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.4;
  padding-bottom: calc(6.75rem + env(safe-area-inset-bottom));
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.emergency {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 1rem 1.1rem 1.15rem;
  padding-top: calc(1rem + env(safe-area-inset-top));
}

.emergency-kicker {
  margin: 0;
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

.emergency-copy {
  margin: 0.35rem 0 0.85rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.emergency-call {
  display: block;
  text-align: center;
  padding: 0.95rem 0.75rem;
  min-height: 3.25rem;
  background: var(--paper);
  color: var(--accent);
  text-decoration: none;
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
  border: 2px solid var(--paper);
}

.ticket {
  margin: 0.75rem;
  background: var(--paper);
  border: 2px solid var(--rule);
  padding: 1.25rem 1rem 1.75rem;
  max-width: 28rem;
  overflow: hidden;
}

@media (min-width: 36rem) {
  .ticket {
    margin: 1rem auto;
  }
}

.mast {
  border-bottom: 2px solid var(--rule);
  padding-bottom: 1.25rem;
}

.kicker {
  margin: 0;
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.85rem, 8.5vw, 2.35rem);
  line-height: 1.05;
  font-weight: 700;
}

.lede {
  margin: 0 0 1rem;
  color: var(--ink);
}

.btn {
  display: block;
  text-align: center;
  padding: 0.95rem 0.75rem;
  min-height: 3.25rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.where {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.block {
  padding: 1.35rem 0 0;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.35rem;
}

.block:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.services {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: job;
}

.services li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.4rem;
  margin: 0 0 1rem;
  counter-increment: job;
}

.services li::before {
  content: counter(job);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.15rem;
}

.services strong,
.services span {
  grid-column: 2;
}

.services strong {
  font-size: 1.25rem;
}

.services span {
  color: var(--muted);
  margin-top: 0.15rem;
}

.towns-lead {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.towns {
  margin: 0;
  color: var(--muted);
}

.stamp-block {
  text-align: left;
}

.stamp {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.35rem 0.55rem;
  border: 3px solid var(--accent);
  color: var(--accent);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.stamp-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hint {
  margin: -0.2rem 0 0.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.photos {
  display: grid;
  gap: 0.65rem;
}

.photo {
  margin: 0;
}

.photo-frame {
  border: 2px solid var(--rule);
  min-height: 9.5rem;
  background: var(--photo-b);
}

.photo-frame svg,
.photo-frame img {
  width: 100%;
  height: auto;
  min-height: 9.5rem;
  object-fit: cover;
}

.photo figcaption {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-family: "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.faq {
  margin: 0;
}

.faq > div {
  margin: 0 0 1rem;
}

.faq dt {
  font-weight: 700;
  font-size: 1.2rem;
}

.faq dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

footer {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 1.1rem 1.5rem;
  font-size: 1.05rem;
}

footer p {
  margin: 0 0 0.35rem;
}

footer a {
  color: var(--ink);
  font-weight: 700;
}

.demo-mark {
  margin-top: 0.85rem;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 2px solid var(--rule);
  z-index: 10;
}

.dock-call {
  display: block;
  text-align: center;
  padding: 0.95rem 0.75rem;
  min-height: 3.25rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-family: "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  max-width: 28rem;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.emergency-call:focus-visible {
  outline-color: var(--paper);
}
