/* ============================================================
   COASTLINE MOBILE DETAILING — site style (Concept 2, 10/25)
   Dark and simple: near-black canvas, one cyan accent, plain
   bands instead of boxed-in grids. The quote band carries Ian's
   palm-C pattern. Old light "Gulf Light" version is archived in
   coastline-concepts-2026-10-25/.
   ============================================================ */

@font-face {
  font-family: "Albert Sans";
  src: url("assets/fonts/albert-sans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #0a0e12;        /* page base */
  --deep: #0e141a;          /* alternating band */
  --dusk: #0f1d28;          /* feature band (blue-black) */
  --card: #131a21;
  --card-2: #18212a;
  --edge: rgba(126, 216, 234, 0.13);
  --edge-hi: rgba(126, 216, 234, 0.34);
  --cyan: #7edcec;
  --cyan-hi: #a5e9f3;
  --cyan-ink: #06222b;      /* text on cyan */
  --cyan-tint: rgba(126, 216, 234, 0.12);
  --blue: #3b8beb;          /* Ian's tagline blue (from his brand graphics) */
  --mist: #b6c6d1;          /* body text */
  --mist-dim: rgba(182, 198, 209, 0.62);
  --white: #f1f7f9;         /* headings */
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --pad: clamp(1rem, 3vw, 2rem);

  /* older names still used in page markup (inline styles) */
  --haze: var(--canvas);
  --seaglass: var(--deep);
  --seaglass-deep: var(--card-2);
  --ink: var(--white);
  --ink-soft: var(--mist);
  --harbor: var(--dusk);
  --aqua: var(--cyan);
  --aqua-deep: var(--cyan);
  --aqua-air: var(--cyan);
  --brass: var(--cyan);
  --hairline: var(--edge);
  --radius-lg: var(--radius);
  --font-display: var(--font-body);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--mist);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-hi); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--cyan); color: var(--cyan-ink); font-weight: 700; padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

h1, h2, h3 { font-family: var(--font-body); font-weight: 800; color: var(--white); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.06rem; color: var(--white); margin: 0 0 0.45em; }
p { margin: 0 0 1.05em; }
p, li { max-width: 68ch; }
strong { font-weight: 700; color: var(--white); }
.small, small { font-size: 0.88rem; color: var(--mist); }

.container, .wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.8rem;
}
/* highlighted words in headings: cyan, like the home page */
.wave-underline { color: var(--cyan); }

