/* Exhaustive Detailing — Steel & Sky
   Palette derived from the logo. Tokens are the only place colors live. */

:root {
  --bg:            #fafbfd;
  --surface:       #ffffff;
  --surface-2:     #f5f8fb;
  --ink:           #0f172a;
  --ink-2:         #475569;
  --hairline:      #e2e8f0;
  --primary:       #3e6383;
  --primary-hover: #2e4e68;
  --sky:           #6fb7e8;
  --dark:          #0f172a;
  --radius:        0.75rem;
  --gradient-brand: linear-gradient(135deg, #6fb7e8 0%, #3e6383 100%);
  --glow:          0 8px 24px 0 rgba(111,183,232,.38);
  --card-shadow:   0 28px 70px -24px rgba(8,8,10,.28);
  --container:     72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--primary); margin: 0 0 14px;
}
h1, h2, h3 { margin: 0 0 18px; font-weight: 800; }
h1 { font-size: clamp(38px, 8.5vw, 76px); letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(31px, 5.4vw, 54px); letter-spacing: -.04em; line-height: 1.04; }
h3 { font-size: clamp(19px, 2.4vw, 22px); letter-spacing: -.02em; font-weight: 700; margin-bottom: 10px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; margin: 0 0 8px; }

h1 em, h2 em, h3 em {
  font-style: normal;
  background-image: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.on-dark h2 em, .hero h1 em {
  background-image: linear-gradient(135deg, #a8d8f7 0%, #6fb7e8 100%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 17px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background-image: var(--gradient-brand); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { background-image: linear-gradient(135deg,#6fb7e8 0%,#2e4e68 100%); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,251,253,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.site-header img { height: 34px; width: auto; }
.header-phone { font-weight: 700; text-decoration: none; color: var(--primary); font-size: 15px; }

/* ---------- sections ---------- */
section { padding-block: clamp(56px, 9vw, 116px); }
.on-dark {
  background:
    radial-gradient(760px 380px at 50% 0%,   rgba(111,183,232,.26), transparent 62%),
    radial-gradient(600px 400px at 12% 118%, rgba(62,99,131,.44),  transparent 58%),
    var(--dark);
  color: #fff;
}
.on-dark .lede { color: #cbd5e1; }
.on-dark .eyebrow { color: var(--sky); }
.tinted { background: var(--surface-2); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; color: #fff; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(8,8,10,.74) 0%, rgba(8,8,10,.52) 40%, rgba(8,8,10,.9) 100%);
}
.hero-inner { position: relative; padding-block: clamp(84px, 17vw, 176px); }
.hero h1 { max-width: 15ch; }
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero p.lede { color: #e2e8f0; margin-bottom: 30px; }

/* ---------- short version card ---------- */
.summary { padding-block: 0; margin-top: -46px; position: relative; z-index: 5; }
.summary-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 20px; box-shadow: var(--card-shadow);
  padding: clamp(24px, 4vw, 38px);
  display: grid; gap: 26px; grid-template-columns: 1fr;
}
.fact h3 { margin-bottom: 4px; }
.fact p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- before / after ---------- */
.ba-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 34px; }
.ba-item {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow);
}
.ba-item img, .ba-item video { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #0b1220; }
.ba-tag {
  display: inline-block; margin: 14px 0 0 14px; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.tag-before { background: #fee2e2; color: #9f1239; }
.tag-after  { background: #dbeafe; color: var(--primary); }
.ba-item p { margin: 8px 14px 16px; color: var(--ink-2); font-size: 15px; }

.slot {
  border: 2px dashed var(--hairline); border-radius: var(--radius);
  padding: 30px; text-align: center; color: var(--ink-2); background: var(--surface-2);
}

/* ---------- included ---------- */
.cols { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 34px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow);
}
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--hairline); color: var(--ink-2); font-size: 15.5px; }
.card li:first-child { border-top: 0; }
.card li::before {
  content: ""; position: absolute; left: 4px; top: 17px;
  width: 8px; height: 8px; border-radius: 50%; background-image: var(--gradient-brand);
}
.chip {
  width: 42px; height: 42px; border-radius: 12px; background-image: var(--gradient-brand);
  display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--glow);
}
.chip svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }

/* ---------- prices ---------- */
.table-scroll { overflow-x: auto; margin-top: 34px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 560px;
        border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--hairline); }
