/* Jackson Jensen Tuning — site styles
   Light, welcoming, red accents. Simple, detailed, efficient. */

:root {
  --cream: #FAF7F2;
  --cream-dark: #F3EEE6;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-soft: #2A2A2A;
  --muted: #5C5C5C;
  --line: #E8E2D8;
  --red: #D62828;
  --red-dark: #B5121B;
  --red-soft: rgba(214, 40, 40, 0.08);
  --shadow: 0 8px 30px rgba(17, 17, 17, 0.06);
  --shadow-hover: 0 14px 40px rgba(17, 17, 17, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1200px;
  --header-h: 68px;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::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;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Typography —— */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); letter-spacing: 0.04em; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.75rem;
}
.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.muted { color: var(--muted); }
.section-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(0);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(17,17,17,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.15;
}
.logo:hover { color: var(--ink); }
.logo span { color: var(--red); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.nav-cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(214, 40, 40, 0.28);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(181, 18, 27, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-dark);
}
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.875rem; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

/* —— Hero —— */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 0.85rem; }
.hero-copy .lede { margin-bottom: 0.25rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.hero-media {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--cream-dark);
  aspect-ratio: 16 / 10;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(17,17,17,0.82);
  color: var(--white);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  max-width: calc(100% - 2rem);
  line-height: 1.35;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* —— Sections —— */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.section-alt { background: var(--white); }
.section-tight { padding: clamp(2.25rem, 4vw, 3.25rem) 0; }
.rule {
  height: 2px;
  width: 48px;
  background: var(--red);
  border: 0;
  margin: 0 0 1.25rem;
}

/* —— Cards / grids —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.section-alt .card {
  background: var(--cream);
}
.card h3 { margin-bottom: 0.45rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0.4rem 0 0.5rem;
}
.price-card .price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.price-card .note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 0.75rem;
}

/* —— Project cards —— */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.project-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
}
.project-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.project-card:hover .thumb img { transform: scale(1.04); }
.project-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card h3 { margin-bottom: 0.35rem; font-size: 1.2rem; }
.project-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.featured-project {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.featured-project .media {
  min-height: 280px;
  background: var(--cream-dark);
}
.featured-project .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.featured-project .body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  width: fit-content;
}

/* —— Comparison —— */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.compare-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.section-alt .compare-card { background: var(--white); }
.compare-card h3 { margin-bottom: 0.6rem; }
.compare-card ul {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
}
.compare-card li { margin-bottom: 0.4rem; }

/* —— Accordions (native details) —— */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 800px;
}
details.acc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease);
}
.section-alt details.acc { background: var(--cream); }
details.acc[open] { box-shadow: var(--shadow); }
details.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
details.acc[open] summary::after { content: "−"; }
.acc-body {
  padding: 0 1.25rem 1.2rem;
  color: var(--ink-soft);
  border-top: 1px solid transparent;
}
details.acc[open] .acc-body { border-top-color: var(--line); padding-top: 1rem; }
.acc-body p:first-child { margin-top: 0; }
.acc-body p:last-child { margin-bottom: 0; }

/* —— Split layout —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1.1rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.5rem;
}
.section-alt .step { background: var(--cream); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--red);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.65rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* —— Contact —— */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}
.contact-info {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.contact-info a.big-link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 0.35rem;
}
.contact-info a.big-link:hover { color: var(--red); }
.contact-info .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.15rem 0 0.25rem;
}
.form-frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 720px;
}
.form-frame iframe {
  width: 100%;
  height: 780px;
  border: 0;
  display: block;
}

/* —— CTA band —— */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p {
  color: rgba(255,255,255,0.78);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}
.cta-band .btn-primary {
  background: var(--red);
}
.cta-band .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.cta-band .btn-secondary:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* —— Footer —— */
.site-footer {
  background: var(--cream-dark);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .logo { font-size: 1.1rem; margin-bottom: 0.65rem; display: inline-block; }
.footer-brand p { margin: 0; color: var(--muted); max-width: 22rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 0.5rem;
}
.page-hero h1 { margin-bottom: 0.65rem; }
.page-hero .lede { margin-bottom: 0; }

/* —— Fade-in on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* —— Utility —— */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 0.75rem; }
.stack > * + * { margin-top: 1.25rem; }

