/* About Us page only (29 Oct 2026). Linked from about-trjones.html alone, after trj.css, with its
   own ?v= (ABOUT_CSS_V in scripts/lib/about.mjs). Bump that when this file changes.
   Headings use a system serif stack: no serif is held locally and no font request is added.
   Red on white for text uses #B8201A (small) or #EE2D26 (large year numbers only); buttons
   use #C9261F so white text passes contrast. */

.trj-about {
  --ab-red: #EE2D26;
  --ab-red-btn: #C9261F;
  --ab-red-dark: #B8201A;
  --ab-ink: #1A1A1A;
  --ab-grey: #555555;
  --ab-line: #E6E1D8;
  --ab-dark: #171513;
  --ab-serif: var(--trj-font-head);
  color: var(--ab-ink);
  font-family: var(--trj-font-body);
}
.trj-about *, .trj-about *::before, .trj-about *::after { box-sizing: border-box; }
.trj-about p { font-size: 17px; line-height: 1.6; margin: 0 0 1em; }
.trj-about h1, .trj-about h2, .trj-about h3 { font-family: var(--ab-serif); font-weight: 400; margin: 0; }
.trj-ab-wrap { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.trj-ab-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.trj-ab-eyebrow {
  font-size: 13px !important; line-height: 1.3 !important; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 14px !important;
}

/* Buttons */
.trj-ab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border: 2px solid var(--ab-red-btn); border-radius: 2px;
  background: var(--ab-red-btn); color: #FFFFFF !important; text-decoration: none !important;
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  white-space: nowrap;
}
.trj-ab-btn:hover { background: var(--ab-red-dark); border-color: var(--ab-red-dark); color: #FFFFFF; }
.trj-ab-btn:focus-visible { outline: 3px solid #FCD209; outline-offset: 3px; }
.trj-ab-btn-ghost { background: transparent; border-color: #FFFFFF; }
.trj-ab-btn-ghost:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--ab-ink) !important; }
.trj-ab-ico { flex: none; }

/* Photos: all the archive photos are 350px wide, so they are shown near their own size,
   framed, rather than stretched. */
.trj-ab-photo { margin: 0; max-width: 420px; }
.trj-ab-photo img { display: block; width: 100%; height: auto; }
.trj-ab-photo figcaption { font-size: 14px; line-height: 1.4; color: var(--ab-grey); margin-top: 8px; }
.trj-ab-photo-crop img { aspect-ratio: 7 / 5; object-fit: cover; object-position: 42% 50%; }

/* 1. Hero */
.trj-ab-hero { background: var(--ab-dark); color: #FFFFFF; border-bottom: 5px solid var(--ab-red); }
.trj-ab-hero-in { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
.trj-ab-hero .trj-ab-eyebrow { color: #D8D1C4; }
.trj-ab-hero h1 { font-size: 34px; line-height: 1.12; color: #FFFFFF; max-width: 13em; }
.trj-ab-rule { display: block; width: 64px; height: 3px; background: var(--ab-red); margin: 20px 0; }
.trj-about .trj-ab-lede { font-size: 18px; line-height: 1.55; color: #ECE7DE; margin: 0; max-width: 32em; }
.trj-ab-hero-photo { background: #24211D; padding: 8px; border: 1px solid #3A352E; justify-self: start; width: 100%; }
.trj-ab-hero-photo figcaption { color: #BDB5A7; }

/* 2. Intro */
.trj-ab-intro { border-bottom: 1px solid var(--ab-line); }
.trj-ab-intro-in { padding-top: 32px; padding-bottom: 32px; }
.trj-ab-intro p { margin: 0 0 22px; }
.trj-ab-intro .trj-ab-intro-cta { margin: 0; }

/* 3. Timeline: a thin red line with a dot at each era. */
.trj-ab-history { background: #FAF8F4; padding: 16px 0 24px; }
.trj-ab-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.trj-ab-timeline::before {
  content: ""; position: absolute; left: 7px; top: 34px; bottom: 34px; width: 2px; background: var(--ab-red);
}
.trj-ab-era { position: relative; padding: 28px 0 28px 36px; border-bottom: 1px solid var(--ab-line); }
.trj-ab-era:last-child { border-bottom: 0; }
.trj-ab-era::before {
  content: ""; position: absolute; left: 1px; top: 36px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ab-red); box-shadow: 0 0 0 4px #FAF8F4;
}
.trj-ab-when { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 10px; }
.trj-ab-year { font-family: var(--ab-serif); font-size: 32px; line-height: 1; color: var(--ab-red); font-weight: 700; }
.trj-ab-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-grey); font-weight: 700; }
.trj-ab-era h3 { font-size: 25px; line-height: 1.2; color: var(--ab-ink); margin-bottom: 12px; }
.trj-ab-era-body { display: grid; gap: 20px; }
.trj-ab-era-text p:last-child { margin-bottom: 0; }
.trj-ab-era-figure { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-left: 3px solid var(--ab-red); background: #FFFFFF; justify-self: start; }
.trj-ab-big { font-family: var(--ab-serif); font-size: 34px; line-height: 1; color: var(--ab-ink); }
.trj-ab-small { font-size: 14px; color: var(--ab-grey); letter-spacing: .04em; }

/* 4. Closing band: an existing fleet photo under a dark overlay. */
.trj-ab-close {
  color: #FFFFFF;
  background: linear-gradient(rgba(16, 15, 14, .86), rgba(16, 15, 14, .86)), #171513 url(/images/headers/trucks2/header-767.jpg) center / cover no-repeat;
}
.trj-ab-close-in { padding-top: 48px; padding-bottom: 48px; display: grid; gap: 26px; }
.trj-ab-close .trj-ab-eyebrow { color: #E4DED3; }
.trj-ab-close h2 { font-size: 32px; line-height: 1.15; color: #FFFFFF; margin-bottom: 14px; }
.trj-about .trj-ab-close-text { color: #ECE7DE; margin: 0; max-width: 36em; }
.trj-ab-close-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 !important; }

/* Small phones: buttons full width so long labels never clip. */
@media (max-width: 479px) {
  .trj-ab-btn { width: 100%; }
  .trj-ab-close-cta { flex-direction: column; }
}

/* Tablets and up */
@media (min-width: 768px) {
  .trj-ab-wrap { padding: 0 32px; }
  .trj-ab-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: center; gap: 40px; padding-top: 52px; padding-bottom: 52px; }
  .trj-ab-hero h1 { font-size: 42px; }
  .trj-ab-hero-photo { justify-self: end; }
  .trj-ab-intro-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
  .trj-ab-intro p { margin: 0; }
  .trj-ab-close { background-image: linear-gradient(rgba(16, 15, 14, .84), rgba(16, 15, 14, .84)), url(/images/headers/trucks2/header1599.jpg); }
  .trj-ab-close-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .trj-ab-close h2 { font-size: 38px; }
}

/* Laptops: year column on the line, photo alternating right and left of the text. */
@media (min-width: 992px) {
  .trj-ab-hero h1 { font-size: 50px; }
  .trj-ab-hero-in { grid-template-columns: minmax(0, 1fr) 440px; }
  .trj-ab-hero-photo { max-width: 440px; }
  .trj-ab-history { padding: 24px 0 32px; }
  .trj-ab-timeline::before { left: 7px; top: 48px; bottom: 48px; }
  .trj-ab-era { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; padding: 40px 0 40px 36px; }
  .trj-ab-era::before { top: 50px; }
  .trj-ab-when { flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding-top: 6px; }
  .trj-ab-year { font-size: 40px; }
  .trj-ab-era-body { grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
  .trj-ab-era-left .trj-ab-era-photo { order: -1; }
  .trj-ab-era-left .trj-ab-era-body { grid-template-columns: 380px minmax(0, 1fr); }
  .trj-ab-era-textonly .trj-ab-era-body { grid-template-columns: minmax(0, 1fr) 380px; }
  .trj-ab-era-solo .trj-ab-era-body { grid-template-columns: minmax(0, 1fr); }
  .trj-ab-era-solo .trj-ab-era-text { max-width: 46em; }
  .trj-ab-era-text { max-width: 40em; }
  .trj-ab-era h3 { font-size: 29px; }
  .trj-ab-era-figure { align-self: center; }
  .trj-ab-big { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) { .trj-about * { transition: none !important; } }

/* One-family headings (29 Oct 2026): heavy Franklin, like the logo. Sizes trimmed a touch because
   the heavy sans sets larger than the serif did. */
.trj-about h1, .trj-about h2, .trj-about h3 { font-weight: var(--trj-head-weight, 800); letter-spacing: var(--trj-head-track, -0.005em); }
.trj-about h3 { font-weight: 700; }

/* Closing band in navy to sit with the navy footer (30 Oct 2026). */
.trj-ab-close { background: linear-gradient(rgba(23, 21, 19, .9), rgba(23, 21, 19, .9)), #1A1A1A url(/images/headers/trucks2/header-767.jpg) center / cover no-repeat; }
.trj-ab-close .trj-ab-eyebrow { color: #D8D1C4; }
.trj-about .trj-ab-close-text { color: #ECE7DE; }
@media (min-width: 768px) { .trj-ab-close { background-image: linear-gradient(rgba(23, 21, 19, .88), rgba(23, 21, 19, .88)), url(/images/headers/trucks2/header1599.jpg); } }
