/* ──────────────────────────────────────────────────────────────────────
   Grand Canyon Roofing
   Design direction: American craftsman trade annual.
   Editorial serif display, warm cream paper, ink + rust + sage palette,
   ordinal section numbers, paper-grain texture, photo-cover hero.
   ────────────────────────────────────────────────────────────────────── */

:root {
  /* Paper + ink */
  --paper:        #f5ecdc;     /* warm cream, low-saturation */
  --paper-deep:   #ead8b8;     /* aged paper, used for cards / panels */
  --paper-edge:   #d4bf94;     /* deeper still, for dividers */
  --ink:          #15110c;     /* near-black with warm undertone */
  --ink-soft:     #4a3f2f;     /* secondary text */
  --ink-mute:     #8a7758;     /* tertiary text + small caps */

  /* Accents */
  --rust:         #a44a2a;     /* desert rust - primary CTA */
  --rust-dark:    #7c321b;     /* hover state */
  --rust-light:   #c97a55;
  --sage:         #6f7c61;     /* secondary accent - sage from juniper */
  --sage-deep:    #4e5942;
  --sun:          #c79530;     /* warm yellow - reviews, highlights */
  --emergency:    #b53319;

  /* Lines */
  --line:         rgba(21,17,12,.18);
  --line-strong:  rgba(21,17,12,.45);

  /* Type */
  --f-display: "Fraunces", "Bodoni Moda", Georgia, serif;
  --f-body:    "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --f-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --f-sans:    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale (8px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 192px;

  /* Layout */
  --measure:    65ch;
  --container:  1240px;
  --container-tight: 880px;
  --header-h:   72px;
}

/* ───────── Reset / base ───────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  /* Paper grain: two layered radial SVGs for fiber texture */
  background-image:
    radial-gradient(at 12% 8%, rgba(124,50,27,.05) 0, transparent 35%),
    radial-gradient(at 92% 18%, rgba(111,124,97,.07) 0, transparent 40%),
    radial-gradient(at 50% 110%, rgba(199,149,48,.06) 0, transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
}
img, video { max-width: 100%; height: auto; display: block; }

/* ───────── Typography ───────── */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 var(--s-5);
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 6.6vw, 88px);
  font-weight: 700;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 600;
  margin-top: var(--s-9);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}
h3 {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 600;
  margin-top: var(--s-6);
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
h4 { font-size: 18px; margin-top: var(--s-5); }

p { margin: 0 0 var(--s-4); max-width: var(--measure); }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

a {
  color: var(--rust-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(124,50,27,.45);
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { color: var(--rust); text-decoration-color: var(--rust); }

ul, ol { margin: 0 0 var(--s-5) 0; padding-left: var(--s-5); }
ul { list-style: none; padding-left: 0; }
ul > li { position: relative; padding-left: var(--s-5); margin-bottom: var(--s-2); }
ul > li::before {
  content: "";
  position: absolute; left: 0; top: 0.65em;
  width: 14px; height: 1px;
  background: var(--ink-mute);
}
ol { padding-left: 1.25em; }
ol > li::marker { color: var(--ink-mute); font-family: var(--f-mono); font-size: 0.85em; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-8) 0; }

/* Eyebrow / small caps */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin: 0 0 var(--s-4);
  display: inline-flex; align-items: center; gap: var(--s-3);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: var(--ink-mute); display: inline-block;
}

/* Drop-cap helper (used on opening paragraph of money pages) */
.lede {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38em;
}
.lede strong { color: var(--ink); }

/* ───────── Layout ───────── */

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container-tight { max-width: var(--container-tight); margin: 0 auto; padding: 0 var(--s-5); }

.section { padding: var(--s-9) 0; position: relative; }
.section-tight { padding: var(--s-7) 0; }
.section-deep { background: var(--paper-deep); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--paper); }

/* Ordinal section numbers ("01 ROOFING SERVICES") */
.ordinal {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.ordinal-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.85;
  color: var(--paper-deep);
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1px var(--ink-mute);
  text-shadow: 1px 1px 0 rgba(21,17,12,.04);
}
.ordinal-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
}

/* ───────── Header ───────── */

