/* Pearland Junk Removal Pros - stylesheet
   One static file, no build step, no web fonts, no JS dependency.

   Contrast, measured per pair (WCAG 2.x ratio; 4.5:1 floor for small text):
     white on --bedrail (header, cta band) ............ 12.06:1
     white on --strap (buttons, call bar) .............  8.48:1
     white on --strap-deep (hover) .................... 11.62:1
     white on --cargo (light end of hero gradient) ....  4.58:1
     nav link #f4dde3 on --bedrail ....................  9.36:1
     brand mark --reflector on --bedrail ..............  9.03:1
     footer text #e8c9d1 on --strap-deep ..............  7.58:1
     --strap on --carat-page (links, labels) ..................  7.89:1
     --strap on white .................................  8.48:1
     --lens-letter on --reflector (item chips) ................ 13.53:1
     --lens-letter on --carat-page .................................... 16.82:1
     --lilac-recessive on --carat-page / white ..........................  6.86:1 / 7.37:1
     step number #8a1c34 on #f9e9ed ...................  7.80:1
     success #1f5c3a on #e3f7ec .......................  7.09:1
     error #b3261e on #fdecea .........................  5.72:1
*/

:root {
  --bedrail: #6a1426;
  --cargo: #b5586e;
  --strap: #921f39;
  --strap-deep: #6d172b;
  --reflector: #9ff0c2;
  --carat-page: #f9f6f6;
  --sheet-white: #ffffff;
  --lens-letter: #211215;
  --lilac-recessive: #694f55;
  --noble-overlay: 106, 20, 38;
  --edge-line: #eadfe1;
  --bend-r: 9px;
  --page-w: 1120px;
  /* Fixed call bar height at 375px: measured 61px in Chromium at 375, 62px at 1440, plus 1px slack. */
  --sepia-pin-h: 62px;
}
@media (min-width: 721px) { :root { --sepia-pin-h: 63px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--lens-letter);
  background: var(--carat-page);
  line-height: 1.6;
  padding-bottom: var(--sepia-pin-h);
}
img { max-width: 100%; display: block; }
a { color: var(--strap); text-decoration: none; }
a:hover { text-decoration: underline; }
.easel-canvas { max-width: var(--page-w); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
header.keystone-toprail { background: var(--bedrail); color: var(--sheet-white); position: sticky; top: 0; z-index: 50; }
header.keystone-toprail .calm-batten {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  max-width: var(--page-w); margin: 0 auto; padding: 13px 20px;
}
header.keystone-toprail .south-marque { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.12rem; color: var(--sheet-white); }
header.keystone-toprail .south-marque span { color: var(--reflector); }
.spiral-medallion { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
header.keystone-toprail nav { display: flex; gap: 16px; flex-wrap: wrap; }
header.keystone-toprail nav a { color: #f4dde3; font-size: 0.94rem; }
header.keystone-toprail nav a:hover { color: var(--sheet-white); }
header.keystone-toprail .narrow-reach-btn {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: var(--strap); color: var(--sheet-white); padding: 9px 16px; border-radius: var(--bend-r); font-weight: 700;
}
header.keystone-toprail .narrow-reach-btn:hover { background: var(--strap-deep); text-decoration: none; }
@media (max-width: 820px) { header.keystone-toprail .calm-batten { justify-content: center; text-align: center; } }
@media (min-width: 821px) and (max-width: 1060px) {
  header.keystone-toprail nav { order: 3; flex: 1 0 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.lyric-standard { background: linear-gradient(135deg, var(--bedrail) 0%, var(--bedrail) 45%, var(--cargo) 100%); color: var(--sheet-white); padding: 54px 20px 46px; }
.lyric-standard .easel-canvas { display: flex; flex-direction: column; gap: 16px; padding: 0; width: 100%; }
.lyric-standard .ruby-hatnote {
  display: inline-block; width: fit-content; background: rgba(255,255,255,0.14);
  padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.03em;
}
.lyric-standard h1 { font-size: 2.15rem; line-height: 1.2; margin: 0; max-width: 780px; }
.lyric-standard p.pivot-intro { font-size: 1.08rem; color: var(--sheet-white); max-width: 640px; margin: 0; }
.lyric-standard .mosaic-addendum { font-size: 0.9rem; color: var(--sheet-white); max-width: 640px; margin: 0; }
.lyric-standard.merry-backed {
  background-image:
    linear-gradient(90deg, rgba(var(--noble-overlay), 0.92) 0%, rgba(var(--noble-overlay), 0.78) 40%, rgba(var(--noble-overlay), 0.30) 70%, rgba(var(--noble-overlay), 0.06) 100%),
    url('/images/hero-junk-photo.jpg');
  background-size: cover; background-position: center; min-height: 540px; display: flex; align-items: center;
}
@media (max-width: 820px) {
  .lyric-standard.merry-backed {
    background-image:
      linear-gradient(180deg, rgba(var(--noble-overlay), 0.90) 0%, rgba(var(--noble-overlay), 0.82) 55%, rgba(var(--noble-overlay), 0.68) 100%),
      url('/images/hero-junk-photo-mobile.jpg');
    min-height: 460px;
  }
  .lyric-standard h1 { font-size: 1.7rem; }
}
.tidy-route-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.tandem-control { display: inline-block; padding: 13px 22px; border-radius: var(--bend-r); font-weight: 700; font-size: 1rem; }
.tandem-control.cipher-lead-btn { background: var(--strap); color: var(--sheet-white); }
.tandem-control.cipher-lead-btn:hover { background: var(--strap-deep); text-decoration: none; }
.tandem-control.hatch-muted-btn { background: rgba(255,255,255,0.08); color: var(--sheet-white); border: 1px solid rgba(255,255,255,0.4); }
.tandem-control.hatch-muted-btn:hover { background: rgba(255,255,255,0.16); text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: 46px 20px; }
section .easel-canvas { padding: 0; }
section.honey-panel-alt { background: var(--sheet-white); border-top: 1px solid var(--edge-line); border-bottom: 1px solid var(--edge-line); }
.steady-band-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--strap); margin-bottom: 6px; }
h2 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 18px; color: var(--bedrail); }
h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--bedrail); }
.copy-run { max-width: 760px; }
.copy-run p, .copy-run li { margin: 0 0 14px; }
.copy-run ul, .copy-run ol { padding-left: 22px; margin: 0 0 14px; }
.omega-framework { display: grid; gap: 18px; }
.omega-framework.sorrel-trio { grid-template-columns: repeat(3, 1fr); }
.omega-framework.canvas-cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .omega-framework.sorrel-trio, .omega-framework.canvas-cols-2 { grid-template-columns: 1fr; } }
.glade-pod { background: var(--sheet-white); border: 1px solid var(--edge-line); border-radius: var(--bend-r); padding: 20px; }
.glade-pod p { color: var(--lilac-recessive); margin: 6px 0 0; font-size: 0.95rem; }
.glade-pod .read-on { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 0.92rem; }

