/* ==========================================================================
   Cricket Plumbing — design system
   Palette: ink navy, copper, cream. Editorial "work order" layout.
   ========================================================================== */

:root {
  --ink: #0b1b2b;
  --ink-soft: #173248;
  --slate: #43566a;
  --slate-light: #56687a;
  --copper: #bf6b3c;
  --copper-dark: #964d25;
  --copper-pale: #f0d9c9;
  --cream: #f6f0e4;
  --cream-deep: #ece3d2;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: rgba(11, 27, 43, 0.14);
  --line-strong: rgba(11, 27, 43, 0.32);
  --shadow-offset: 7px 7px 0 rgba(11, 27, 43, 0.08);
  --radius: 4px;
  --wrap: 1180px;
  --sans: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-dark); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
strong { font-weight: 700; }
small { font-size: 0.82rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--copper); color: var(--white); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--ink);
  color: var(--cream);
  padding: 0.65rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--cream); }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
  flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0.25rem; max-width: 16ch; }
.section-head p { max-width: 46ch; margin: 0; color: var(--slate); }
.section--ink .section-head p { color: rgba(246, 240, 228, 0.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}
.section--ink .eyebrow, .cta-band .eyebrow { color: #e2a37b; }

.lede {
  font-size: clamp(1.06rem, 1.55vw, 1.22rem);
  line-height: 1.6;
  color: var(--slate);
  max-width: 62ch;
}
.section--ink .lede { color: rgba(246, 240, 228, 0.78); }

.stitch {
  height: 10px;
  background-image: repeating-linear-gradient(115deg, var(--copper) 0 2px, transparent 2px 9px);
  opacity: 0.55;
}

/* ==========================================================================
   Buttons and call controls
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translate(-1px, -1px); }
.btn svg { flex: none; }

.btn--call {
  background: var(--copper-dark);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--call:hover { background: #7c3f1d; color: var(--white); box-shadow: 6px 6px 0 var(--ink); }

.btn--ink {
  background: var(--ink);
  color: var(--cream);
}
.btn--ink:hover { background: var(--ink-soft); color: var(--cream); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--wide { width: 100%; }

.call-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--copper);
  padding-bottom: 2px;
}
.call-line:hover { color: var(--copper-dark); }

.tel--lg {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.tel--lg:hover { color: var(--copper-dark); }

/* ==========================================================================
   Top bar + header
   ========================================================================== */

.topbar {
  background: var(--ink);
  color: rgba(246, 240, 228, 0.82);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { color: #e2a37b; }
.topbar__note { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #7fbf8a;
  box-shadow: 0 0 0 3px rgba(127, 191, 138, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 240, 228, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}
.nav a:hover { background: var(--cream-deep); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--copper-dark); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.95rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
}
.header-call:hover { background: var(--copper-dark); color: var(--white); }
.header-call span { display: block; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
}
.nav-toggle svg { margin: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 27, 43, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 27, 43, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__copy { position: relative; z-index: 1; }
.hero h1 { max-width: 17ch; margin-bottom: 1.1rem; }
.hero h1 em {
  font-style: normal;
  color: var(--copper-dark);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.16em;
  background: var(--copper);
  opacity: 0.22;
  z-index: -1;
}
.hero .lede { margin-bottom: 1.6rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-bottom: 1.8rem;
}
.hero__note {
  font-size: 0.82rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__note svg { color: var(--copper-dark); flex: none; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__meta i {
  width: 5px; height: 5px;
  background: var(--copper);
  border-radius: 50%;
  display: inline-block;
}

/* Work-order card */
.ticket {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 rgba(11, 27, 43, 0.1);
  padding: 1.5rem 1.5rem 1.35rem;
  transform: rotate(-1.2deg);
}
.ticket::before {
  content: "";
  position: absolute;
  top: -12px; left: 34px;
  width: 92px; height: 22px;
  background: rgba(191, 107, 60, 0.5);
  border: 1px solid rgba(150, 77, 37, 0.35);
  transform: rotate(-3deg);
}
.ticket__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line-strong);
  margin-bottom: 1rem;
}
.ticket__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-bottom: 0.2rem;
}
.ticket__no {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--copper-dark);
}
.ticket h2 {
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}
.ticket p { font-size: 0.9rem; color: var(--slate); margin-bottom: 1rem; }
.ticket .btn { font-size: 1.02rem; min-height: 58px; }
.ticket .tel--lg { display: block; text-align: center; margin: 0.9rem 0 0.4rem; }
.ticket__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.ticket__stamp {
  position: absolute;
  right: -30px;
  bottom: -26px;
  width: 82px;
  height: 82px;
  background: var(--paper);
  border: 2px solid rgba(191, 107, 60, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.55rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-dark);
  transform: rotate(9deg);
  opacity: 0.9;
  box-shadow: 0 0 0 4px var(--cream);
}

/* Gauge art */
.gauge {
  position: absolute;
  right: -38px;
  top: -52px;
  width: 150px;
  height: 150px;
  opacity: 0.9;
  pointer-events: none;
}

/* ==========================================================================
   Ticker
   ========================================================================== */

.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-block: 1px solid var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 0.85rem 1.1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__group i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Service cards
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.6rem 1.45rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-offset);
  color: var(--ink);
}
.service-card__num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--slate-light);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--copper-dark);
  margin: 0.15rem 0 0.35rem;
}
.service-card h3 { font-size: 1.32rem; margin-bottom: 0; }
.service-card p { font-size: 0.9rem; color: var(--slate); margin: 0; }
.service-card__more {
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--copper-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-card:hover .service-card__more svg { transform: translateX(3px); }
.service-card__more svg { transition: transform 0.16s ease; }

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -1.05rem;
  left: 0;
  background: var(--cream);
  padding-right: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--copper-dark);
}
.section--paper .step::before { background: var(--paper); }
.step h3 { font-size: 1.25rem; margin: 0.4rem 0 0.45rem; }
.step p { font-size: 0.92rem; color: var(--slate); margin: 0; }