/* Header + trust strip stick together at the top */
.header-stack {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,236,220,.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 1px 0 rgba(21,17,12,.04), 0 8px 20px rgba(21,17,12,.05);
}
.site-header {
  border-bottom: 1px solid var(--line);
  min-height: 104px;
  padding: var(--s-2) 0;
  display: flex; align-items: center;
  background: transparent;
}
:root { --header-h: 138px; }       /* 104 site-header + 34 trust-strip */
@media (max-width: 760px) {
  .site-header { min-height: 80px; padding: 6px 0; }
  :root { --header-h: 114px; }     /* 80 + 34 */
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  width: 100%;
  max-width: var(--container);
}
@media (min-width: 1080px) {
  .site-header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }
}
.brand {
  display: flex; align-items: center; gap: var(--s-3);
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 80px; width: auto; filter: drop-shadow(0 1px 0 rgba(255,255,255,.4)); }
@media (max-width: 760px) { .brand img { height: 60px; } }
.brand-text { display: none; }
.brand-text-1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-text-2 {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 4px;
}
@media (min-width: 760px) { .brand-text { display: block; } }

/* Header CTA button: smaller on mobile */
.header-cta-btn { display: none; }
@media (min-width: 540px) { .header-cta-btn { display: inline-flex; } }
@media (max-width: 540px) { .header-cta { gap: var(--s-2); } }
.nav-toggle { display: none; } /* legacy hamburger removed */
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ─── Primary nav: hidden on mobile (sheet replaces it), shown on desktop ─── */
.nav-primary {
  display: none;
}
.nav-link, .nav-dropdown-toggle {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  background: transparent; border: 0; cursor: pointer;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  text-align: left;
  letter-spacing: -0.01em;
}
.nav-dropdown-toggle::after {
  content: "+"; font-size: 24px; line-height: 1; color: var(--rust); font-weight: 400;
  transition: transform .2s ease;
}
.nav-dropdown[data-open="true"] .nav-dropdown-toggle::after { transform: rotate(45deg); }
.nav-dropdown-panel[hidden] { display: none !important; }
.nav-dropdown-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  padding: var(--s-4) 0 var(--s-5);
  background: var(--paper-deep);
  margin: 0 calc(-1 * var(--s-5));
  padding-left: var(--s-5); padding-right: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.nav-dropdown-col h5 {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 var(--s-3);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.nav-dropdown-col a {
  font-family: var(--f-display); font-weight: 500; font-size: 17px;
  color: var(--ink); text-decoration: none;
  display: block; padding: 8px 0;
}
.nav-dropdown-col a:hover, .nav-dropdown-col a:focus { color: var(--rust-dark); }

/* ─── Desktop overrides (1080px+) ─── */
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav-primary {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--s-7);
    padding: 0;
    overflow: visible;
    background: transparent;
    border-top: 0;
  }
  .nav-link, .nav-dropdown-toggle {
    font-family: var(--f-mono);
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink);
    border: 0;
    padding: 8px 0;
    position: relative;
  }
  .nav-dropdown-toggle::after { content: "▾"; font-size: 10px; color: var(--rust); margin-left: 6px; letter-spacing: 0; }
  .nav-dropdown[data-open="true"] .nav-dropdown-toggle::after { transform: rotate(180deg); display: inline-block; }
  .nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--rust);
    transform: scaleX(0); transform-origin: left;
    transition: transform .2s ease;
  }
  .nav-link:hover, .nav-dropdown-toggle:hover { color: var(--rust-dark); }
  .nav-link:hover::after { transform: scaleX(1); }

  /* Desktop dropdown panel = popup */
  .nav-dropdown {
    position: relative;
    /* Add hit-area padding-bottom so mouse can travel into the panel without dropping the hover */
    padding-bottom: var(--s-3);
    margin-bottom: calc(-1 * var(--s-3));
  }
  .nav-dropdown-toggle { padding-bottom: 12px !important; padding-top: 12px !important; }
  .nav-dropdown-panel {
    position: absolute;
    top: 100%;             /* no visible gap */
    left: 50%;
    transform: translateX(-50%);
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 0;
    min-width: 880px;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 60px rgba(21,17,12,.22);
    padding: var(--s-6) var(--s-5);
    margin: 0;
    z-index: 60;
  }
  /* Invisible "bridge" so the hover area covers the dead space between trigger and panel */
  .nav-dropdown-panel::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -16px;
    height: 16px;
  }
  .nav-dropdown-col { padding: 0 var(--s-4); border-right: 1px solid var(--line); border-bottom: 0; }
  .nav-dropdown-col:last-child { border-right: 0; }
  .nav-dropdown-col h5 { border-bottom: 0; padding-bottom: 0; margin-bottom: var(--s-3); }
  .nav-dropdown-col a {
    padding: 6px 0;
    font-size: 14px;
    border-radius: 2px;
    transition: color .12s ease, background .12s ease;
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .nav-dropdown-col a:hover {
    color: var(--rust-dark);
    background: rgba(164,74,42,.08);
  }
}