/* ---------- Sourced fact and boundary boxes ---------- */
.cited-box { border-left: 4px solid var(--strap); background: var(--sheet-white); border-radius: var(--bend-r); padding: 18px 22px; max-width: 760px; margin: 0 0 18px; }
.cited-box p { margin: 0 0 10px; }
.cited-box .cited-src { font-size: 0.85rem; color: var(--lilac-recessive); margin: 0; }
.scope-line { border: 1px dashed var(--strap); border-radius: var(--bend-r); padding: 18px 22px; max-width: 760px; background: var(--sheet-white); margin-top: 18px; }
.scope-line p { margin: 0 0 10px; color: var(--lilac-recessive); }

/* ---------- Tables ---------- */
.tbl-slide { overflow-x: auto; max-width: 100%; }
table.grid-table { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--sheet-white); font-size: 0.94rem; }
table.grid-table th, table.grid-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--edge-line); vertical-align: top; }
table.grid-table th { background: #f6e9ec; color: var(--bedrail); }

/* ---------- Steps ---------- */
.lilac-ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; }
.thistle-stage { display: flex; gap: 14px; background: var(--sheet-white); border: 1px solid var(--edge-line); border-radius: var(--bend-r); padding: 18px; }
.thistle-stage .hollow-phase-index {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: #f9e9ed; color: #8a1c34;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.thistle-stage h3 { font-size: 1rem; }
.thistle-stage p { color: var(--lilac-recessive); font-size: 0.93rem; margin: 0; }
@media (max-width: 640px) { .lilac-ladder { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.willow-qa { border-bottom: 1px solid var(--edge-line); padding: 14px 0; max-width: 820px; }
.willow-qa summary {
  font-size: 1.08rem; font-weight: 600; color: var(--bedrail); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.willow-qa summary::-webkit-details-marker { display: none; }
.willow-qa summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--strap); flex-shrink: 0; }
.willow-qa[open] summary::after { content: "\2212"; }
.willow-qa p { margin: 10px 0 0; color: var(--lilac-recessive); }

/* ---------- Photos ---------- */
.juniper-work-photo { max-width: var(--page-w); margin: 0 auto; padding: 30px 20px; }
.juniper-work-photo img { width: 100%; max-width: 800px; height: auto; margin: 0 auto; border-radius: var(--bend-r); border: 1px solid var(--edge-line); }
.khaki-frieze .harp-tiles-sm { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.khaki-frieze .harp-tiles-sm img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 7px; border: 1px solid var(--edge-line); background: var(--sheet-white); }
@media (max-width: 900px) { .khaki-frieze .harp-tiles-sm { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .khaki-frieze .harp-tiles-sm { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Item index (homepage spine) ---------- */
.item-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.item-index li a {
  display: flex; align-items: baseline; gap: 10px; background: var(--sheet-white); border: 1px solid var(--edge-line);
  border-radius: var(--bend-r); padding: 11px 14px; color: var(--lens-letter); font-weight: 600;
}
.item-index li a:hover { border-color: var(--strap); text-decoration: none; }
.item-index .item-letter {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 6px; background: var(--reflector); color: var(--lens-letter); font-weight: 800; font-size: 0.85rem;
}
.item-index .item-where { display: block; font-weight: 400; font-size: 0.84rem; color: var(--lilac-recessive); }

/* ---------- What goes where ---------- */
.goes-where { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.goes-where .route { background: var(--sheet-white); border: 1px solid var(--edge-line); border-top: 4px solid var(--strap); border-radius: var(--bend-r); padding: 16px 18px; }
.goes-where .route h3 { font-size: 1rem; }
.goes-where .route p { margin: 0; font-size: 0.92rem; color: var(--lilac-recessive); }
@media (max-width: 900px) { .goes-where { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .goes-where { grid-template-columns: 1fr; } }

/* ---------- Area links, breadcrumb ---------- */
.knot-reach { display: flex; flex-wrap: wrap; gap: 10px; }
.knot-reach a { background: var(--sheet-white); border: 1px solid var(--edge-line); padding: 9px 14px; border-radius: 999px; color: var(--bedrail); font-size: 0.92rem; }
.knot-reach a:hover { border-color: var(--strap); text-decoration: none; }
.bluff-waypoints { font-size: 0.85rem; color: var(--lilac-recessive); max-width: var(--page-w); margin: 0 auto; padding: 14px 20px 0; }
.bluff-waypoints a { color: var(--lilac-recessive); }

/* ---------- Closing band ---------- */
.myrtle-cta-band { background: var(--bedrail); color: var(--sheet-white); text-align: center; padding: 44px 20px; }
.myrtle-cta-band h2 { color: var(--sheet-white); }
.myrtle-cta-band p { color: #f4dde3; margin: 0 auto 18px; max-width: 620px; }
.myrtle-cta-band .tandem-control { margin: 4px 6px; }

/* ---------- Form ---------- */
form.nectar-tell-form { display: grid; gap: 12px; max-width: 520px; }
form.nectar-tell-form label { font-size: 0.88rem; font-weight: 600; color: var(--bedrail); display: block; margin-bottom: 4px; }
form.nectar-tell-form input, form.nectar-tell-form select, form.nectar-tell-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #d9c9cd; border-radius: 7px; font-size: 0.95rem; font-family: inherit; background: var(--sheet-white);
}
form.nectar-tell-form button { border: 0; cursor: pointer; font-family: inherit; }
form.nectar-tell-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
form.nectar-tell-form .medal-consent-note { font-size: 0.8rem; color: var(--lilac-recessive); }
form.nectar-tell-form .quiet-tz-note { position: absolute; left: -9999px; top: -9999px; }
.north-reply-note { margin-top: 12px; padding: 11px 14px; border-radius: 7px; font-size: 0.92rem; display: none; }
.north-reply-note.visible { display: block; }
.north-reply-note.success { background: #e3f7ec; color: #1f5c3a; }
.north-reply-note.error { background: #fdecea; color: #b3261e; }

/* ---------- Footer ---------- */
footer.keystone-toprail { background: var(--strap-deep); color: #e8c9d1; padding: 40px 20px 24px; font-size: 0.9rem; }
footer.keystone-toprail .easel-canvas { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; padding: 0; }
footer.keystone-toprail h2 { color: var(--sheet-white); font-size: 0.95rem; margin: 0 0 10px; }
footer.keystone-toprail p { margin: 0; }
footer.keystone-toprail ul { list-style: none; padding: 0; margin: 0; }
footer.keystone-toprail li { margin-bottom: 6px; }
footer.keystone-toprail a { color: #e8c9d1; }
footer.keystone-toprail .lagoon-footline {
  max-width: var(--page-w); margin: 24px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 720px) { footer.keystone-toprail .easel-canvas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { footer.keystone-toprail .easel-canvas { grid-template-columns: 1fr; } }

/* ---------- Fixed call bar ---------- */
.oak-hoverbar {
  display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bedrail);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(0,0,0,0.18); gap: 10px; justify-content: center;
}
.oak-hoverbar-inner { display: flex; gap: 10px; width: 100%; max-width: var(--page-w); margin: 0 auto; }
.oak-hoverbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-align: center;
  padding: 10px 10px; border-radius: 7px; font-weight: 700; font-size: 0.9rem;
}
.oak-hoverbar .mint-ring-mark { flex: none; }
.oak-hoverbar-call { flex: 3; background: var(--strap); color: var(--sheet-white); }
.oak-hoverbar-quote { flex: 2; background: rgba(255,255,255,0.1); color: var(--sheet-white); border: 1px solid rgba(255,255,255,0.4); }
.oak-hoverbar-call:hover { background: var(--strap-deep); text-decoration: none; }
.oak-hoverbar-quote:hover { background: rgba(255,255,255,0.18); text-decoration: none; }
.oak-hoverbar .cove-dock-note { display: none; }
@media (min-width: 600px) { .oak-hoverbar .cove-dock-note { display: inline; } }
@media (min-width: 721px) {
  .oak-hoverbar-inner { justify-content: center; }
  .oak-hoverbar a { flex: 0 0 auto; padding: 10px 20px; font-size: 0.94rem; }
}