thead th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
td.size { font-weight: 700; }
td.size span { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-2); letter-spacing: 0; }
td.price { font-weight: 700; font-variant-numeric: tabular-nums; }
td.both { color: var(--primary); }
.note { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.note strong { color: var(--ink); }

/* ---------- area ---------- */
.towns { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; padding: 0; list-style: none; }
.towns li {
  padding: 8px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
}

/* ---------- needs ---------- */
.needs { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 34px; }
.need { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }

/* ---------- final cta ---------- */
.cta { text-align: center; }
.cta h2 { margin-inline: auto; max-width: 16ch; }
.cta .lede { margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- footer ---------- */
footer { background: var(--dark); color: #94a3b8; padding-block: 40px 110px; font-size: 14.5px; }
footer a { color: #cbd5e1; }
footer img { height: 30px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .85; }

/* ---------- sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline);
}
.sticky-bar .btn { flex: 1; padding: 14px 10px; font-size: 16px; }

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .summary-card { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .cols  { grid-template-columns: 1fr 1fr; gap: 22px; }
  .needs { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .sticky-bar { display: none; }
  footer { padding-bottom: 40px; }
}

/* ---------- services: explained list + montage ---------- */
.svc-block { display: grid; gap: 30px; grid-template-columns: 1fr; margin-top: 44px; }
.svc-block + .svc-block { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--hairline); }

.svc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.svc-head h3 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.svc-sub { color: var(--ink-2); font-size: 16px; margin: 0 0 8px; }

.svc-list { margin: 0; padding: 0; }
.svc-list > div { padding: 22px 0; border-top: 1px solid var(--hairline); }
.svc-list > div:first-of-type { border-top: 0; }
.svc-list dt {
  font-weight: 700; font-size: 17.5px; letter-spacing: -.015em; margin-bottom: 7px;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.svc-list dd { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.62; }
.pill {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 9px; border-radius: 999px; background: var(--surface-2);
  color: var(--primary); border: 1px solid var(--hairline);
}
.pill-inc { background: #dbeafe; border-color: #bfdbfe; }
.pill-ask { background: #fef3c7; border-color: #fde68a; color: #92400e; }

.montage { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; align-content: start; }
.montage figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--card-shadow); }
.montage figure:first-child { grid-column: 1 / -1; }
.montage img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.montage figure:first-child img { aspect-ratio: 16/10; }
.montage .slot { height: 100%; min-height: 128px; display: grid; place-items: center; font-size: 13.5px; line-height: 1.45; padding: 16px; box-shadow: none; }

@media (min-width: 900px) {
  .svc-block { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 52px; align-items: start; }
  .montage { position: sticky; top: 78px; }
}
.need-p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.montage-2 figure { grid-column: 1 / -1; }
.montage-2 figure img { aspect-ratio: 16/10; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }

/* Hero media: vertical clip on phones, still photo on wide screens */
.hero-img { display: none; }
@media (min-width: 980px) {
  .hero-vid { display: none; }
  .hero-img { display: block; }
}

/* ---------- before/after: show the whole photo, never crop ---------- */
.ba-item img { aspect-ratio: auto; height: auto; object-fit: contain; }

/* ---------- price cards (no horizontal scrolling) ---------- */
.price-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 34px; }
.price-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--card-shadow);
  display: flex; flex-direction: column;
}
.price-card h3 { margin: 0 0 4px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.pc-eg { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.pc-both {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 12px; margin-bottom: 14px;
  background-image: var(--gradient-brand); color: #fff; box-shadow: var(--glow);
}
.pc-both span { font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pc-both strong { font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pc-rows { list-style: none; margin: 0; padding: 0; margin-top: auto; }
.pc-rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 2px; border-top: 1px solid var(--hairline);
  color: var(--ink-2); font-size: 15px;
}
.pc-rows b { color: var(--ink); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (min-width: 620px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .price-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

/* summary card is two facts now, not three */
@media (min-width: 720px) { .summary-card { grid-template-columns: 1fr 1fr; } }

/* ---------- side callout (ceramic cure warning) ---------- */
.callout {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--card-shadow);
}
.callout h4 {
  margin: 0 0 8px; font-size: 16.5px; font-weight: 800;
  letter-spacing: -.015em; color: var(--ink);
}
.callout p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.callout strong { color: var(--primary); }

/* fourth "what we need" item spans the row */
@media (min-width: 720px) { .need-wide { grid-column: 1 / -1; } }

/* ---------- hero logo lockup ---------- */
.hero-logo { margin: 0 0 20px; line-height: 0; }
.hero-logo img {
  width: min(100%, 620px);
  height: auto;
  filter: drop-shadow(0 6px 26px rgba(0,0,0,.55));
}

/* ---------- tagline statement band ---------- */
.statement { padding-block: clamp(46px, 7vw, 86px); text-align: center; }
.tagline {
  margin: 0 auto; max-width: 20ch;
  font-size: clamp(30px, 5.6vw, 54px);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.06;
}
.tagline em {
  font-style: normal;
  background-image: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* logos are now transparent PNGs - no colour filter needed */
footer img { filter: none; opacity: 1; }
.site-header img { height: 38px; }

/* ---------- additional services: full width, no montage ---------- */
.svc-block-wide { display: block; }
.callout-wide { margin-top: 26px; }
@media (min-width: 900px) {
  .svc-block-wide { grid-template-columns: 1fr; display: block; }
  .svc-list-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .svc-list-2col > div:nth-child(2) { border-top: 0; }
}

/* hero video now shows on every screen size (Claire's call) */
.hero-img { display: none !important; }
@media (min-width: 980px) { .hero-vid { display: block; } }
/* additional-services list matches the other two exactly */
@media (min-width: 900px) { .svc-list-2col { display: block; } }

/* split before/after shot spans the row */
@media (min-width: 720px) { .ba-wide { grid-column: 1 / -1; } }
.tag-split { background: #ede9fe; color: #5b21b6; }
.ba-item p strong { color: var(--ink); }

/* services section now opens straight into the first group */
#services .svc-block:first-of-type { margin-top: 0; }

/* before/after cards have no captions now - give the tag room beneath it */
.ba-item { padding-bottom: 16px; }