.header-cta { display: flex; align-items: center; gap: var(--s-4); justify-self: end; }
.header-phone {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.header-phone span { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-mute); display: block; }
.header-phone:hover { color: var(--rust-dark); }
@media (max-width: 640px) { .header-phone { display: none; } }

/* ───────── Buttons ───────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-3);
  padding: 16px 26px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  border-radius: 2px;
  position: relative;
}
.btn-primary {
  background: var(--rust);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(21,17,12,.18), 0 6px 18px rgba(124,50,27,.18);
}
.btn-primary:hover {
  background: var(--rust-dark);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(21,17,12,.22), 0 10px 22px rgba(124,50,27,.24);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-lg { padding: 20px 32px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-arrow::after {
  content: "→"; font-family: var(--f-display); font-size: 18px; line-height: 1;
  font-weight: 400; margin-left: 4px; transition: transform .15s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ───────── Trust strip (just under header) ───────── */

.trust-strip {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 9px 0;
  border-top: 1px solid rgba(245,236,220,.08);
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; align-items: center;
}
.trust-strip span { white-space: nowrap; }
.trust-strip .glyph { color: var(--sun); }

/* ───────── Hero ───────── */

.hero {
  position: relative;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero h1, .hero h2 { color: var(--paper); }
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.85) contrast(1.05) hue-rotate(-6deg);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(21,17,12,.35) 0%, rgba(21,17,12,.6) 60%, rgba(21,17,12,.85) 100%),
    radial-gradient(circle at 80% 18%, rgba(199,149,48,.12), transparent 50%);
}

/* Inner-page hero with aerial photo background */
.hero-inner.has-bg {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0 var(--s-9);
  border-bottom: 0;
}
.hero-inner.has-bg::after { display: none; }
.hero-inner.has-bg h1,
.hero-inner.has-bg h2 { color: var(--paper); }
.hero-inner.has-bg .crumbs,
.hero-inner.has-bg .crumbs a,
.hero-inner.has-bg .eyebrow { color: var(--paper-deep); }
.hero-inner.has-bg .eyebrow::before { background: var(--paper-deep); opacity: .6; }
.hero-inner.has-bg .lede,
.hero-inner.has-bg .hero-body,
.hero-inner.has-bg .hero-subhead { color: rgba(245,236,220,.92); }
.hero-inner.has-bg .btn-ghost { color: var(--paper); border-color: var(--paper); }
.hero-inner.has-bg .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-inner-img {
  position: absolute; inset: 0; z-index: 0;
  display: block; width: 100%; height: 100%;
}
.hero-inner-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) contrast(1.04) brightness(0.85);
}
.hero-inner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(21,17,12,.85) 0%, rgba(21,17,12,.55) 55%, rgba(21,17,12,.35) 100%),
    linear-gradient(180deg, rgba(21,17,12,0) 60%, rgba(21,17,12,.5) 100%);
}
.hero-inner.has-bg .container { position: relative; z-index: 2; }
.hero .container { position: relative; z-index: 2; padding-top: var(--s-10); padding-bottom: var(--s-10); }
.hero-eyebrow { color: var(--paper-deep); }
.hero-eyebrow::before { background: var(--paper-deep); opacity: 0.7; }
.hero h1 {
  margin: 0 0 var(--s-5);
  max-width: 18ch;
}
.hero-subhead {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 26px);
  color: rgba(245,236,220,.85);
  max-width: 32ch;
  margin-bottom: var(--s-6);
  line-height: 1.35;
}
.hero-body { max-width: 42ch; color: rgba(245,236,220,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-6) 0 var(--s-5); }
.hero-ctas .btn-ghost { color: var(--paper); border-color: var(--paper); }
.hero-ctas .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper-deep);
  display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center;
}
.hero-meta .dot { opacity: .45; }

