/* ===================================
   VOICE COACH AUSTIN
   Built on the local-design base system (current skill:
   ~/.config/opencode/skills/local-design/assets/base.css).
   Design rules: sharp corners (0 radius), strong hierarchy, high contrast.
   Brand: charcoal base, violet primary action, gold accent on dark only.

   Contrast notes (WCAG AA verified):
   - Violet #6d28d9 on white: 7.1:1 (AAA normal text)
   - Charcoal #17171a on white: 17.8:1
   - Gold #c9a227 on charcoal: 7.4:1. Gold is only 2.4:1 on white, so it is
     NEVER used for text on light backgrounds, only on dark bands.

   DEPLOY TARGET: assets/css/styles.css
   =================================== */

:root {
  /* Colors */
  --color-primary: #17171a;
  --color-primary-ink: #ffffff;
  --color-accent: #6d28d9;
  --color-accent-dark: #57209f;
  --color-gold: #c9a227;
  --color-ink: #17171a;
  --color-body: #35353d;
  --color-muted: #6b6b74;
  --color-line: #e4e2e8;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f5f8;
  --color-success: #16a34a;
  --color-error: #dc2626;

  /* Typography */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Scale */
  --fs-h1: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Spacing (8px base) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 800px;
  --header-h: 72px;

  /* No rounded corners: design rule */
  --radius: 0;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; }
h4 { font-size: 1.125rem; font-weight: 700; }
p + p { margin-top: var(--s-2); }

.overline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--s-1);
}
.on-dark .overline, .cta-band .overline { color: var(--color-gold); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-3);
}
.container-narrow { max-width: var(--container-narrow); }

section { padding-block: var(--s-6); }
@media (min-width: 768px) { section { padding-block: var(--s-7); } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn + .btn { margin-left: var(--s-1); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-secondary:hover { background: var(--color-ink); color: #fff; }
/* Dark bands: invert the secondary button, otherwise it renders dark ink on a
   dark background and disappears. Any new dark section must be added here. */
.cta-band .btn-secondary,
.form-band .btn-secondary {
  color: #fff;
  border-color: #fff;
}
.cta-band .btn-secondary:hover,
.form-band .btn-secondary:hover {
  background: #fff;
  color: var(--color-ink);
}

/* Announcement bar */
.announcement-bar {
  background: var(--color-ink);
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem var(--s-2);
}
.announcement-bar strong { color: var(--color-gold); font-weight: 800; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  min-height: var(--header-h);
}
.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: var(--header-h);
}
.site-header .logo { text-decoration: none; font-family: var(--font-heading); font-weight: 900; font-size: 1.125rem; line-height: 1.05; letter-spacing: -0.02em; color: var(--color-ink); }
.site-header .logo span { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); }
.site-header nav { display: none; gap: var(--s-3); }
.site-header nav a { text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--color-accent); }
@media (min-width: 900px) { .site-header nav { display: flex; } }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 0.625rem 1rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-family: var(--font-heading);
  white-space: nowrap;
}
.header-call:hover { background: var(--color-ink); }

/* Assurance bar (above hero) */
.assurance-bar {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 0.625rem var(--s-2);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Hero */
.hero { background: var(--color-bg-alt); padding-block: var(--s-5); }
@media (min-width: 900px) {
  .hero { padding-block: var(--s-6); }
  .hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-5); align-items: start; }
}
.hero h1 { margin-bottom: var(--s-2); }
.hero .subhead { font-size: 1.125rem; color: var(--color-body); margin-bottom: var(--s-3); max-width: 54ch; }
.hero-bullets { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: 0.5rem; }
.hero-bullets li { display: flex; align-items: flex-start; gap: 0.625rem; font-weight: 600; color: var(--color-ink); }
.hero-bullets li::before {
  content: '';
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 3px;
  background: var(--color-accent);
  clip-path: polygon(14% 47%, 0 61%, 40% 100%, 100% 22%, 85% 8%, 38% 70%);
}

/* Lead form card */
/* The form card is always a light card, including inside the dark .form-band.
   It therefore sets its own text colours rather than inheriting them, so it can
   be dropped into any section without going white on white. Do not remove the
   explicit `color` declarations below. */
