/* ================================================================
   TIMBERLEAF TRAILERS — Homepage Stylesheet
   Design: premium, minimal, outdoor/luxury — not tech startup
   ================================================================ */


/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */

:root {
  /* Palette */
  --clr-charcoal:   #1C1F1D;
  --clr-charcoal-2: #141614;
  --clr-amber:      #C8843A;
  --clr-amber-dark: #b0712e;
  --clr-birch:      #F5F0E8;
  --clr-birch-dim:  #EDE7DA;
  --clr-slate:      #5A6472;
  --clr-border:     rgba(28, 31, 29, 0.10);
  --clr-border-lt:  rgba(245, 240, 232, 0.10);

  /* Typography */
  --ff-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans:   'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   2rem;
  --sp-lg:   4rem;
  --sp-xl:   7rem;
  --sp-2xl: 11rem;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: 0.22s ease;
}


/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-charcoal);
  background-color: var(--clr-birch);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, figure { display: block; max-width: 100%; }
a          { color: inherit; text-decoration: none; }
ul, ol     { list-style: none; }
button     { cursor: pointer; font-family: var(--ff-sans); border: none; background: none; }


/* ----------------------------------------------------------------
   ACCESSIBILITY
   ---------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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


/* ----------------------------------------------------------------
   TYPOGRAPHY SCALE
   ---------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.1;
  color: inherit;
}

h1 { font-size: clamp(2.8rem, 7vw,  6.5rem); }
h2 { font-size: clamp(2rem,   4vw,  3.2rem); }
h3 { font-size: clamp(1rem,   1.5vw, 1.2rem); }

p  { line-height: 1.7; color: var(--clr-slate); }

.eyebrow {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-slate);
  margin-bottom: var(--sp-sm);
}

.eyebrow--amber { color: var(--clr-amber); }

.section-heading {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-lg);
}

.section-heading--light { color: var(--clr-birch); }


/* ----------------------------------------------------------------
   LAYOUT UTILITY
   ---------------------------------------------------------------- */

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}