.hero-2col { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) {
  .hero-2col { grid-template-columns: 1.4fr 0.9fr; gap: var(--s-9); }
}

/* Inner page hero (smaller, paper background) */
.hero-inner {
  background: var(--paper-deep);
  color: var(--ink);
  padding: var(--s-8) 0 var(--s-8);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-inner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px;
  background:
    linear-gradient(135deg, transparent 50%, var(--paper) 50.5%) 0 0 / 18px 24px,
    var(--paper-deep);
}
.hero-inner h1 { max-width: 22ch; }
.hero-inner .hero-body, .hero-inner .lede { color: var(--ink-soft); }

/* ───────── Breadcrumbs ───────── */

.crumbs {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: var(--s-4) 0 var(--s-5);
}
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--rust-dark); }
.crumbs .sep { opacity: .5; margin: 0 var(--s-2); }

/* ───────── Cards / Services Grid ───────── */

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--s-6);
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .2s ease;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 1px;
  background: var(--rust); transition: width .25s ease;
}
.svc-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 12px 30px rgba(21,17,12,.07);
}
.svc-card:hover::before { width: 100%; background: var(--rust); }
.svc-card .ord {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: var(--s-4);
}
.svc-card h3 { margin-top: 0; margin-bottom: var(--s-3); }
.svc-card p { color: var(--ink-soft); margin-bottom: var(--s-4); max-width: none; }
.svc-card .more {
  margin-top: auto;
  font-family: var(--f-sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--rust-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-card .more::after { content: "→"; font-family: var(--f-display); transition: transform .15s ease; }
.svc-card:hover .more::after { transform: translateX(3px); }

/* ───────── Process steps ───────── */

.steps { display: grid; gap: var(--s-6); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.step-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--rust);
  margin-bottom: var(--s-3);
  font-variation-settings: "opsz" 144;
}
.step h3 { margin: 0 0 var(--s-2); font-size: 22px; }
.step p { color: var(--ink-soft); max-width: none; }

/* ───────── Reviews ───────── */

.reviews-grid { display: grid; gap: var(--s-5); }
@media (min-width: 800px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }

/* ───────── Auto-scrolling Reviews Carousel ───────── */

.reviews-aggregate {
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
  margin-bottom: var(--s-5);
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.reviews-aggregate .stars { color: var(--sun); letter-spacing: 3px; font-family: var(--f-body); font-size: 18px; }
.reviews-aggregate strong { color: var(--ink); font-size: 20px; font-family: var(--f-display); }
.reviews-aggregate a { font-family: var(--f-sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }

.reviews-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.reviews-track {
  display: flex;
  gap: var(--s-5);
  animation: marquee 60s linear infinite;
  width: max-content;
}
.reviews-viewport:hover .reviews-track { animation-play-state: paused; }
.review-card {
  flex: 0 0 380px;
  margin: var(--s-3) 0;
}
@media (max-width: 720px) { .review-card { flex-basis: 84vw; } }
.review-card blockquote {
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

.review {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--s-6);
  position: relative;
}
.review::before {
  content: "“";
  position: absolute; top: -16px; left: 18px;
  font-family: var(--f-display);
  font-size: 84px; line-height: 1;
  color: var(--rust); font-weight: 700;
}
.review .stars { color: var(--sun); letter-spacing: 4px; font-size: 16px; margin-bottom: var(--s-3); display: block; }
.review blockquote {
  margin: 0 0 var(--s-4);
  font-family: var(--f-display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.review cite {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

/* ───────── Lead form ───────── */

.lead-form {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: var(--s-6);
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
}
.lead-form-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-3);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: var(--s-3); margin-bottom: var(--s-5);
}
.lead-form h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}
.lead-form-no {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.lead-form .field { margin-bottom: var(--s-4); }
.lead-form label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-family: var(--f-body);
  font-size: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(245,236,220,.6);
  color: var(--ink);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 0;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(164,74,42,.18);
}
.lead-form textarea { min-height: 92px; resize: vertical; }
.lead-form .legal {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  margin: var(--s-3) 0 0;
  line-height: 1.5;
}

/* ───────── Final CTA Block ───────── */

.cta-block {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) var(--s-6);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(164,74,42,.4), transparent 60%);
  pointer-events: none;
}
.cta-block h2 {
  color: var(--paper);
  margin: 0 0 var(--s-4);
  max-width: 18ch;
}
.cta-block p {
  color: rgba(245,236,220,.85);
  max-width: 36em;
}
.cta-block .ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.cta-block .btn-ghost { color: var(--paper); border-color: var(--paper); }
.cta-block .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* ───────── FAQ ───────── */

.faq-list { max-width: var(--container-tight); margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line-strong);
  padding: var(--s-5) 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 600;
  color: var(--ink);
  padding-right: var(--s-7);
  position: relative;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: -2px;
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1;
  color: var(--rust);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: var(--s-3);
  color: var(--ink-soft);
}

