/* FORD DIGITAL V2 / Premium White P2 — Scoped design system, 2026-11-04.
   Do not change vehicle configurator, Finance/Calculator or CMS data contracts.
   Shared: header, buttons, footer, contact widget. Homepage: all editorial sections.
*/
:root {
  --ctf-p2-ink: #101e30;
  --ctf-p2-subtle: #586f86;
  --ctf-p2-line: #e3eaf1;
  --ctf-p2-canvas: #f5f7fa;
  --ctf-p2-blue: #075bd8;
  --ctf-p2-radius: 20px;
  --ctf-p2-ease: cubic-bezier(.21,.7,.25,1);
}
/* Universal navigation and active states: same semantics as P1, no new routes. */
.ctf-site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--ctf-p2-line);box-shadow:none;}
.ctf-header-inner{height:80px;gap:23px;}
.ctf-brand{min-width:150px;}
.ctf-nav{gap:clamp(12px,1.48vw,23px);color:#243a51;font-weight:700;}
.ctf-nav>a{font-size:13px;}
.ctf-nav>a::after{bottom:21px;height:2px;}
.ctf-nav-vehicles-toggle{font-size:13px;}
.ctf-header-contact{border-radius:999px!important;min-height:43px;padding:0 20px;font-size:13px;box-shadow:none;}
.ctf-menu-toggle{border-radius:12px;}
.ctf-site-header :is(a,button):focus-visible,.ctf-footer a:focus-visible{outline:3px solid #3483fa;outline-offset:3px;}
.ctf-btn{border-radius:999px;min-height:46px;box-shadow:none;font-weight:760;}
.ctf-btn--primary{background:#075bd8;color:#fff;box-shadow:none;}
.ctf-btn--primary:hover{background:#0648ad;color:#fff;box-shadow:0 7px 17px rgba(7,91,216,.16);}
.ctf-btn--secondary{background:#fff;border-color:#c5d2e0;}
.ctf-btn:focus-visible{outline:3px solid #8bbcff;outline-offset:3px;}
/* Mega menu: quieter visual, retain hover bridge and click logic. */
.ctf-vehicle-mega{box-shadow:0 28px 56px rgba(10,36,68,.13);border:1px solid #e3eaf0;border-radius:0 0 22px 22px;}
.ctf-vehicle-mega__item{border-radius:16px;}
.ctf-vehicle-mega__item:hover{background:#f4f8fc;}
.ctf-vehicle-mega__art{background:#f2f6fa;border-radius:11px;}
/* Compact, single-purpose contact widget: no modal/fullscreen overlay. */
.ctf-contact-widget{gap:7px;right:21px;bottom:21px;}
.ctf-contact-fab{min-height:46px;border-radius:999px;background:#075bd8;border:0;padding:0 18px;font-size:12.5px;font-weight:750;box-shadow:0 6px 21px rgba(6,73,156,.17);}
.ctf-contact-fab:hover{transform:none;background:#064db9;box-shadow:0 8px 22px rgba(6,73,156,.18);}
.ctf-contact-panel{width:248px;padding:6px;gap:2px;border:1px solid #e4ebf2;border-radius:16px;box-shadow:0 16px 43px rgba(8,33,68,.12);}
.ctf-contact-quick-link{min-height:50px;padding:7px 8px;gap:10px;border-radius:10px;}
.ctf-contact-quick-icon{width:30px;height:30px;border-radius:9px;}
.ctf-contact-quick-copy strong{font-size:13px;}
.ctf-contact-quick-copy span{font-size:10px;}
/* Footer: White Premium style, all existing links unchanged. */
.ctf-footer{background:#f8fafc;border-top:1px solid var(--ctf-p2-line);color:var(--ctf-p2-ink);}
.ctf-footer p,.ctf-footer-links a{color:#50677e;}
.ctf-footer h4{color:#112940;}
.ctf-footer-bottom{border-top:1px solid #e4ebf0;color:#6f8090;}
/* Homepage only — editorial typography and spacing. */
.home{background:#fff;color:var(--ctf-p2-ink);}
.home .ctf-section{padding-block:clamp(76px,7.1vw,116px);}
.home .ctf-section--soft{background:#f5f7fa;}
.home .ctf-kicker{font-size:11px;color:#065dcc;font-weight:850;letter-spacing:.14em;margin-bottom:16px;}
.home .ctf-section-title{font-size:clamp(34px,3.85vw,54px);font-weight:800;letter-spacing:-.054em;line-height:1.12;max-width:900px;}
.home .ctf-subtitle{font-size:15px;line-height:1.75;color:var(--ctf-p2-subtle);max-width:630px;margin-top:16px;}
.home .ctf-section-head{gap:28px;margin-bottom:34px;}
/* Hero spotlight: all text ABOVE the visual. No overlay/solid covering vehicles. */
.home .ctf-campaign-hero{padding:0 0 20px;background:#fff;overflow:visible;}
.home .ctf-campaign-frame{border:0;border-radius:0;overflow:visible;box-shadow:none;background:#fff;}
.home .ctf-campaign-track{overflow:visible;}
.home .ctf-campaign-slide{display:flex;flex-direction:column;min-height:0;gap:0;}
.home .ctf-campaign-slide[hidden]{display:none!important;}
.home .ctf-campaign-copy{display:grid;align-content:center;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"eyebrow actions" "title actions" "summary actions";column-gap:30px;row-gap:0;min-height:318px;padding:45px clamp(8px,1.5vw,23px) 37px;background:#fff;border:0;order:0;}
.home .ctf-campaign-eyebrow{grid-area:eyebrow;margin:0 0 21px;font-size:10.5px;letter-spacing:.14em;}
.home .ctf-campaign-title{grid-area:title;max-width:820px;font-size:clamp(42px,5.1vw,70px);line-height:1.08;letter-spacing:-.065em;font-weight:840;}
.home .ctf-campaign-summary{grid-area:summary;max-width:690px;margin:15px 0 0;font-size:16px;line-height:1.65;}
.home .ctf-campaign-actions{grid-area:actions;align-self:center;justify-self:end;display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 0;}
.home .ctf-campaign-actions .ctf-btn{min-height:46px;padding-inline:19px;white-space:nowrap;}
.home .ctf-campaign-photo{order:1;height:clamp(395px,42vw,600px);min-height:0;aspect-ratio:auto;overflow:hidden;border-radius:22px 22px 0 0;background:#f0f4f7;}
.home .ctf-campaign-photo img{position:absolute;width:100%;height:100%;object-fit:cover;}
.home .ctf-campaign-controls{display:flex;min-height:67px;padding:10px 23px;background:#0d2b4a;color:#fff;border-radius:0 0 22px 22px;border:0;}
.home .ctf-campaign-counter strong{color:#fff;font-size:16px;}
.home .ctf-campaign-counter{color:#b1c6da;font-size:11px;}
.home .ctf-campaign-dot span{background:#516e8b;height:3px;}
.home .ctf-campaign-dot.is-active span{background:#fff;}
.home .ctf-campaign-control{height:39px;width:39px;border:1px solid #4e6781;background:transparent;color:#fff;border-radius:50%;box-shadow:none;}
.home .ctf-campaign-control:hover{background:#214465;border-color:#7b9bb9;transform:none;}
.home .ctf-campaign-control:focus-visible{outline:2px solid #fff;outline-offset:2px;}
/* Vehicle showcase: P1 horizontal discovery rail, preserving five prices and filters. */
.home .ctf-section--products{overflow:hidden;background:#fff;border:0;isolation:auto;}
.home .ctf-section--products::before{display:none;}
.home .ctf-section--products .ctf-section-head{align-items:flex-end;margin-bottom:30px;}
.home .ctf-section--products .ctf-section-title{font-size:clamp(36px,4vw,54px);}
.home .ctf-filter-pills{margin-top:20px;}
.home .ctf-pill{font-size:12px;min-height:38px;padding:8px 16px;transition:color .18s,background .18s;border-color .18s;}
.home .ctf-pill:focus-visible{outline:3px solid #8bbcff;outline-offset:2px;}
.ctf-premium-rail-actions{display:flex;align-items:center;gap:9px;flex:none;}
.ctf-premium-rail-caption{font-size:12px;color:#7890a5;margin-right:5px;}
.ctf-premium-round{height:39px;width:39px;display:grid;place-items:center;border:1px solid #cad8e6;border-radius:100%;color:#254765;background:#fff;padding:10px;}
.ctf-premium-round:hover{background:#eef5fd;border-color:#9dbbdd;}
.ctf-premium-round:disabled{opacity:.35;cursor:default;}
.ctf-premium-round svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
[data-ctf-rail-prev] svg{transform:rotate(180deg);}
.ctf-premium-rail-reset{padding:8px 0 8px 13px;color:#075bd8;font-size:12px;font-weight:730;white-space:nowrap;}
.ctf-premium-rail-reset:hover{text-decoration:underline;}
.home .ctf-section--products .ctf-vehicle-grid{display:flex;grid-template-columns:none;overflow-x:auto;overscroll-behavior-inline:contain;scroll-behavior:smooth;scroll-snap-type:x mandatory;gap:16px;align-items:stretch;scrollbar-width:none;padding:1px 2px 20px;}
.home .ctf-section--products .ctf-vehicle-grid::-webkit-scrollbar{display:none;}
.home .ctf-section--products .ctf-vehicle-card{flex:0 0 clamp(265px,24vw,310px);min-width:0;display:flex;flex-direction:column;scroll-snap-align:start;border:1px solid #dfe8ef;border-radius:21px;background:#fff;box-shadow:none;overflow:hidden;transform:none;}
.home .ctf-section--products .ctf-vehicle-card[hidden]{display:none!important;}
.home .ctf-section--products .ctf-vehicle-card__art{height:236px;min-height:236px;background:linear-gradient(180deg,#f5f8fb,#e9f2f8);padding:25px 12px 8px;}
.home .ctf-section--products .ctf-vehicle-card__art::before{background:rgba(23,56,87,.13);}
.home .ctf-section--products .ctf-vehicle-card__index{color:#527188;font-size:10px;top:17px;left:18px;}
.home .ctf-section--products .ctf-vehicle-card__body{padding:23px 21px 20px;display:flex;flex:1;flex-direction:column;}
.home .ctf-section--products .ctf-vehicle-card__eyebrow{min-height:0;font-size:10px;letter-spacing:.1em;}
.home .ctf-section--products .ctf-vehicle-card h3{font-size:24px;line-height:1.23;letter-spacing:-.052em;min-height:0;margin:12px 0 9px;}
.home .ctf-section--products .ctf-vehicle-card p{min-height:56px;font-size:13px;line-height:1.65;overflow:visible;}
.home .ctf-section--products .ctf-vehicle-price{padding-top:10px;margin-top:0;}
.home .ctf-section--products .ctf-vehicle-price strong{font-size:22px;}
.home .ctf-section--products .ctf-card-link{margin-top:17px;border:0;border-top:1px solid #e9edf2;border-radius:0;padding:12px 0 0;min-height:43px;background:none;color:#075bd8;}
.home .ctf-section--products .ctf-card-link svg{border-radius:50%;height:31px;width:31px;padding:7px;background:#edf4fb;color:#075bd8;}
@media(hover:hover) and (pointer:fine){
  .home .ctf-section--products .ctf-vehicle-card:hover{transform:none;border-color:#a3c3e8;box-shadow:0 13px 24px rgba(9,43,82,.07);}
  .home .ctf-section--products .ctf-vehicle-card:hover .ctf-card-link{background:none;color:#075bd8;border-color:#dce7f2;}
  .home .ctf-section--products .ctf-vehicle-card:hover .ctf-card-link svg{background:#075bd8;color:#fff;}
  .home .ctf-section--products .ctf-vehicle-card:hover .ctf-vehicle-card__art img{transform:scale(calc(var(--ctf-home-car-scale,1) * 1.03));}
}
.ctf-premium-rail-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:8px;color:#92a5b5;font-size:11px;}
.ctf-premium-rail-track{height:3px;width:250px;background:#e4eaf1;display:block;border-radius:5px;overflow:hidden;}
.ctf-premium-rail-track>span{display:block;width:22%;height:100%;background:#075bd8;border-radius:5px;transition:width .25s ease;}
/* Promotions: use different visual role from vehicle cards. */
.home #offers{background:#f6f8fa;}
.home .ctf-promo-grid{gap:17px;grid-template-columns:1.25fr .95fr;}
.home .ctf-promo-card{min-height:405px;border:0;border-radius:23px;box-shadow:none;}
.home .ctf-promo-card--vehicle{background:#e9f2fa;}
.home .ctf-promo-card--service{background:#e9eef2;}
.home .ctf-promo-copy{padding:36px 32px;max-width:none;}
.home .ctf-promo-card--service .ctf-promo-copy{max-width:none;padding:30px 26px;}
.home .ctf-promo-card h3{font-size:clamp(24px,2.25vw,31px);line-height:1.15;font-weight:790;letter-spacing:-.054em;}
.home .ctf-promo-card p{font-size:13px;line-height:1.68;}
.home .ctf-promo-media{background-size:cover;}
/* Services: intentionally not four identical bordered cards. */
.home #services .ctf-service-layout{grid-template-columns:1fr 1.05fr;gap:19px;}
.home #services .ctf-service-photo{min-height:530px;border-radius:22px;}
.home #services .ctf-card-grid--service{gap:0;display:flex;flex-direction:column;border-radius:22px;background:#f6f8fa;padding:15px 31px;}
.home #services .ctf-info-card{border:0;border-bottom:1px solid #dce6ef;border-radius:0;background:transparent;box-shadow:none;padding:22px 6px;min-height:0;transform:none;}
.home #services .ctf-info-card:last-of-type{border-bottom:0;}
.home #services .ctf-info-card__meta{margin-bottom:9px;}
.home #services .ctf-info-icon{width:40px;height:40px;border-radius:11px;background:#edf4fc;border:0;}
.home #services .ctf-info-icon svg{width:22px;height:22px;}
.home #services .ctf-info-card h3{font-size:22px;font-weight:770;letter-spacing:-.044em;}
.home #services .ctf-info-card p{font-size:13px;}
.home #services .ctf-info-card .ctf-inline-link{margin-top:9px;padding-top:0;}
.home #services .ctf-service-view-all{align-self:flex-start;margin-top:auto;font-size:13px;font-weight:740;padding:17px 6px 12px;}
/* Dealer and accessories: light, spacious, with content-led image focus. */
.home #about .ctf-split{gap:clamp(38px,6vw,82px);}
.home #about .ctf-photo-panel{min-height:465px;border:0;box-shadow:none;border-radius:22px;}
.home #about .ctf-stat strong{font-size:24px;}
.home #accessories .ctf-home-accessory-card{box-shadow:none;border-radius:20px;overflow:hidden;}
.home #news .ctf-news-card{box-shadow:none;border-radius:20px;}
.home #news .ctf-news-body h3{font-size:17px;}
/* Breakpoints: mobile intentionally retains horizontal rail and full-size photos. */
@media(max-width:1160px){
  .ctf-header-tools{margin-left:auto;}
  .ctf-header-inner{gap:16px;}
  .home .ctf-campaign-copy{grid-template-columns:1fr;grid-template-areas:"eyebrow" "title" "summary" "actions";min-height:0;padding:40px 12px 34px;}
  .home .ctf-campaign-actions{justify-self:start;margin-top:24px;}
  .home .ctf-campaign-photo{height:clamp(350px,43vw,520px);}
  .home .ctf-promo-copy{max-width:none;}
  .home #services .ctf-service-layout{grid-template-columns:1fr 1fr;}
}
@media(max-width:860px){
  .home .ctf-section{padding-block:75px;}
  .home .ctf-section-head{align-items:flex-start;}
  .ctf-premium-rail-actions{align-self:flex-end;}
  .ctf-premium-rail-caption{display:none;}
  .home .ctf-promo-grid{grid-template-columns:1fr;}
  .home .ctf-promo-card{min-height:350px;}
  .home #services .ctf-service-layout{grid-template-columns:1fr;}
  .home #services .ctf-service-photo{min-height:420px;}
  .home #services .ctf-card-grid--service{padding:18px 25px;}
}
@media(max-width:650px){
  .ctf-header-inner{height:69px;}
  .ctf-contact-widget{right:12px;bottom:max(12px, env(safe-area-inset-bottom));}
  .home .ctf-campaign-hero{padding-top:0;}
  .home .ctf-campaign-frame{border-radius:0;}
  .home .ctf-campaign-copy{padding:38px 5px 25px;display:flex;flex-direction:column;align-items:flex-start;}
  .home .ctf-campaign-eyebrow{margin-bottom:13px;font-size:10px;}
  .home .ctf-campaign-title{font-size:clamp(35px,9.2vw,48px);letter-spacing:-.061em;line-height:1.1;max-width:100%;}
  .home .ctf-campaign-summary{margin-top:14px;font-size:13.5px;line-height:1.69;}
  .home .ctf-campaign-actions{margin-top:19px;gap:8px;}
  .home .ctf-campaign-actions .ctf-btn{min-height:43px;padding-inline:14px;font-size:11.5px;}
  .home .ctf-campaign-photo{min-height:0;height:275px;aspect-ratio:auto;border-radius:16px 16px 0 0;}
  .home .ctf-campaign-controls{padding:9px 13px;min-height:59px;border-radius:0 0 16px 16px;}
  .home .ctf-campaign-counter{display:none;}
  .home .ctf-campaign-control{height:34px;width:34px;}
  .home .ctf-campaign-progress-wrap{gap:8px;}
  .home .ctf-campaign-dot{min-width:32px;min-height:34px;}
  .home .ctf-campaign-dot span{width:27px;}
  .home .ctf-campaign-dot.is-active span{width:35px;}
  .home .ctf-section{padding-block:72px;}
  .home .ctf-section-head{display:block;margin-bottom:22px;}
  .home .ctf-section-title,.home .ctf-section--products .ctf-section-title{font-size:clamp(33px,9vw,42px);}
  .home .ctf-subtitle{font-size:13.5px;line-height:1.68;}
  .ctf-premium-rail-actions{justify-content:flex-end;margin-top:14px;gap:7px;}
  .ctf-premium-round{width:35px;height:35px;padding:9px;}
  .ctf-premium-rail-track{width:120px;}
  .home .ctf-filter-pills{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;margin-top:17px;scrollbar-width:none;}
  .home .ctf-filter-pills::-webkit-scrollbar{display:none;}
  .home .ctf-pill{white-space:nowrap;flex:none;font-size:11px;min-height:36px;}
  .home .ctf-section--products .ctf-vehicle-card{flex-basis:274px;}
  .home .ctf-section--products .ctf-vehicle-card__art{height:212px;min-height:212px;}
  .home .ctf-section--products .ctf-vehicle-card h3{font-size:22px;}
  .home .ctf-section--products .ctf-vehicle-card p{font-size:13px;min-height:58px;}
  .home .ctf-promo-card{min-height:340px;}
  .home .ctf-promo-copy,.home .ctf-promo-card--service .ctf-promo-copy{padding:28px 23px;max-width:none;}
  .home .ctf-promo-card h3{font-size:26px;}
  .home .ctf-promo-card p{font-size:12px;}
  .home #services .ctf-service-photo{min-height:335px;}
  .home #services .ctf-card-grid--service{padding:12px 17px;}
  .home #services .ctf-info-card{padding:19px 2px;}
  .home #services .ctf-info-card h3{font-size:19px;}
}
@media(prefers-reduced-motion:reduce){
  .home .ctf-section--products .ctf-vehicle-grid{scroll-behavior:auto;}
  .ctf-premium-rail-track>span,.ctf-contact-fab{transition:none!important;}
}