/* ----------------------------------------------------------------
   BUTTON SYSTEM
   ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 0.9rem 1.8rem;
  border: 1.5px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
  min-height: 48px;
}

/* Dark fill — primary action */
.btn--primary {
  background: var(--clr-charcoal);
  color: var(--clr-birch);
  border-color: var(--clr-charcoal);
}
.btn--primary:hover { background: #2e332f; border-color: #2e332f; }

/* Amber fill — warm accent CTA */
.btn--amber {
  background: var(--clr-amber);
  color: #fff;
  border-color: var(--clr-amber);
}
.btn--amber:hover { background: var(--clr-amber-dark); border-color: var(--clr-amber-dark); }

/* Ghost on dark bg */
.btn--ghost {
  background: transparent;
  color: var(--clr-birch);
  border-color: rgba(245, 240, 232, 0.40);
}
.btn--ghost:hover {
  background: rgba(245, 240, 232, 0.08);
  border-color: var(--clr-birch);
}

/* Ghost smaller — email signup */
.btn--ghost-sm {
  background: transparent;
  color: var(--clr-birch);
  border: 1.5px solid rgba(245, 240, 232, 0.35);
  font-size: 0.8rem;
  padding: 0.85rem 1.4rem;
  white-space: nowrap;
}
.btn--ghost-sm:hover { border-color: var(--clr-birch); background: rgba(245,240,232,0.07); }

/* Outline on light bg */
.btn--outline {
  background: transparent;
  color: var(--clr-charcoal);
  border-color: var(--clr-charcoal);
  width: 100%;
}
.btn--outline:hover { background: var(--clr-charcoal); color: var(--clr-birch); }

/* Outline on light bg (external link style) */
.btn--outline-dark {
  background: transparent;
  color: var(--clr-charcoal);
  border-color: rgba(28, 31, 29, 0.30);
}
.btn--outline-dark:hover { border-color: var(--clr-charcoal); background: var(--clr-charcoal); color: var(--clr-birch); }

/* Light fill — on dark bg */
.btn--light {
  background: var(--clr-birch);
  color: var(--clr-charcoal);
  border-color: var(--clr-birch);
}
.btn--light:hover { background: var(--clr-birch-dim); border-color: var(--clr-birch-dim); }

/* Nav CTA — compact amber */
.btn--nav {
  background: var(--clr-amber);
  color: #fff;
  border-color: var(--clr-amber);
  font-size: 0.75rem;
  padding: 0.55rem 1.2rem;
  min-height: auto;
}
.btn--nav:hover { background: var(--clr-amber-dark); border-color: var(--clr-amber-dark); }


/* ================================================================
   NAVIGATION
   ================================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(28, 31, 29, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border-lt);
}

.nav__inner {
  max-width: var(--max-w);
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__logo {
  margin-right: auto;
}

.nav__logo-text {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--clr-birch);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  transition: color var(--ease);
}
.nav__links a:hover { color: var(--clr-birch); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-birch);
  transition: transform var(--ease), opacity var(--ease);
}

.nav--open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__drawer {
  display: none;
  flex-direction: column;
  background: var(--clr-charcoal);
  border-top: 1px solid var(--clr-border-lt);
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  gap: 0;
}

.nav__drawer a {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--clr-border-lt);
  transition: color var(--ease);
}
.nav__drawer a:hover { color: var(--clr-birch); }
.nav__drawer-cta { margin-top: 1.25rem; border-bottom: none !important; text-align: center; }


/* ================================================================
   01 — HERO
   ================================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--sp-lg);
  overflow: hidden;
  background: var(--clr-charcoal);
}

.hero__photo {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Directional gradient overlay — keeps text readable over any photo */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(10, 12, 10, 0.72) 0%,
      rgba(10, 12, 10, 0.35) 55%,
      rgba(10, 12, 10, 0.10) 100%
    ),
    linear-gradient(
      to top,
      rgba(10, 12, 10, 0.55) 0%,
      transparent 50%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  padding-top: var(--nav-h);
}

.hero__headline {
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--clr-birch);
  font-weight: 400;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(245, 240, 232, 0.70);
  max-width: 44ch;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.br-desk { display: inline; }

.hero__ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(245,240,232,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.1); }
}


/* ================================================================
   02 — CREDIBILITY BAR
   ================================================================ */

.cred-bar {
  background: var(--clr-charcoal);
  border-top: 1px solid var(--clr-border-lt);
  padding: 1.1rem var(--sp-md);
  text-align: center;
}

.cred-bar p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  line-height: 1;
}

.cred-bar__dot { opacity: 0.3; }


/* ================================================================
   03 — MODEL SELECTOR
   ================================================================ */

.models {
  padding-block: var(--sp-xl);
  background: var(--clr-birch);
}

.models__heading {
  text-align: center;
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-lg);
}

.models__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* MODEL CARD */

.model-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.model-card:hover {
  box-shadow: 0 16px 60px rgba(28, 31, 29, 0.09);
  transform: translateY(-3px);
}

/* Middle card (Pika) has a subtle amber top border */
.model-card--mid {
  border-top: 2.5px solid var(--clr-amber);
}

/* Photo area */
.model-card__photo {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--clr-birch-dim);
}

.model-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.model-card:hover .model-card__photo img {
  transform: scale(1.03);
}

/* Card body */
.model-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.model-card__eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-slate);
  margin-bottom: 0.5rem;
}

/* "Who it's for" — leads the card, above price */
.model-card__position {
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-charcoal);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.model-card__price {
  font-family: var(--ff-serif);
  font-size: 1.65rem;
  color: var(--clr-charcoal);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--clr-border);
}

.model-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.model-card__specs li {
  font-size: 0.845rem;
  color: var(--clr-slate);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.model-card__specs li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--clr-amber);
  font-size: 0.75rem;
}

.model-card .btn { margin-top: auto; }


/* ================================================================
   04 — CRAFT STORY
   ================================================================ */

.craft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
}