/* ───────── Trust Stack (license, warranty, veteran badges) ───────── */

.trust-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  padding: var(--s-7) 0;
}
@media (min-width: 720px) { .trust-stack { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-stack { grid-template-columns: repeat(4, 1fr); } }
.trust-badge {
  border: 1px solid var(--line-strong);
  padding: var(--s-5);
  background: var(--paper);
  text-align: left;
  position: relative;
}
.trust-badge .ord {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-3);
  display: block;
}
.trust-badge .num {
  font-family: var(--f-display);
  font-size: 36px; font-weight: 700; line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
  display: block;
}
.trust-badge .desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ───────── Sticky Mobile CTA Bar (3-button: phone / menu / inspection) ───────── */

.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border-top: 2px solid var(--rust);
  box-shadow: 0 -8px 24px rgba(21,17,12,.22);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mcta-phone, .mcta-cta {
  display: flex; flex-direction: column; justify-content: center;
  padding: 10px var(--s-3);
  text-decoration: none;
  color: var(--paper);
  line-height: 1.15;
}
.mcta-meta {
  font-family: var(--f-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--paper-deep);
  margin-bottom: 2px;
}
.mcta-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.mcta-menu {
  background: var(--rust-dark);
  color: var(--paper);
  border: 0;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 22px;
  font-family: var(--f-sans);
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
}
.mcta-menu .mcta-arrow {
  font-size: 14px;
  margin-bottom: 3px;
  transform: translateY(0);
  transition: transform .2s ease;
}
.mcta-menu[aria-expanded="true"] .mcta-arrow { transform: rotate(180deg); }
.mcta-cta {
  background: var(--rust);
  text-align: right;
  align-items: flex-end;
  font-family: var(--f-display);
  font-weight: 700; font-size: 15px;
  line-height: 1.1;
}
body { padding-bottom: 78px; }
@media (min-width: 1080px) {
  .mobile-cta-bar, .mobile-sheet, .mobile-sheet-backdrop { display: none !important; }
  body { padding-bottom: 0; }
}

/* ───────── Mobile sheet (slides up from bottom CTA) ───────── */

.mobile-sheet-backdrop,
.mobile-sheet {
  /* Honor the HTML `hidden` attribute - explicit display rules below would otherwise win */
}
.mobile-sheet-backdrop[hidden],
.mobile-sheet[hidden] { display: none !important; }