/* ==========================================================================
   Dispatch board (cities)
   ========================================================================== */

.board {
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.board__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.board__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.board__col { border-right: 1px solid var(--line); }
.board__col:last-child { border-right: 0; }
.dispatch {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 1.15rem;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
  font-size: 0.9rem;
}
.dispatch:last-child { border-bottom: 0; }
.dispatch:hover { background: var(--cream); color: var(--ink); }
.dispatch__city { font-weight: 700; }
.dispatch__state {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--slate-light);
  letter-spacing: 0.06em;
  margin-left: 0.35rem;
}
.dispatch__arrow { color: var(--copper); flex: none; opacity: 0; transform: translateX(-3px); transition: 0.15s ease; }
.dispatch:hover .dispatch__arrow { opacity: 1; transform: translateX(0); }
.board__foot {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--slate);
  background: var(--cream);
}

/* ==========================================================================
   Reasons
   ========================================================================== */

.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}
.reason { display: flex; gap: 1rem; }
.reason__icon {
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 240, 228, 0.25);
  border-radius: 50%;
  color: #e2a37b;
}
.reason h3 { color: var(--cream); font-size: 1.15rem; margin-bottom: 0.3rem; }
.reason p { color: rgba(246, 240, 228, 0.7); font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Blog cards
   ========================================================================== */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-offset); color: var(--ink); }
.post-card__art {
  height: 132px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.post-card__art svg { width: 100%; height: 100%; }
.post-card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card__tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--copper-dark);
  margin-bottom: 0.45rem;
}
.post-card h3 { font-size: 1.14rem; margin-bottom: 0.5rem; }
.post-card p { font-size: 0.86rem; color: var(--slate); margin: 0 0 0.9rem; }
.post-card__link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { border-top: 1px solid var(--line-strong); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.2rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--copper-dark);
  flex: none;
  transition: transform 0.18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.15rem; max-width: 72ch; color: var(--slate); font-size: 0.94rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(191, 107, 60, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(191, 107, 60, 0.06), 0 0 0 80px rgba(191, 107, 60, 0.04);
  pointer-events: none;
}
.cta-band .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.cta-band h2 { margin: 0 0 0.4rem; color: var(--cream); max-width: 20ch; }
.cta-band p { margin: 0; color: rgba(246, 240, 228, 0.72); max-width: 46ch; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }

/* ==========================================================================
   Interior pages
   ========================================================================== */