/* ---------- buttons, chips, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.6rem; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  text-decoration: none !important;
}
.btn-primary, .btn-cyan, .btn-light { background: var(--cyan); color: var(--cyan-ink) !important; }
.btn-primary:hover, .btn-cyan:hover, .btn-light:hover { background: var(--cyan-hi); transform: translateY(-1px); }
.btn-ghost, .btn-line, .btn-outline-light { border-color: rgba(241, 247, 249, 0.42); color: var(--white) !important; background: transparent; }
.btn-ghost:hover, .btn-line:hover, .btn-outline-light:hover { border-color: var(--cyan); color: var(--cyan) !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }

.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--edge); color: var(--white); font-size: 0.92rem; font-weight: 600; }
.chip:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }
.text-link { font-weight: 700; }

/* ---------- header: sticky on inner pages, see-through over the photo on the home page (/main.js adds .scrolled) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 18, 0.72); border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-header.scrolled { background: rgba(10, 14, 18, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--edge); }
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.home .site-header.scrolled { background: rgba(10, 14, 18, 0.9); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0.6rem var(--pad); display: flex; align-items: center; gap: 1.2rem; }
.brand { margin-right: auto; display: flex; text-decoration: none !important; }
.brand img { height: 64px; width: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a, .nav-item > button {
  display: flex; align-items: center; gap: 0.35rem;
  color: var(--white); font: inherit; font-weight: 600; font-size: 0.94rem;
  padding: 0.55rem 0.7rem; border-radius: 9px; background: none; border: 0; cursor: pointer; white-space: nowrap;
  text-decoration: none !important;
}
.main-nav a:hover, .nav-item > button:hover, .nav-item.open > button { color: var(--cyan); }
.nav-item { position: relative; }
.nav-item > button svg { width: 11px; height: 11px; transition: transform 0.18s ease; }
.nav-item.open > button svg { transform: rotate(180deg); }
.dropdown, .subdropdown {
  position: absolute; min-width: 240px; padding: 0.5rem; z-index: 3;
  background: var(--card); border: 1px solid var(--edge); border-radius: 14px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.dropdown { top: calc(100% + 8px); left: 0; transform: translateY(6px); }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a, .subdropdown a, .dd-sub > button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.55rem 0.8rem; border-radius: 8px; font-size: 0.94rem; font-weight: 550; color: var(--mist);
  background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; text-decoration: none !important;
}
.dropdown a:hover, .subdropdown a:hover, .dd-sub > button:hover, .dd-sub.open > button { background: var(--card-2); color: var(--white); }
.dropdown .dd-feature { background: var(--cyan-tint); color: var(--cyan); font-weight: 700; margin-bottom: 0.3rem; }
.dd-sub { position: relative; }
.dd-sub > button svg { width: 8px; height: 12px; flex: none; color: var(--cyan); }
.subdropdown { top: -0.5rem; left: 100%; margin-left: 5px; min-width: 220px; transform: translateX(-6px); }
.dd-sub:hover .subdropdown, .dd-sub.open .subdropdown { opacity: 1; visibility: visible; transform: translateX(0); }
.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.header-phone { color: var(--white); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.header-phone:hover { color: var(--cyan); }
.header-cta .btn { min-height: 42px; padding: 0.6rem 1.2rem; font-size: 0.93rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.6rem; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

/* mobile drawer */
.drawer { display: none; position: fixed; inset: 0; z-index: 99; background: rgba(0, 0, 0, 0.55); }
.drawer.open { display: block; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--card); border-left: 1px solid var(--edge); padding: 5.4rem 1.4rem 2rem; overflow-y: auto;
}
.drawer-panel a { display: block; padding: 0.72rem 0.4rem; color: var(--white); font-weight: 600; font-size: 1.04rem; border-bottom: 1px solid var(--edge); text-decoration: none !important; }
.drawer-panel a.drawer-indent { padding-left: 1.2rem; color: var(--mist); }
.drawer-group { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin: 1.3rem 0 0.2rem; }
.drawer-sub { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist-dim); font-weight: 700; margin: 1rem 0 0.15rem; padding-left: 0.4rem; }
.drawer-panel .btn { margin-top: 1.4rem; width: 100%; border-bottom: 0; color: var(--cyan-ink); }

/* ---------- inner page heading: plain dark band ---------- */
.hero-sub-band { padding: clamp(2.6rem, 6vw, 4.4rem) 0 clamp(2.2rem, 5vw, 3.4rem); }
.hero-sub-band h1 { max-width: 22ch; }
.breadcrumbs { display: none; }
.lede, .hero-sub-band .lede { font-size: 1.12rem; color: var(--mist); max-width: 46rem; }
.hero-micro { margin-top: 1.1rem; font-size: 0.94rem; color: var(--mist); }
.hero-micro a { color: var(--white); font-weight: 700; }

/* ---------- sections & bands ---------- */
section { padding: clamp(3.2rem, 7.5vw, 5.6rem) 0; }
.band-seaglass { background: var(--deep); }
.band-dusk { background: var(--dusk); color: var(--mist); }
.band-dusk p { color: var(--mist); }
.section-head { max-width: 760px; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- cards ---------- */
.svc-card, .step, .city-card, .review-card, .seal, .benefit-card, .tier-card, .faq-item, .rail-mini {
  background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius);
}
.band-seaglass .svc-card, .band-seaglass .step, .band-seaglass .city-card, .band-seaglass .review-card,
.band-seaglass .seal, .band-seaglass .benefit-card, .band-seaglass .tier-card, .band-seaglass .faq-item { background: var(--card-2); }

