/* Taurus Electrical Services, concept site. Left rail format. Palette and type: DESIGN.md */

:root {
  --vellum: #EFF3F4;
  --sheet: #FBFCFC;
  --ink: #141212;
  --graphite: #4D5761;
  --blueline: #C7D5DE;
  --wire: #AEC0CC;
  --sun: #F9BA4D;
  --sun-hover: #FFCB6B;
  --sun-deep: #8A5A00;
  --mist: #B8C3CB;

  --sa-accent: #F9BA4D;
  --sa-accent-ink: #141212;

  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --rail: 264px;
  --pad-x: clamp(24px, 4.4vw, 72px);
  --gap: 24px;
  --maxw: 1200px;
  --sec: clamp(80px, 8.5vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 28px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--sans);
  background-color: var(--vellum);
  background-image:
    linear-gradient(to right, rgba(174, 192, 204, .30) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(174, 192, 204, .30) 1px, transparent 1px),
    linear-gradient(to right, rgba(199, 213, 222, .28) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199, 213, 222, .28) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, ul, ol, dl, dd, figure, blockquote, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; }

h1, h2 { font-family: var(--sans); font-weight: 300; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 6.4vw, 6.5rem); line-height: 1.02; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4rem); line-height: 1.07; }
h3 { font-family: var(--sans); font-weight: 500; font-size: 1.3125rem; line-height: 1.3; letter-spacing: -.005em; }
.mono { font-family: var(--mono); font-size: .9375rem; line-height: 1.5; }
.muted { color: var(--graphite); }
.lede { font-size: clamp(1.1875rem, 1.45vw, 1.3125rem); line-height: 1.58; max-width: 34em; }
.prose p { max-width: 36em; }
.prose p + p { margin-top: 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--sheet); padding: 12px 18px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; outline-color: var(--sun); }

/* Buttons: rectangular, 2px radius, solid sun with ink text. The ink edge keeps the shape visible. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  background: var(--sun); color: var(--ink);
  border: 0; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--ink);
  font: 500 1.0625rem/1.2 var(--sans); letter-spacing: .005em; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--sun-hover); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 1.125rem; }
.btn-ink { background: var(--ink); color: var(--sheet); }
.btn-ink:hover { background: #2A2D31; }
.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--ink); }
.tel { font-family: var(--mono); font-weight: 500; white-space: nowrap; }

/* ---------- The rail ---------- */
.rail {
  position: fixed; top: 0; bottom: 0; left: 0; width: var(--rail); z-index: 40;
  background: var(--sheet); border-right: 1px solid var(--ink);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
.rail-top { padding: 28px 24px 0 28px; position: relative; }
.rail-logo { display: inline-block; }
.rail-logo img { width: 190px; height: auto; }
.rail-toggle { display: none; }
.bar-trace { display: none; }
.rail-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 30px 24px 26px 28px; }
.rail-trace { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; overflow: visible; }
.rail-nav ul, .rail-circuit ol { list-style: none; }
.rail-nav a { display: block; padding: 6px 0 6px 30px; font-size: 1.0625rem; line-height: 1.35; text-decoration: none; }
.rail-nav a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rail-nav a[aria-current="page"] { font-weight: 500; }
.rail-circuit { margin-top: 26px; }
.rc-label { font-family: var(--mono); font-size: .875rem; color: var(--graphite); padding: 0 0 6px 30px; border-bottom: 1px solid var(--blueline); margin-bottom: 6px; }
.rail-circuit a { display: block; padding: 4px 0 4px 30px; font-family: var(--mono); font-size: .875rem; line-height: 1.4; color: var(--graphite); text-decoration: none; }
.rail-circuit a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.rail-circuit a.is-current { color: var(--ink); font-weight: 500; }
.rail-cta { margin-top: auto; padding-top: 34px; }
.rail-talk { width: 100%; }
.rail-talk.is-live { animation: lug .9s ease-out 1; }
@keyframes lug { 0% { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 0 rgba(249, 186, 77, .9); } 100% { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 12px rgba(249, 186, 77, 0); } }
.rail-tel { display: inline-block; margin-top: 16px; font-family: var(--mono); font-weight: 500; font-size: 1.0625rem; text-decoration: none; }
.rail-tel:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rail-hours { font-family: var(--mono); font-size: .875rem; color: var(--graphite); margin-top: 2px; }
.rail-rating { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--blueline); font-family: var(--mono); font-size: .875rem; text-decoration: none; }
.rail-rating strong { font-weight: 500; }
.rail-rating:hover { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }

