/* Frogs Off-Road — draft site, 2026 */
:root {
  --bg: #12100c;
  --bg-2: #1b1812;
  --bg-3: #242017;
  --bg-feature: #2a2418;
  --bg-header: rgba(18, 16, 12, 0.92);
  --ink: #f3eee4;
  --ink-on-light: #1a150e;
  --muted: #b7b0a3;
  --muted-on-light: #3a3226;
  /* Green accent sampled from the UTV frog logo FROGS fill. */
  --frog: #66db00;
  --frog-2: #7ae610; /* lighter companion for button hover */
  --sand: #66db00;   /* was #c4a574 */
  --sand-2: #66db00; /* was #e0c792 */
  --line: rgba(102, 219, 0, 0.22);
  --danger-mark: #e8c98a;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 72rem;
  --header: 4rem;
  --radius: 0.4rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--sand-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--sand);
  color: var(--ink-on-light);
  padding: 0.5rem 0.8rem;
  z-index: 100;
  font-weight: 600;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.4vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; letter-spacing: 0.03em; }

p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.15rem; color: var(--ink); max-width: 38rem; }
.lede strong { color: var(--sand-2); font-weight: 600; }

.unknown {
  display: inline;
  color: var(--ink-on-light);
  background: var(--danger-mark);
  padding: 0.05em 0.35em;
  border-radius: 0.15rem;
  font-weight: 600;
  font-size: 0.95em;
}
p.unknown {
  display: block;
  margin: 0 0 1.15rem;
  line-height: 1.55;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
  padding-block: 0.3rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  line-height: 0;
  gap: 0.5rem;
}
.logo img.logo-frog {
  display: block;
  width: auto;
  height: 2.6rem;
  object-fit: contain;
}
.logo-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 0.9;
}
.lw-frogs,
.lw-offroad {
  font-family: var(--font-display);
  text-transform: uppercase;
  white-space: nowrap;
}
.lw-frogs {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--frog);
}
.lw-offroad {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}

@media (min-width: 64rem) {
  :root { --header: 5rem; }
  .logo { gap: 0.6rem; }
  .logo img.logo-frog { height: 3.15rem; }
  .lw-frogs { font-size: 1.45rem; letter-spacing: 0.06em; }
  .lw-offroad { font-size: 0.82rem; letter-spacing: 0.14em; }
}