.svc-card { padding: 1.5rem 1.4rem 1.35rem; position: relative; display: flex; flex-direction: column; transition: border-color 0.16s ease, transform 0.16s ease; }
.svc-card:hover { border-color: var(--edge-hi); }
.svc-card h3 { font-size: 1.18rem; margin-bottom: 0.4em; }
.svc-card h3 a { color: var(--white); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card p { font-size: 0.96rem; margin-bottom: 0.9em; }
.svc-card p:last-child { margin-bottom: 0; }
.svc-card .svc-more { margin-top: auto; font-size: 0.9rem; font-weight: 700; color: var(--cyan); }

/* numbered steps */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.step { padding: clamp(1.3rem, 2.4vw, 1.75rem); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem;
  background: var(--cyan-tint); color: var(--cyan); font-weight: 800; font-size: 0.98rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.95rem; margin: 0; }

/* cities */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.city-card {
  padding: 1.15rem 1.3rem; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  color: var(--white); font-weight: 700; text-decoration: none !important; transition: border-color 0.16s ease;
}
.city-card:hover { border-color: var(--edge-hi); color: var(--white); }
.city-card small { display: block; font-weight: 450; color: var(--mist); margin-top: 0.15rem; }
.city-card svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }
.area-note { margin-top: 1.3rem; font-size: 0.95rem; color: var(--mist); max-width: 62ch; }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review-card { padding: clamp(1.3rem, 2.4vw, 1.75rem); display: flex; flex-direction: column; }
.review-quote { font-size: 1rem; line-height: 1.6; color: var(--white); flex: 1; }
.review-quote::before { content: "★★★★★"; display: block; color: var(--cyan); font-size: 0.85rem; letter-spacing: 0.14em; margin-bottom: 0.8rem; }
.review-attrib { margin-top: 1rem; font-size: 0.88rem; color: var(--mist); }

/* guarantee */
.seal { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.15rem 1.25rem; max-width: 640px; }
.seal svg { width: 28px; height: 28px; color: var(--cyan); flex: none; margin-top: 0.1rem; }
.seal h3 { font-size: 1.04rem; margin-bottom: 0.25em; }
.seal p { margin: 0; font-size: 0.96rem; }

/* icon cards */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.benefit-card { padding: clamp(1.3rem, 2.4vw, 1.75rem); }
.benefit-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--cyan-tint); color: var(--cyan); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.benefit-card p { font-size: 0.95rem; margin: 0; }

/* core values (about): rebuilt from Ian's own "CORE VALUES / CREATE" graphic */
.values-band {
  text-align: center;
  background:
    linear-gradient(180deg, var(--canvas) 0%, rgba(10, 14, 18, 0.2) 16%, rgba(10, 14, 18, 0.2) 84%, var(--canvas) 100%),
    url("/assets/coastline-pattern-dark.png") center top / 180px auto repeat,
    #05080b;
}
.values-head h2 { font-size: clamp(2.6rem, 7.5vw, 5.2rem); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; margin: 0 0 0.35em; text-shadow: 0 0 30px rgba(123, 224, 227, 0.35); }
.values-head h2 span { color: var(--cyan); }
.values-tag { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: 0.32em; font-size: clamp(0.78rem, 1.6vw, 1.05rem); margin: 0 auto 0.9rem; max-width: none; }
.values-rule { width: min(360px, 60%); height: 2px; margin: 0 auto clamp(1.6rem, 4vw, 2.4rem); background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.values-word { font-size: clamp(2.8rem, 9vw, 5.8rem); font-weight: 800; letter-spacing: 0.14em; line-height: 1; margin: 0 auto clamp(1.8rem, 4.5vw, 2.8rem); max-width: none; text-shadow: 0 0 28px rgba(123, 224, 227, 0.35); }
.values-word span:nth-child(odd) { color: var(--cyan); }
.values-word span:nth-child(even) { color: var(--blue); }
.values-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.9rem; }
.value-card { background: rgba(8, 11, 14, 0.82); border: 1px solid rgba(123, 224, 227, 0.2); border-top: 4px solid var(--cyan); border-radius: 16px; padding: 1.3rem 0.95rem 1.45rem; }
.value-card:nth-child(odd) { border-top-color: var(--blue); }
.value-letter { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--cyan); }
.value-letter::after { content: ""; display: block; width: 44px; height: 2px; margin: 0.75rem auto 0; background: var(--cyan); opacity: 0.85; }
.value-card h3 { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.02em; margin: 0.95rem 0 0.6rem; }
.value-card p { font-size: 0.9rem; line-height: 1.55; margin: 0 auto; }
.values-sign { margin: clamp(2rem, 5vw, 3rem) auto 0; color: var(--cyan); font-weight: 800; text-transform: uppercase; letter-spacing: 0.45em; font-size: 0.8rem; max-width: none; }

