/* Employee Transportation page — all rules scoped under .trn
   Site tokens are read with live-value fallbacks so the file works standalone. */

.trn {
  --trn-navy: var(--bs-heading-color-hex, #1e2d3b);
  --trn-blue: var(--bs-primary-hex, #0072bc);
  --trn-blue-d: #005b96;
  --trn-sky: var(--bs-tertiary-hex, #80b7e3);
  --trn-light: var(--bs-light-hex, #f2f8fc);
  --trn-line: var(--bs-secondary-border-hex, #e7e7e7);
  --trn-ink: #212124;
  --trn-muted: #495356;
  --trn-r: var(--bs-border-radius, 10px);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  color: var(--trn-ink);
  overflow-x: hidden;
}
.trn *, .trn *::before, .trn *::after { box-sizing: border-box; }

.trn-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.trn-wrap--narrow { max-width: 900px; }
.trn-sec { padding: 68px 0; position: relative; overflow: hidden; }
.trn-sec--white { background: #fff; border-bottom: 1px solid var(--trn-line); }
.trn-sec--light { background: var(--trn-light); }

.trn-kicker { font-family: 'Catamaran', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--trn-blue); margin: 0 0 10px; }
.trn-kicker--accent { color: var(--trn-sky); }
.trn-h1 { font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.022em; margin: 0 0 20px; max-width: 20ch; text-wrap: balance; }
.trn-h2 { font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 14px; }
.trn-h2--invert { color: #fff; }
.trn-sub { font-size: 18px; line-height: 1.55; color: var(--trn-muted); margin: 0; }
.trn-head { max-width: 60ch; margin-bottom: 38px; }
.trn-link { font-weight: 700; font-size: 17px; color: var(--trn-blue); text-decoration: underline; }
.trn-link:hover { color: var(--trn-blue-d); }

.trn-btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; padding: 13px 22px; border-radius: var(--trn-r); text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.trn-btn--lg { font-size: 18px; padding: 16px 30px; }
.trn-btn--primary { background: var(--trn-blue); color: #fff; box-shadow: 0 6px 18px rgba(0,114,188,.35); }
.trn-btn--primary:hover { background: var(--trn-blue-d); color: #fff; }
.trn-btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.trn-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.trn-btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

/* HERO */
.trn-hero { position: relative; background: var(--trn-navy); color: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)); overflow: hidden; }
.trn-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.trn-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, #1e2d3b 8%, rgba(30,45,59,.88) 45%, rgba(30,45,59,.45) 100%); }
.trn-hero__copy { position: relative; display: flex; align-items: center; padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 64px); }
.trn-hero__copyInner { max-width: 620px; margin-left: auto; width: 100%; }
.trn-hero__lede { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; color: var(--trn-light); max-width: 54ch; margin: 0 0 30px; }
.trn-hero__art { position: relative; display: flex; align-items: flex-end; justify-content: center; }
/* Art bleeds past the right edge only — never into the copy column. */
.trn-hero__art img { width: 112%; max-width: none; height: auto; margin: 0 -8% -1px 0; display: block; filter: drop-shadow(0 18px 34px rgba(0,0,0,.4)); }

.trn-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 44px); border-top: 1px solid rgba(255,255,255,.16); padding-top: 28px; margin-top: 34px; }
.trn-stat__n { display: block; font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: clamp(40px, 4vw, 60px); line-height: .95; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.trn-stat__l { display: block; font-size: 16px; line-height: 1.35; color: var(--trn-sky); margin-top: 8px; max-width: 19ch; }

/* PROMISE BAND */
.trn-band { background: var(--trn-blue); color: #fff; }
.trn-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.trn-band__item b { display: block; font-family: 'Catamaran', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.trn-band__item span { font-size: 15px; line-height: 1.45; color: #edf5fc; }

/* HOW IT WORKS */
.trn-watermark { position: absolute; top: -60px; right: -90px; width: min(46vw, 460px); opacity: .05; pointer-events: none; user-select: none; }
.trn-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.trn-step { background: var(--trn-light); border: 1px solid var(--trn-line); border-radius: 12px; padding: 26px; }
.trn-step__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.trn-step__n { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--trn-navy); color: #fff; font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.trn-step__t { font-family: 'Catamaran', sans-serif; font-weight: 700; font-size: 20px; margin: 0; }
.trn-step p { font-size: 17px; line-height: 1.55; color: var(--trn-muted); margin: 0; }

/* ELIGIBILITY */
.trn-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; align-items: start; }
.trn-two__copy { max-width: 52ch; }
.trn-two__copy .trn-sub { margin-bottom: 16px; }
.trn-lists { display: grid; gap: 16px; }
.trn-card { background: #fff; border: 1px solid var(--trn-line); border-radius: 12px; padding: 24px; }
.trn-card--yes { box-shadow: inset 4px 0 0 #9fd086; }
.trn-card--no { box-shadow: inset 4px 0 0 #b9c2c6; }
.trn-card__t { font-family: 'Catamaran', sans-serif; font-weight: 700; font-size: 19px; margin: 0 0 12px; }
.trn-list { list-style: none; margin: 0; padding: 0; }
.trn-list li { display: flex; gap: 10px; font-size: 17px; line-height: 1.5; color: var(--trn-muted); padding: 7px 0; border-top: 1px solid var(--trn-light); }
.trn-card--yes .trn-list span { color: #5d9e46; font-weight: 700; }
.trn-card--no .trn-list span { color: #8e999d; font-weight: 700; }

/* FLYERS */
.trn-flyers { background: var(--trn-navy); color: #fff; }
.trn-flyers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: end; padding-top: 60px; }
.trn-flyers__copy { padding-bottom: 60px; }
.trn-flyers__lede { font-size: 18px; line-height: 1.55; color: #d6ecfa; margin: 0 0 22px; max-width: 48ch; }
.trn-flyers__art { display: flex; align-items: flex-end; justify-content: center; }
.trn-flyers__art img { width: 100%; max-width: 440px; display: block; filter: drop-shadow(0 18px 34px rgba(0,0,0,.4)); }

/* FAQ */
.trn-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.trn-faq__item { border: 1px solid var(--trn-line); border-radius: var(--trn-r); background: var(--trn-light); overflow: hidden; }
.trn-faq__item h3 { margin: 0; }
.trn-faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 22px; font-family: 'Catamaran', sans-serif; font-weight: 700; font-size: 19px; color: var(--trn-navy); }
.trn-faq__q:hover { color: var(--trn-blue); }
.trn-faq__icon { font-size: 26px; line-height: 1; color: var(--trn-blue); flex: none; transition: transform .25s ease; }
.trn-faq__q[aria-expanded="true"] .trn-faq__icon { transform: rotate(45deg); }
.trn-faq__a { background: #fff; border-top: 1px solid var(--trn-line); padding: 18px 22px 8px; }
.trn-faq__a p { font-size: 17px; line-height: 1.6; color: var(--trn-muted); margin: 0 0 12px; }

/* CLINIC PHONES */
.trn-clinics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 26px; }
.trn-clinic { display: block; text-decoration: none; background: #fff; padding: 22px 24px; border: 1px solid var(--trn-line); border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease; }
.trn-clinic:hover { border-color: var(--trn-blue); box-shadow: 0 8px 20px rgba(30,45,59,.08); }
.trn-clinic__city { display: block; font-family: 'Catamaran', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--trn-muted); margin-bottom: 8px; }
.trn-clinic__tel { display: block; font-family: 'Catamaran', sans-serif; font-weight: 800; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.05; color: var(--trn-blue); }
.trn-foot { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; font-size: 17px; color: var(--trn-muted); margin: 0; }

/* MOTION — entrance animations only ever fade content IN; nothing is hidden without JS. */
@keyframes trnIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.trn-anim { animation: trnIn .7s cubic-bezier(.2,.7,.3,1) both; }
.trn-anim--2 { animation-delay: .08s; }
.trn-anim--3 { animation-delay: .16s; }
.trn-anim--4 { animation-delay: .24s; }
.trn-anim--5 { animation-delay: .32s; }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }

@media print {
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .trn-anim { animation: none !important; }
  .trn-faq__a[hidden] { display: block !important; }
}
@media (prefers-reduced-motion: reduce) {
  .trn * { animation: none !important; transition: none !important; }
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 860px) {
  .trn-hero__copyInner { margin-left: 0; }
  .trn-hero__art img { width: 100%; margin-right: 0; }
}

/* ==========================================================================
   ICA build additions — everything above this line is the design export,
   unmodified. Rules below adapt it to the live theme and to the three blocks
   the Gate 1 policy fixes introduced. Append only.
   ========================================================================== */

/* --- Theme token collision (verified on the live install, 2026-09-19) -------
   The export maps two colours to Bootstrap custom properties whose values on
   THIS theme are not what the names suggest:

     --bs-heading-color-hex  = #212124   near-black body text, NOT navy
     --bs-tertiary-hex       = #1e2d3b   navy, NOT a sky/tertiary accent

   Left as shipped, the navy hero and flyer band render ink-black, and every
   sky-blue accent (kickers, stat labels, lede copy) renders navy-on-navy and
   disappears. Both are restated to the design's own literal values; the other
   four tokens do read correctly from the theme and are left alone. */
.trn {
  --trn-navy: #1e2d3b;
  --trn-sky: #80b7e3;
}

/* --- Heading colour, restated per dark section -----------------------------
   The theme sets h1/h2 colour directly (a bare <h2> computes to #212124), and a
   direct rule beats the colour these sections expect their headings to inherit.
   Same failure that rendered the home-page hero at 1.14:1. */
.trn .trn-hero .trn-h1,
.trn .trn-flyers .trn-h2,
.trn .trn-flyers .trn-h2--invert { color: #fff; }
.trn .trn-hero .trn-kicker--accent,
.trn .trn-flyers .trn-kicker--accent { color: var(--trn-sky); }
.trn .trn-step__t,
.trn .trn-card__t { color: var(--trn-navy); }
.trn .trn-faq__q { color: var(--trn-navy); }
.trn .trn-faq__q:hover { color: var(--trn-blue); }

/* --- Fonts -----------------------------------------------------------------
   Catamaran and Nunito Sans are already loaded by the theme (document.fonts
   confirms all three families), so the export's Google Fonts <link> is dropped
   from the template rather than duplicated here. */

/* --- Watermark (§3) --------------------------------------------------------
   ica-mark.svg does not exist on this install (404); ica-mark-white.svg does,
   and white at 5% opacity on a white section is invisible. The mark is inlined
   with getSvg inside an aria-hidden wrapper so a CSS rule can beat its
   fill="#ffffff" presentation attribute. */
.trn-watermark { display: block; }
.trn-watermark svg { width: 100%; height: auto; display: block; }
.trn-watermark svg path,
.trn-watermark svg polygon,
.trn-watermark svg rect { fill: var(--trn-navy); }

/* --- Blocks introduced by the Gate 1 policy fixes -------------------------- */

/* The insurer-referral clause, stated as an action rather than an outcome and
   kept out of the "Covered, no cost" list. */
.trn-note { grid-column: 1 / -1; margin: 18px 0 0; font-size: 16px; line-height: 1.55; color: var(--trn-muted); }

/* The one free prose region on the page ([[*content]]). Empty on launch. */
.trn-body { grid-column: 1 / -1; }
.trn-body:empty { display: none; }
.trn-body p { font-size: 17px; line-height: 1.6; color: var(--trn-muted); margin: 16px 0 0; }
.trn-body ul, .trn-body ol { font-size: 17px; line-height: 1.6; color: var(--trn-muted); margin: 12px 0 0; padding-left: 22px; }

/* §4 is a two-column grid; the note and the body region span it. */
.trn-two { align-items: start; }

/* --- FAQ fail-open ---------------------------------------------------------
   Every panel ships unhidden so all seven policy answers are readable with JS
   off; transportation.js collapses all but the first on load. The export's
   print rule already forces [hidden] panels open. */
.trn-faq__a { display: block; }
.trn-faq__a[hidden] { display: none; }

/* --- Contrast fix, measured on the live page 2026-09-19 -------------------
   The export set the promise-band description to #d6ecfa on #0072bc: 4.17:1,
   at 15px, where WCAG AA wants 4.5:1. Raised to #edf5fc (4.61:1). The band
   blue only reaches 5.08:1 against pure white, so there is little headroom
   here; the bold label stays white and still reads as the more prominent of
   the two. The rule above is edited in place rather than overridden — this
   file is new in this build and has no other authors. */

/* --- Responsive corrections, measured on the live page 2026-09-19 ----------
   Three layout defects, found after Gate 5 when the page was looked at on a
   1024px desktop. All three are grid sizing; none are visible in a text diff,
   which is how they got past me. */

/* 1. HERO STATS wrapped to two rows below ~1330px.
      The export floors each stat at the label's 19ch max-width (~182px), so
      three of them plus gaps need ~610px. The hero copy column is half the
      viewport minus its padding — 410px at 1024 — so "Round trip" dropped to a
      second row and read as a stray 41px headline under the other two.
      Grid them and let the number scale down instead of setting a hard floor. */
.trn .trn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: clamp(16px, 2vw, 40px); }
.trn .trn-stat__n { font-size: clamp(26px, 2.5vw, 56px); }
.trn .trn-stat__l { max-width: none; }

/* 2. THE ELIGIBILITY SECTION rendered as three columns, not two — my doing.
      .trn-two is auto-fit minmax(300px,1fr), and THREE 300px columns fit the
      976px wrap. The export had exactly two children so the empty third
      collapsed. The Gate 1 policy fixes added two more ([[*content]] and the
      insurer-referral note); both span all columns, so the third column is
      never empty and never collapses — squeezing the copy and the cards to
      308px each and leaving 308px of dead space. Pin it to two. */
.trn .trn-two { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
@media (min-width: 861px) { .trn .trn-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* 3. auto-fit minmax(Npx, 1fr) forces a column WIDER than the screen whenever
      the viewport is under N. The hero's 430px floor overflowed a 375px phone
      by 55px — masked by the .trn overflow-x:hidden, but it clipped the art
      rather than fitting it. min(N, 100%) lets the track shrink instead.
      The band floor also drops 240px -> 200px so its four items stay on one
      row at 1024 instead of going 3 + 1. */
.trn .trn-hero { grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr)); }
.trn .trn-band__grid { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.trn .trn-steps { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.trn .trn-flyers__grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.trn .trn-clinics { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