.nav-button {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nav-button span,
.nav-button span::before,
.nav-button span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-button span::before,
.nav-button span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-button span::before { top: -6px; }
.nav-button span::after { top: 6px; }

.nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav-toggle:checked ~ .nav { display: flex; }
.nav-toggle:checked + .nav-button span { background: transparent; }
.nav-toggle:checked + .nav-button span::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + .nav-button span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 64rem) {
  .nav-button { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    gap: 0.1rem 0.85rem;
  }
  .nav a { padding: 0.35rem 0; font-size: 0.88rem; letter-spacing: 0.07em; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary {
  background: var(--sand);
  color: var(--ink-on-light);
}
.btn-primary:hover { background: var(--frog-2); color: var(--ink-on-light); }

.btn-ghost,
.btn-nav {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover,
.btn-nav:hover { border-color: var(--sand); color: var(--ink); }

/* Dark fill for sand/gold bands, where a sand primary would disappear */
.btn-invert {
  background: var(--ink-on-light);
  color: var(--sand-2);
  border-color: var(--ink-on-light);
}
.btn-invert:hover {
  background: var(--bg);
  color: var(--ink);
}
.btn-ghost-on-light {
  background: transparent;
  color: var(--ink-on-light);
  border-color: var(--ink-on-light);
}
.btn-ghost-on-light:hover {
  background: var(--ink-on-light);
  color: var(--sand-2);
}

.btn-nav {
  padding: 0.65rem 1.2rem;
  margin-top: 0.45rem;
  white-space: nowrap;
  min-height: 2.75rem;
  box-sizing: border-box;
}
@media (min-width: 64rem) { .btn-nav { margin-top: 0; } }

/* Hero */
.hero {
  position: relative;
  min-height: 34rem;
  display: grid;
  align-items: end;
  overflow: hidden;
}
@media (min-width: 64rem) {
  .hero { min-height: 42rem; }
}

.hero-photo {
  position: absolute;
  inset: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,16,12,0.35) 0%, rgba(18,16,12,0.2) 30%, rgba(18,16,12,0.88) 100%),
    linear-gradient(90deg, rgba(18,16,12,0.72) 0%, rgba(18,16,12,0.15) 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 6rem 0 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 1.5rem;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--sand-2);
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-points li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--sand);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* Pickup / CTA bands: dark, green-tinted so they don't go neon or tan. */
.pickup-band,
.cta-band {
  background: #161c12;
  color: var(--ink);
  border-top: 1px solid rgba(102, 219, 0, 0.35);
  border-bottom: 1px solid rgba(102, 219, 0, 0.35);
}
.pickup-band { padding: 1.6rem 0; }
.pickup-inner { max-width: none; }
.pickup-band .kicker,
.cta-band .kicker {
  color: var(--frog);
}
.pickup-band h2,
.cta-band h2 {
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.pickup-band p,
.cta-band p { color: var(--muted); margin: 0; }
.pickup-band a { color: var(--frog); font-weight: 600; }
.pickup-band a:hover { color: var(--ink); }

/* Sections */
.section { padding: 4.2rem 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 38rem; margin-bottom: 2rem; }

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 70rem) {
  .service-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1.2rem 1.15rem 1.3rem;
}
.card-feature {
  background: var(--bg-feature);
  border-color: var(--sand);
}
.card p { margin: 0; }

.work-photos {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.product-grid {
  grid-template-columns: 1fr;
}
.product-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  overflow: hidden;
  padding: 0.85rem 0.85rem 0;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--bg);
  border-radius: 0;
}
.product-card figcaption,
.work-photos figcaption {
  margin: 0.65rem 0.25rem 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}
@media (min-width: 40rem) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}

.brands-band {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.brands-band .kicker { color: var(--sand); }
.brands-lead {
  margin: 0.35rem auto 1.15rem;
  max-width: 36rem;
  color: var(--muted);
}
.brand-names {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.75rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-names li { margin: 0; }

@media (min-width: 64rem) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
  }
  .contact-grid { align-items: start; }
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.about-photo img {
  width: 100%;
  border-radius: 0.55rem;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.2rem;
  align-items: start;
}

.callout {
  background: var(--bg-feature);
  border-left: 3px solid var(--sand);
  padding: 0.9rem 1rem;
  margin: 1.1rem 0 1.4rem;
  color: var(--ink);
}

.details {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.details div { margin: 0; }
.details dt {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--sand);
  margin-bottom: 0.15rem;
}
.details dd { margin: 0; color: var(--ink); }

.quote-form {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1.25rem;
  display: grid;
  gap: 0.85rem;
}
.form-intro { font-size: 0.92rem; margin: 0; }
.quote-form label {
  display: grid;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--sand);
}
.hint { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.quote-form input,
.quote-form textarea {
  font: 1rem/1.4 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.65rem 0.7rem;
  width: 100%;
}
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--sand);
  outline: none;
}
.quote-form { position: relative; }
.quote-form .hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.quote-form .cf-turnstile { margin-top: 0.15rem; }
.form-status { margin: 0; font-size: 0.95rem; }
.form-status.ok { color: var(--sand-2); }
.form-status.err { color: #e8b4a0; }
.form-fallback { margin: 0; font-size: 0.88rem; color: var(--muted); }
.quote-form .btn { justify-self: start; margin-top: 0.25rem; }
.quote-form .btn:disabled { opacity: 0.65; cursor: wait; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.6rem;
  text-align: center;
}
.footer-inner {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.4rem 1.8rem;
}
.footer-inner img,
.footer-logos img { height: 4.4rem; width: auto; }
.footer-inner p { margin: 0; }
.fine { font-size: 0.85rem; }

/* Tell us your machine */
.machine-note {
  margin-top: 2rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1.25rem 1.2rem 1.3rem;
}
.machine-note h3 { margin-bottom: 0.4rem; }
.machine-note p { margin: 0 0 0.7rem; }
.machine-note p:last-child { margin-bottom: 0; }

/* How it works steps */
.steps {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
  grid-template-columns: 1fr;
}
.steps li {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1.15rem 1.15rem 1.2rem 1.15rem;
  counter-increment: step;
}
.steps li h3 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}
.steps li h3::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-on-light);
  background: var(--sand);
  width: 1.7rem;
  height: 1.7rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.25rem;
  flex: 0 0 auto;
  line-height: 1;
}
.process-notes {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
}
.process-notes p { margin: 0; }
@media (min-width: 48rem) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 70rem) {
  .steps { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* FAQ */
.faq-wrap { max-width: none; }
.faq-list { display: grid; gap: 0.55rem; }
.faq-list details {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0 0.2rem;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  padding: 0.85rem 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--sand);
  font-weight: 700;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0;
  padding: 0 1rem 1rem;
}

/* Mid-page CTA — typography shared with .pickup-band */
.cta-band { padding: 2.2rem 0; }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
}
.cta-band p { max-width: 36rem; }

