/* 11-21-2026 FEATURE_HOMEPAGE_POLISH. Homepage (index.php) only. Everything is scoped under .page-home.
   Sandbox classes carry the layout (wrapper, container, row, card, btn, bg-soft-*); this file adds only what the theme has no class for:
   the 4rem white gap under the angled hero, the common-questions tabs, the five why cards, the parallax band. */

/* ---- bands: ~5rem top and bottom (py-14 is 5rem in the theme; sections use it in markup) ---- */

/* white wedge under the hero slant: the Sandbox .angled.lower-start wedge is drawn 4rem into the next element, so a white strip
   of exactly that height sits between the hero and the first grey band (the grey band starts straight below it) */
.page-home .hp-wedge-gap { height: 4rem; background: #fff; }

/* hero info block (replaces the video): glass panel on the dark hero */
.page-home .hp-glass { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 1.9rem; color: #fff; backdrop-filter: blur(4px); }
/* 11-21-2026 soft white drop shadow on the right and bottom of the hero panel, long blur so it reaches further than a normal shadow: x 14px, y 14px, blur 56px, spread 0, white at 20%. To undo, delete this rule. */
.page-home .hp-glass { box-shadow: 2px 6px 35px rgba(255,255,255,.1); } /* 11-21-2026 was: 14px 14px 56px rgba(255,255,255,.2), then 2px 6px 34px */
.page-home .hp-glass h2 { color: #fff; font-size: 1.45rem; margin-bottom: .5rem; }
.page-home .hp-glass p { color: #d3d8e3; }
.page-home .hp-glass .hp-of { font-size: .75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #9fb3e6; margin-bottom: .6rem; }
.page-home .hp-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.page-home .hp-chips li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .45rem 1.1rem; font-weight: 700; font-size: .9rem; color: #fff; cursor: default; }
.page-home .hp-ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .85rem; color: #c7cedb; }
.page-home .hp-ticks li:before { content: "\2713"; color: #7fe3a6; font-weight: 800; margin-right: .45rem; }
.page-home .btn-hp-ghost { background: transparent; border: 1.5px solid #6c7588; color: #fff; }
.page-home .btn-hp-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
/* 11-21-2026 hero record chips (3-year, 7-year, 11-year) take the See record types button hover: background and border change only, no lift. Chips are not links. */
.page-home .hp-chips li { transition: background-color .15s ease, border-color .15s ease; }
/* 11-21-2026 stronger highlight on hover, the light blue of the hero eyebrows. Was: background rgba(255,255,255,.1) (same as See record types) */
.page-home .hp-chips li:hover { background: rgba(127,164,238,.42); border-color: #fff; }
/* 11-21-2026 chips are links to #records: the link fills the chip so the whole pill is clickable, keeps the white text, no underline */
.page-home .hp-chips li a { display: block; margin: -.45rem -1.1rem; padding: .45rem 1.1rem; border-radius: 999px; color: #fff; text-decoration: none; }
.page-home .hp-chips li a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.page-home .hp-chips li { cursor: pointer; }
/* 11-21-2026 hero tagline (right eyebrow) larger than the left eyebrow, which stays fs-14 */
.page-home .hp-tagline { font-size: 1rem; }

/* cards: white, 1px soft border, 14px radius, soft shadow */
/* 11-21-2026 was: border 1px solid #e3e7f0, box-shadow 0 6px 20px rgba(52,63,82,.06). Now matches the why cards: same grey border at 70%, stronger drop shadow. The how-ordering step cards (Sandbox .card.shadow-lg) get the same look; !important only to beat the theme's shadow-lg. */
.page-home .hp-card, .page-home #how .card { background: #fff; border: 1px solid rgba(227,231,240,.7); border-radius: 14px; box-shadow: 0 8px 22px rgba(52,63,82,.16) !important; }
/* 11-21-2026 common-uses pills at the bottom of the record cards. Same six tones as the questions panels (.hp-t0-5): blue, yellow, mint, peach, lavender, rose. Not links. */
.page-home .hp-rtype { display: flex; flex-direction: column; }
/* 11-21-2026 navy CTA pill top right of each record card (.hp-rcta; .hp-cta is the FAQ answer link); tag gets right padding so a long label does not run under it */
.page-home .hp-rtype { position: relative; }
.page-home .hp-rtype .hp-rcta { position: absolute; top: 1.1rem; right: 1.1rem; padding: .28rem .8rem; border-radius: 999px; background: #1e2a5a; color: #fff; font-size: .72rem; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: background-color .2s ease; }
.page-home .hp-rtype .hp-rcta:hover, .page-home .hp-rtype .hp-rcta:focus-visible { background: #2c3c7c; color: #fff; }
.page-home .hp-rtype .hp-tag { padding-right: 7.2rem; }
/* 11-21-2026 record cards lift on hover (and on keyboard focus inside), shadow deepens; shadow needs !important to beat the .hp-card rule above; no motion for reduced-motion visitors */
.page-home .hp-rtype { transition: transform .2s ease, box-shadow .2s ease; }
.page-home .hp-rtype:hover, .page-home .hp-rtype:focus-within { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(52,63,82,.24) !important; }
@media (prefers-reduced-motion: reduce) { .page-home .hp-rtype { transition: none; } .page-home .hp-rtype:hover, .page-home .hp-rtype:focus-within { transform: none; } }
/* 11-21-2026 smaller label plus a muted note. Was: font-size .72rem */
.page-home .hp-rtype .hp-uses-label { margin-top: auto; padding-top: 1.1rem; font-size: .66rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #8a93a6; }
.page-home .hp-uses-note { font-weight: 400; letter-spacing: 0; text-transform: none; color: #b0b7c6; margin-left: .35rem; }
/* 11-21-2026 smaller pills. Was: gap .45rem, margin .45rem 0 0 */
.page-home .hp-uses { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 0; padding: 0; list-style: none; }
.page-home .hp-uses li { padding: .16rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; line-height: 1.3; color: #343f52; border: 1px solid rgba(52,63,82,.08); cursor: default; } /* 11-21-2026 was padding .28rem .8rem, font-size .8rem */
.page-home .hp-u0 { background: #e3ecff; } .page-home .hp-u1 { background: #f6efd3; } .page-home .hp-u2 { background: #dff5ec; } .page-home .hp-u3 { background: #fdeadb; } .page-home .hp-u4 { background: #e9e3fb; } .page-home .hp-u5 { background: #fbe3ea; }
/* 11-21-2026 eyebrow larger, was font-size .75rem */
.page-home .hp-rtype .hp-tag { font-size: 1rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--bs-primary, #3f78e0); margin-bottom: .4rem; }

/* ---- common questions: list left, answer right ---- */
.page-home .hp-qa .nav-link { width: 100%; text-align: left; display: flex; align-items: center; gap: .8rem; background: transparent; border: 0; border-radius: 12px; padding: 1rem 1.2rem; font-weight: 700; color: #343f52; cursor: pointer; }
.page-home .hp-qa .nav-link:after { content: "\203A"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: #9aa3b6; }
.page-home .hp-qa .nav-link:hover { background: rgba(255,255,255,.6); }
.page-home .hp-qa .nav-link.active { background: #fff; box-shadow: 0 8px 20px rgba(52,63,82,.16); transform: translateX(6px); color: #343f52; }
.page-home .hp-qa .nav-link.active:after { color: var(--bs-primary, #3f78e0); }
.page-home .hp-qa .nav { gap: .5rem; }
.page-home .hp-badge { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; }
/* 11-21-2026 six badge colors, yellow added as #2. Was: c0 #5b8def, c1 #2fb58a, c2 #f08a4b, c3 #8a6be0, c4 #e0607e */
.page-home .hp-c0 { background: #5b8def; } .page-home .hp-c1 { background: #e8b923; } .page-home .hp-c2 { background: #2fb58a; } .page-home .hp-c3 { background: #f08a4b; } .page-home .hp-c4 { background: #8a6be0; } .page-home .hp-c5 { background: #e0607e; }
.page-home .hp-ap { position: relative; overflow: hidden; border-radius: 22px; padding: 2.6rem 2.8rem; min-height: 370px; transition: background .25s; } /* grows with longer copy, no fixed height */
.page-home .hp-ap .hp-bl { position: absolute; border-radius: 50%; pointer-events: none; }
.page-home .hp-ap .hp-b1 { width: 260px; height: 260px; right: -70px; top: -80px; background: rgba(255,255,255,.65); }
.page-home .hp-ap .hp-b2 { width: 150px; height: 150px; right: 90px; bottom: -60px; background: rgba(255,255,255,.45); }
.page-home .hp-ap .hp-b3 { width: 90px; height: 90px; left: 26px; bottom: 26px; background: rgba(255,255,255,.5); border-radius: 28px; transform: rotate(18deg); }
.page-home .hp-ap .hp-in { position: relative; z-index: 2; }
.page-home .hp-ap .hp-big { font-size: 4.5rem; font-weight: 800; line-height: 1; opacity: .14; margin-bottom: .4rem; letter-spacing: -2px; }
.page-home .hp-ap h3 { font-size: 1.6rem; line-height: 1.25; margin-bottom: .9rem; }
.page-home .hp-ap p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.3rem; }
/* 11-21-2026 links written inside an answer */
.page-home .hp-ap p a { font-weight: 700; color: #343f52; text-decoration: underline; }
.page-home .hp-ap p a:hover { color: var(--bs-primary, #3f78e0); }
.page-home .hp-ap a.hp-cta { font-weight: 800; color: #343f52; }
.page-home .hp-ap a.hp-cta:after { content: " \2192"; }
.page-home .hp-ap [hidden] { display: none; }
/* 11-21-2026 six answer tones, yellow added as #2. Was: t0 #e3ecff, t1 #dff5ec, t2 #fdeadb, t3 #e9e3fb, t4 #fbe3ea */
.page-home .hp-t0 { background: #e3ecff; } .page-home .hp-t1 { background: #f6efd3; } /* 11-21-2026 was #fff4cc, toned down (less bright) at Nick's request */ .page-home .hp-t2 { background: #dff5ec; } .page-home .hp-t3 { background: #fdeadb; } .page-home .hp-t4 { background: #e9e3fb; } .page-home .hp-t5 { background: #fbe3ea; }
@media (max-width: 991.98px) { /* list stacks above the answer at the theme's large breakpoint */
	.page-home .hp-qa .nav-link.active { transform: none; }
	.page-home .hp-ap { padding: 1.8rem 1.5rem; min-height: 0; }
}

/* slant under the questions band: band color (theme token), thin on the left, tall on the right */
.page-home .hp-slant { height: 4rem; background-color: var(--bs-soft-primary, #edf2fc); clip-path: polygon(0 0, 100% 0, 100% 100%); }

/* reversed: deepest on the left, thin on the right. Used under the how-ordering band so its bottom edge runs parallel to the top slant. */
.page-home .hp-slant.hp-slant-rev { clip-path: polygon(0 0, 100% 0, 0 100%); }

/* slant on the top edge of the how-ordering band: band color, flat bottom joins the band, rises from nothing on the left to full height on the right */
.page-home .hp-slant-top { height: 4rem; background-color: var(--bs-soft-primary, #edf2fc); clip-path: polygon(0 100%, 100% 100%, 100% 0); }

/* ---- why choose: five equal cards, wrapping on tablet and phone ---- */
.page-home .hp-why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
/* 11-21-2026 was: no border, box-shadow: 0 6px 18px rgba(52,63,82,.07). Now the same light grey 1px border as the other cards at 70% opacity (border color only, text stays solid) and a stronger drop shadow. */
.page-home .hp-why .hp-w { background: #fff; border: 1px solid rgba(227,231,240,.7); border-radius: 14px; padding: 1.4rem 1.1rem; text-align: center; box-shadow: 0 8px 22px rgba(52,63,82,.16); }
/* 11-21-2026 hover tint per card, same order and colors as the common-questions tones (.hp-t0-4: blue, mint, peach, lavender, rose). Keyboard focus inside a card tints it too. */
.page-home .hp-why .hp-w { transition: background-color .25s; }
/* 11-21-2026 first card hover is now the question #2 yellow, was #e3ecff (blue) */
.page-home .hp-why .hp-w:nth-child(5n+1):hover, .page-home .hp-why .hp-w:nth-child(5n+1):focus-within { background-color: #f6efd3; }
.page-home .hp-why .hp-w:nth-child(5n+2):hover, .page-home .hp-why .hp-w:nth-child(5n+2):focus-within { background-color: #dff5ec; }
.page-home .hp-why .hp-w:nth-child(5n+3):hover, .page-home .hp-why .hp-w:nth-child(5n+3):focus-within { background-color: #fdeadb; }
.page-home .hp-why .hp-w:nth-child(5n+4):hover, .page-home .hp-why .hp-w:nth-child(5n+4):focus-within { background-color: #e9e3fb; }
.page-home .hp-why .hp-w:nth-child(5n):hover, .page-home .hp-why .hp-w:nth-child(5n):focus-within { background-color: #fbe3ea; }
.page-home .hp-why .hp-w h4 { font-size: 1rem; margin-bottom: .3rem; }
.page-home .hp-why .hp-w p { font-size: .85rem; line-height: 1.45; margin: 0; color: #60697b; }
@media (max-width: 1199.98px) { .page-home .hp-why { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .page-home .hp-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .page-home .hp-why { grid-template-columns: 1fr; } }

/* ---- parallax band ---- */
/* $hp_parallax_image (top of index.php) empty = this navy gradient only; set = image layer .hp-fx-bg on top of it. */
.page-home .hp-parallax-wrap { background: #fff; }
/* 11-21-2026 padding-bottom halved, was 9rem */
/* 11-21-2026 top slant added (mirror of the bottom one: cut on the left, edge rising to the right). Was: clip-path: polygon(0 0, 100% 0, 100% 100%, 0 84%). For a parallel (parallelogram) band use polygon(0 0, 100% 16%, 100% 100%, 0 84%). */
.page-home .hp-parallax { padding-bottom: 4.5rem; clip-path: polygon(0 0, 100% 16%, 100% 100%, 0 84%); } /* 11-21-2026 parallel top and bottom edges (slanted band). Was: polygon(0 16%, 100% 0, 100% 100%, 0 84%) (mirror, wide on one end) */ /* slants the opposite way to the hero; white shows below it */
/* 11-21-2026 was: Sandbox image-wrapper fixed attachment. Now .hp-fx-bg is an oversized layer (12% slack each side) that home-parallax.js translates down and to the right with the scroll. */
.page-home .hp-parallax { background: linear-gradient(115deg, #192034, #26396e); overflow: hidden; position: relative; }
.page-home .hp-parallax:before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(30,34,40,.5); } /* dark overlay for text legibility */
/* 11-21-2026 was top/left -12%, 124% x 124%: more room across than down, so the drift read as left to right. Now 25% extra above and below so the travel can be a true diagonal. */
.page-home .hp-fx-bg { position: absolute; top: -25%; left: -12%; width: 124%; height: 150%; z-index: 0; background-size: cover; background-position: center; background-repeat: no-repeat; will-change: transform; }
.page-home .hp-parallax > .container { position: relative; z-index: 2; }
.page-home .hp-parallax h2 { color: #fff; max-width: 760px; }
.page-home .hp-parallax p { max-width: 640px; color: #dfe5f3; }

/* 11-21-2026 more side padding on every .container of the homepage (header and footer included, they sit inside body.page-home). Theme gutter is 1.5rem = .75rem (12px) each side; now 2.5rem = 1.25rem (20px). To undo, delete this rule. */
.page-home .container { --bs-gutter-x: 2.5rem; }

/* 11-21-2026 sections below the hero sat off-centre: style.css gives every .container max-width calc(100vw - 3em) AND margin-left .1em (a leftover from the old page), so margin-right:auto soaked up all the spare width (left 1.6px, right about 46px). Centre them again. Hero left alone on purpose (Nick: hero is fine); navbar keeps its own margin from extra.css. To undo, delete this rule. */
.page-home .hp-wedge-gap ~ * .container, .page-home footer .container { margin-left: auto; margin-right: auto; }

/* 11-21-2026 "View sample driver transcripts" link under the records intro; scroll-margin keeps the "Shop with confidence" box clear of the fixed navbar when the link scrolls to it */
.page-home .hp-sample-link a { font-weight: 700; font-size: 1.05rem; }
.page-home #footer-banner { scroll-margin-top: 7rem; }
/* 11-21-2026 the #records jump (hero chips, See record types) landed with the heading under the fixed navbar because the section has little top padding; stop 7rem above it, same offset as #footer-banner. Raise or lower the number to taste. */
.page-home #records { scroll-margin-top: 7rem; }
/* 11-21-2026 #faq (menu link) sits at the top of the questions section; stop 4rem above it so the fixed navbar clears the heading. Tune the number. */
.page-home #faq { display: block; scroll-margin-top: 4rem; }