/* trace strokes (rail and mobile bar) */
.t-idle { fill: none; stroke: var(--wire); stroke-width: 2; }
.t-casing { fill: none; stroke: var(--ink); stroke-width: 6.5; }
.t-live { fill: none; stroke: var(--sun); stroke-width: 3; }
.t-pad { fill: var(--sheet); stroke: var(--ink); stroke-width: 2.2; transition: fill .3s ease; }
.t-pad.is-live { fill: var(--sun); }
.t-lug { fill: var(--sheet); stroke: var(--ink); stroke-width: 2.2; transition: fill .3s ease; }
.t-lug.is-live { fill: var(--sun); }
.t-halo { fill: none; stroke: var(--sun); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.t-halo.is-pulsing { animation: halo .9s ease-out 1; }
@keyframes halo { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }

/* ---------- Content column and the 12-column sheet ---------- */
.main { margin-left: var(--rail); min-height: 100vh; display: flex; flex-direction: column; }
.page { flex: 1; width: 100%; max-width: calc(var(--maxw) + 2 * var(--pad-x)); padding: 0 var(--pad-x) var(--sec); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.grid > * { grid-column: var(--at, 1 / -1); min-width: 0; }
.c-1-4 { --at: 1 / span 4; } .c-1-5 { --at: 1 / span 5; } .c-1-6 { --at: 1 / span 6; } .c-1-7 { --at: 1 / span 7; }
.c-1-8 { --at: 1 / span 8; } .c-1-10 { --at: 1 / span 10; } .c-1-11 { --at: 1 / span 11; }
.c-5-12 { --at: 5 / span 8; } .c-6-12 { --at: 6 / span 7; } .c-7-12 { --at: 7 / span 6; } .c-9-12 { --at: 9 / span 4; }

.sec { margin-top: var(--sec); padding-top: 30px; border-top: 1px solid var(--ink); }
.sec-title { margin-bottom: 40px; }
.sec-lede { align-self: end; margin-bottom: 44px; color: var(--graphite); font-size: 1.1875rem; line-height: 1.6; max-width: 32em; }
.sec-foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.sec-foot p { max-width: 34em; }

/* Hero */
.hero { padding-top: clamp(56px, 7.5vw, 112px); }
.hero h1 { max-width: 14ch; }
.hero-intro { margin-top: clamp(32px, 3.5vw, 48px); }
.hero-intro .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.or-call { font-size: 1.0625rem; color: var(--graphite); }
.or-call a { color: var(--ink); }
.band { margin-top: clamp(48px, 5.5vw, 80px); }
.band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 42%; border: 1px solid var(--ink); background: var(--blueline); }
.band figcaption, .plate figcaption { font-family: var(--mono); font-size: .875rem; color: var(--graphite); padding-top: 10px; }

/* Page head (inner pages) */
.page-head { padding-top: clamp(56px, 7.5vw, 112px); }
.page-head h1 { font-size: clamp(3rem, 5.6vw, 5.5rem); max-width: 15ch; }

/* Services schedule: four ruled columns, like the directory on a panel door */
.schedule { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.schedule ul { list-style: none; }
.schedule h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.schedule li { border-bottom: 1px solid var(--blueline); }
.schedule a { display: block; padding: 11px 0; text-decoration: none; line-height: 1.4; transition: box-shadow .15s ease, padding .15s ease; }
.schedule a:hover { box-shadow: inset 4px 0 0 var(--sun); padding-left: 12px; }

/* Steps (a real sequence) */
.steps { list-style: none; }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 26px 0; border-top: 1px solid var(--blueline); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.step-n { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 500 1.0625rem/1 var(--mono); background: var(--sheet); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--graphite); max-width: 34em; }
.steps .mono { display: block; margin-top: 10px; color: var(--ink); }
.plate img { width: 100%; border: 1px solid var(--ink); background: var(--blueline); }
.steps-photo { grid-row: 2 / span 1; align-self: start; }
.steps-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 80%; }

/* Contact sheet */
.contact-sheet { background: var(--sheet); border: 1px solid var(--ink); padding: 18px 20px 22px; }
.strip + .strip { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--blueline); }
.strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; margin-bottom: 14px; font-family: var(--mono); font-size: .9375rem; }
.strip-head span:last-child { color: var(--graphite); }
.frames { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.frames img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--ink); background: var(--blueline); }
.frames figcaption { font-family: var(--mono); font-size: .875rem; line-height: 1.4; padding-top: 8px; }
.frames figcaption b { font-weight: 500; color: var(--sun-deep); margin-right: .45em; }
.frames figcaption span { display: block; color: var(--graphite); }