/* Bronze / Silver / Gold */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; margin-top: 2.4rem; }
.tier-card { overflow: hidden; position: relative; }
.tier-card.featured { border-color: var(--cyan); }
.tier-head { padding: 0.9rem 1.45rem; color: #fff; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.95rem; }
.tier-pop {
  position: absolute; top: 0.65rem; right: 0.9rem;
  background: var(--cyan); color: var(--cyan-ink); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; white-space: nowrap;
}
.tier-body { padding: 1.25rem 1.45rem 1.5rem; }
.tier-sub { font-size: 0.8rem; color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin: 0 0 0.9rem; }
.tier-group { font-size: 0.73rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin: 1.15rem 0 0.2rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--edge); }
.tier-list { list-style: none; margin: 0; padding: 0; }
.tier-list li { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.52rem 0; border-bottom: 1px solid var(--edge); font-size: 0.95rem; }
.tier-list li:last-child { border-bottom: 0; }
.tier-list svg { width: 15px; height: 15px; flex: none; margin-top: 0.3rem; }
.tier-list li.in svg { color: var(--cyan); }
.tier-list li.out svg { color: #c98f8f; }
.tier-list li.out span { color: var(--mist-dim); }
.tier-body .btn { width: 100%; margin-top: 1.25rem; }

/* FAQ accordion (/main.js toggles .open) */
.faq-list { display: grid; gap: 0.8rem; max-width: 820px; }
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--white); min-height: 48px;
  padding: 1.05rem 3rem 1.05rem 1.3rem; position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--cyan); transition: transform 0.2s ease; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { display: none; padding: 0 1.3rem 1.15rem; color: var(--mist); }
.faq-item.open .faq-a { display: block; }