.craft__photo {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  margin: 0;
}

/* Dark background holds the layout until workshop photography is provided */
.craft__photo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #18221a 0%, #0d1510 100%);
}

.craft__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.craft__content {
  background: var(--clr-charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-xl) clamp(2.5rem, 6vw, 5rem);
}

.craft__content h2 {
  color: var(--clr-birch);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.craft__content p {
  color: rgba(245, 240, 232, 0.60);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}


/* ================================================================
   05 — BUILD EVIDENCE
   ================================================================ */

.evidence {
  padding-block: var(--sp-xl);
  background: var(--clr-birch-dim);
}

.evidence .section-heading {
  text-align: center;
}

.evidence__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.evidence__photo {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  margin: 0 0 1.25rem;
  background: var(--clr-birch-dim);
}

.evidence__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evidence__item h3 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--clr-charcoal);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.evidence__item p {
  font-size: 0.875rem;
  color: var(--clr-slate);
  line-height: 1.65;
}


/* ================================================================
   06 — THE WAIT, REFRAMED
   ================================================================ */

.process {
  background: var(--clr-charcoal);
  padding-block: var(--sp-xl);
  color: var(--clr-birch);
}

.process h2 {
  color: var(--clr-birch);
  margin-bottom: 1rem;
}

.process__sub {
  color: rgba(245, 240, 232, 0.55);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: var(--sp-lg);
  line-height: 1.7;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
  counter-reset: step-counter;
  margin-bottom: var(--sp-md);
}

/* Horizontal connecting rule between step numbers */
.process__steps::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(200, 132, 58, 0.50),
    rgba(200, 132, 58, 0.12)
  );
}

.process__step {
  position: relative;
}

.process__num {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--clr-amber);
  opacity: 0.50;
  line-height: 1;
  margin-bottom: 1.1rem;
  background: var(--clr-charcoal);
  padding-right: 0.75rem;
  position: relative;
  z-index: 1;
}

.process__step h3 {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-birch);
  margin-bottom: 0.75rem;
}

.process__step p {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.50);
  line-height: 1.7;
}

.process__cta {
  margin-top: var(--sp-md);
}


/* ================================================================
   07 — TOWING & FIT
   ================================================================ */

.towing {
  padding-block: var(--sp-xl);
  background: var(--clr-birch);
}

.towing__header {
  max-width: 600px;
  margin-bottom: var(--sp-lg);
}

.towing__header h2 {
  color: var(--clr-charcoal);
  margin-bottom: 1rem;
}

.towing__sub {
  font-size: 1.05rem;
  color: var(--clr-slate);
  line-height: 1.7;
}

/* Three-column grid separated by fine rules */
.towing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  margin-bottom: var(--sp-md);
}

.towing__item {
  background: var(--clr-birch);
  padding: 2.5rem 2rem;
}

.towing__vehicle {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-slate);
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.towing__model {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--clr-charcoal);
  margin-bottom: 1rem;
  line-height: 1;
}

.towing__item p {
  font-size: 0.9rem;
  color: var(--clr-slate);
  line-height: 1.65;
}

.towing__cta { text-align: center; }


/* ================================================================
   08 — TESTIMONIALS
   Base styles retained for when real quotes are sourced (BLOCKER 05).
   ================================================================ */

.testimonials {
  background: var(--clr-charcoal);
  padding-block: var(--sp-xl);
}

.testimonials .section-heading--light {
  text-align: center;
  margin-bottom: var(--sp-md);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  border: 1px solid var(--clr-border-lt);
  padding: 2rem;
  background: rgba(245,240,232,0.04);
}

.testimonial-card__quote {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(245,240,232,0.70);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial-card__quote::before { content: '\201C'; }
.testimonial-card__quote::after  { content: '\201D'; }

.testimonial-card__attr cite {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.35);
}


/* ================================================================
   09 — SCHEDULE / LEAD CAPTURE
   ================================================================ */

.capture {
  background: var(--clr-charcoal);
  border-top: 1px solid var(--clr-border-lt);
  padding-block: var(--sp-xl);
}