.mobile-sheet-backdrop {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(21,17,12,.55);
  backdrop-filter: blur(2px);
}
.mobile-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  background: var(--paper);
  border-top: 2px solid var(--rust);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -16px 40px rgba(21,17,12,.32);
  max-height: 82vh;
  display: flex; flex-direction: column;
  transform: translateY(0);
  animation: sheet-up .3s cubic-bezier(.22,1,.36,1);
}
@keyframes sheet-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.mobile-sheet-handle {
  width: 44px; height: 4px;
  background: var(--line-strong);
  border-radius: 2px;
  margin: 8px auto 0;
}
.mobile-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--s-5) 12px;
  border-bottom: 1px solid var(--line);
}
.mobile-sheet-title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mobile-sheet-close {
  background: transparent; border: 0;
  font-size: 22px; color: var(--ink);
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}
.mobile-sheet-body {
  overflow-y: auto;
  padding: var(--s-5) var(--s-5) var(--s-8);
  flex: 1;
}
.mobile-sheet-section { margin-bottom: var(--s-6); }
.mobile-sheet-section > h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 var(--s-3);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.mobile-sheet-group { margin-bottom: var(--s-4); }
.mobile-sheet-group > strong {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rust-dark);
  margin: var(--s-3) 0 6px;
}
.mobile-sheet a {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-sheet a:last-child { border-bottom: 0; }
.mobile-sheet a:active, .mobile-sheet a:hover { color: var(--rust-dark); }

/* ───────── Footer ───────── */

.site-footer {
  background: var(--ink);
  color: var(--paper-deep);
  padding: var(--s-9) 0 var(--s-6);
  margin-top: var(--s-10);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "GCR";
  position: absolute; right: -30px; bottom: -60px;
  font-family: var(--f-display); font-weight: 700;
  font-size: 320px; line-height: 1;
  color: rgba(245,236,220,.04);
  pointer-events: none;
  letter-spacing: -0.05em;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid; gap: var(--s-7);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.site-footer h4 {
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0 0 var(--s-4);
}
.site-footer p, .site-footer li { font-size: 14px; color: var(--paper-deep); line-height: 1.65; max-width: none; }
.site-footer a { color: var(--paper); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.site-footer a:hover { border-bottom-color: var(--rust); }
.site-footer ul { padding: 0; }
.site-footer ul li { padding-left: 0; margin-bottom: 8px; }
.site-footer ul li::before { display: none; }

.footer-logo {
  width: 80px; height: 80px; margin-bottom: var(--s-4);
  filter: brightness(1.05) drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.footer-brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--s-3);
}
.footer-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--paper-deep);
  margin-bottom: var(--s-5);
}
.footer-license {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-deep);
  border: 1px solid rgba(245,236,220,.18);
  padding: 8px 12px;
  display: inline-block;
  margin-top: var(--s-4);
}

.footer-meta {
  border-top: 1px solid rgba(245,236,220,.14);
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,236,220,.45);
  display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap;
}

/* ───────── Misc ───────── */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-center { text-align: center; }
.text-mute { color: var(--ink-soft); }
.section-title { max-width: 26ch; margin: 0 0 var(--s-7); }

.map-embed { width: 100%; height: 380px; border: 0; }

.emergency-block {
  background: rgba(181,51,25,.06);
  border-left: 3px solid var(--emergency);
  padding: var(--s-5);
  margin: var(--s-6) 0;
}
.emergency-block h3 {
  margin-top: 0;
  color: var(--emergency);
  font-size: 22px;
}
.emergency-block p { margin: 0; }

/* ───────── Materials We Use - brand cards ───────── */

.materials-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .materials-grid { grid-template-columns: repeat(3, 1fr); } }
.material-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand, var(--rust));
  padding: var(--s-5);
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.material-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(21,17,12,.08);
  color: var(--ink);
}
.material-logo {
  display: flex; align-items: center;
  height: 64px;
  margin-bottom: var(--s-4);
}
.material-logo img {
  max-height: 60px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: saturate(1) contrast(1);
}
.material-wordmark {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--brand, var(--rust));
  line-height: 1;
}
.material-card h3 {
  font-size: 18px; margin: 0 0 var(--s-2);
}
.material-card p {
  color: var(--ink-soft); font-size: 14px; margin-bottom: var(--s-3); max-width: none;
}
.material-card .material-meta {
  margin-top: auto;
  font-family: var(--f-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-mute);
}

/* ───────── Horizon divider (engraved-line illustration) ───────── */

.horizon-divider {
  width: 100%;
  padding: var(--s-8) 0 var(--s-3);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.horizon-divider img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
  height: auto;
  opacity: 0.7;
  mix-blend-mode: multiply;
}

/* Seal + heading row (used above trust badges) */
.seal-row {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: var(--s-7);
}
@media (min-width: 720px) {
  .seal-row { grid-template-columns: auto 1fr; gap: var(--s-7); }
}
.seal-row img.trust-seal {
  width: 180px; height: 180px;
  filter: drop-shadow(0 6px 14px rgba(21,17,12,.12));
}
@media (min-width: 720px) {
  .seal-row img.trust-seal { width: 220px; height: 220px; }
}

.gallery-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; filter: saturate(0.95) contrast(1.02); transition: transform .25s ease, filter .25s ease; }
.gallery-grid a:hover img { transform: scale(1.03); filter: saturate(1.05) contrast(1.05); }

/* ───────── Feature image (top of service / about pages) ───────── */

