/* Tucker Door & Trim — shared tablet + mobile layer.
   Injected into every page by site-fx.js (appended last in <head> so it wins
   against the page-level !important collapse rules). Element selectors are
   doubled up (html body ...) so equal-!important page rules lose. */

/* ---------------------------------------------------------------- TABLET */
@media (min-width: 761px) and (max-width: 1100px) {
  html body :is(.gal-grid, .sib-grid, .prod-grid, .cat-grid, .mat-grid, .type-grid,
    .fam-grid, .app-grid, .std-grid, .ben-grid, .art-grid, .blog-grid, .dept-grid,
    .fac-grid, .loc-grid, .wty-grid, .uses-grid, .style-grid, .doc-grid, .cap-grid,
    .res-tools, .v4-prodgrid, .v4-4col, .v4-3col, .step-grid, .brand-grid, .tex-grid) {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  html body :is(.why-grid, .v4-logos, .shape-grid, .insp-grid, .swatch-row) {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  html body :is(.spec-sticky, .win-rail) { position: static !important; }

  /* headings hit the floor of their clamp at tablet widths and read small; a
     flat bump restores the desktop hierarchy without touching phone sizes */
  html body section h1 { font-size: clamp(44px, 5.6vw, 62px) !important; }
  html body section h2 { font-size: 38px !important; max-width: none !important; }
  html body section h3 { font-size: 26px !important; }

  /* stacked two-column sections have the full width available, so the copy
     measure opens up instead of leaving a third of the row empty */
  html body :is(.v4-2col, .split-2, .pt-hero) > div > p,
  html body :is(.v4-2col, .split-2, .pt-hero) > div > span { max-width: none !important; }
  html body :is(.sib, .brand-card, .job-card, .prod-card, .mat-card, .cat-card) .go {
    max-height: 46px !important;
    opacity: 1 !important;
    margin-top: 12px !important;
  }
}

/* the desktop mega menu still lays out while hidden; take it out entirely
   once the header has switched to the drawer */
@media (max-width: 1000px) {
  html body .tkr-header .mega-panel { display: none !important; }
}

/* ---------------------------------------------------------------- MOBILE */
@media (max-width: 1100px) {
  html body { overflow-x: clip; }

  /* full-bleed horizontal rails -------------------------------------- */
  html body .tkr-rail {
    display: flex !important;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    grid-auto-flow: column !important;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: calc(var(--tkr-bleed, 24px) * -1) !important;
    margin-right: calc(var(--tkr-bleed, 24px) * -1) !important;
    padding-left: var(--tkr-bleed, 24px) !important;
    padding-right: var(--tkr-bleed, 24px) !important;
    /* overflow-y cannot be visible while overflow-x scrolls, so card shadows
       need real room inside the scroll box */
    padding-top: 14px !important;
    padding-bottom: 26px !important;
    margin-top: -14px !important;
    scroll-padding-left: var(--tkr-bleed, 24px);
    width: auto !important;
    max-width: none !important;
  }
  html body .tkr-rail::-webkit-scrollbar { display: none; }
  /* every other horizontal scroller matches the rails: no native bar, green
     progress indicator underneath */
  html body .tkr-xscroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  html body .tkr-xscroll::-webkit-scrollbar { display: none; }
  html body .tkr-rail { --tkr-card: 82%; }
  html body .tkr-rail.tkr-rail-sm { --tkr-card: 45%; }
  html body .tkr-rail.tkr-rail-wide { --tkr-card: 90%; }
  /* The second selector covers cards promoted into the rail through a
     display:contents wrapper: they lay out as flex items but remain DOM
     grandchildren, so a child combinator alone misses them and they collapse. */
  html body .tkr-rail > *,
  html body .tkr-rail > .cat-pair > * {
    flex: 0 0 var(--tkr-card) !important;
    min-width: 0 !important;
    max-width: none !important;
    scroll-snap-align: start;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  /* where the section header is centred, the cards centre too: an inset of
     half the leftover width puts every snapped card on the page axis */
  /* Centring is applied as margins on the first and last card, set from JS.
     Padding cannot be used: the cards size as a percentage of the rail's
     content box, so padding shrinks the card and the inset never converges. */
  html body .tkr-rail.tkr-rail-centered { scroll-padding-left: var(--tkr-inset, 0px); }
  html body .tkr-rail.tkr-rail-keep > *,
  html body .tkr-rail.tkr-rail-keep > .cat-pair > * { flex: 0 0 auto !important; max-width: 88vw !important; }
  /* the last card gets a little breathing room past the gutter */
  html body .tkr-rail > *:last-child { margin-right: 2px; }

  /* scroll progress indicator ----------------------------------------- */
  html body .tkr-rail-prog {
    height: 3px;
    border-radius: 999px;
    background: rgba(51, 56, 87, 0.12);
    margin: 4px 0 0;
    overflow: hidden;
  }
  html body .tkr-rail-prog > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--tucker-green, #008934);
    transform-origin: left center;
    transition: transform 90ms linear;
  }
  html body .tkr-rail-prog.on-navy { background: rgba(255, 255, 255, 0.18); }
}

/* tablet shows two cards at a time instead of one */
@media (min-width: 761px) and (max-width: 1100px) {
  html body .tkr-rail > *,
  html body .tkr-rail > .cat-pair > * { flex: 0 0 47% !important; }
  html body .tkr-rail.tkr-rail-sm > *,
  html body .tkr-rail.tkr-rail-sm > .cat-pair > * { flex: 0 0 30% !important; }
  html body .tkr-rail.tkr-rail-wide > * { flex: 0 0 62% !important; }
  html body .v4-mosaic.tkr-rail > * { min-height: 300px; }
}

/* all-caps labels never fall under 17px at touch widths (CLAUDE.md floor) */
@media (max-width: 1100px) {
  html body :is(.brand-btn, .go, .mat-go, .job-go, .dl-eyebrow, .dl-dir, .dl-more, .tkr-cta, .tkr-arrow, .v4-featbtn),
  html body :is(.brand-btn, .go, .mat-go, .job-go, .dl-eyebrow, .dl-dir, .dl-more, .tkr-cta, .tkr-arrow, .v4-featbtn) * {
    font-size: 17px !important;
  }
}

/* Second pass, applying the homepage decisions site-wide.
   - fixed backgrounds are unsupported on iOS and jump on Android, so parallax
     plates fall back to a normal scrolling background
   - closing CTA blocks center their copy and size their buttons to content
   - all-caps labels hold the 17px floor even where a page sets its own */
@media (max-width: 1100px) {
  html body [style*="background-attachment"],
  html body .dealer-bg { background-attachment: scroll !important; }

  /* the stacked-paper bar's -9% resolves against a much wider parent once the
     mockup goes full width, so the overhang becomes a fixed inset */
  html body .ph-stack-base {
    margin-left: -12px !important;
    margin-right: -12px !important;
  }

  /* a comparison matrix scrolls as a unit and keeps its row-label column;
     hiding the labels leaves rows of unattributed values */
  html body .tkr-scroll-x .mx { grid-template-columns: 150px repeat(3, 1fr) !important; column-gap: 0 !important; }
  html body .tkr-scroll-x .mx-label { display: flex !important; }
  /* A matrix wrapper keeps its container padding: the bleed would let cells
     scroll through the gutter and show beside the sticky label column. */
  html body .tkr-scroll-x:has(> .mx) {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* tablet has room for all four columns, so it must not scroll at all */
  html body .tkr-scroll-x > .mx { min-width: 0; }
  /* .mx pairs a radius with a clip. `hidden` would make it the scrollport for
     its own children and break the sticky labels; `clip` keeps the radius clip
     without creating a scroll container, so the wrapper stays the scrollport. */
  html body .tkr-scroll-x .mx { overflow: clip !important; }
  html body .tkr-scroll-x .mx-label { position: sticky; left: 0; z-index: 2; }
  /* the sticky column needs its own opaque ground, or cells show through it */
  html body .tkr-scroll-x .mx-label { background: var(--navy) !important; }

  /* the homepage dealer CTA centres its copy; product-page CTAs were not asked
     for, so they keep their authored alignment. */
  html body #dealer-access :is(.win-hero, .split-2) > div:first-child,
  html body #dealer-access > div > div > div:first-child {
    align-items: center !important;
    text-align: center;
  }
  /* release the narrow authored caps but hold the design system's 68ch measure */
  html body #dealer-access :is(h1, h2, h3) { max-width: none !important; }
  html body #dealer-access :is(p, span) { max-width: 68ch !important; }
  html body #dealer-access :is(.cta-row, .opt-row, .btn-row) { justify-content: center !important; }

  /* the hero photo's slant mirrors to the right edge on touch breakpoints */
  html body section:first-of-type :is(.pt-hero, .pm-hero, .win-hero, .vp-hero, .hub-hero, .blog-hero, .dn-hero, .cfg-hero, .res-hero, .ab-hero, .sa-hero, .ca-hero, .ct-hero, .cm-hero):has(> div:last-child img) > div:last-child {
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%) !important;
  }

  /* the custom-work callout leads with its photo, copy underneath */

  /* Centring is limited to the sections that were asked for, by id:
     materials, brand lines, gallery and before-you-quote. Every other section
     on every page keeps its authored alignment. */
  html body .tkr-product :is(#materials, #lines, #gallery, #quote-it) div:has(> h2):not([class*="card"]):not([class*="rail"]):not([class*="hero"]) {
    align-items: center !important;
    text-align: center !important;
  }
  html body .tkr-product :is(#materials, #lines, #gallery, #quote-it) h2,
  html body .tkr-product :is(#materials, #lines, #gallery, #quote-it) span:has(+ h2),
  html body .tkr-product :is(#materials, #lines, #gallery, #quote-it) div:has(> h2) > span:first-child {
    text-align: center !important;
    justify-content: center;
    max-width: none !important;
    width: 100%;
  }
  html body .tkr-product :is(#materials, #lines, #gallery, #quote-it) div:has(> h2) > :is(p, span) {
    max-width: none !important;
  }
  html body section > div > div:has(> h2):not([class*="grid"]):not([class*="card"]):not([class*="rail"]):not(.story-intro),
  html body section > div > div > div:has(> h2):not([class*="grid"]):not([class*="card"]):not([class*="rail"]):not(.story-intro) {
    max-width: none !important;
    width: 100%;
    grid-column: 1 / -1 !important;
    flex-basis: 100% !important;
  }

  /* the custom-work callout photo needs real height once it leads the block */
  html body .cust-callout > div:has(img:not([aria-hidden])) {
    min-height: 340px !important;
    order: -1;
  }
  html body .cust-callout > div:has(img:not([aria-hidden])) img { height: 100% !important; object-fit: cover; }
  html body section :is(h1, h2) + p,
  html body section :is(h1, h2) { text-wrap: pretty; }

  /* the full-width green band stacks and centers (product pages) */
  html body .tkr-product section[style*="--tucker-green"] > div {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }
  /* both children centre: align-items does nothing for a flex ROW, so the
     button pair needs justify-content too */
  html body .tkr-product section[style*="--tucker-green"] > div > div {
    align-items: center !important;
    justify-content: center !important;
    max-width: none !important;
    text-align: center;
  }
  /* the secondary link now stacks on its own row, where it reads as a
     tappable target: pad it to the 44px minimum */
  html body section[style*="--tucker-green"] a:not([style*="background:#fff"]) {
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  /* the band headline is a <p>, so the tablet heading bump missed it */
  html body section[style*="--tucker-green"] p { font-size: 28px !important; }

  /* step plan: steps centre and the rule line beside each numeral is dropped.
     Depth-independent: the design-system component mounts inside a wrapper. */
  html body :is(.v4-stepplan, .tkr-stepplan) div:has(> h3) {
    align-items: center !important;
    text-align: center !important;
  }
  html body :is(.v4-stepplan, .tkr-stepplan) div:has(> h3) > div:first-child {
    justify-content: center !important;
  }
  html body :is(.v4-stepplan, .tkr-stepplan) div:has(> h3) > div:first-child > span:nth-child(2) {
    display: none !important;
  }

  /* the step-plan section's own eyebrow and heading centre on every page */
  html body section:has(:is(.v4-stepplan, .tkr-stepplan)) div:has(> h2) {
    align-items: center !important;
    text-align: center !important;
  }
  html body section:has(:is(.v4-stepplan, .tkr-stepplan)) h2,
  html body section:has(:is(.v4-stepplan, .tkr-stepplan)) span:has(+ h2),
  html body section:has(:is(.v4-stepplan, .tkr-stepplan)) div:has(> h2) > span:first-child {
    text-align: center !important;
    justify-content: center;
    max-width: none !important;
    width: 100%;
  }

  /* the step plan is a vertical list, never a slider */
  html body .tkr-stepplan > div,
  html body .tkr-stepplan div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* the spec-option list runs two up on tablet */
  html body .opt-row { break-inside: avoid; }

  html body :is(.gal-grid, .insp-grid, .tex-grid) {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  html body :is(.gal-tile, .insp-tile) { cursor: zoom-in; }

  html body :is(.cat-go, .rail-link, .gal-cap, .need-tag, .subnav-a, .style-go, .insp-cap, .mx-label),
  html body :is(.cat-go, .rail-link, .gal-cap, .need-tag, .subnav-a, .style-go, .insp-cap, .mx-label) * {
    font-size: 17px !important;
  }
}

@media (max-width: 760px) {

  /* generic mobile trims ---------------------------------------------- */
  html body :is(.spec-sticky, .win-rail, .cat-rail) { position: static !important; }
  html body :is(.mx, .cmp-row) { font-size: 15px; }
  /* comparison matrices keep their rows and columns and scroll as a unit */
  html body .mx { --tkr-bleed: 24px; }
}

@media (max-width: 1100px) {
  html body .tkr-scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: calc(var(--tkr-bleed, 24px) * -1);
    margin-right: calc(var(--tkr-bleed, 24px) * -1);
    padding-left: var(--tkr-bleed, 24px);
    padding-right: var(--tkr-bleed, 24px);
  }
  html body .tkr-scroll-x > * { min-width: 620px; }
  /* tablet fits all four matrix columns, so it must not scroll there */
  html body .tkr-scroll-x > .mx { min-width: 0; }
}

@media (max-width: 760px) {
  /* phone: the matrix needs its full width and scrolls with a sticky label */
  html body .tkr-scroll-x > .mx { min-width: 780px; }
}

@media (max-width: 760px) {

  /* hover-only affordances are always on at touch widths */
  html body :is(.sib, .brand-card, .job-card, .prod-card, .mat-card, .cat-card) .go {
    max-height: 46px !important;
    opacity: 1 !important;
    margin-top: 12px !important;
  }

  /* form fields never fall under 16px (readability floor, and it stops iOS
     from zooming the viewport on focus) */
  html body :is(input, select, textarea) { font-size: 16px !important; }

  /* headings bottom out at the low end of their clamp on a phone and read
     small against the copy; a flat bump restores the hierarchy */
  html body section h1 { font-size: 40px !important; }
  html body section h2 { font-size: 31px !important; max-width: none !important; }
  html body section h3 { font-size: 23px !important; }

  /* mosaic tiles carry fixed row spans on desktop; give them a height in the rail */
  html body .v4-mosaic.tkr-rail > * { min-height: 300px; }

  /* Product hero: the photo sits directly under the H1. The photo is a sibling
     of the copy column, so the column becomes display:contents to promote its
     children into the hero grid, and order interleaves the photo between them. */
  html body section:first-of-type :is(.pt-hero, .pm-hero, .win-hero, .vp-hero, .hub-hero, .blog-hero, .dn-hero, .cfg-hero, .res-hero, .ab-hero, .sa-hero, .ca-hero, .ct-hero, .cm-hero):has(> div:last-child img) {
    gap: 18px !important;
  }
  html body section:first-of-type :is(.pt-hero, .pm-hero, .win-hero, .vp-hero, .hub-hero, .blog-hero, .dn-hero, .cfg-hero, .res-hero, .ab-hero, .sa-hero, .ca-hero, .ct-hero, .cm-hero):has(> div:last-child img) > div:first-child {
    display: contents !important;
  }
  html body section:first-of-type :is(.pt-hero, .pm-hero, .win-hero, .vp-hero, .hub-hero, .blog-hero, .dn-hero, .cfg-hero, .res-hero, .ab-hero, .sa-hero, .ca-hero, .ct-hero, .cm-hero):has(> div:last-child img) > div:first-child > *:nth-child(1) { order: 1; }
  html body section:first-of-type :is(.pt-hero, .pm-hero, .win-hero, .vp-hero, .hub-hero, .blog-hero, .dn-hero, .cfg-hero, .res-hero, .ab-hero, .sa-hero, .ca-hero, .ct-hero, .cm-hero):has(> div:last-child img) > div:first-child > *:nth-child(2) { order: 2; }
  html body section:first-of-type :is(.pt-hero, .pm-hero, .win-hero, .vp-hero, .hub-hero, .blog-hero, .dn-hero, .cfg-hero, .res-hero, .ab-hero, .sa-hero, .ca-hero, .ct-hero, .cm-hero):has(> div:last-child img) > div:first-child > *:nth-child(3) { order: 4; }
  html body section:first-of-type :is(.pt-hero, .pm-hero, .win-hero, .vp-hero, .hub-hero, .blog-hero, .dn-hero, .cfg-hero, .res-hero, .ab-hero, .sa-hero, .ca-hero, .ct-hero, .cm-hero):has(> div:last-child img) > div:first-child > *:nth-child(4) { order: 5; margin-top: 6px; }
  html body section:first-of-type :is(.pt-hero, .pm-hero, .win-hero, .vp-hero, .hub-hero, .blog-hero, .dn-hero, .cfg-hero, .res-hero, .ab-hero, .sa-hero, .ca-hero, .ct-hero, .cm-hero):has(> div:last-child img) > div:last-child {
    order: 3;
    margin: 4px 0 6px;
  }
}

@media (max-width: 480px) {
  html body .tkr-rail { --tkr-card: 86%; }
  html body .tkr-rail.tkr-rail-sm { --tkr-card: 56%; }
}

@media (prefers-reduced-motion: reduce) {
  html body .tkr-rail { scroll-behavior: auto; }
  html body .tkr-rail-prog > span { transition: none; }
}

/* Photos-only gallery, phone width only: at 158px a caption pill wraps over
   the door, so the caption moves to the lightbox (which reads it from the
   hidden element). Tablet tiles are wide enough to keep the pill. */
@media (max-width: 760px) {
  html body :is(.gal-grid, .insp-grid) { gap: 8px !important; }
  html body .gal-tile .gal-cap { display: none !important; }
  html body .gal-hint { display: block !important; }
}

/* The design-system PortalCTA at tablet: centre the copy and sit the two
   buttons side by side at half width each. The component's own layout stacks
   them full width, which wastes the 816px band. */
@media (min-width: 761px) and (max-width: 1100px) {
  html body :is(#portal-cta, .tkr-portal-cta) :is(span, p, h1, h2, h3) { text-align: center !important; }
  html body :is(#portal-cta, .tkr-portal-cta) section,
  html body :is(#portal-cta, .tkr-portal-cta) section > div { align-items: center !important; }
  /* the row that holds two links side by side, not the copy block above it */
  html body :is(#portal-cta, .tkr-portal-cta) div:has(> a + a) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    width: 100% !important;
  }
  html body :is(#portal-cta, .tkr-portal-cta) div:has(> a + a) > a {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Footer door mark: its height is 150% of the footer, which triples once the
   footer stacks, while base.css clamps width to 100% and object-fit:fill
   stretches the result. Bound the box instead so the aspect survives. */
@media (max-width: 1100px) {
  html body .tkr-footer > img {
    height: auto !important;
    width: auto !important;
    max-height: 32% !important;
    max-width: 220px !important;
    object-fit: contain !important;
    right: -7% !important;
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
  }
}

/* --- Products Hub and friends, touch widths only --- */
@media (max-width: 1100px) {
  /* Section grids written inline with no class have no collapse rule, so they
     stay two columns and squeeze the narrow track to ~90px. Only un-classed
     ones are touched; classed grids collapse through their own rules. */
  html body section div[style*="grid-template-columns:0.8fr 1.2fr"]:not([class]),
  html body section div[style*="grid-template-columns: 0.8fr 1.2fr"]:not([class]),
  html body section div[style*="grid-template-columns:1fr 1fr"]:not([class]),
  html body section div[style*="grid-template-columns: 1fr 1fr"]:not([class]),
  html body section div[style*="grid-template-columns:1.05fr 0.95fr"]:not([class]),
  html body section div[style*="grid-template-columns: 1.05fr 0.95fr"]:not([class]),
  html body section div[style*="grid-template-columns:1.15fr 0.85fr"]:not([class]),
  html body section div[style*="grid-template-columns: 1.15fr 0.85fr"]:not([class]),
  html body section div[style*="grid-template-columns:0.75fr 1.25fr"]:not([class]),
  html body section div[style*="grid-template-columns: 0.75fr 1.25fr"]:not([class]) {
    grid-template-columns: 1fr !important;
  }

  /* the brand tiles are transparent, so they disappear into a grey section
     once they sit on their own in a rail */
  html body .brand-item {
    background: #fff !important;
    border: 1px solid var(--border-hairline);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 20px;
    box-shadow: 0 4px 14px rgba(20, 22, 38, 0.05);
  }
  html body .brand-item > span { padding-left: 20px !important; padding-right: 20px !important; }

  /* the resources CTA column is right-aligned for the desktop row; once it
     stacks under a left-aligned heading it has to start at the same edge */
  html body .hub-open > div { align-items: flex-start !important; }
}

/* Products Hub, the four product lines. On desktop the cards sit in a mixed
   layout (two full-width features either side of a pair); .line-rail is
   display:contents there so it changes nothing. At touch widths it becomes the
   rail, and .cat-pair also goes to contents so its two cards join the row. */
@media (max-width: 1100px) {
  /* other rails inherit spacing from the authored grid gap; this wrapper is
     display:contents on desktop and has none, so it needs one explicitly */
  html body .line-rail.tkr-rail { display: flex !important; gap: 22px !important; }
  html body .line-rail .cat-pair { display: contents !important; }
  html body .feat { grid-template-columns: 1fr !important; }
  html body .feat .door-clip { min-height: 0 !important; }
  html body .feat .door-clip img { height: 230px !important; }
  /* this section's heading and lede centre; the resources instance does not */
  html body .lines-intro { text-align: center !important; }
  html body .lines-intro > :is(h2, p) { max-width: none !important; }
}

@media (max-width: 1100px) {
  /* A CTA column right-aligned for the desktop row has to start at the same
     edge as the heading once it stacks beneath it. */
  html body section div[style*="flex-direction:column"][style*="align-items:flex-end"],
  html body section div[style*="flex-direction: column"][style*="align-items: flex-end"] {
    align-items: flex-start !important;
  }
  /* a link row pushed to the right edge for the desktop layout */
  html body section div[style*="justify-content:flex-end"],
  html body section div[style*="justify-content: flex-end"] {
    justify-content: flex-start !important;
  }
  /* and a link pushed right by its own auto margin */
  html body section :is(a, span, div)[style*="margin-left:auto"],
  html body section :is(a, span, div)[style*="margin-left: auto"] {
    margin-left: 0 !important;
  }

  /* Resources cards: the cover sits above the copy rather than beside it, so
     the title is not squeezed into a narrow column. */
  html body .doc-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  html body .doc-card .doc-thumb {
    width: 128px !important;
    height: 166px !important;
    align-self: flex-start;
  }
}

@media (max-width: 1100px) {
  /* rail cards stretch to the tallest sibling, so a vertically centred copy
     column leaves a large gap under the photo */
  /* In a rail every card is the same width, so the feature card's desktop
     copy (written for a wide two-column row) runs 14 lines and dwarfs the
     other three. Clamp it and pin the CTA to the bottom so the row is even. */
  html body .line-rail .feat { grid-template-rows: auto 1fr !important; align-content: stretch !important; }
  /* one feature card is authored copy-first with the photo second (order:1/2);
     in the rail every card must lead with its photo, so the order is reset by
     role rather than by position */
  html body .feat > :is(.door-clip, .door-clip-r) { order: 0 !important; }
  html body .feat > div:not(.door-clip):not(.door-clip-r) { order: 1 !important; }
  html body .line-rail .feat > div:not(.door-clip):not(.door-clip-r) {
    justify-content: flex-start !important;
    padding: 22px !important;
    flex: 1 1 auto;
  }
  /* the title is the span immediately before the body copy; a card that also
     carries an eyebrow keeps it at eyebrow scale rather than title scale */
  html body .line-rail .feat > div:not(.door-clip):not(.door-clip-r) > span:has(+ p) { font-size: 22px !important; }
  html body .line-rail .feat > div:not(.door-clip):not(.door-clip-r) > span:first-child:not(:has(+ p)) {
    font-size: 17px !important;
    letter-spacing: 0.1em !important;
  }
  html body .line-rail .feat p {
    display: -webkit-box !important;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  html body .line-rail .feat .cat-go { margin-top: auto !important; padding-top: 14px; }
  /* every photo in the row crops to one height, whichever slant it carries */
  html body .line-rail :is(.feat, .cat-card) > :is(.door-clip, .door-clip-r) {
    min-height: 0 !important;
    height: 230px !important;
  }
  html body .line-rail :is(.feat, .cat-card) > :is(.door-clip, .door-clip-r) img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Label/value spec rows read as two ragged columns once the section is narrow:
   the value's right-alignment fights the uppercase label. Below 1100px the
   label sits above its value and both align left. */
@media (max-width: 1100px) {
  html body :is(.spec-row, .nap-row, .wty-row) {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
  html body :is(.spec-row, .nap-row, .wty-row) > b {
    flex: 0 0 auto !important;
  }
  html body :is(.spec-row, .nap-row, .wty-row) > :is(span, a) {
    text-align: left !important;
  }
}

/* Section headings bottom out at their clamp minimum below 1100px, which reads
   small against the 17px body. Raise the floor without touching the desktop
   ceiling. */
@media (max-width: 1100px) {
  html body section h2 { font-size: max(30px, 3vw) !important; }
}

/* A grid marked [data-no-rail] can still carry the centring margins the rail
   code wrote inline before it was opted out, which makes its first and last
   tiles narrower than the rest. */
@media (max-width: 1100px) {
  html body [data-no-rail] > *:first-child { margin-left: 0 !important; }
  html body [data-no-rail] > *:last-child { margin-right: 0 !important; }
}

/* Opt-in: a door mark sized by height becomes a narrow sliver once its section
   stacks and gets tall. Marks carrying .mark-wide are sized by width below
   1100px and run off the right edge. Desktop keeps the authored geometry. */
@media (max-width: 1100px) {
  html body img.mark-wide {
    left: auto !important;
    right: -34% !important;
    top: 50% !important;
    bottom: auto !important;
    width: 88% !important;
    height: auto !important;
    transform: translateY(-50%) !important;
  }
}

/* Dot-nav rails: one card per view, dots underneath. */
@media (max-width: 1100px) {
  /* a dot-nav rail shows exactly one card: no neighbour peeking past the edge */
  html body .tkr-rail[data-rail-dots] > * { flex: 0 0 100% !important; max-width: 100% !important; }
  html body .tkr-rail[data-rail-dots] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0 !important;
  }
  html body .tkr-rail[data-rail-dots] > * { scroll-snap-align: start; }
  html body .tkr-rail-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
  }
  html body .tkr-rail-dots > button {
    appearance: none;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--grey-200, #d8dbe4);
    cursor: pointer;
    transition: background-color 150ms cubic-bezier(0.2,0,0,1);
  }
  html body .tkr-rail-dots > button[aria-current="true"] { background: var(--tucker-green, #00a63e); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  /* tablet has room for a pair per view */
  html body .tkr-rail[data-rail-dots] > * { flex: 0 0 calc((100% - 10px) / 2) !important; max-width: calc((100% - 10px) / 2) !important; }
}

/* The "documents" band centres its eyebrow, headline and buttons on touch. */
@media (max-width: 1100px) {
  html body .doc-block.doc-block { align-items: center !important; text-align: center; }
  html body .doc-block.doc-block > div { justify-content: center !important; }
}

/* Desktop: the door mark is authored as a height-based sliver, which reads as a
   stray shape rather than a watermark. Pages opting in with .mark-wide-lg size
   it by width instead, keeping whichever edge the page anchored it to. */
@media (min-width: 1101px) {
  html body img.mark-wide-lg {
    width: 46% !important;
    height: auto !important;
    max-width: none !important;
  }
}

/* the "why we carry it" card centres its whole stack on mobile and tablet */
@media (max-width: 1100px) {
  html body .carry-card { align-items: center; text-align: center; }
  html body .carry-card > h3 { max-width: 30ch; }
  html body .carry-card > div > div { align-items: center; }
  html body .carry-card a { align-self: center !important; }
}

/* every gallery tile carries the same 12px radius as the cards */
html body :is(.gal-tile, .gal-card, .insp-tile) { border-radius: 12px !important; overflow: hidden !important; }
html body :is(.gal-tile, .gal-card, .insp-tile) > img { border-radius: inherit; }

@media (max-width: 1100px) {
  /* the gallery CTA rides the centre axis with the rest of the narrow layout */
  html body .tkr-gal-cta { align-self: center !important; justify-self: center !important; margin-left: auto !important; margin-right: auto !important; }
}


/* ── Square buttons ─────────────────────────────────────────────────────────
   Tucker's buttons are rectangular. Design-system buttons take their radius
   from var(--radius-md), so zeroing that property on buttons and links squares
   every DS Button without touching cards, fields or panels. Pills (filter
   chips, market tabs) and circular icon buttons keep their own radius tokens. */
html body :is(button, a) { --radius-md: 0px; }
html body :is(.tkr-cta, .brand-btn, .portal-login-btn, .header-login),
html body :is(.tkr-portal-cta, .tkr-stepplan) :is(a, button) { border-radius: 0 !important; }

/* Watermarks (mark-white.svg, door-watermark): sized by height, so the width must
   follow. The fixed width/height attributes pinned them at 89px / 1193px wide,
   which shrank the Tucker mark to ~150px and stretched the door drawing. Variants
   that set their own width (!important rules above) are unaffected. */
html body img[src*="mark-white.svg"], html body img[src*="door-watermark"] { width: auto; }

/* Sticky header: the page runtime sets #dc-root and its first .sc-host to
   height:100% (one screen), and the header can only stick inside that box, so on
   pages without their own override it scrolled away after one screen
   (find-a-dealer, blog posts, privacy, terms, ai-use). Let the box grow with the page. */
#dc-root, #dc-root > .sc-host { height: auto !important; min-height: 100%; }

/* ── Mobile fixes, 2026-09-28 (phone review before launch) ───────────────── */
/* Watermarks without their own phone treatment (.mark-wide / .mark-wm) were
   capped to the screen width while sized by height: the door drawing stretched
   and the Tucker mark shrank inside a tall box. Give them the same treatment the
   design uses for .mark-wide: sized by width, bleeding off the right edge.
   Covers the footer mark too. Desktop (1101px+) is untouched. */
@media (max-width: 1100px) {
  html body img:is([src*="mark-white.svg"], [src*="door-watermark"]):not(.mark-wide):not(.mark-wm),
  html body footer.tkr-footer > img[aria-hidden="true"] {
    left: auto !important;
    right: -34% !important;
    top: 50% !important;
    bottom: auto !important;
    width: 88% !important;
    height: auto !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
  }
}
@media (max-width: 760px) {
  /* Home: "The brands your builders ask for by name" strip heading, centred */
  html body section[data-screen-label="02 Brands"] > div > span:first-child { width: 100%; text-align: center; }
  /* Home: "Watch the door / window episode" links centred in the feature */
  html body .v4-featbtns { align-items: center !important; }
  html body .v4-featbtns > span:last-child { justify-content: center !important; }
  /* Form notes: "Find your Tucker dealer" link on its own line */
  html body form span > a[href="/dealer-network/find-a-dealer/"] { display: block; width: fit-content; margin-top: 6px; }
}

/* ── Mobile fixes, batch 2, 2026-09-28 ──────────────────────────────────────── */
@media (max-width: 760px) {
  /* Single-column grids sized to their widest child and pushed the page sideways
     (plastpro 786px, careers 435px, a blog post 546px, the about hero). */
  html body :is(.split-2, .story-grid, .post-grid, .ab-hero, .vp-hero, .pm-hero, .lead-head) { grid-template-columns: minmax(0, 1fr) !important; }
  html body :is(.split-2, .story-grid, .post-grid, .ab-hero, .vp-hero, .pm-hero, .lead-head) > * { min-width: 0; }

  /* Hero photos: one shape everywhere (the right-edge slant). Products and Rogue
     Valley stacked a second, mirrored slant on top; blog posts used the mirror. */
  html body main > section:first-child [style*="clip-path"][style*="polygon(12% 0"] { clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%) !important; }

  /* Brand + product heroes: buttons last, heading before the photo (Masonite,
     GlassCraft and Fiberglass put the buttons first). */
  html body :is(.vp-hero, .pm-hero) h1 { order: 2 !important; }
  html body :is(.vp-hero, .pm-hero) div:has(> .sc-host-x > a.tkr-cta) { order: 9 !important; }

  /* ODL hero logo: smaller */
  html body .vp-hero img[src*="logos/vendors/odl"] { width: 96px !important; }

  /* Comparison tables: a thin edge so they don't melt into the section */
  html body .mx { border: 1px solid var(--grey-200, #e6e6e6) !important; border-radius: 12px; overflow: hidden; }
  html body section[style*="var(--navy)"] .mx { border-color: rgba(255, 255, 255, 0.28) !important; }

  /* "Find a Tucker dealer near you" and similar note links: own line */
  html body :is(p, div, span) > a[href="/dealer-network/find-a-dealer/"]:not(.tkr-cta):not([class*="btn"]) { display: block; width: fit-content; margin-top: 6px; }

  /* Gallery grids: equal tiles, no last image stretched across its own row */
  html body .gal-wrap > *, html body .gal-wrap .gal-grid > * { grid-column: auto !important; grid-row: auto !important; }

  /* Resources: the warranties heading lines up left like the other sections */
  html body .wty-head { text-align: left !important; align-items: flex-start !important; margin-left: 0 !important; }
  html body .wty-head > * { text-align: left !important; margin-left: 0 !important; }

  /* Team: leadership photo taller so the people read bigger */
  html body figure img[style*="21 / 9"], html body figure img[style*="21/9"] { aspect-ratio: 4 / 3 !important; object-position: 50% 62% !important; }

  /* FAQs: one style site-wide. The boxed .faq-item cards (brand pages, contact)
     now match the divider-line style used on the other pages. */
  html body :has(> .faq-item) { gap: 0 !important; border-top: 1px solid var(--grey-200, #e6e6e6); }
  html body .faq-item { border: 0 !important; border-bottom: 1px solid var(--grey-200, #e6e6e6) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
  html body .faq-item > .faq-q { padding-left: 0 !important; padding-right: 0 !important; }
  html body .faq-item > :not(.faq-q) { padding-left: 0 !important; padding-right: 0 !important; }
}
/* Phones show their own grey scroll indicator on top of the site's green
   progress bar (location tabs and other sliders): hide the phone's one. */
@media (max-width: 1100px) {
  html body :is(.tkr-rail, .tkr-xscroll, .tkr-scroll-x, .loc-tabs) { scrollbar-width: none; }
  html body :is(.tkr-rail, .tkr-xscroll, .tkr-scroll-x, .loc-tabs)::-webkit-scrollbar { display: none; width: 0; height: 0; }
  /* Mobile menu: fill the screen below the header instead of scrolling inside */
  html body .tkr-header .m-nav-panel { max-height: calc(100dvh - 64px) !important; }
}

/* ── Mobile fixes, batch 3, 2026-09-28 ──────────────────────────────────────── */
@media (max-width: 760px) {
  /* About: facility gallery, the two small photos each take half the row */
  html body .fac-grid { grid-template-columns: 1fr 1fr !important; }

  /* About: "Three markets", each location link on its own line (not the
     location tab bar, which also holds these three links) */
  html body main div:not(.loc-tabs):has(> a[href="/locations/monroe/"]):has(> a[href="/locations/albany/"]) { flex-direction: column !important; align-items: center !important; gap: 14px !important; }
  html body main div:not(.loc-tabs):has(> a[href="/locations/monroe/"]):has(> a[href="/locations/albany/"]) > :not(a) { display: none !important; }

  /* Video thumbnails: keep their true 16:9 shape so nothing is cropped */
  html body img[style*="16 / 9"], html body img[style*="16/9"] { height: auto !important; aspect-ratio: 16 / 9 !important; }

  /* Careers story (Barry Williams): "years, one window division" on one line */
  html body .crx-inner span[style*="15ch"] { max-width: none !important; white-space: nowrap; }

  /* Design Portal "Getting started": everything centred, incl. the note link */
  html body .cfg-start { align-items: center !important; text-align: center !important; }
  html body .cfg-start p, html body .cfg-start p * { text-align: center !important; }
  html body .cfg-start p a { display: inline !important; }

  /* Location pages: small square bullets, and the closing hiring band centred */
  html body .cap-mark { width: 10px !important; height: 10px !important; flex: 0 0 10px !important; margin-top: 0.5em !important; }
  html body .split-2:has(a[href*="careers"]) { text-align: center !important; justify-items: center !important; }
  html body .split-2:has(a[href*="careers"]) > * { align-items: center !important; text-align: center !important; }

  /* Door styles: vertical lines between table columns */
  html body .cmp-table :is(td, th):not(:last-child) { border-right: 1px solid var(--grey-200, #e6e6e6) !important; }

  /* Long button labels: arrow stays on the same line */
  html body a.scp0 { font-size: 15px !important; letter-spacing: 0.03em !important; padding-left: 18px !important; padding-right: 18px !important; white-space: nowrap; }
}

@media (max-width: 760px) {
  /* About hero stats (59 / 3 / 550K): wrap instead of a cut-off sideways slider */
  html body .stat-row { flex-wrap: wrap !important; white-space: normal !important; overflow: visible !important; margin-left: 0 !important; margin-right: 0 !important; width: auto !important; padding-left: 0 !important; padding-right: 0 !important; row-gap: 18px !important; }
  html body .stat-row + .tkr-rail-prog, html body .stat-row + .tkr-rail-prog + .tkr-rail-arrows { display: none !important; }
}


/* Design Portal "Getting started": the "See how to open an account" link was navy
   text on the navy section (invisible at every width). White and underlined. */
html body .cfg-start p a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

/* ── Mobile fixes, batch 4, 2026-09-28 ──────────────────────────────────────── */
@media (max-width: 760px) {
  /* Comparison tables: the edge goes on the scrolling box, so it stays put
     while the table slides (it used to scroll away with the navy column), and
     is dark enough to see on white sections */
  html body .mx { border: 0 !important; border-radius: 0 !important; }
  html body :is(.tkr-scroll-x, .tkr-xscroll):has(> .mx) { border: 1px solid #b9c1cc !important; border-radius: 12px !important; }
  html body section[style*="var(--navy)"] :is(.tkr-scroll-x, .tkr-xscroll):has(> .mx) { border-color: rgba(255, 255, 255, 0.4) !important; }

  /* Photo galleries built as big-photo + stacked-pair rows: flatten into one
     even two-across grid (Windows: 6 photos = 2 x 3, no odd wide one) */
  html body .gal-wrap { display: grid !important; grid-template-columns: 1fr 1fr !important; }
  html body .gal-wrap :is(.gal-grid, .gal-stack) { display: contents !important; }
  html body .gal-wrap .gal-tile { aspect-ratio: 1 / 1 !important; height: auto !important; min-height: 0 !important; grid-column: auto !important; grid-row: auto !important; }
  html body .gal-wrap > :not(.gal-grid):not(.gal-tile) { grid-column: 1 / -1 !important; }
  html body .gal-wrap .gal-grid > :is(.gal-card, .gal-tile):last-child:nth-child(2n+1) { grid-column: auto !important; }

  /* Location tab bar: back to one sliding row */
  html body .loc-tabs { flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; }
  html body .loc-tabs > * { flex: 0 0 auto !important; }

  /* About "Three markets": centred, heading on exactly two lines */
  html body section:has(a.tkr-arrow[href="/locations/albany/"]) > div { align-items: center !important; text-align: center !important; }
  html body section:has(a.tkr-arrow[href="/locations/albany/"]) h2 { font-size: 29px !important; text-align: center !important; align-self: center !important; }

  /* Home "Built or assembled in house" list: room between text and divider */
  html body .v4-specs > * { padding-bottom: 28px !important; }

  /* About video thumbnails: an older rule cropped them to 4:3 */
  html body .btb-card img[alt=""] { aspect-ratio: 16 / 9 !important; height: auto !important; }
}

@media (max-width: 760px) {
  /* Form labels (portal-access forms, dealer search) were 13px: 15px phone floor */
  html body #dc-root label { font-size: max(15px, 1em) !important; }
}

@media (max-width: 760px) {
  /* Home location cards: the "See this location" link centred like the rest of the card */
  html body div:has(> a.tkr-arrow[href^="/locations/"]):has(> a[href^="tel:"]) > a.tkr-arrow { align-self: center !important; justify-content: center !important; }
}

/* ── Green buttons, ALL widths (owner request 2026-09-28) ─────────────────────
   Black text on the brand green (contrast ~7:1); on hover/focus the button goes
   to the darker green #00752c with white text (~5.9:1). Covers every source of
   a green button: inline green (page components), the design-system primary
   Button (inline var(--action) / var(--action-hover)), the contact submit, the
   active Resources filter chip and the phone filter button. */
html body :is(a, button)[style*="background: var(--tucker-green)"],
html body :is(a, button)[style*="background: var(--action)"],
html body :is(a, button)[style*="background: var(--action-hover)"],
html body button.ct-submit,
html body .res-chip[aria-pressed="true"],
html body button.tkr-filter-fab {
  color: #000 !important;
}
html body :is(a, button)[style*="background: var(--tucker-green)"] *,
html body :is(a, button)[style*="background: var(--action)"] *,
html body :is(a, button)[style*="background: var(--action-hover)"] *,
html body button.ct-submit *,
html body .res-chip[aria-pressed="true"] *,
html body button.tkr-filter-fab * {
  color: inherit !important;
}
html body :is(a, button)[style*="background: var(--tucker-green)"]:is(:hover, :focus-visible),
html body :is(a, button)[style*="background: var(--action)"]:is(:hover, :focus-visible),
html body :is(a, button)[style*="background: var(--action-hover)"]:is(:hover, :focus-visible),
html body button.ct-submit:is(:hover, :focus-visible),
html body .res-chip[aria-pressed="true"]:is(:hover, :focus-visible),
html body button.tkr-filter-fab:is(:hover, :focus-visible) {
  background: #00752c !important;
  border-color: #00752c !important;
  color: #fff !important;
}
/* the dealer band (#portal-cta) forces its first button white with an id rule
   (only where that button is the green one; Custom Millwork's single link is handled
   by the :only-of-type rules below) */
html body #portal-cta a:first-of-type:not(:last-of-type):is([style*="background: var(--action)"], [style*="background: var(--tucker-green)"]),
html body #portal-cta a:first-of-type:not(:last-of-type):is([style*="background: var(--action)"], [style*="background: var(--tucker-green)"]) * { color: #000 !important; }
html body #portal-cta a:first-of-type:not(:last-of-type):is([style*="background: var(--action)"], [style*="background: var(--tucker-green)"]):is(:hover, :focus-visible),
html body #portal-cta a:first-of-type:not(:last-of-type):is([style*="background: var(--action)"], [style*="background: var(--tucker-green)"]):is(:hover, :focus-visible) * { color: #fff !important; }
html body #portal-cta a:first-of-type:not(:last-of-type):is([style*="background: var(--action)"], [style*="background: var(--tucker-green)"]):is(:hover, :focus-visible) { background: #00752c !important; }
/* Custom Millwork's band has a single link, which the page's own :last-of-type rule
   turned into a navy text link; owner asked for a green button like the rest
   (2026-09-30): green + black text, darker green + white on hover */
html body #portal-cta a:only-of-type:is([style*="background: var(--action)"], [style*="background: var(--action-hover)"], [style*="background: var(--tucker-green)"]) { background: var(--tucker-green) !important; border: 0 !important; }
html body #portal-cta a:only-of-type:is([style*="background: var(--action)"], [style*="background: var(--action-hover)"], [style*="background: var(--tucker-green)"]),
html body #portal-cta a:only-of-type:is([style*="background: var(--action)"], [style*="background: var(--action-hover)"], [style*="background: var(--tucker-green)"]) * { color: #000 !important; }
html body #portal-cta a:only-of-type:is([style*="background: var(--action)"], [style*="background: var(--action-hover)"], [style*="background: var(--tucker-green)"]):is(:hover, :focus-visible) { background: #00752c !important; }
html body #portal-cta a:only-of-type:is([style*="background: var(--action)"], [style*="background: var(--action-hover)"], [style*="background: var(--tucker-green)"]):is(:hover, :focus-visible),
html body #portal-cta a:only-of-type:is([style*="background: var(--action)"], [style*="background: var(--action-hover)"], [style*="background: var(--tucker-green)"]):is(:hover, :focus-visible) * { color: #fff !important; }
/* "See ..." labels inside the home product and brand cards (the whole card is the
   link, the label is a span; only there - Products uses the same class as a navy outline), plus green buttons still set in the body font
   (Careers "Apply today"): button font, black text, darker green + white on hover */
html body a.v4-prod .brand-btn,
html body :is(a, button)[style*="background: var(--tucker-green)"][style*="font-family: var(--font-body)"] {
  font-family: var(--font-display) !important;
  letter-spacing: 0.03em !important;
}
html body a.v4-prod .brand-btn, html body a.v4-prod .brand-btn * { color: #000 !important; }
html body a.v4-prod:is(:hover, :focus-visible) .brand-btn { background: #00752c !important; }
html body a.v4-prod:is(:hover, :focus-visible) .brand-btn,
html body a.v4-prod:is(:hover, :focus-visible) .brand-btn * { color: #fff !important; }

/* ── Small green text contrast (owner approved 2026-09-29), ALL widths ─────────
   Buttons, logos and big display numbers are unchanged.
   1. The darker brand green (section labels, dealer phone numbers, "See ... >"
      links) goes from #009939 (3.4-3.7:1) to #00752c (about 5.9:1). */
:root { --tucker-green-dark: #00752c !important; }
/* 2. Small labels set in the main brand green on white/grey: same deeper green. */
html body [style*="color: var(--tucker-green)"]:not([style*="background-color: var(--tucker-green)"]):is([style*="font-size: 15px"], [style*="font-size: 16px"], [style*="font-size: 16.5px"], [style*="font-size: 17px"], [style*="font-size: 18px"], [style*="font-size: 21px"], [style*="font-size: 22px"]) { color: #00752c !important; }
/* 3. Green text on navy / dark sections: a hair brighter, #00c04b (4.7:1 on the
      lightest navy #333857, 5.2:1 on #1f3350). */
html body :is(footer, [style*="background: var(--navy)"], [style*="background:var(--navy)"], [style*="background-color: var(--navy)"], [style*="background: rgb(31, 51, 80)"], [style*="background-color: rgb(31, 51, 80)"], [style*="background: rgb(22, 35, 58)"], [style*="background:#16233a"], [style*="background: #16233a"], [style*="background: rgb(19, 27, 43)"], [style*="background:#131b2b"], [style*="background: #131b2b"]) [style*="color: var(--tucker-green)"]:not([style*="background-color: var(--tucker-green)"]) { color: #00c04b !important; }
/* phone number in the navy address card atop Contact and the location pages */
html body .nap-row a { color: #00c04b !important; }

/* Text for icon-only links (social icons): read by screen readers and search
   engines, invisible on screen. */
.tkr-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Smooth scrolling for jump links on every page (only 22 of 48 pages had it, so
   links like "Become a Dealer" flashed to the form on the others). People who
   ask their device for reduced motion keep the instant jump. All widths. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* jump-link targets stop just below the sticky header (low priority, so any
   section that already sets its own offset keeps it) */
:where(#dc-root [id]) { scroll-margin-top: 121px; }
@media (max-width: 760px) { :where(#dc-root [id]) { scroll-margin-top: 80px; } }

/* Reviews carousel (2026-10-05, all widths): "What our customers say" on Home,
   Dealer Network and Products. Swipe/scroll the row; arrows in tucker-mobile.js. */
.tkr-rev{display:flex;flex-direction:column;gap:20px;min-width:0}
.tkr-rev-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 20px) / 2);gap:20px;align-items:stretch;
  overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 10px;outline:none}
.tkr-rev-rail::-webkit-scrollbar{display:none}
.tkr-rev-rail:focus-visible{outline:3px solid var(--tucker-green,#008934);outline-offset:4px}
.tkr-rev-card{scroll-snap-align:start;min-width:0}
#testimonials .tkr-rev-card blockquote{margin:auto 0 !important}
#testimonials .tkr-rev-card>div:last-child{margin-top:0 !important}
.tkr-rev-nav{display:flex;justify-content:center;gap:12px}
.tkr-rev-btn{transition:background-color 120ms cubic-bezier(.2,0,0,1),color 120ms cubic-bezier(.2,0,0,1)}
.tkr-rev-btn:hover:not(:disabled){background:var(--navy) !important;color:#fff !important}
.tkr-rev-btn:focus-visible{outline:3px solid var(--tucker-green,#008934);outline-offset:3px}
.tkr-rev-btn:disabled{opacity:.35;cursor:default !important}
@media (prefers-reduced-motion:no-preference){.tkr-rev-rail{scroll-behavior:smooth}}
.tkr-rev-card blockquote{font-family:var(--font-display);font-weight:600;font-size:clamp(21px,2vw,26px) !important;line-height:1.4 !important;max-width:30ch}
@media (max-width:760px){.tkr-rev-rail{grid-auto-columns:88%;gap:14px}.tkr-rev-card{padding:24px 20px 22px !important}}