.page-hero {
  padding: clamp(2.2rem, 4.5vw, 3.6rem) 0 clamp(1.8rem, 3.5vw, 2.8rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--cream);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(11,27,43,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.8), transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 22ch; margin-bottom: 0.75rem; }
.page-hero .lede { max-width: 60ch; margin: 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 1.2rem;
}
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--copper-dark); }
.crumbs span[aria-current] { color: var(--ink); }

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.prose { max-width: 72ch; }
.prose > h2 { margin-top: 2.4rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose p, .prose li { color: #26394b; }
.prose a { color: var(--copper-dark); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li::marker { color: var(--copper-dark); }
.prose blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.4rem;
  background: var(--paper);
  border-left: 3px solid var(--copper);
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .callout {
  margin: 1.8rem 0;
  padding: 1.15rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.prose .callout h3 { margin: 0 0 0.4rem; font-size: 1.12rem; }
.prose .callout p:last-child, .prose .callout ul:last-child { margin-bottom: 0; }

.answer-box {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--copper);
  padding: 1.3rem 1.45rem;
  margin: 0 0 1.9rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.answer-box p { margin: 0; font-size: 1.02rem; color: var(--ink); }
.answer-box strong { color: var(--ink); }

.sidebar { position: sticky; top: 100px; display: grid; gap: 1.1rem; }
.side-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.side-card h2, .side-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.side-card p { font-size: 0.87rem; color: var(--slate); }
.side-card .btn { width: 100%; margin-top: 0.35rem; }
.side-card__list { list-style: none; margin: 0; padding: 0; }
.side-card__list li {
  border-bottom: 1px dashed var(--line);
  margin: 0;
}
.side-card__list li:last-child { border-bottom: 0; }
.side-card__list a {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.side-card__list a:hover { color: var(--copper-dark); }
.side-card__list span { color: var(--copper); font-family: var(--mono); font-size: 0.7rem; }
.side-card--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.side-card--ink h2, .side-card--ink h3 { color: var(--cream); }
.side-card--ink p { color: rgba(246, 240, 228, 0.72); }
.side-card--ink .tel--lg { color: var(--cream); display: block; margin: 0.5rem 0 0.6rem; }
.side-card--ink .side-card__note {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.68);
}

.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.28em;
  width: 17px; height: 17px;
  border: 1.5px solid var(--copper);
  border-radius: 2px;
  background:
    linear-gradient(135deg, transparent 44%, var(--copper) 44% 56%, transparent 56%) 2px 3px / 9px 9px no-repeat;
}

.city-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  margin: 1.8rem 0;
}
.city-facts div { background: var(--paper); padding: 1rem 1.1rem; }
.city-facts dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 0.3rem;
}
.city-facts dd { margin: 0; font-size: 0.9rem; font-weight: 600; }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 1rem 0 1.6rem; }
.pill-list li {
  margin: 0;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  background: var(--paper);
}

.mini-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1.15rem 1.3rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
}
.mini-cta p { margin: 0; font-size: 0.95rem; color: rgba(246,240,228,0.8); }
.mini-cta strong { display: block; color: var(--cream); font-family: var(--serif); font-size: 1.15rem; }
.mini-cta .btn { flex: none; }

/* Services index */
.service-list { display: grid; gap: 1rem; }
.service-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.35rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.service-row:hover { border-color: var(--ink); transform: translateX(3px); color: var(--ink); }
.service-row__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--copper-dark);
}
.service-row h2, .service-row h3 { font-size: 1.3rem; margin: 0 0 0.2rem; }
.service-row p { margin: 0; font-size: 0.9rem; color: var(--slate); }
.service-row__arrow { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper-dark); white-space: nowrap; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.contact-card h2 { font-size: 1.5rem; }
.contact-card .tel--lg { display: block; margin: 0.7rem 0 0.3rem; }
.contact-card__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.contact-note {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.86rem;
  color: var(--slate);
}
.contact-note a { color: var(--copper-dark); font-weight: 600; }