/* ---------- photos ---------- */
.photo-frame { border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--edge); margin: 0; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-band { margin: clamp(1.6rem, 4vw, 2.6rem) 0; }
.photo-band img { width: 100%; aspect-ratio: 16 / 9; max-height: 760px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--edge); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split .photo-frame { aspect-ratio: 4 / 3; }
.split.tall .photo-frame { aspect-ratio: 3 / 3.6; }
.feature-rows { padding-top: clamp(1rem, 3vw, 2rem); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(2.4rem, 5vw, 4.5rem); }
.feature-row .fr-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--edge); }
.feature-row .fr-text > h2:first-child { margin-top: 0; }
.feature-row .fr-text p:last-child { margin-bottom: 0; }
.feature-row.reverse .fr-photo { order: 2; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid .photo-frame { aspect-ratio: 4 / 3; }
.gallery-grid .tall { aspect-ratio: 3 / 3.8; }

/* ---------- lists & sequences ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.6em; }
.check-list svg { width: 19px; height: 19px; color: var(--cyan); flex: none; margin-top: 0.25rem; }
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem 1.5rem; padding-top: 1.35rem; }
.flow.flow-3 { grid-template-columns: repeat(3, 1fr); }
.flow::before { content: ""; position: absolute; top: 0.32rem; left: 8px; right: 8px; height: 2px; background: var(--edge-hi); }
.flow-node { position: relative; }
.flow-node::before { content: ""; position: absolute; top: -1.35rem; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); }
.flow-node h3 { font-size: 1.06rem; margin-bottom: 0.35rem; }
.flow-node p { font-size: 0.95rem; margin: 0; }

/* ---------- inner page layout: copy + quote rail ---------- */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4em; }
.quote-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1rem; }
.rail-card { background: linear-gradient(150deg, #0f2c3c 0%, #0c1c28 100%); border: 1px solid var(--edge); border-radius: var(--radius); padding: 1.5rem 1.4rem; }
.rail-card h3 { font-size: 1.25rem; }
.rail-card p { font-size: 0.94rem; }
.rail-card .btn { width: 100%; margin-top: 0.4rem; }
.rail-card .rail-phone { display: block; text-align: center; margin-top: 0.85rem; color: var(--cyan); font-weight: 700; font-size: 1.02rem; }
.rail-mini { padding: 1.1rem 1.2rem; font-size: 0.92rem; }

/* ---------- quote form ---------- */
/* the GHL form is a fixed 650px navy panel on a white iframe body, so every
   slot it sits in is held to 650px and stays transparent */
.quote-embed { max-width: 650px; margin: 2.2rem auto 1.4rem; text-align: left; }
.quote-embed iframe { width: 100%; border: 0; min-height: 620px; display: block; border-radius: 10px; }
.quote-panel h2 { margin-bottom: 1.2rem; }
.ghl-slot iframe { width: 100%; max-width: 650px; border: 0; min-height: 640px; display: block; border-radius: 10px; }
.contact-alts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.contact-alt { background: var(--card); border: 1px solid var(--edge); border-radius: var(--radius); padding: 1.1rem 1.2rem; font-size: 0.95rem; }
.contact-alt strong { display: block; margin-bottom: 0.2rem; }
.contact-alt a { font-weight: 700; word-break: break-word; }

/* final quote band: Ian's palm-C pattern (360x195 tile from his brand background, shown at 2x) */
.cta-final {
  text-align: center;
  background:
    linear-gradient(180deg, var(--canvas) 0%, rgba(10, 14, 18, 0.35) 20%, rgba(10, 14, 18, 0.35) 80%, var(--canvas) 100%),
    url("/assets/coastline-pattern-dark.png") center top / 180px auto repeat,
    #05080b;
}
.cta-final h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-final p { margin-left: auto; margin-right: auto; }
.cta-final .btn-row { justify-content: center; margin-top: 1.6rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--edge); padding: clamp(2.6rem, 5vw, 3.6rem) 0 2rem; color: var(--mist); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.93rem; max-width: 36ch; }
.footer-tagline { color: var(--white); font-weight: 700; margin-bottom: 0.5rem; }
.site-footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer ul a { color: var(--mist); font-size: 0.94rem; display: inline-block; padding: 0.22rem 0; }
.site-footer ul a:hover { color: var(--cyan); }
.footer-nap { margin-top: 1.1rem; font-size: 0.92rem; line-height: 1.7; }
.footer-nap a { color: var(--white); font-weight: 700; }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.3rem; border-top: 1px solid var(--edge); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; font-size: 0.85rem; color: var(--mist-dim); }
.footer-bottom a { color: var(--mist); }

/* sticky call / quote bar on phones */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60; display: none;
  grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(10, 14, 18, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--edge);
}

/* ---------- reveal (/main.js adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .main-nav a, .nav-item > button { font-size: 0.9rem; padding: 0.5rem 0.5rem; }
  .header-inner { gap: 0.8rem; }
}
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .tier-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .page-grid { grid-template-columns: 1fr; }
  .quote-rail { position: static; }
  .split, .feature-row { grid-template-columns: 1fr; }
  .feature-row { gap: 1.4rem; }
  .feature-row.reverse .fr-photo { order: 0; }
  .feature-row .fr-photo img { aspect-ratio: 16 / 10; }
  .photo-band img { aspect-ratio: 16 / 10; }
  .flow, .flow.flow-3 { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 0; padding-left: 1.7rem; }
  .flow::before { top: 6px; bottom: 6px; left: 5px; right: auto; width: 2px; height: auto; }
  .flow-node::before { top: 0.32rem; left: -1.7rem; }
  .city-grid, .review-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: 6.5rem; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .brand img { height: 52px; }
  .header-cta .btn { display: none; }
  .process, .city-grid, .review-grid, .contact-alts, .gallery-grid { grid-template-columns: 1fr; }
  .photo-band img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn, .rail-card .btn, .tier-body .btn { width: 100%; }
}
@media (max-width: 620px) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .value-card { padding: 1.1rem 0.75rem 1.2rem; }
  .values-sign { letter-spacing: 0.28em; font-size: 0.72rem; }
  .values-tag { letter-spacing: 0.16em; font-size: 0.72rem; }
}