.lead-form {
  background: var(--color-bg);
  color: var(--color-body);
  padding: var(--s-3);
  border: 2px solid var(--color-ink);
}
.lead-form h2 { font-size: 1.375rem; margin-bottom: var(--s-1); color: var(--color-ink); }
.lead-form .form-intro { font-size: 0.875rem; color: var(--color-muted); margin-bottom: var(--s-2); }
.lead-form .form-row { display: grid; gap: var(--s-2); margin-bottom: var(--s-2); }
.lead-form label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; color: var(--color-ink); }
/* All three controls share identical box metrics so they line up exactly.
   appearance:none is required: without it a <select> keeps its native height,
   rounded corners, and OS arrow, and ignores the shared padding. border-radius
   is forced to 0 because iOS Safari rounds inputs and selects by default, which
   breaks the sharp corner design rule. */
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-line);
  border-radius: 0;
  background-color: #fff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
}
.lead-form select {
  /* Custom chevron, since appearance:none removes the native one. */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2317171a' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 12px 8px;
  padding-right: 2.75rem;
  cursor: pointer;
}
.lead-form select:invalid { color: var(--color-muted); }
.lead-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}
.lead-form input::placeholder, .lead-form textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-color: var(--color-ink);
}
.lead-form .optional {
  font-weight: 400;
  color: var(--color-muted);
}
.lead-form .btn { width: 100%; }
.lead-form .form-note { font-size: 0.8125rem; color: var(--color-muted); margin-top: var(--s-1); text-align: center; }