/* Rates */
.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--blueline); vertical-align: baseline; }
.rates thead th { font-family: var(--mono); font-size: .875rem; font-weight: 400; color: var(--graphite); border-bottom: 1px solid var(--ink); padding-top: 0; }
.rates tbody th { font-weight: 400; padding-right: 16px; }
.rates th small { display: block; font-family: var(--mono); font-size: .875rem; color: var(--graphite); }
.rates td { font-family: var(--mono); font-weight: 500; font-size: 1rem; text-align: right; white-space: nowrap; }
.rates thead th:last-child { text-align: right; }
.rate-note { margin-top: 16px; font-size: 1rem; color: var(--graphite); max-width: 40em; }
.pricing-intro .lede { margin: 24px 0 32px; color: var(--graphite); }
.stack-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* People */
.people-photo img { aspect-ratio: 1 / 1.06; object-fit: cover; object-position: 50% 18%; }
.star-map { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 30px; }
.star-map svg { width: 200px; height: auto; flex: none; overflow: visible; }
.star-map p { font-family: var(--mono); font-size: .875rem; color: var(--graphite); max-width: 24em; }
.sm-line { fill: none; stroke: var(--graphite); stroke-width: 1.1; opacity: .55; }
.sm-star { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.3; }
.sm-eye { fill: var(--sun); stroke: var(--ink); stroke-width: 1.3; }
.sm-cluster { fill: var(--ink); }
.promise { list-style: none; margin-top: 36px; border-top: 1px solid var(--ink); }
.promise li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 24px; padding: 15px 0; border-bottom: 1px solid var(--blueline); }
.promise strong { font-weight: 500; }
.promise span { color: var(--graphite); }
.after-list { margin-top: 26px; }

/* Reviews */
.pull blockquote p { font-weight: 300; font-size: clamp(1.5rem, 2.3vw, 2.15rem); line-height: 1.4; letter-spacing: -.012em; max-width: 34em; }
.pull figcaption, .quote figcaption { font-family: var(--mono); font-size: .9375rem; color: var(--graphite); margin-top: 16px; }
.pull figcaption strong, .quote figcaption strong { font-weight: 500; color: var(--ink); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; margin-top: 56px; }
.quote { border-top: 1px solid var(--ink); padding-top: 18px; }
.quote blockquote p { font-size: 1.125rem; line-height: 1.6; }