.feature-image-wrap {
  background: var(--paper);
  padding-top: var(--s-6);
}
.feature-image {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}
.feature-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform .8s ease;
}
.feature-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(21,17,12,.18) 100%);
  pointer-events: none;
}

/* ───────── Photo strip (4-up on home + hubs) ───────── */

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
@media (min-width: 720px) {
  .photo-strip { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
}
.photo-strip-item {
  margin: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.photo-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform .5s cubic-bezier(.22,1,.36,1), filter .3s ease;
}
.photo-strip-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.06);
}
.photo-strip-item::after {
  content: "";
  position: absolute; left: 0; bottom: 0; width: 36px; height: 1px;
  background: var(--rust);
}

/* ───────── Full gallery grid ───────── */

.gallery-grid-full {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery-grid-full { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery-grid-full { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  aspect-ratio: 1;
  background: var(--paper-deep);
}
.gallery-item a { display: block; height: 100%; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform .5s cubic-bezier(.22,1,.36,1), filter .3s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.08);
}

/* Decorative divider with diamond */
.divider {
  display: flex; align-items: center; gap: var(--s-3);
  margin: var(--s-7) 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line-strong);
}
.divider .diamond {
  width: 7px; height: 7px; transform: rotate(45deg); background: var(--rust);
}

/* Animate-in on first paint */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-subhead, .hero-body, .hero-ctas, .hero-meta {
    opacity: 0; transform: translateY(12px);
    animation: rise .7s cubic-bezier(.22,1,.36,1) forwards;
  }
  .hero h1 { animation-delay: .05s; }
  .hero-subhead { animation-delay: .15s; }
  .hero-body { animation-delay: .25s; }
  .hero-ctas { animation-delay: .35s; }
  .hero-meta { animation-delay: .45s; }
  @keyframes rise {
    to { opacity: 1; transform: none; }
  }
}

/* ───────── Signs / Symptoms cards (depth + visual) ───────── */

.section-intro {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 0 0 var(--s-6);
}
.section-outro {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: var(--s-6) 0 0;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-style: italic;
}
.signs-grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .signs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .signs-grid { grid-template-columns: repeat(3, 1fr); } }
.sign-card {
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  transition: border-color .15s ease, transform .15s ease;
}
.sign-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
}
.sign-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--rust);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--s-3);
}
.sign-card h3 {
  margin: 0 0 var(--s-2);
  font-size: 17px;
  line-height: 1.3;
  font-family: var(--f-display);
  color: var(--ink);
}
.sign-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}
.section-deep .sign-card {
  background: var(--paper);
  border-color: rgba(21,17,12,.22);
}
.section-deep .sign-card h3 { color: var(--ink); }
.section-deep .sign-card p { color: var(--ink-soft); }

/* ───────── Urgency / decision table ───────── */

.urgency-table {
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  overflow: hidden;
}
.urgency-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-3) var(--s-4);
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  gap: var(--s-4);
}
.urgency-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-4);
  padding: var(--s-4);
  border-top: 1px solid var(--line);
  align-items: start;
  position: relative;
}
.urgency-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.urgency-urgent::before { background: #c0392b; }
.urgency-soon::before { background: var(--rust); }
.urgency-planned::before { background: #b8860b; }
.urgency-routine::before { background: var(--sage, #7a8f6a); }
.urgency-when {
  font-weight: 700;
  color: #1a1612;
  font-size: 16px;
  line-height: 1.4;
}
.urgency-do {
  color: #1a1612;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.urgency-urgent .urgency-when { color: #a32d1f; font-weight: 800; }
@media (max-width: 640px) {
  .urgency-head, .urgency-row { grid-template-columns: 1fr; }
  .urgency-row { padding-left: var(--s-5); }
}
.section-deep .urgency-table { border-color: rgba(21,17,12,.35); background: var(--paper); }
.section-deep .urgency-head { background: var(--ink); color: var(--paper); }
.section-deep .urgency-row { border-top-color: rgba(21,17,12,.15); background: var(--paper); }
.section-deep .urgency-when { color: #1a1612; font-weight: 700; }
.section-deep .urgency-do { color: #1a1612; font-weight: 500; }
.section-deep .urgency-urgent .urgency-when { color: #a32d1f; font-weight: 800; }

/* ───────── Prose table (fallback for any other markdown tables) ───────── */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-5) 0;
  font-size: 15px;
}
.prose th, .prose td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