/* Legal */
.legal { max-width: 76ch; }
.legal h2 { font-size: 1.45rem; margin-top: 2.1rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 0.95rem; color: #2a3c4e; }
.legal .meta {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 1.6rem;
}

/* Blog index */
.blog-hero { padding-bottom: 2rem; }
.blog-list { display: grid; gap: 1.2rem; }
.blog-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.5rem;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.blog-row:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.blog-row__art { min-height: 160px; background: var(--cream); border-right: 1px solid var(--line); }
.blog-row__art svg { width: 100%; height: 100%; }
.blog-row__body { padding: 1.3rem 1.4rem 1.3rem 0; }
.blog-row__tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-dark);
}
.blog-row h2 { font-size: 1.35rem; margin: 0.35rem 0 0.4rem; }
.blog-row p { font-size: 0.9rem; color: var(--slate); margin: 0; }

/* 404 */
.error-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}
.error-page .code {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-dark);
}
.error-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0.6rem 0; }
.error-page p { max-width: 46ch; margin-inline: auto; color: var(--slate); }
.error-page .actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(246, 240, 228, 0.65);
  padding: clamp(2.8rem, 5vw, 4.5rem) 0 0;
  font-size: 0.86rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.site-footer .brand { color: var(--cream); }
.site-footer .brand__sub { color: rgba(246, 240, 228, 0.5); }
.site-footer h2 {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 240, 228, 0.66);
  margin: 0 0 0.9rem;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(246, 240, 228, 0.78); text-decoration: none; }
.footer-links a:hover { color: #e2a37b; }
.footer-brand p { max-width: 34ch; margin: 1rem 0 1.2rem; font-size: 0.85rem; }
.footer-call {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(246, 240, 228, 0.25);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--cream);
}
.footer-call:hover { border-color: var(--copper); color: var(--cream); }
.footer-call strong { font-family: var(--serif); font-size: 1.35rem; }
.footer-call span { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246,240,228,0.55); }
.footer-bottom {
  border-top: 1px solid rgba(246, 240, 228, 0.14);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(246, 240, 228, 0.64);
}
.footer-bottom p { margin: 0; max-width: 78ch; }
.footer-bottom a { color: rgba(246, 240, 228, 0.65); }

/* Mobile sticky call bar */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: none;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(11, 27, 43, 0.12);
}
.call-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: var(--wrap);
  margin: 0 auto;
}
.call-bar__copy {
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--slate);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.call-bar__copy strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.call-bar .btn { margin-left: auto; flex: none; min-height: 48px; padding: 0.6rem 1rem; box-shadow: 3px 3px 0 var(--ink); }

/* ==========================================================================
   Art helpers
   ========================================================================== */

.blueprint { color: var(--copper); }
.art-panel {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem;
}
.art-panel svg { width: 100%; height: auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .ticket { max-width: 460px; transform: none; }
  .gauge { display: none; }
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-row: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1.1rem;
    gap: 0.15rem;
    box-shadow: 0 18px 30px rgba(11,27,43,0.12);
  }
  .nav.is-open a { padding: 0.8rem 0.6rem; border-bottom: 1px dashed var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-call { display: none; }
  .services-grid, .process, .reasons, .posts-grid, .blog-list { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 54px minmax(0, 1fr); }
  .service-row__arrow { display: none; }
  .city-facts { grid-template-columns: 1fr 1fr; }
  .board__cols { grid-template-columns: 1fr 1fr; }
  .board__col:nth-child(2) { border-right: 0; }
  .board__col:nth-child(3) { border-top: 1px dashed var(--line); grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .call-bar { display: block; }
  body { padding-bottom: 76px; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-row__art { min-height: 140px; border-right: 0; border-bottom: 1px solid var(--line); }
  .blog-row__body { padding: 0 1.3rem 1.3rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar .wrap { justify-content: center; }
  .topbar__note { display: none; }
  .hero h1 em { white-space: normal; }
  .services-grid, .process, .reasons, .posts-grid, .blog-list { grid-template-columns: 1fr; }
  .board__cols { grid-template-columns: 1fr; }
  .board__col { border-right: 0; }
  .board__col:nth-child(2) { border-top: 1px dashed var(--line); }
  .city-facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .ticket { transform: none; box-shadow: 7px 7px 0 rgba(11,27,43,0.1); }
  .ticket__stamp { display: none; }
  .mini-cta { flex-direction: column; align-items: flex-start; }
  .mini-cta .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker__track { animation: none; }
}

@media print {
  .site-header, .topbar, .call-bar, .site-footer, .cta-band { display: none; }
  body { background: #fff; color: #000; }
  .page-hero { border: 0; }
}
