:root {
  --ink: #1e2225;
  --char: #24282b;
  --slate: #3c4043;
  --stone: #eceae6;
  --paper: #f7f6f3;
  --teal: #6bb7cb;
  --teal-d: #3f8da3;
  --line: rgba(30, 34, 37, .12);
  --r: 14px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: var(--teal-d); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.5rem; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
section { padding-block: clamp(40px, 7vw, 88px); scroll-margin-top: 64px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--teal); background: var(--teal); color: var(--ink); font: 600 1rem var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #82c6d8; border-color: #82c6d8; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: currentColor; }

/* preview bar (soulwidth.com/client/ only) */

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 10px max(16px, calc((100% - 1160px) / 2)); background: rgba(36, 40, 43, .94); backdrop-filter: blur(8px); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.15rem/1 var(--head); text-transform: uppercase; }
.brand img { border-radius: 8px; background: #fff; }
.brand small { font-size: .78rem; color: var(--teal); letter-spacing: .08em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #dfe3e5; text-decoration: none; font-weight: 500; }
.nav a:hover { color: #fff; }
.top .btn-call { min-height: 42px; }

/* hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; padding: 0; color: #fff; background: var(--char) url("media/hero-land.jpg") center/cover; overflow: hidden; }
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,24,.15) 30%, rgba(20,22,24,.85)); }
.hero-in { position: relative; z-index: 1; padding-block: 64px; }
.pill { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); font-weight: 600; font-size: .9rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 38ch; margin: 0 0 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.page-hero { position: relative; color: #fff; background: linear-gradient(180deg, rgba(20,22,24,.45), rgba(20,22,24,.85)), var(--bg) center/cover; padding-block: clamp(70px, 12vw, 140px) 48px; }

/* reviews strip */
.reviews { padding-block: 14px; background: var(--char); color: #fff; }
.stars { color: #fff; text-decoration: none; font-weight: 500; }
.stars span { color: #f5b301; letter-spacing: 2px; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { display: grid; grid-template-rows: 220px auto; border-radius: var(--r); overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; border: 1px solid var(--line); transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card div { padding: 18px 20px; }
.card p { margin: 0; color: var(--slate); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 12px; grid-auto-flow: dense; }
.tile > a { position: absolute; inset: 0; }
.tile > a img { width: 100%; height: 100%; object-fit: cover; }
.tile { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--stone); }
.tile-port { grid-row: span 2; }
.tile video, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .noscript-img { display: none; }
.no-js .tile .noscript-img { display: block; }
.tile figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(20,22,24,.7); color: #fff; font-size: .88rem; width: fit-content; }

/* why */
.why { background: var(--stone); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-grid strong { display: block; font: 700 1.6rem/1 var(--head); text-transform: uppercase; color: var(--teal-d); margin-bottom: 6px; }
.why-grid span { color: var(--slate); }

/* areas */
.area-sub { margin: -6px 0 18px; color: var(--slate); }
.area-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.area-links a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; }
.area-links a:hover { border-color: var(--teal); }

/* quote */
.quote { background: var(--char); color: #fff; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form .span { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; }

/* faq, lists, misc */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; }
.faq p { margin: 10px 0 0; color: var(--slate); max-width: 70ch; }
.list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.list li { padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.list strong { display: block; font: 700 1.3rem var(--head); text-transform: uppercase; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.note p { color: var(--slate); }
.simple { min-height: 50vh; }

/* footer */
.foot { background: var(--ink); color: #c9cfd2; padding: 48px 0 100px; font-size: .95rem; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 28px; }
.foot img { background: #fff; border-radius: 10px; margin-bottom: 10px; }
.fine { margin: 0; opacity: .7; font-size: .85rem; }
.foot-base { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.built { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.08); color: #dfe3e5 !important; text-decoration: none; font-size: .88rem; }
.built:hover { background: rgba(255,255,255,.14); }
.built img { margin: 0; background: none; border-radius: 50%; }
.built b { color: #fff; font-weight: 600; }

/* mobile dock: call + quote always one tap away */
.dock { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .top { gap: 12px; }
  .top .btn-call { margin-left: auto; padding: 0 14px; font-size: .95rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 8px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid, .two, .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .quote .quick { display: none; } /* the dock already has Call */
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding-block: 36px; }
  .hero { min-height: 78vh; background-image: url("media/hero-port.jpg"); }
  .hero .cta { display: none; } /* the dock carries Call + Quote on phones */
  .top .btn-call { display: none; }
  .card { grid-template-rows: 160px auto; }
  .form { grid-template-columns: 1fr; }
  .tile figcaption { font-size: .78rem; left: 6px; bottom: 6px; right: 6px; }
  .dock { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(36,40,43,.96); color: #fff; }
  .page-hero .cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}

/* job story (home): a truck hit a house, JB put it right */
.story { background: #fff; }
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.story-pics { display: grid; gap: 12px; }
.story-two .story-pics { grid-template-columns: 1fr 1fr; }
.story-pic { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--stone); aspect-ratio: 3 / 4; }
.story-pic img { width: 100%; height: 100%; object-fit: cover; }
.story-pic figcaption { position: absolute; left: 10px; top: 10px; padding: 4px 12px; border-radius: 999px; background: var(--teal); color: var(--ink); font: 700 .95rem var(--head); text-transform: uppercase; letter-spacing: .06em; }
.kicker { margin: 0 0 8px; color: var(--teal-d); font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: .12em; }
.story-steps { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; }
.story-steps li { counter-increment: s; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--line); }
.story-steps li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--char); color: #fff; font: 700 1.1rem var(--head); }
.story-steps strong { display: block; font: 700 1.25rem/1.1 var(--head); text-transform: uppercase; margin-bottom: 2px; }
.story-steps span { color: var(--slate); }
.story-cta { font-weight: 600; margin: 0 0 14px; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-pic { aspect-ratio: 4 / 5; max-height: 70vh; }
}
@media (max-width: 560px) {
  .story .cta { display: none; } /* the dock carries Call + Quote on phones */
  .story-pic { aspect-ratio: 1 / 1; }
}

/* job story page (jobs/truck-repair/): each step, then its photos in a row that scrolls sideways on phones */
.story-pics { text-decoration: none; }
.story-more { margin: 0 0 12px; font-weight: 600; }
.sp-step { padding-block: clamp(28px, 5vw, 56px) 0; }
.sp-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.sp-head h2 { margin-bottom: .2em; }
.sp-head p { margin: 0; color: var(--slate); max-width: 62ch; }
.sp-n { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--char); color: #fff; font: 700 1.3rem var(--head); }
.sp-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.sp-pic { position: relative; margin: 0; flex: 0 0 auto; height: clamp(260px, 38vw, 420px); border-radius: var(--r); overflow: hidden; background: var(--stone); scroll-snap-align: start; }
.sp-port { aspect-ratio: 3 / 4; }
.sp-land { aspect-ratio: 4 / 3; }
.sp-pic img { width: 100%; height: 100%; object-fit: cover; }
.sp-pic figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; width: fit-content; padding: 5px 10px; border-radius: 8px; background: rgba(20,22,24,.72); color: #fff; font-size: .85rem; }
.sp-end { text-align: left; }
@media (max-width: 560px) {
  .sp-pic { height: 300px; }
  .sp-end .cta { display: none; }
}

/* advice posts (advice/…): readable column, short answer box first, checklist, job card */
.post-head { max-width: 760px; padding-block: clamp(36px, 6vw, 72px) 8px; }
.post-head .kicker a { color: inherit; }
.post-head h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.post-answer { margin: 18px 0; padding: 18px 20px; border-radius: var(--r); background: #fff; border-left: 5px solid var(--teal); }
.post-answer strong { display: block; font: 700 1.15rem var(--head); text-transform: uppercase; margin-bottom: 4px; }
.post-answer p { margin: 0; }
.post-check { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; font-weight: 600; }
.post-body { max-width: 760px; padding-bottom: clamp(36px, 6vw, 72px); }
.post-body h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-top: 1.4em; }
.post-body p { color: var(--slate); }
.post-job { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; margin: 32px 0; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.post-job img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.post-job h3 { font-size: 1.4rem; margin-bottom: .3em; }
.post-job p { margin: 0 0 8px; }
.post-by { font-size: .9rem; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .post-job { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
}
/* Job stories (16 Nov 2026) */
.jobs-latest, .jobs-all { padding-block: clamp(32px, 5vw, 64px); }
.job-card { grid-template-rows: 230px auto; }
.job-card h3 { font-size: 1.35rem; margin-bottom: .3em; }
.job-meta { margin: 0 0 6px !important; color: var(--teal-d) !important; font: 700 .9rem var(--head); text-transform: uppercase; letter-spacing: .08em; }
.more-link { margin: 18px 0 0; font-weight: 600; }
.page-hero .kicker a { text-decoration: none; }

/* Services drop-down (16 Nov 2026): tap or click to open, on every screen size */
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; color: #dfe3e5; font-weight: 500; display: flex; align-items: center; gap: 6px; min-height: 42px; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.dd[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.dd summary:hover, .dd[open] summary { color: #fff; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: -14px; z-index: 40; min-width: 290px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.28); display: grid; gap: 2px; }
.nav .dd-menu a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.nav .dd-menu a:hover, .nav .dd-menu a:focus-visible { background: var(--stone); color: var(--ink); }
.dd-menu b { font: 700 1.1rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.dd-menu small { color: var(--slate); font-size: .84rem; }
.dd-more { display: none; }
@media (max-width: 860px) {
  .nav { display: flex; margin-left: auto; }
  .nav-x { display: none; }
  .top .btn-call { margin-left: 0; }
  .dd summary { padding: 0 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
  .dd-menu { position: fixed; top: 64px; left: 12px; right: 12px; min-width: 0; max-height: calc(100vh - 160px); overflow-y: auto; }
  .dd-more { display: flex; gap: 6px; margin: 6px 0 0; padding: 8px 4px 2px; border-top: 1px solid var(--line); }
  .nav .dd-more a { flex: 1; padding: 9px 4px; text-align: center; border-radius: 999px; background: var(--stone); color: var(--ink); font-weight: 600; font-size: .92rem; }
}
/* Menu spacing (16 Nov 2026): every item on one line, same height, even gaps */
.nav { align-items: center; gap: 28px; }
.nav > a, .dd summary { display: inline-flex; align-items: center; min-height: 42px; font-size: 1rem; line-height: 1; }
.dd summary { gap: 7px; }
.top .btn-call { margin-left: 8px; }
@media (max-width: 860px) { .top .btn-call { margin-left: 0; } }
/* Card photos (16 Nov 2026): fixed photo height so the photo can never run under the words (Safari ignored height:100% in the grid row) */
.card { grid-template-rows: auto 1fr; align-content: start; }
.card > img { display: block; width: 100%; height: 230px; min-height: 0; object-fit: cover; }
.card > div { background: #fff; position: relative; }
.job-card > div { border-top: 4px solid var(--teal); }
@media (max-width: 560px) { .card > img { height: 180px; } }
/* Phone view link (18 Nov 2026): computers only; on a phone you're already seeing the phone view */
@media (max-width: 860px) { .phone-view-link { display: none; } }
/* Phones: Jobs, Areas and Advice live inside the Services panel, not in the header (the spacing rule above had brought them back) */
@media (max-width: 860px) { .nav > a.nav-x { display: none; } }
/* Side quote buttons (18 Nov 2026): call and email stay on the right of every page on computers and tablets.
   They show as icons; the words slide out on hover or keyboard focus. Phones keep the Call / Free quote bar at the bottom. */
.side-quote { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 25; display: grid; gap: 10px; justify-items: end; }
.sq { display: flex; align-items: center; height: 54px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.22); overflow: hidden; max-width: 54px; transition: max-width .25s ease; }
.sq svg { flex: 0 0 54px; width: 54px; height: 24px; fill: currentColor; }
.sq span { display: grid; padding-right: 20px; white-space: nowrap; font-size: .92rem; line-height: 1.25; opacity: 0; transition: opacity .2s; }
.sq b { font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: .04em; }
.sq-call { background: var(--teal); color: var(--ink); }
.sq-mail { background: var(--char); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.sq:hover, .sq:focus-visible { max-width: 360px; }
.sq:hover span, .sq:focus-visible span { opacity: 1; }
@media (max-width: 560px) { .side-quote { display: none; } }
@media (prefers-reduced-motion: reduce) { .sq, .sq span { transition: none; } }