/* Form and facts */
.enquiry { background: var(--sheet); border: 1px solid var(--ink); padding: clamp(22px, 3vw, 38px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; }
.field .hint { font-size: 1rem; color: var(--graphite); margin-top: -4px; }
.field input, .field textarea { width: 100%; font: 400 1.125rem/1.5 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 2px; padding: 13px 14px; min-height: 54px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 0; }
.form-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-status { font-weight: 500; min-height: 1.6em; flex: 1 1 16em; }
.form-status.is-ok::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); margin-right: 10px; vertical-align: -1px; }
.form-status.is-err { color: #9B1C1C; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); border-top: 1px solid var(--ink); }
.facts dt, .facts dd { padding: 13px 0; border-bottom: 1px solid var(--blueline); }
.facts dt { font-family: var(--mono); font-size: .875rem; color: var(--graphite); padding-right: 20px; padding-top: 16px; }
.facts dd { font-size: 1.0625rem; }
.facts dd a { font-weight: 500; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.aside-block + .aside-block, .facts + .aside-block { margin-top: 34px; }
.aside-block h3 { margin-bottom: 8px; }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 24px; }
.towns li { font-family: var(--mono); font-size: .9375rem; }
.note { border-left: 3px solid var(--sun); padding: 2px 0 2px 16px; color: var(--graphite); margin-top: 24px; max-width: 36em; }
.contact-head { margin-bottom: 40px; }
.contact-head .lede { margin-top: 20px; color: var(--graphite); }

/* Inner-page schedules: label in columns 1 to 4, substance in 5 to 12 */
.label-col h2 { font-size: clamp(2rem, 3vw, 2.85rem); line-height: 1.1; }
.label-col p { margin-top: 16px; color: var(--graphite); max-width: 22em; }
.label-col .plate { margin-top: 26px; max-width: 320px; }
.label-col .plate img { aspect-ratio: 4 / 3; object-fit: cover; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.svc { padding: 20px 0 24px; border-top: 1px solid var(--blueline); }
.svc:nth-child(-n+2) { border-top: 0; padding-top: 4px; }
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--graphite); }
.svc .mono { display: block; margin-top: 10px; }
.svc .btn { margin-top: 16px; min-height: 46px; font-size: 1rem; padding: 0 18px; }
.plain-list { list-style: none; border-top: 1px solid var(--ink); }
.plain-list li { padding: 15px 0; border-bottom: 1px solid var(--blueline); }
.plain-list strong { display: block; font-weight: 500; }
.plain-list span { color: var(--graphite); }
.price-tag { display: inline-block; font-family: var(--mono); font-size: 1rem; margin-top: 16px; padding: 5px 12px; border: 1px solid var(--ink); background: var(--sheet); }
.values { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--ink); }
.values li { padding: 16px 0; border-bottom: 1px solid var(--blueline); }
.values strong { display: block; font-weight: 500; }
.values span { color: var(--graphite); }
.job .prose p { color: var(--graphite); font-size: 1.0625rem; }
.job .place { color: var(--graphite); display: block; margin-bottom: 10px; }
.job .frames.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.job .frames.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job .frames.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.job .frames.cols-1 { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
.job .contact-sheet { padding: 16px 18px 18px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--vellum); padding: 56px var(--pad-x) 30px; }
.site-footer a { color: var(--vellum); text-decoration-color: var(--sun); text-underline-offset: 4px; }
.site-footer a:hover { color: var(--sun); }
.site-footer :focus-visible { outline-color: var(--sun); }
.footer-grid { max-width: var(--maxw); row-gap: 36px; }
.footer-brand p { color: var(--mist); max-width: 24em; }
.footer-brand .mono { color: var(--vellum); margin-top: 10px; }
.footer-h { font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--sun); margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer li, .site-footer p { color: var(--mist); }
.footer-note { max-width: var(--maxw); margin-top: 44px; padding-top: 20px; border-top: 1px solid #34383C; }
.footer-note p { font-size: .8125rem; color: var(--mist); }

/* ---------- Enterprise layer: breadcrumbs, proof, reviews, FAQ, credentials, map ---------- */
.crumbs { margin-bottom: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-family: var(--mono); font-size: .875rem; color: var(--graphite); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--wire); }
.crumbs a { color: var(--ink); text-decoration-color: var(--sun); text-underline-offset: 3px; }
.proof-num { font-weight: 300; font-size: clamp(5.5rem, 11vw, 10rem); line-height: .9; letter-spacing: -.045em; font-feature-settings: "tnum" 1; }
.proof-sub, .page-head .proof-sub { font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; letter-spacing: -.015em; margin-top: 10px; }
.proof-links { list-style: none; margin-top: 28px; display: grid; gap: 10px; }
.proof-links a { font-weight: 500; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.proof-links a:hover { text-decoration-color: var(--ink); }
.stars { color: var(--sun-deep); letter-spacing: .12em; font-size: .95rem; }
.quote .stars, .pull .stars { display: block; margin-bottom: 10px; }
.mention-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 30px; }
.review-list { columns: 2; column-gap: 40px; }
.rv { break-inside: avoid; padding: 22px 0 24px; border-top: 1px solid var(--blueline); }
.rv-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; margin-bottom: 12px; }
.mono-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sheet); border: 1.5px solid var(--ink); font: 500 .9375rem/1 var(--mono); }
.rv-name { font-weight: 500; line-height: 1.3; }
.rv-meta { font-family: var(--mono); font-size: .875rem; color: var(--graphite); }
.rv-text { white-space: pre-line; }
.rv-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-more { margin-top: 8px; background: none; border: 0; padding: 6px 0; font: 500 1rem var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.rv-reply { margin-top: 14px; padding: 12px 0 2px 16px; border-left: 3px solid var(--sun); }
.rv-reply p:first-child { font-family: var(--mono); font-size: .875rem; color: var(--graphite); margin-bottom: 4px; }
.rv-reply p + p { white-space: pre-line; color: var(--graphite); font-size: 1rem; }
.star-wall { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--ink); }
.star-wall li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--blueline); }
.star-wall .mono-mark { width: 36px; height: 36px; font-size: .8125rem; }
.star-wall .rv-name { font-size: 1rem; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--blueline); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 300 1.6rem/1 var(--sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--graphite); max-width: 40em; }
.creds { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--blueline); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.creds p { font-family: var(--mono); font-size: .875rem; color: var(--graphite); }
.creds img { height: 24px; width: auto; opacity: .85; }
.creds img.cards { height: 30px; }
.map { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--ink); background: var(--blueline); display: block; }
.detail-steps { list-style: none; }
.detail-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 18px 0; border-top: 1px solid var(--blueline); }
.detail-steps li:first-child { border-top: 1px solid var(--ink); }
.detail-steps p { color: var(--graphite); }
.detail-steps strong { display: block; font-weight: 500; color: var(--ink); }
.signs { list-style: none; border-top: 1px solid var(--ink); }
.signs li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--blueline); position: relative; }
.signs li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sun); }
.more-link { display: inline-block; margin-top: 14px; }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo img { width: 200px; height: auto; }
.footer-towns { font-size: .9375rem; line-height: 1.7; }
.footer-proof { margin-top: 14px; font-family: var(--mono); font-size: .875rem; color: var(--vellum) !important; }