/* —— Approach callouts —— */
.callout {
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--ink-soft);
}
.callout strong { color: var(--ink); }

.priority-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.priority-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.priority-list li span {
  color: var(--red);
  margin-right: 0.35rem;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero-grid,
  .featured-project,
  .split,
  .contact-block,
  .compare { grid-template-columns: 1fr; }
  .featured-project .media { aspect-ratio: 16 / 10; min-height: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.15rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(17,17,17,0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .nav-cta {
    margin: 0.85rem 0 0;
    text-align: center;
  }
  .nav-cta .btn { width: 100%; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 1.75rem, var(--max)); }
  .card-grid,
  .project-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16 / 10; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .form-frame,
  .form-frame iframe { min-height: 640px; height: 640px; }
  .logo { letter-spacing: 0.04em; font-size: 0.95rem; }
}

/* —— Reviews —— */
.reviews-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.review-compose {
  max-width: 560px;
}
.review-compose-trigger {
  width: 100%;
  max-width: 320px;
}
.review-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.35s var(--ease), margin-top 0.35s var(--ease);
}
.review-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 1.25rem;
}
.review-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}
.section-alt .review-card { background: var(--cream); }
.review-card label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.review-card .field { margin-bottom: 1.15rem; }
.review-card textarea,
.review-card input[type="text"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.section-alt .review-card textarea,
.section-alt .review-card input[type="text"] {
  background: var(--cream);
  border-color: #ddd6cb;
}
.review-card textarea {
  min-height: 160px;
  resize: vertical;
}
.review-card textarea:focus,
.review-card input[type="text"]:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.star-rating {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.25rem;
}
.star-rating button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
  color: #D4CDC2;
  font-size: 2rem;
  line-height: 1;
  transition: color 0.15s var(--ease), transform 0.15s var(--ease);
}
.star-rating button:hover,
.star-rating button.is-active,
.star-rating button.is-preview {
  color: var(--red);
}
.star-rating button:hover { transform: scale(1.08); }
.star-rating button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}
.review-consent {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}
.review-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.review-thanks {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.section-alt .review-thanks { background: var(--cream); }
.review-thanks.is-visible { display: block; }
.review-thanks h2 { margin-bottom: 0.4rem; }
.review-thanks p { margin: 0; color: var(--ink-soft); }
.review-error {
  display: none;
  color: var(--red-dark);
  font-size: 0.9rem;
  margin: 0 0 0.85rem;
}
.review-error.is-visible { display: block; }

/* Project photos are pre-cropped to 4:3 around the car — keep them centered */
.project-card .thumb img {
  object-position: center center;
}

/* —— Lineup feature photo (home) —— */
.lineup-band {
  padding: 0 0 clamp(2.5rem, 6vw, 4.5rem);
}
.lineup {
  margin: 0;
}
.lineup picture,
.lineup img {
  display: block;
  width: 100%;
}
.lineup img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.lineup figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.lineup figcaption::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 0.6rem;
}

/* Slightly tighter nav when Reviews is present */
@media (min-width: 769px) and (max-width: 1100px) {
  .nav { gap: 0.1rem 0.85rem; }
  .nav a { font-size: 0.88rem; }
  .logo { font-size: 1.05rem; }
}


/* —— Live review cards —— */
.review-list {
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
}
.review-live-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.review-live-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.review-live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.review-live-stars {
  color: var(--red);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  line-height: 1;
}
.review-source {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.review-source:hover { color: var(--red); }
.review-live-quote {
  margin: 0;
}
.review-live-quote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.review-live-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.review-live-author {
  font-weight: 600;
  color: var(--ink);
}
.review-live-date { color: var(--muted); }
.review-yelp-link {
  margin-left: auto;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--red-dark);
}
.review-yelp-link:hover { color: var(--red); text-decoration: underline; }
@media (max-width: 560px) {
  .review-yelp-link { margin-left: 0; width: 100%; }
}

.review-compose.is-writing [data-review-open] { display: none; }

