/* Detailing To You · Direction A Midnight Gold · local draft preview */
:root {
  --gold-300: #F2D56B;
  --amber-400: #E8B04A;
  --orange-500: #E8893A;
  --orange-700: #C8642E;
  --ink-900: #15171A;
  --ink-800: #23272D;
  --ink-700: #2E333A;
  --ink-600: #3A3F46;
  --gray-600: #4A4F57;
  --gray-400: #9AA0A8;
  --gray-300: #B8BDC4;
  --gray-200: #D9DCE0;
  --gray-100: #ECEEF0;
  --white: #FFFFFF;
  --bg-page: #15171A;
  --bg-surface: #23272D;
  --bg-raised: #2E333A;
  --text-primary: #FFFFFF;
  --text-secondary: #B8BDC4;
  --text-accent: #F2D56B;
  --text-on-gradient: #15171A;
  --border-subtle: #3A3F46;
  --border-strong: #9AA0A8;
  --focus-ring: #F2D56B;
  --placeholder-fill: #3A3F46;
  --placeholder-text: #B8BDC4;
  --btn-solid-bg: #FFFFFF;
  --btn-solid-bg-hover: #D9DCE0;
  --btn-solid-bg-pressed: #B8BDC4;
  --btn-solid-text: #15171A;
  --radius-button: 999px;
  --radius-card: 16px;
  --radius-8: 8px;
  --radius-4: 4px;
  --px: 24px;
  --sy: 64px;
  --section-gap: 32px;
  --sticky-h: 89px;
  --grad-cta: linear-gradient(20deg, #F2D56B 0%, #E8B04A 55%, #E8893A 100%);
  --grad-cta-hover: linear-gradient(20deg, #F7E08A 0%, #EEA24E 100%);
  --grad-cta-pressed: linear-gradient(20deg, #E8B04A 0%, #D9742F 100%);
  --grad-swoosh: linear-gradient(90deg, #F2D56B 0%, #E8B04A 50%, #C8642E 100%);
  --grad-hero: linear-gradient(35deg, #F2D56B 0%, #E8B04A 60%, #E8893A 100%);
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Arial Black", "Helvetica Neue", sans-serif;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-latin.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-latin.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--sticky-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--gold-300);
  color: var(--ink-900);
  font-weight: 700;
  border-radius: var(--radius-8);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.ui-body { font-family: var(--font-ui); font-weight: 400; font-size: 16px; line-height: 24px; }
.ui-body-l { font-family: var(--font-ui); font-weight: 400; font-size: 16px; line-height: 24px; }
.ui-body-strong { font-family: var(--font-ui); font-weight: 600; font-size: 16px; line-height: 24px; }
.ui-title { font-family: var(--font-ui); font-weight: 700; font-size: 20px; line-height: 28px; }
.ui-button { font-family: var(--font-ui); font-weight: 700; font-size: 18px; line-height: 24px; }
.ui-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ui-caption {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.02em;
}
.a-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-accent);
}
.a-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.01em;
  margin: 0;
}
.a-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.01em;
  margin: 0;
}

.wrap { width: min(1184px, calc(100% - 2 * var(--px))); margin-inline: auto; }

:focus { outline: none; }
:focus-visible {
  box-shadow: 0 0 0 3px var(--bg-page), 0 0 0 6px var(--focus-ring);
  border-radius: 4px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--px);
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  width: 160px;
  height: 60px;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.logo:focus-visible { border-radius: var(--radius-8); }
.nav-links { display: none; }
.nav-cta { display: none !important; }
.menu-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-8);
  color: var(--text-primary);
  flex: 0 0 auto;
}
.menu-btn svg { display: block; }
.menu-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px var(--px) 16px;
}
.menu-panel.open { display: block; }
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
}
.menu-panel a:hover { color: var(--text-primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: var(--radius-button);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.btn svg { flex: 0 0 auto; display: block; }
.btn-gradient { background: var(--grad-cta); color: var(--text-on-gradient); }
.btn-gradient:hover { background: var(--grad-cta-hover); }
.btn-gradient:active { background: var(--grad-cta-pressed); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--bg-surface); }
.btn-solid { background: var(--btn-solid-bg); color: var(--btn-solid-text); }
.btn-solid:hover { background: var(--btn-solid-bg-hover); }
.btn-solid:active { background: var(--btn-solid-bg-pressed); }
.btn:focus-visible { box-shadow: 0 0 0 3px var(--bg-page), 0 0 0 6px var(--focus-ring); }
.btn-block { width: 100%; }

.theme-light {
  --btn-solid-bg: #15171A;
  --btn-solid-bg-hover: #2E333A;
  --btn-solid-bg-pressed: #3A3F46;
  --btn-solid-text: #FFFFFF;
  --text-primary: #15171A;
  --text-secondary: #4A4F57;
  --border-strong: #15171A;
  --bg-surface: #FAF6EE;
  --bg-page: #FFFFFF;
  --focus-ring: #15171A;
}
.theme-light .btn-outline { color: var(--ink-900); }
.theme-light .btn-outline:hover { background: rgba(21, 23, 26, 0.06); }
.theme-light .btn:focus-visible {
  box-shadow: 0 0 0 3px #E8B04A, 0 0 0 6px var(--ink-900);
}

.sparkle { display: block; flex: 0 0 auto; }
.sparkles { display: flex; align-items: flex-end; gap: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .sparkle-a { animation: twinkle 2.4s ease-in-out infinite; transform-origin: center; }
  .sparkle-b { animation: twinkle 2.4s ease-in-out 0.4s infinite; transform-origin: center; }
  .sparkle-c { animation: twinkle 2.4s ease-in-out 0.8s infinite; transform-origin: center; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

.divider {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 0;
  overflow: hidden;
}
.divider svg { width: 100%; height: 100%; display: block; }
.divider-from-page { background: var(--bg-page); }
.divider-from-surface { background: var(--bg-surface); }
.divider .wedge-page { fill: var(--bg-page); }
.divider .wedge-surface { fill: var(--bg-surface); }
.divider .blade { fill: url(#swoosh-grad); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px var(--px) 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  background: var(--bg-page);
}
.hero-swoosh {
  position: absolute;
  left: 0;
  top: 140px;
  width: 100%;
  height: 120px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.hero-swoosh svg { width: 100%; height: 100%; display: block; }
.hero > *:not(.hero-swoosh) { position: relative; z-index: 1; }
.hero-eyebrow { max-width: 342px; }
.hero h1 { max-width: 342px; }
.hero-sub { max-width: 342px; margin: 0; color: var(--text-secondary); }
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 342px;
}
.tagline-note { margin: 0; color: var(--text-accent); }

.work {
  width: 100%;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.work h2 { text-align: center; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.work-grid picture, .work-grid img {
  width: 100%;
  display: block;
}
.work-grid img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--ink-700);
}
.work-label { margin: 0; color: var(--text-secondary); text-align: center; }

/* Sections */
.section { padding: var(--sy) var(--px); }
.section-surface { background: var(--bg-surface); }
.section-page { background: var(--bg-page); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.section-head.center { align-items: center; text-align: center; }
.section-head.left { align-items: flex-start; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.section-sub { margin: 0; color: var(--text-secondary); }

#services { display: flex; flex-direction: column; gap: var(--section-gap); }
.packages { display: flex; flex-direction: column; gap: 32px; }
.pkg-col { display: flex; flex-direction: column; gap: 16px; }
.pkg-col .a-eyebrow { margin: 0; }

.card {
  background: var(--bg-raised);
  border-radius: var(--radius-card);
  padding: 24px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-accent {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--grad-swoosh);
}
.card-tag {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: var(--radius-4);
  background: var(--bg-surface);
  color: var(--text-accent);
}
.card h3 { margin: 0; }
.card-bullets {
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-bullets li { padding-left: 1.1em; position: relative; }
.card-bullets li::before { content: "•"; position: absolute; left: 0; }

/* Split "Call or text for a quote": 24×24 min, no overlap, both underlined, own focus rings */
.quote-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 4px;
  row-gap: 0;
  min-height: 24px;
  color: var(--text-accent);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}
.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0 2px;
  margin: 0;
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.quote-link:focus-visible {
  z-index: 2;
  box-shadow: 0 0 0 3px var(--bg-page), 0 0 0 6px var(--focus-ring);
  border-radius: 4px;
}
.quote-plain { color: var(--text-accent); }

.closer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.closer p { margin: 0; color: var(--text-primary); }
.closer a.phone { text-decoration: underline; text-underline-offset: 2px; }
.closer-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Area */
.area-split { display: flex; flex-direction: column; gap: 32px; }
.area-text { display: flex; flex-direction: column; gap: 24px; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-button);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-weight: 600;
  background: transparent;
}
.chip svg { flex: 0 0 auto; }
.map-ph {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-card);
  background: var(--placeholder-fill);
  border: 1px dashed var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--placeholder-text);
}

/* FAQ */
.faq-split { display: flex; flex-direction: column; gap: 32px; }
.faq-list { border-top: 1px solid var(--border-subtle); }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item.open { background: var(--bg-surface); }
.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 48px;
  padding: 16px 16px 16px 24px;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
}
.faq-q { margin: 0; flex: 1; }
.faq-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--text-primary);
}
.faq-toggle svg { transition: transform 200ms ease-out; }
.faq-item.open .faq-toggle svg { transform: rotate(180deg); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms ease-out;
}
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-a { margin: 0; padding: 0 16px 16px 24px; color: var(--text-secondary); }
@media (prefers-reduced-motion: reduce) {
  .faq-panel, .faq-toggle svg { transition: none; }
}