.capture .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.capture__content h2 {
  color: var(--clr-birch);
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.capture__body {
  color: rgba(245, 240, 232, 0.58);
  max-width: 40ch;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.capture__primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

/* Divider */
.capture__divider {
  width: 1px;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--clr-border-lt), transparent);
  justify-self: center;
}

/* Email side */
.capture__email {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.capture__email-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.35);
}

.capture__form {
  display: flex;
  gap: 0.6rem;
}

.capture__form input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  background: rgba(245, 240, 232, 0.06);
  border: 1.5px solid rgba(245, 240, 232, 0.15);
  color: var(--clr-birch);
  outline: none;
  transition: border-color var(--ease);
}

.capture__form input::placeholder { color: rgba(245, 240, 232, 0.30); }
.capture__form input:focus        { border-color: rgba(200, 132, 58, 0.70); }

.capture__email-note {
  font-size: 0.75rem !important;
  color: rgba(245, 240, 232, 0.28) !important;
  line-height: 1.5;
}


/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: var(--clr-charcoal-2);
  color: var(--clr-birch);
  padding-top: var(--sp-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--clr-border-lt);
  margin-bottom: var(--sp-md);
}

.footer__logo {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 0.85rem;
}

.footer__tagline {
  font-size: 0.85rem !important;
  color: rgba(245, 240, 232, 0.38) !important;
  line-height: 1.7;
}

.footer__col h4 {
  font-family: var(--ff-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.30);
  margin-bottom: 1.25rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col a {
  font-size: 0.875rem;
  color: rgba(245, 240, 232, 0.52);
  transition: color var(--ease);
}
.footer__col a:hover { color: var(--clr-birch); }

.footer__bottom {
  padding-bottom: var(--sp-md);
}

.footer__bottom p {
  font-size: 0.72rem !important;
  color: rgba(245, 240, 232, 0.20) !important;
  text-align: center;
}


/* ================================================================
   MOBILE STICKY BAR
   Hidden by default; shown via JS when user scrolls past hero.
   ================================================================ */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 199;
  background: var(--clr-charcoal);
  border-top: 1px solid var(--clr-border-lt);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;

  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-bar--visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  min-height: 48px;
}