/* Mid-page form band */
.form-band { background: var(--color-ink); color: #fff; }
/* Scoped to .band-copy so it cannot leak into the light .lead-form card
   sitting in the same band. */
.form-band .band-copy h2 { color: #fff; }
.form-band .band-copy .overline { color: var(--color-gold); }
.form-band .band-grid { display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 900px) { .form-band .band-grid { grid-template-columns: 1fr 1fr; } }
.form-band .lead-form { border-color: var(--color-gold); }
.form-band .band-copy p { color: rgba(255,255,255,0.86); font-size: 1.0625rem; }

/* Trust bar */
.trust-bar { background: var(--color-ink); color: #fff; padding-block: var(--s-3); }
.trust-bar ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2); text-align: center;
}
@media (min-width: 768px) { .trust-bar ul { grid-template-columns: repeat(5, 1fr); } }
.trust-bar li { font-weight: 700; font-size: 0.9375rem; }
.trust-bar li span { display: block; font-size: 1.5rem; color: var(--color-gold); margin-bottom: 0.25rem; line-height: 1; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: block;
  padding: var(--s-3);
  background: var(--color-bg);
  border: 2px solid var(--color-line);
  border-top: 4px solid var(--color-accent);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.service-card:hover { border-color: var(--color-ink); border-top-color: var(--color-accent); background: var(--color-bg-alt); }
.service-card h3 { margin-bottom: var(--s-1); font-size: 1.1875rem; }
.service-card p { font-size: 0.9375rem; }
.service-card .arrow { display: inline-block; margin-top: var(--s-2); font-weight: 800; color: var(--color-accent); font-family: var(--font-heading); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Why choose us */
.pillars { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 4px solid var(--color-accent); padding-top: var(--s-2); }
.pillar h3 { margin-bottom: var(--s-1); }
.pillar .stat { display: block; font-family: var(--font-heading); font-weight: 900; font-size: 2rem; color: var(--color-accent); line-height: 1; margin-bottom: var(--s-1); }

/* Content blocks (topical depth sections) */
.content-blocks { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 768px) { .content-blocks { grid-template-columns: repeat(2, 1fr); } }
.content-block h3 { margin-bottom: var(--s-1); }
.content-block .figure {
  display: inline-block;
  margin-top: var(--s-1);
  padding: 0.25rem 0.625rem;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
}
section.alt .content-block .figure { background: #fff; }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-2); align-items: start; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
}
.steps li h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }

/* Comparison / pricing tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
caption { text-align: left; font-size: 0.875rem; color: var(--color-muted); margin-bottom: var(--s-1); }
th, td { text-align: left; padding: 0.75rem; border: 1px solid var(--color-line); vertical-align: top; }
thead th { background: var(--color-ink); color: #fff; font-family: var(--font-heading); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr:nth-child(even) { background: var(--color-bg-alt); }
section.alt tbody tr:nth-child(even) { background: #fff; }

/* Social proof */
.reviews { background: var(--color-bg-alt); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: #fff; padding: var(--s-3); border: 2px solid var(--color-line); }
.review-card .stars { color: var(--color-gold); font-size: 1rem; margin-bottom: var(--s-1); letter-spacing: 2px; }
.review-card blockquote { font-style: italic; margin-bottom: var(--s-2); }
.review-card cite { font-style: normal; font-weight: 700; display: block; }
.review-card cite span { display: block; font-weight: 400; font-size: 0.875rem; color: var(--color-muted); }

/* Locations grid */
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
@media (min-width: 768px) { .locations-grid { grid-template-columns: repeat(3, 1fr); } }
.location-link {
  display: block;
  padding: var(--s-2);
  border: 2px solid var(--color-line);
  background: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-ink);
  transition: border-color 0.15s, color 0.15s;
}
.location-link:hover { border-color: var(--color-accent); color: var(--color-accent); }
.location-link span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8125rem; color: var(--color-muted); margin-top: 0.25rem; }

/* Prose helpers */
.prose h2 { margin-top: var(--s-4); margin-bottom: var(--s-2); }
.prose h3 { margin-top: var(--s-3); margin-bottom: var(--s-1); }
.prose ul, .prose ol { margin: var(--s-2) 0; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose > p:first-child { font-size: 1.0625rem; }

/* FAQ */
.faq details { border-bottom: 2px solid var(--color-line); padding-block: var(--s-2); }
.faq summary {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: -0.125rem;
  font-size: 1.5rem;
  color: var(--color-accent);
}
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin-top: var(--s-2); }

/* Final CTA */
.cta-band { background: var(--color-ink); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: var(--s-2); }
.cta-band p { font-size: 1.125rem; margin-bottom: var(--s-3); color: rgba(255,255,255,0.86); }
.cta-band .phone-line, .form-band .phone-line { margin-top: var(--s-3); margin-bottom: 0; }
.cta-band .phone-line a:not(.btn) { color: var(--color-gold); font-weight: 800; }

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.86);
  padding-block: var(--s-5) var(--s-3);
  font-size: 0.9375rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--color-gold); }
.site-footer .footer-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: var(--s-2); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer .footer-brand { font-family: var(--font-heading); font-weight: 900; font-size: 1.25rem; color: #fff; margin-bottom: var(--s-1); }
.site-footer .footer-bottom {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}
.site-footer .footer-bottom a { color: rgba(255,255,255,0.7); }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mobile-cta.visible { transform: translateY(0); }
.mobile-cta a {
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9375rem;
  font-family: var(--font-heading);
}
.mobile-cta .call { background: var(--color-ink); color: #fff; }
.mobile-cta .quote { background: var(--color-accent); color: #fff; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* Desktop floating call button */
.fab-call {
  position: fixed;
  right: var(--s-3);
  bottom: var(--s-3);
  z-index: 90;
  display: none;
  align-items: center;
  gap: var(--s-1);
  padding: 0.875rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.15s;
}
.fab-call:hover { background: var(--color-ink); }
.fab-call.visible { opacity: 1; transform: translateY(0); }
@media (min-width: 768px) { .fab-call { display: inline-flex; } }

/* Breadcrumbs */
.breadcrumbs { padding-block: var(--s-2); font-size: 0.875rem; color: var(--color-muted); background: var(--color-bg-alt); }
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs span[aria-current] { color: var(--color-ink); font-weight: 600; }

/* Utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mb-3 { margin-bottom: var(--s-3); }
.alt { background: var(--color-bg-alt); }
.source-note { font-size: 0.8125rem; color: var(--color-muted); margin-top: var(--s-3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