/* Final CTA */
.final { padding: 0 var(--px) var(--sy); background: var(--bg-page); }
.cta-panel {
  border-radius: var(--radius-card);
  background: var(--grad-hero);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: var(--ink-900);
}
.cta-panel h2, .cta-panel p { margin: 0; color: var(--ink-900); }
.cta-panel .cta-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 294px;
}
.cta-panel a.phone { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Footer */
.footer {
  background: var(--bg-surface);
  padding: 48px var(--px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-cols { display: flex; flex-direction: column; gap: 32px; }
.brand { display: flex; flex-direction: column; gap: 16px; }
.brand .logo { width: 200px; height: 75px; }
.brand p { margin: 0; color: var(--text-secondary); }
.nap, .footer-links { display: flex; flex-direction: column; gap: 8px; }
.nap .ui-label, .footer-links .ui-label { color: var(--text-accent); margin: 0; }
.nap p { margin: 0; color: var(--text-primary); }
.nap a {
  margin: 0;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-links a {
  margin: 0;
  color: var(--text-secondary);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover, .nap a:hover { color: var(--text-primary); }
.legal { margin: 0; color: var(--text-secondary); }

/* Sticky bar — mobile only */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 16px;
  background: var(--bg-page);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.24);
}
.sticky-bar .btn { flex: 1 1 0; padding-left: 16px; padding-right: 16px; }

/* Tablet 768–1199 */
@media (min-width: 768px) {
  :root { --px: 48px; }
  body { padding-bottom: 0; }
  .sticky-bar { display: none !important; }
  .nav-cta { display: inline-flex !important; }
  .logo { width: 180px; height: 68px; }
  .work-grid { gap: 16px; }
  .packages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    align-items: start;
  }
  .pkg-interior {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    align-items: start;
  }
  .pkg-interior > .a-eyebrow:first-child { grid-column: 1; grid-row: 1; }
  .pkg-interior > .card:first-of-type { grid-column: 1; grid-row: 2; }
  .pkg-interior > .label-addons { grid-column: 2; grid-row: 1; }
  .pkg-interior > .card:last-of-type { grid-column: 2; grid-row: 2; }
  .hero h1, .hero-eyebrow, .hero-sub { max-width: 640px; }
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    width: auto;
    max-width: none;
  }
  .hero-ctas .btn { width: auto; }
  .closer { align-items: center; text-align: center; }
  .closer p { max-width: 760px; }
  .closer-ctas { flex-direction: row; justify-content: center; width: auto; }
  .closer-ctas .btn { width: auto; }
  .map-ph { height: 320px; }
}

/* Desktop ≥ 1200 */
@media (min-width: 1200px) {
  :root {
    --px: 128px;
    --sy: 96px;
    --section-gap: 48px;
  }
  .ui-body-l { font-size: 20px; line-height: 32px; }
  .a-display { font-size: 72px; line-height: 76px; }
  .a-h2 { font-size: 40px; line-height: 48px; }
  .logo { width: 200px; height: 75px; }
  .menu-btn, .menu-panel { display: none !important; }
  .nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
  }
  .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
  }
  .nav-links a:hover { color: var(--text-primary); }
  .divider { height: 96px; }
  .hero { padding: 96px var(--px) 64px; gap: 32px; }
  .hero-swoosh { top: 120px; height: 300px; }
  .hero-eyebrow { max-width: none; }
  .hero h1 { max-width: 1000px; }
  .hero-sub { max-width: 720px; }
  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .packages {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .pkg-interior {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .area-split {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .area-text { flex: 1 1 0; min-width: 0; }
  .area-text .a-h2 { white-space: nowrap; }
  .map-ph { flex: 0 0 560px; width: 560px; max-width: 560px; height: 400px; }
  .faq-split {
    flex-direction: row;
    gap: 64px;
    align-items: flex-start;
  }
  .faq-head { flex: 0 0 400px; width: 400px; }
  .faq-list { flex: 1 1 0; }
  .cta-panel { padding: 64px; }
  .cta-panel .cta-actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
    max-width: none;
  }
  .footer { padding: 64px var(--px); }
  .footer-cols { flex-direction: row; gap: 64px; }
  .footer-cols > * { flex: 1 1 0; }
}

/* 1114 fixes: no map, centered area; nowrap phones; sticky bar safe-area */
.area-split{align-items:center;text-align:center;justify-content:center}
.area-text{align-items:center;max-width:720px;margin:0 auto}
.area-text .towns{justify-content:center}
a[href^="tel:"], a.phone{white-space:nowrap}
.sticky-bar{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
body{padding-bottom:calc(var(--sticky-h) + env(safe-area-inset-bottom))}
@media (min-width:768px){ body{padding-bottom:0} }