/* Nav CTA: keep button styling over generic nav link rules */
.nav a.nav-cta.btn-primary,
.nav a.nav-cta.btn-primary:hover { color: #fff; padding: 0.5rem 1.1rem; }
.nav a.nav-cta::after { display: none; }

/* Hero badge sits in the sky so it never covers the car */
.hero-badge {
  top: 0.85rem;
  bottom: auto;
  left: 0.85rem;
}
@media (max-width: 560px) {
  /* On phones the caption sits under the photo instead of on it */
  .hero-media {
    aspect-ratio: auto;
    overflow: visible;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
  .hero-media img {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-hover);
  }
  .hero-badge {
    position: static;
    margin-top: 0.7rem;
    max-width: none;
    background: var(--ink, #111);
    font-size: 0.78rem;
  }
}

/* Solid mobile menu */
@media (max-width: 768px) {
  .nav, .nav.is-open { background: #FAF7F2 !important; backdrop-filter: none; z-index: 100; }
  .site-header:has(.nav.is-open) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #FAF7F2; }
}

/* Review grid */
.review-list { max-width: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
span.review-source:hover { color: var(--muted); }

/* —— Logo header (dark bar) —— */
:root { --header-h: 80px; }
.site-header,
.site-header.is-scrolled,
.site-header:has(.nav.is-open) {
  background: #0d0d0d !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 24px rgba(0,0,0,0.18);
}
.logo.logo-img { display: block; line-height: 0; flex-shrink: 0; }
.logo.logo-img img { display: block; height: 56px; width: auto; }
@media (min-width: 769px) {
  .nav a { color: rgba(255,255,255,0.78); }
  .nav a:hover, .nav a[aria-current="page"] { color: #fff; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .logo.logo-img img { height: 44px; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .logo.logo-img img { height: 42px; }
  .nav-toggle { background: transparent; border-color: rgba(255,255,255,0.25); }
  .nav-toggle span { background: #fff; }
}
@media (max-width: 360px) {
  .logo.logo-img img { height: 36px; }
}

/* —— Hero caption (plain text, lineup style) —— */
.hero-caption {
  position: absolute; left: 0; right: 0; top: 0; margin: 0;
  padding: 1rem 1.1rem 2.6rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100%);
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.03em; line-height: 1.3;
  border-radius: inherit;
}
.hero-caption::before, .lineup figcaption::before {
  content: ""; display: inline-block; width: 28px; height: 3px; background: var(--red);
  vertical-align: middle; margin-right: 0.6rem;
}
.lineup figcaption { text-transform: none; letter-spacing: 0.03em; }
@media (max-width: 560px) {
  .hero-caption { position: static; background: none; color: var(--ink); text-shadow: none; padding: 0; margin-top: 0.8rem; font-size: 1rem; }
}

/* —— Corvette carousel (phones only) —— */
.carousel-dots { display: none; }
@media (max-width: 768px) {
  .vette-carousel {
    display: flex !important;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: calc(var(--radius) + 4px);
  }
  .vette-carousel::-webkit-scrollbar { display: none; }
  .vette-carousel > article { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
  .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 0.9rem; }
  .carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(17,17,17,0.2); transition: background .2s, transform .2s; }
  .carousel-dots span.on { background: var(--red); transform: scale(1.2); }
}

/* —— Design review fixes (Oct 21) —— */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.rating-fieldset{border:0;padding:0;margin-inline:0;min-width:0}
.field-help{margin:0 0 .5rem;font-size:.88rem;color:var(--muted);line-height:1.45}
.social-ig{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:inherit;text-decoration:none;border-radius:8px}
.nav a.nav-ig{padding:0}
.nav a.nav-ig::after{display:none}
.footer-social{display:flex;margin:-0.5rem 0 1rem}
.footer-ig{color:var(--ink-soft)}
.footer-ig:hover{color:var(--red)}
.star-rating button{min-width:44px;min-height:44px}
.site-header .logo span,.site-header .accent,.cta-band .accent,.cta-band a:not(.btn){color:#FF5A5A}
@media (min-width:769px){.nav a.nav-ig{color:rgba(255,255,255,.85)}.nav a.nav-ig:hover{color:#FF5A5A}}
@media (max-width:768px){
  .nav a{min-height:44px;display:flex;align-items:center}
  .nav a.nav-ig{justify-content:flex-start;padding:0 .5rem}
  .btn,.btn-sm,button{min-height:44px}
  .footer-col a{display:inline-flex;align-items:center;min-height:44px}
  .footer-col li{margin-bottom:0}
}