/* Mobile quick bar (leaves the bottom-right corner free for the assistant launcher) */
.mobile-bar { display: none; }

/* ---------- Desktop rail on short screens ---------- */
@media (min-width: 1024px) and (max-height: 900px) {
  .rail-top { padding-top: 20px; }
  .rail-logo img { width: 150px; }
  .rail-body { padding-top: 20px; padding-bottom: 18px; }
  .rail-nav a { padding-top: 4px; padding-bottom: 4px; }
  .rail-circuit { margin-top: 16px; }
  .rail-circuit a { padding-top: 3px; padding-bottom: 3px; }
  .rail-cta { padding-top: 22px; }
  .rail-talk { min-height: 48px; }
  .rail-tel { margin-top: 10px; }
}

@media (max-width: 1240px) and (min-width: 1024px) {
  .schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Under 1024px: the rail becomes a top bar ---------- */
@media (max-width: 1023px) {
  html { scroll-padding-top: 88px; }
  .rail { position: sticky; top: 0; bottom: auto; width: 100%; height: auto; overflow: visible; border-right: 0; border-bottom: 1px solid var(--ink); }
  .rail-top { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 8px 20px; }
  .rail-logo img { width: auto; height: 50px; }
  .rail-toggle { display: inline-flex; min-height: 44px; padding: 0 18px; }
  .bar-trace { display: block; position: absolute; left: 0; right: 0; bottom: -7px; width: 100%; height: 14px; overflow: visible; pointer-events: none; }
  .rail-body { display: none; position: fixed; left: 0; right: 0; top: 69px; bottom: 0; overflow-y: auto; background: var(--sheet); padding: 18px 22px 30px 22px; border-top: 1px solid var(--ink); }
  .rail.is-open .rail-body { display: flex; }
  .rail-nav a { font-size: 1.1875rem; padding-top: 10px; padding-bottom: 10px; }
  .rail-circuit a { padding-top: 8px; padding-bottom: 8px; font-size: .9375rem; }
  .rail-cta { margin-top: 26px; padding-top: 10px; }
  .main { margin-left: 0; }
  .grid > * { grid-column: 1 / -1; }
  .sec-lede { align-self: auto; }
  .steps-photo { grid-row: auto; max-width: 440px; margin-top: 28px; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people-photo { max-width: 460px; margin-bottom: 36px; }
  .footer-grid > * { grid-column: span 6; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
  .aside { margin-top: 44px; }
  .label-col { margin-bottom: 28px; }
  .label-col .plate { display: none; }
  .job .frames.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .star-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-block { margin-bottom: 40px; }
}

@media (max-width: 700px) {
  body { font-size: 1.0625rem; }
  .schedule, .svc-list, .values, .mention-quotes, .star-wall { grid-template-columns: minmax(0, 1fr); }
  .review-list { columns: 1; }
  .svc:nth-child(2) { border-top: 1px solid var(--blueline); padding-top: 20px; }
  .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .job .frames.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-sheet { padding: 14px 14px 18px; }
  .band img { aspect-ratio: 4 / 3; }
  .hero-actions .btn { width: 100%; }
  .promise li { grid-template-columns: minmax(0, 1fr); }
  .star-map { flex-direction: column; align-items: flex-start; }
  .footer-grid > * { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 100px; }
  .mobile-bar {
    display: flex; align-items: center; gap: 14px; position: fixed; z-index: 35; left: 10px; right: 96px; bottom: 10px;
    padding: 8px 14px 8px 8px; background: var(--sheet); border: 1px solid var(--ink); border-radius: 2px;
    box-shadow: 0 10px 26px rgba(20, 18, 18, .18);
    transition: transform .25s ease, opacity .25s ease;
  }
  .mobile-bar .btn { flex: 1 1 auto; min-height: 48px; padding: 0 12px; }
  .mobile-bar .tel { font-size: .9375rem; }
  .has-quickbar .mobile-bar:not(.is-shown) { transform: translateY(140%); opacity: 0; visibility: hidden; }
}

@media (max-width: 380px) {
  .mobile-bar .tel { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
