/* TBM Auto Appraiser — About page (/about/) only.
   One page built from three ideas: an intro that opens with the "why choose us"
   pillars, a dated "polaroid" timeline, and a plain-facts card flanked by proof tiles.
   Pillars, review cards, FAQ and CTAs come from site.css. */

/* Keep the highlighted words of a section heading together (e.g. "TBM Auto Appraiser"). */
.section-head :is(h1, h2) .hl { white-space: nowrap; }

/* ---------- Intro: H1 + pillars (top of the page) ---------- */
.about-intro { padding-top: clamp(48px, 6vw, 80px); }
.about-intro h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; }

/* ---------- Qualifications and appraisal methodology ---------- */
.credential-eyebrow { color: var(--blue); font-size: .8125rem; font-weight: 700; line-height: 1.6; letter-spacing: .025em; }
.qualification-grid { display: grid; gap: 24px; }
.qualification-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.qualification-card > .icon { width: 32px; height: 32px; margin-bottom: 18px; color: var(--blue); }
.qualification-seal { display: block; width: 88px; height: 88px; margin-bottom: 18px; }
.qualification-logo { display: block; width: 120px; height: auto; margin-bottom: 18px; } /* I-CAR's 120px minimum */
.qualification-card h3 { font-size: 1.375rem; line-height: 1.35; margin-bottom: 16px; }
.qualification-card p { font-size: .9375rem; }
.qualification-card p:last-child { margin-bottom: 0; }
.license-facts { margin: 24px 0; }
.license-facts > div { padding: 14px 0; border-top: 1px solid var(--line); }
.license-facts dt { font-size: .8125rem; color: var(--muted); }
.license-facts dd { margin: 4px 0 0; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.qualification-note { color: var(--muted); }
.training-list { display: grid; gap: 8px 28px; margin: 0; padding-left: 20px; list-style: disc; font-size: .875rem; }
.training-list li::marker { color: var(--blue); }
.education-note { margin: 24px 0 0; padding: 20px 24px; border-left: 3px solid var(--blue); font-size: .9375rem; }
.method-grid { display: grid; gap: 32px; padding: 0; margin: 0; list-style: none; }
.method-number { display: block; margin-bottom: 12px; color: var(--blue); font-size: .875rem; font-weight: 800; }
.method-grid h3 { margin-bottom: 12px; font-size: 1.1875rem; }
.method-grid p { margin: 0; font-size: .9375rem; }
.valuation-resources { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.valuation-resources h3 { margin-bottom: 12px; font-size: 1.0625rem; }
.valuation-resources p { max-width: 85ch; margin: 0; font-size: .9375rem; }
@media (min-width: 640px) { .training-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .qualification-grid { grid-template-columns: 1fr 1.25fr; }
  .method-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ---------- Polaroid ("snap") ---------- */
.snap {
  --tilt: -2deg;
  position: relative; margin: 0; padding: 12px 12px 16px;
  background: #fff; border-radius: 3px;
  box-shadow: 0 18px 40px rgba(11, 18, 36, .16), 0 2px 6px rgba(11, 18, 36, .08);
  transform: rotate(var(--tilt));
}
/* A strip of masking tape across the top edge. */
.snap::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 92px; height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(226, 214, 178, .8); box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
@media (prefers-reduced-motion: no-preference) {
  .snap { transition: transform .3s ease; }
  .snap:hover { transform: rotate(0); }
}
.snap figcaption { margin-top: 12px; text-align: center; font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.snap img { width: 100%; border-radius: 2px; }
.snap--photo { --tilt: 2deg; }
.snap--photo img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.snap-experience { padding: 40px 28px; text-align: center; }
.snap-experience > .icon { width: 56px; height: 56px; color: var(--blue); margin-bottom: 20px; }
.snap-experience p { font-size: 1.375rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.snap-experience > span { font-size: .875rem; color: var(--muted); }

/* Logo card, drawn in HTML so there's no extra image to load */
.snap-logo {
  display: grid; place-content: center; justify-items: center; gap: 8px; aspect-ratio: 4 / 3;
  border-radius: 2px; background: var(--blue); color: #fff;
}
.snap-logo b { font-size: clamp(3rem, 6vw, 4.25rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.snap-logo small { font-size: .8125rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }

/* Review quote card */
.snap--review { padding: 24px 22px 20px; }
.snap--review blockquote { margin: 0; }
.snap--review .g-stars { margin-bottom: 12px; }
.snap--review p { margin: 0; font-size: 1.1875rem; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.snap--review figcaption { margin-top: 14px; text-align: left; font-size: .875rem; font-weight: 500; color: var(--muted); }

/* Guarantee seal card */
.snap-seal-wrap { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 2px; background: var(--tint); }
.snap-seal { width: 58%; height: auto; aspect-ratio: 1; }

/* Closing CTA card */
.snap--cta { padding: 24px 22px 22px; }
.snap-cta-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
/* flex: none keeps the photo a 56px circle; without it the text squeezed it into an oval. */
.snap-cta-head picture { flex: none; }
.snap-cta-head img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.snap-cta-head p { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--text); }
.snap-cta-head b { display: block; font-size: 1.0625rem; color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: clamp(64px, 8vw, 104px); max-width: 1040px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 11px; border-left: 2px dotted #b4bedb; }
.chapter { position: relative; display: grid; gap: 36px; padding-left: 48px; }
.chapter::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 16px; height: 16px;
  border: 3px solid var(--blue); border-radius: 50%; background: var(--bg);
}
.chapter h3 { margin-bottom: 14px; font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; }
.chapter-text p:last-child { margin-bottom: 0; }
.chapter-text .text-link { margin-top: 4px; }
.chapter-media { display: flex; justify-content: center; padding-top: 14px; }
.chapter-media > .snap { width: 100%; max-width: 340px; }
@media (min-width: 900px) {
  .timeline::before { left: 50%; margin-left: -1px; }
  .chapter { grid-template-columns: 1fr 1fr; column-gap: 112px; align-items: center; padding-left: 0; }
  .chapter::before { left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .chapter:nth-child(even) .chapter-text { order: 2; }
  .chapter:nth-child(odd) .snap { --tilt: 2deg; }
  .chapter:nth-child(even) .snap { --tilt: -2.5deg; }
}

/* ---------- Reviews: highlight the parts about working with Taha ---------- */
.g-review mark {
  padding: 0 2px; border-radius: 2px; background: #fcefb4; color: inherit;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- The boring (but important) stuff ---------- */
.facts { display: grid; gap: 36px; max-width: 1080px; margin: 0 auto; }
.facts-card {
  padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow);
}
.facts-card p { margin: 0; }
.facts-card p + p { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.facts-card strong { color: var(--ink); }
.facts-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.proof { display: grid; justify-items: center; align-content: start; gap: 12px; text-align: center; }
.proof-media { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--tint); }
.proof-media img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.proof-media .g-mark { width: 42px; height: 42px; }
.proof-media .seal { width: 96px; height: 96px; }
.proof-media .icon { width: 40px; height: 40px; color: var(--ink); stroke-width: 1.7; }
.proof-media .proof-bbb { width: 34px; height: 58px; border-radius: 0; object-fit: contain; }
.proof-cap { display: grid; gap: 2px; font-size: .875rem; line-height: 1.35; color: var(--muted); }
.proof-cap b { font-size: .9375rem; color: var(--ink); }
.proof-cap a { font-weight: 600; text-decoration: none; }
.proof-cap a:hover { text-decoration: underline; }
.proof .g-stars svg { width: 15px; height: 15px; }
@media (max-width: 899px) { .facts-card { order: -1; } }
@media (min-width: 900px) {
  .facts { grid-template-columns: 150px 1fr 150px; gap: 56px; align-items: center; }
  .facts-proof { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Who I work with ---------- */
.who-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }
.who-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.who-icon { width: 36px; height: 36px; margin-bottom: 16px; color: var(--blue); stroke-width: 1.7; }
.who-card h3 { margin-bottom: 8px; }
.who-card > p { flex: 1; margin-bottom: 16px; font-size: .9688rem; color: var(--muted); }
.who-links { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9063rem; font-weight: 700; }
.who-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.who-links a:hover { text-decoration: underline; }
.say-hi {
  max-width: 760px; margin: 44px auto 0; padding: 26px 28px; text-align: center;
  border: 2px dashed #b4bedb; border-radius: var(--radius-lg);
}
.say-hi p { margin: 0 0 14px; font-size: 1.0625rem; color: var(--ink); }
.say-hi-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.say-hi-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.say-hi-links a:hover { text-decoration: underline; }