/* Service groups */
.service-group { margin-top: 2.4rem; }
.section-head + .service-group { margin-top: 0; }
.service-group-head { max-width: 40rem; margin-bottom: 1.1rem; }
.service-group-head h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin-bottom: 0.35rem;
}
.service-group.specialty {
  margin-top: 2.5rem;
  padding: 1.4rem 1.2rem 1.5rem;
  background: var(--bg-feature);
  border: 1px solid var(--sand);
  border-radius: 0.55rem;
}
.service-group.specialty .card {
  background: var(--bg-3);
}
@media (min-width: 48rem) {
  .service-group.specialty { padding: 1.6rem 1.5rem 1.7rem; }
}
@media (min-width: 70rem) {
  .service-group.specialty .service-grid { grid-template-columns: 1fr 1fr; }
}

.featured-grid {
  list-style: none;
  margin: 0 0 2.1rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 70rem) {
  .featured-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.feature-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feature-card .card-photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg);
}
.feature-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card .card-body {
  padding: 1.05rem 1.1rem 1.2rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 6.75rem;
}
.feature-card .card-body h3 { margin-bottom: 0.4rem; }
.feature-card .card-body p { margin: 0; }

.feature-card .card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.also-in-shop .kicker { margin-bottom: 0.85rem; }
@media (min-width: 70rem) {
  .also-in-shop .service-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Preview-only banner */
.preview-banner {
  background: var(--sand);
  color: var(--ink-on-light);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  margin: 0;
}
.preview-banner a { color: inherit; }

/* Sticky mobile Call / Text / Quote */
.mobile-contact-bar {
  display: none;
}
@media (max-width: 63.99rem) {
  .mobile-contact-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 0.45rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 0.5rem 0.7rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-contact-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.45rem 0.5rem;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.82rem;
    text-decoration: none;
    border: 1px solid var(--line);
    color: var(--ink);
    background: transparent;
  }
  .mobile-contact-bar a.is-primary {
    background: var(--frog);
    color: var(--ink-on-light);
    border-color: var(--frog);
  }
  .mobile-contact-bar a.is-primary:hover {
    background: var(--frog-2);
    border-color: var(--frog-2);
    color: var(--ink-on-light);
  }
  body {
    padding-bottom: 5.25rem;
  }
  .hero-copy {
    padding-top: 2.6rem;
    padding-bottom: 6.75rem;
  }
  .hero-actions { margin: 1rem 0 0.85rem; }
  #contact, .site-footer {
    scroll-margin-bottom: 5.5rem;
  }
}

.hero-tagline {
  margin: 0.3rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--sand-2);
  text-wrap: balance;
}
.hero .lede {
  max-width: 40rem;
}