.mobile-bar__btn--primary  { background: var(--clr-amber); color: #fff; }
.mobile-bar__btn--secondary {
  color: var(--clr-birch);
  border: 1.5px solid rgba(245,240,232,0.22);
}


/* ================================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ================================================================ */

@media (max-width: 1024px) {

  .evidence__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process__steps::before { display: none; }

  .capture .container {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .capture__divider { display: none; }

  .capture__body { max-width: 100%; }

  .capture__primary { align-items: flex-start; }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
  }
}


/* ================================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ================================================================ */

@media (max-width: 768px) {

  /* Nav */
  .nav__links  { display: none; }
  .btn--nav    { display: none; }
  .nav__toggle { display: flex; }

  .nav--open .nav__drawer {
    display: flex;
  }

  /* Mobile sticky bar */
  .mobile-bar {
    display: flex;
  }

  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

  /* Hero */
  .hero {
    align-items: flex-end;
    padding-bottom: var(--sp-md);
  }

  .hero__sub br.br-desk { display: none; }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__scroll { display: none; }

  /* Credibility bar — abbreviate to two claims */
  .cred-bar__hide-sm { display: none; }

  /* Models — stack vertically */
  .models__grid {
    grid-template-columns: 1fr;
  }

  /* Craft — stack vertically, image on top */
  .craft {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .craft__photo { min-height: 280px; }

  .craft__content {
    padding: var(--sp-lg) clamp(1.25rem, 4vw, 2rem);
  }

  /* Evidence — single column */
  .evidence__grid {
    grid-template-columns: 1fr;
  }

  /* Process — single column */
  .process__steps {
    grid-template-columns: 1fr;
  }

  /* Towing — single column */
  .towing__grid {
    grid-template-columns: 1fr;
    background: none;
    border: none;
    gap: 1px;
    background: var(--clr-border);
  }

  .towing__item { padding: 1.75rem 1.25rem; }

  /* Testimonials — single column when active */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Capture */
  .capture__form {
    flex-direction: column;
  }

  .capture__form input { width: 100%; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
}


/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤ 420px)
   ================================================================ */

@media (max-width: 420px) {
  :root {
    --sp-xl: 4.5rem;
    --sp-lg: 3rem;
  }

  .hero__headline { font-size: clamp(2.5rem, 12vw, 3.5rem); }
}


/* ================================================================
   MOTION SYSTEM
   Gated by .js on <html> (added by inline head script before render).
   Keyframes shared with model.css — define once here.
   ================================================================ */

/* ---- Keyframes ---- */

@keyframes tlFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes tlRiseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tlScaleIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---- Scroll-reveal utility ----
   timberleaf-anim.js adds these classes to elements automatically,
   then adds .is-visible via IntersectionObserver as they enter view.
   ---- */

.js .reveal {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js .reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js .reveal-scale {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity   0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js .reveal.is-visible,
.js .reveal-up.is-visible,
.js .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Homepage hero entrance ---- */

.js .hero__photo img {
  animation: tlScaleIn 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.js .hero__headline {
  animation: tlRiseIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.10s both;
}

.js .hero__sub {
  animation: tlRiseIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.26s both;
}

.js .hero__ctas {
  animation: tlRiseIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.42s both;
}

.js .hero__scroll {
  animation: tlFadeIn 1s ease 0.9s both;
}

/* ---- Hover polish ---- */

.evidence__photo img {
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.evidence__item:hover .evidence__photo img {
  transform: scale(1.03);
}

.about-principle {
  transition: border-top-color 0.3s ease;
}

.about-principle:hover {
  border-top-color: rgba(245, 240, 232, 0.28);
}

/* ---- Prefers reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
  /* Reveal elements — stay visible, no transitions */
  .js .reveal,
  .js .reveal-up,
  .js .reveal-scale,
  .js .reveal.is-visible,
  .js .reveal-up.is-visible,
  .js .reveal-scale.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Homepage hero — no animation */
  .js .hero__photo img,
  .js .hero__headline,
  .js .hero__sub,
  .js .hero__ctas,
  .js .hero__scroll {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .evidence__photo img { transition: none; }
  .about-principle     { transition: none; }
}


/* ================================================================
   ABOUT PAGE
   ================================================================ */

/* Why craftsmanship matters — centered long-form text */
.about-lead {
  background: var(--clr-birch);
  padding: 5rem var(--gutter);
}

.about-lead__inner {
  max-width: 760px;
  margin: 0 auto;
}

.about-lead h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--clr-charcoal);
  line-height: 1.15;
  margin: 0.5rem 0 1.75rem;
}

.about-lead__body p {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--clr-slate);
  margin: 0 0 1.1em;
}

.about-lead__body p:last-child { margin-bottom: 0; }


/* Build philosophy — dark bg, 3-col principle grid */
.about-philosophy {
  background: var(--clr-charcoal);
  color: #fff;
  padding: 5rem var(--gutter);
}

.about-philosophy .container { max-width: 1200px; }

.about-philosophy__intro {
  max-width: 620px;
  margin-bottom: 3.5rem;
}

.about-philosophy__intro h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}

.about-philosophy__intro p {
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.55);
  margin: 0;
}

.about-philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.about-principle {
  border-top: 1px solid rgba(245, 240, 232, 0.12);
  padding-top: 2rem;
}

.about-principle__num {
  display: block;
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(245, 240, 232, 0.07);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.about-principle h3 {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.65rem;
}

.about-principle p {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.55);
  margin: 0;
}


/* RESPONSIVE — About page */
@media (max-width: 1024px) {
  .about-philosophy__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .about-lead { padding: 3rem var(--gutter); }

  .about-philosophy { padding: 3.5rem var(--gutter); }

  .about-philosophy__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
