/* =====================================================================
   Exotic Car Trends: shared site stylesheet (design refresh, approved by Darren Oct 18 2026)
   Source of truth: car-trends-overview/assets_src/site.css. Builders emit markup only;
   colours and fonts live here as --ect-* tokens. Published by publish_site_assets.sh
   (/assets/site.css, max-age=300; /assets/fonts/*.woff2, 1 year, immutable).
   Linked into pages by site_css.py (idempotent); gated by assets_src/SITE_CSS_LIVE.
   Fonts: Newsreader + Inter, SIL OFL 1.1 (licences in /assets/fonts/OFL-*.txt).
   ===================================================================== */
@font-face{font-family:"ECT Serif";src:url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"ECT Serif";src:url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2");font-weight:200 800;font-style:italic;font-display:swap}
@font-face{font-family:"ECT Sans";src:url("fonts/inter-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
/* Legacy family names still hard-coded in older templates (model/guide pages, hypercar pages): with Google Fonts removed,
   map them to the self-hosted faces so they render Inter / Newsreader instead of falling back to system fonts. */
@font-face{font-family:"Inter";src:url("fonts/inter-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Newsreader";src:url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}

:root{
  /* --- core tokens (new) --- */
  --ect-bg:#F7F4EF;          /* warm ivory page */
  --ect-surface:#FFFDF9;     /* cards */
  --ect-surface-2:#F1ECE3;   /* sunken: table heads, chips */
  --ect-ink:#1F1D1A;         /* warm near-black text */
  --ect-ink-2:#3B3631;       /* secondary text on light */
  --ect-muted:#6B635A;       /* meta text (AA on ivory) */
  --ect-line:#E5DED3;        /* hairlines */
  --ect-line-2:#D6CBBB;      /* hover / emphasis hairline */
  --ect-bronze:#A47A4A;      /* primary accent: buttons, rules */
  --ect-bronze-ink:#7E5A2E;  /* bronze for small text/links (AA) */
  --ect-bronze-btn:#93693A;   /* button fill: white text 4.86:1 (AA) */
  --ect-bronze-hover:#7A5630; /* 6.56:1 */
  --ect-bronze-soft:#F0E6D7; /* tint backgrounds */
  --ect-nav:#1C1B19;         /* top bar / footer logo plate */
  --ect-up:#35745C;          /* forest */
  --ect-down:#AD514B;        /* brick */
  --ect-up-soft:rgba(53,116,92,.10);
  --ect-down-soft:rgba(173,81,75,.10);
  --ect-radius:10px; --ect-radius-sm:6px; --ect-radius-pill:999px;
  --ect-shadow-1:0 1px 2px rgba(31,29,26,.04),0 1px 1px rgba(31,29,26,.03);
  --ect-shadow-2:0 6px 18px -8px rgba(31,29,26,.18);
  --ect-focus:0 0 0 2px var(--ect-bg),0 0 0 4px var(--ect-bronze);
  --ect-serif:"ECT Serif","Newsreader",Georgia,"Times New Roman",serif;
  --ect-sans:"ECT Sans","Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ect-mono:var(--ect-sans); /* data uses sans + tabular figures, not monospace */

  /* --- legacy aliases: existing --ct-* names now point at the new tokens --- */
  --ct-ivory:var(--ect-bg); --ct-ivory-2:var(--ect-surface-2);
  --ct-ink:var(--ect-ink); --ct-navy:var(--ect-ink); --ct-navy-2:#2A2724;
  --ct-charcoal:var(--ect-ink-2); --ct-muted:var(--ect-muted); --ct-line:var(--ect-line);
  --ct-coral:var(--ect-bronze-ink); --ct-coral-soft:#D9BC94; --ct-brand:var(--ect-bronze);
  --ct-cyan:#8A9A8C; --ct-cyan-bright:#8A9A8C; --ct-sunset:var(--ect-bronze);
  --ct-up:var(--ect-up); --ct-down:var(--ect-down);
  --ct-dark:var(--ect-nav); --ct-dark-2:#2A2724; --ct-card:var(--ect-surface);
  --ct-motif:linear-gradient(90deg,var(--ect-bronze),var(--ect-bronze));
  --mono:var(--ect-sans); --font:var(--ect-sans);
}

/* ---------- base ---------- */
body.ct-home-editorial,body.ct-brand-editorial{background:var(--ect-bg);color:var(--ect-ink);font-family:var(--ect-sans);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.ct-home-editorial a{color:var(--ect-bronze-ink)}
body.ct-home-editorial a:hover{color:var(--ect-bronze-hover)}
:focus-visible{outline:none;box-shadow:var(--ect-focus);border-radius:4px}

/* ---------- global nav ---------- */
.ct-global-nav{background:rgba(28,27,25,.97)!important;box-shadow:none!important;border-bottom:1px solid rgba(255,255,255,.06)}
.ct-global-nav .ct-nav-link{font-weight:500;letter-spacing:.01em;color:rgba(247,244,239,.78)}
.ct-global-nav .ct-nav-link:hover{color:#fff}
.ct-global-nav .ct-nav-link.active{box-shadow:inset 0 -2px 0 var(--ect-bronze)}

/* ---------- hero ---------- */
.ct-ed-hero .ct-kicker{color:#E2C9A4;font-weight:600;letter-spacing:.18em}
.ct-ed-hero h1{font-family:var(--ect-serif);font-weight:400;font-optical-sizing:auto;letter-spacing:.01em;line-height:1.02;
  font-size:clamp(2rem,4.4vw,2.9rem)}
.ct-ed-hero h1 .thin{font-weight:400;opacity:1;letter-spacing:.01em}
.ct-ed-hero h1 .ct-brand-bar{background:var(--ect-bronze);width:3px}
.ct-ed-hero .ct-tagline{color:#E6E0D6}
.ct-ed-hero .ct-hero-rule,.ct-brand-hero .ct-hero-rule,.ct-brand-hero .ct-motif-rule{height:1px;background:rgba(164,122,74,.85)}

/* ---------- section nav (on-page tabs) ---------- */
.ct-section-nav{background:var(--ect-bg)!important;border-top:0;border-image:none;box-shadow:0 1px 0 var(--ect-line)}
.ct-section-nav a{color:var(--ect-ink-2);font-weight:600;letter-spacing:.08em}
.ct-section-nav a.active{color:var(--ect-ink);box-shadow:inset 0 -2px 0 var(--ect-bronze)}

/* ---------- section heads ---------- */
.ct-ed-eyebrow,.ct-brief-takes-label,.ct-takes-featured-eyebrow,.ct-home-news .lbl,.ct-page-section>.ct-sec-head .ct-ed-eyebrow{
  color:var(--ect-bronze-ink)!important;font-weight:650;letter-spacing:.16em}
.ct-ed-title{font-family:var(--ect-serif);font-weight:500;font-optical-sizing:auto;letter-spacing:-.005em;color:var(--ect-ink);
  font-size:clamp(1.6rem,2.8vw,2.1rem);line-height:1.12}
.ct-ed-head .ct-ed-title::after{background:var(--ect-bronze);width:40px;height:1px;margin-top:12px}
.ct-ed-link,.ct-brief-takes-all,.ct-auc-all a{color:var(--ect-bronze-ink)!important;font-weight:600}
.ct-ed-sec + .ct-ed-sec{border-top-color:var(--ect-line)}

/* ---------- market brief ---------- */
.ct-brief-copy .ct-ed-title{font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.1}
.ct-brief-copy>p{color:var(--ect-ink-2);line-height:1.65}
.ct-brief-copy>p strong{color:var(--ect-ink);font-weight:650}
.ct-brief-metric{background:var(--ect-surface);border:1px solid var(--ect-line);border-radius:var(--ect-radius);box-shadow:var(--ect-shadow-1)}
.ct-brief-metric .ico{color:var(--ect-bronze);opacity:1}
.ct-brief-metric .val{font-family:var(--ect-sans);font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums lining-nums}
.ct-brief-metric .lbl{color:var(--ect-muted);font-weight:600;letter-spacing:.12em}

/* ---------- takes ---------- */
.ct-brief-takes{border-top-color:var(--ect-line)}
.ct-takes-home-card{background:var(--ect-surface);border-color:var(--ect-line);border-radius:var(--ect-radius);box-shadow:var(--ect-shadow-1)}
.ct-takes-home-card h3{font-family:var(--ect-serif);font-weight:500;letter-spacing:0;line-height:1.22;font-size:1rem}
.ct-takes-home-card.featured h3{font-size:clamp(1.35rem,2.2vw,1.65rem);font-weight:500;line-height:1.15}
.ct-takes-home-card h3 a{color:var(--ect-ink)}
.ct-takes-home-card h3 a:hover{color:var(--ect-bronze-ink);text-decoration:none}
.ct-takes-home-card p{color:var(--ect-ink-2)}
.ct-takes-home-meta{color:var(--ect-muted);opacity:1;letter-spacing:.06em;text-transform:uppercase;font-size:.66rem;font-weight:600}
.ct-takes-home-more{color:var(--ect-bronze-ink)!important}
.ct-takes-home-media{border-color:var(--ect-line);background:#2A2724;border-radius:var(--ect-radius-sm)}

/* ---------- news strip ---------- */
.ct-home-news{border-top-color:var(--ect-line)!important}
.ct-home-news .im{border-color:var(--ect-line)!important;border-radius:var(--ect-radius-sm)!important;background:var(--ect-surface-2)!important}
.ct-home-news .d{color:var(--ect-muted)!important;letter-spacing:.04em;text-transform:uppercase;font-size:.68rem;font-weight:600}
.ct-home-news li a{color:var(--ect-ink)!important;font-weight:600}
.ct-home-news li a:hover{color:var(--ect-bronze-ink)!important;text-decoration:none!important}

/* ---------- brand cards ---------- */
.ct-brand-explore-card{background:var(--ect-surface);border-color:var(--ect-line);border-radius:var(--ect-radius);box-shadow:var(--ect-shadow-1);transition:box-shadow .2s,border-color .2s}
.ct-brand-explore-card:hover{border-color:var(--ect-line-2);box-shadow:var(--ect-shadow-2)}
.ct-brand-explore-card .hdr.hdr-photo{background:var(--ect-surface)}
.ct-brand-explore-card .hdr.hdr-photo::after{background:linear-gradient(to top,rgba(255,253,249,.92),transparent)}
.ct-brand-explore-card .name{font-family:var(--ect-serif);font-weight:500;font-size:1.3rem;letter-spacing:0}
.ct-brand-explore-card .metric{color:var(--ect-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.66rem;font-weight:600}
.ct-brand-explore-card .obs{color:var(--ect-ink-2)}
.ct-brand-explore-card .cta,.ct-ed-btn{background:var(--ect-bronze-btn);border-radius:var(--ect-radius-sm);font-weight:600;letter-spacing:.02em;text-transform:none}
.ct-brand-explore-card .cta:hover,.ct-ed-btn:hover{background:var(--ect-bronze-hover);transform:none}

/* ---------- insights ---------- */
.ct-insight-card{background:var(--ect-surface);border-color:var(--ect-line);border-radius:var(--ect-radius);box-shadow:var(--ect-shadow-1)}
.ct-insight-card .ico{color:var(--ect-bronze-ink);letter-spacing:.14em}
.ct-insight-card h3{font-family:var(--ect-serif);font-weight:500;font-size:1.22rem;line-height:1.2;letter-spacing:0}
.ct-insight-card p{color:var(--ect-ink-2)}
.ct-insight-card a{color:var(--ect-bronze-ink)}

/* ---------- auction rows ---------- */
.ct-auc-strip-card{background:var(--ect-surface);border-color:var(--ect-line);border-radius:var(--ect-radius);box-shadow:var(--ect-shadow-1)}
.ct-auc-strip-card:hover{border-color:var(--ect-line-2);background:#fff}
.ct-auc-strip-card .title{color:var(--ect-ink);font-weight:600}
.ct-auc-strip-card .bid{font-family:var(--ect-sans);font-weight:650;font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.01em}
.ct-auc-strip-card .ends{color:var(--ect-down)}
.ct-auc-strip-card .sub{color:var(--ect-muted)}
.ct-auc-strip-card .lot-badges .badge{border-color:var(--ect-line);color:var(--ect-muted);font-weight:600}
.ct-auc-strip-card .lot-badges .badge.soon{background:var(--ect-down-soft);color:var(--ect-down);border-color:rgba(173,81,75,.28)}
.ct-auc-strip-card .lot-badges .badge.nr{background:var(--ect-up-soft);color:var(--ect-up);border-color:rgba(53,116,92,.28)}

/* ---------- movement / deltas ---------- */
.delta.up,.pct-support.up,.ct-chip.up,.ct-up{color:var(--ect-up)!important}
.delta.down,.pct-support.down,.ct-chip.down,.ct-dn{color:var(--ect-down)!important}

/* ---------- footer ---------- */
.ct-site-foot{border-top-color:var(--ect-line)}
.ct-site-foot .ct-footer-logo{background:var(--ect-nav);border-radius:var(--ect-radius-sm);opacity:1}
.ct-site-foot-by{font-family:var(--ect-serif);font-size:1rem!important;color:var(--ect-ink-2)!important}
.ct-site-foot-links a{color:var(--ect-ink-2)!important;font-weight:500}
.ct-site-foot-links a:hover{color:var(--ect-bronze-ink)!important}

/* ---------- image treatment (no filters on car photos; just consistent radius + hairline) ---------- */
.ct-takes-home-media img,.ct-home-news .im img{transition:transform .4s ease}
.ct-takes-home-card:hover .ct-takes-home-media img,.ct-home-news li:hover .im img{transform:scale(1.02)}


/* ---------- pink removal: remaining hard-coded accents (Darren: pink only in the logo mark) ---------- */
.ct-ed-sec.dark .ct-ed-eyebrow,.ct-page-section.ct-sec-dark>.ct-sec-head .ct-ed-eyebrow{color:#D9BC94!important}
.ct-insight .ct-text-link{color:#D9BC94}
.ct-insight-legend .spider::before{background:var(--ect-bronze)}
.ct-insight-legend .coupe::before{background:#8A9A8C}
.ct-insight h3{font-family:var(--ect-serif);font-weight:500}
body.ct-home-editorial .btn{color:var(--ect-bronze-ink);background:var(--ect-surface);border-color:var(--ect-line)}

/* ---------- per-brand accents dropped from the UI (Darren Oct 18): colour lives in photography ---------- */
body.ct-brand-ferrari,body.ct-brand-mclaren,body.ct-brand-lamborghini,body.ct-brand-ford,body.ct-brand-porsche,
body.ct-brand-editorial,body.ct-por-model,body.ct-seo-page,body.ct-news-page,body.ct-takes-page,body.ct-auctions-page{
  --ct-brand:var(--ect-bronze);--ct-coral:var(--ect-bronze-ink);--ct-ink:var(--ect-ink);--ct-muted:var(--ect-muted);--ct-line:var(--ect-line);
  --ct-up:var(--ect-up);--ct-down:var(--ect-down);--link:var(--ect-bronze-ink);--accent:var(--ect-bronze)}
body.ct-brand-editorial a{color:var(--ect-bronze-ink)}
body.ct-brand-editorial .ct-chip.up{color:var(--ect-up);background:var(--ect-up-soft);border-color:rgba(53,116,92,.28)}
body.ct-brand-editorial .ct-chip.down{color:var(--ect-down);background:var(--ect-down-soft);border-color:rgba(173,81,75,.28)}
body.ct-brand-editorial .live-auctions .la-flag.soon{color:var(--ect-down);border-color:rgba(173,81,75,.3);background:var(--ect-down-soft)}
body.ct-brand-editorial .live-auctions .la-flag.nr{color:var(--ect-up);border-color:rgba(53,116,92,.3);background:var(--ect-up-soft)}

/* ---------- email alerts (/assets/alerts.css overrides; html-prefixed so order vs alerts.css never matters) ---------- */
/* buttons follow the site button system */
html .ect-alerts .ect-submit,html .ect-ann-go{background:var(--ect-bronze-btn);border-radius:var(--ect-radius-sm);color:#fff}
html .ect-alerts .ect-submit:hover,html .ect-ann-go:hover{background:var(--ect-bronze-hover)}
html .ect-alerts .ect-submit:focus-visible,html .ect-ann-go:focus-visible{outline:none;box-shadow:var(--ect-focus)}
html .ect-ann input.ect-ann-email,html .ect-alerts .ect-field{border-radius:var(--ect-radius-sm);border-color:var(--ect-line-2)}
/* slide-up card: gold "New" pill + red title become bronze */
html .ect-ann{background:var(--ect-surface);border-color:var(--ect-line);color:var(--ect-ink);box-shadow:0 12px 32px rgba(31,29,26,.16)}
html .ect-ann .ect-ann-new{background:var(--ect-bronze-soft);border-color:rgba(164,122,74,.45);color:var(--ect-bronze-ink)}
html .ect-ann .ect-ann-t{color:var(--ect-bronze-ink);font-family:var(--ect-serif);font-weight:600}
html .ect-alerts.ect-panel{background:var(--ect-surface);border-color:var(--ect-line);color:var(--ect-ink-2)}
html .ect-p-t{font-family:var(--ect-serif);font-weight:600;color:var(--ect-ink)}
html .ect-act{color:var(--ect-ink-2)}html .ect-act:hover{color:var(--ect-ink);background:var(--ect-surface-2)}
html .ect-on .ect-dot{background:var(--ect-up)}
/* brand-hero "Get market alerts" stays a solid white pill (Darren); only the text warms */
html .ect-brand-act,html .ect-brand-slot .ect-on{color:var(--ect-ink)}
html .ect-brand-act .ect-bell{color:var(--ect-ink)}

/* ---------- hero treatment v2 (Darren's mockup, Oct 18 2026): bronze date line + rule, serif title, warm soft wash ----------
   Per-image crop comes from inline custom properties on the hero <img>: --ect-pos (desktop) and --ect-pos-m (<=640px). */
html .ct-ed-hero,html .ct-brand-hero{min-height:420px;background-color:var(--ect-nav)}
html .ct-ed-hero .ct-ed-hero-photo,html .ct-brand-hero .ct-brand-hero-photo{object-position:var(--ect-pos,72% center)}
html .ct-ed-hero .ct-ed-hero-wash,html .ct-brand-hero .ct-brand-hero-wash{background:
  linear-gradient(90deg,rgba(22,20,17,.86) 0%,rgba(22,20,17,.72) 26%,rgba(22,20,17,.40) 50%,rgba(22,20,17,.10) 68%,rgba(22,20,17,0) 82%),
  linear-gradient(0deg,rgba(22,20,17,.30) 0%,rgba(22,20,17,0) 35%)}
html .ct-ed-hero .ct-ed-inner,html .ct-brand-hero .ct-ed-inner{padding-left:clamp(28px,5vw,72px)}
html .ct-ed-hero .ct-ed-hero-copy,html .ct-brand-hero .ct-ed-hero-copy{border-left:1px solid rgba(164,122,74,.9);padding:6px 0 6px 28px}
html .ct-ed-hero .ct-ed-hero-copy{max-width:48rem}
html .ct-brand-hero .ct-ed-hero-copy{max-width:min(40rem,100%)}
html .ct-ed-hero .ct-kicker,html .ct-brand-hero .eyebrow{font-family:var(--ect-sans);color:#E2C9A4;font-weight:500;letter-spacing:.2em;font-size:.74rem;margin:0 0 14px;text-shadow:0 1px 8px rgba(0,0,0,.55)}
html .ct-ed-hero h1,html .ct-brand-hero h1{font-family:var(--ect-serif);font-weight:340;font-optical-sizing:auto;font-size:clamp(2.3rem,4.3vw,3.45rem);
  letter-spacing:.025em;line-height:1;color:#F7F4EF;white-space:nowrap;text-shadow:0 1px 18px rgba(0,0,0,.28)}
html .ct-ed-hero h1 .thin,html .ct-brand-hero h1 .thin{font-weight:340;opacity:1;letter-spacing:.025em}
html .ct-ed-hero h1 .ct-brand-bar,html .ct-brand-hero h1 .ct-brand-bar{display:none}
html .ct-ed-hero .ct-tagline,html .ct-brand-hero .sub{color:#EAE4DA;font-size:1.04rem;margin-top:16px;max-width:32rem;text-shadow:0 1px 10px rgba(0,0,0,.35)}
@media (max-width:640px){
  html .ct-ed-hero,html .ct-brand-hero{min-height:300px}
  html .ct-ed-hero .ct-ed-hero-photo,html .ct-brand-hero .ct-brand-hero-photo{object-position:var(--ect-pos-m,var(--ect-pos,78% center))}
  html .ct-ed-hero .ct-ed-hero-wash,html .ct-brand-hero .ct-brand-hero-wash{background:
    linear-gradient(90deg,rgba(22,20,17,.84) 0%,rgba(22,20,17,.68) 60%,rgba(22,20,17,.42) 100%),
    linear-gradient(0deg,rgba(22,20,17,.35) 0%,rgba(22,20,17,0) 40%)}
  html .ct-ed-hero .ct-ed-inner,html .ct-brand-hero .ct-ed-inner{padding-left:20px;padding-right:16px}
  html .ct-ed-hero .ct-ed-hero-copy,html .ct-brand-hero .ct-ed-hero-copy{padding-left:16px}
  html .ct-ed-hero h1,html .ct-brand-hero h1{font-size:2.05rem;white-space:normal}
}
/* brand pages with the pulse stats: on phones the copy is ~480px tall and would bury the car, so the photo
   becomes a 220px band on top (crop via --ect-pos-m) and the copy sits below it on the dark plate. */
@media (max-width:640px){
  html .ct-brand-hero:has(.ct-hero-pulse){display:flex;flex-direction:column;min-height:0}
  html .ct-brand-hero:has(.ct-hero-pulse) picture{display:block}
  html .ct-brand-hero:has(.ct-hero-pulse) .ct-brand-hero-photo{position:relative;inset:auto;height:220px}
  html .ct-brand-hero:has(.ct-hero-pulse) .ct-brand-hero-wash{inset:0 0 auto 0;height:220px;
    background:linear-gradient(180deg,rgba(22,20,17,0) 50%,rgba(22,20,17,.65) 82%,var(--ect-nav) 100%)}
  html .ct-brand-hero:has(.ct-hero-pulse) .ct-ed-inner{min-height:0;padding-top:6px;padding-bottom:30px}
}

/* Header logo ~10% smaller (Darren, Oct 18 2026). Same logo file and markup; height scales, width follows the
   image ratio (height:auto-width), so it stays proportional. Specificity beats the inline nav <style> rules
   (36.5px/216px desktop, 30px/167px at <=720px). The logo link is a flex item with align-items:center, so it stays
   vertically centered in the 56px nav. Footer logo (.ct-footer-logo) is a separate rule and is unchanged. */
html body .ct-global-nav .ct-nav-logo img{height:32.85px;width:auto;max-width:194px}
@media (max-width:720px){
  html body .ct-global-nav .ct-nav-logo img{height:27px;width:auto;max-width:150px}
}

/* ---------- hero treatment v2 on the SEO-template hubs (.v2-hero.ect-hero-v2, added by site_css.py on /hypercars/ only), Oct 18 2026 ----------
   Same look as .ct-ed-hero: warm wash, bronze rule on the copy, sand eyebrow (breadcrumb), serif title.
   Crop via --ect-pos / --ect-pos-m on the hero <img>. Multi-car lineups: copy column kept narrow so the
   centre cars read beside it; on phones the photo becomes a 220px band with the copy below. */
html .v2-hero.ect-hero-v2{background:var(--ect-nav);min-height:420px;display:flex;align-items:center}
html .v2-hero.ect-hero-v2 .v2-hero-bg{object-position:var(--ect-pos,50% center)}
html .v2-hero.ect-hero-v2 .v2-hero-wash{background:
  linear-gradient(90deg,rgba(22,20,17,.90) 0%,rgba(22,20,17,.80) 24%,rgba(22,20,17,.46) 34%,rgba(22,20,17,.10) 43%,rgba(22,20,17,0) 52%),
  linear-gradient(180deg,rgba(22,20,17,.30) 0%,rgba(22,20,17,0) 38%),
  linear-gradient(0deg,rgba(22,20,17,.30) 0%,rgba(22,20,17,0) 35%)}
html .v2-hero.ect-hero-v2 .v2-hero-in{width:100%;box-sizing:border-box;padding:34px 24px 34px clamp(20px,2.4vw,30px)}
html .v2-hero.ect-hero-v2 .v2-hero-in>div{max-width:min(22.5rem,100%);box-sizing:border-box;border-left:1px solid rgba(164,122,74,.9);padding:6px 0 6px 20px}
html .v2-hero.ect-hero-v2 .v2-crumb{font-family:var(--ect-sans);color:#E2C9A4;font-weight:500;letter-spacing:.16em;font-size:.7rem;margin:0 0 14px;text-shadow:0 1px 8px rgba(0,0,0,.55)}
html .v2-hero.ect-hero-v2 .v2-crumb a,html .v2-hero.ect-hero-v2 .v2-crumb span{color:#E2C9A4}
html .v2-hero.ect-hero-v2 h1{font-family:var(--ect-serif);font-weight:340;font-optical-sizing:auto;font-size:clamp(2.1rem,3.2vw,2.5rem);letter-spacing:.015em;
  line-height:1.04;color:#F7F4EF !important;border-left:0;padding-left:0;text-shadow:0 1px 18px rgba(0,0,0,.35)}
html .v2-hero.ect-hero-v2 p.v2-sub{color:#EAE4DA;font-size:.92rem;line-height:1.5;margin-top:14px;max-width:none;text-shadow:0 1px 10px rgba(0,0,0,.45)}
html .v2-hero.ect-hero-v2 .hc-sub2{color:#CFC6B8;font-size:.82rem;margin:12px 0 0;text-shadow:0 1px 8px rgba(0,0,0,.5)}
@media (max-width:640px){
  html .v2-hero.ect-hero-v2{display:flex;flex-direction:column;align-items:stretch;min-height:0}
  html .v2-hero.ect-hero-v2 picture{display:block}
  html .v2-hero.ect-hero-v2 .v2-hero-bg{position:relative;inset:auto;height:220px;object-position:var(--ect-pos-m,var(--ect-pos,50% center))}
  html .v2-hero.ect-hero-v2 .v2-hero-wash{inset:0 0 auto 0;height:220px;
    background:linear-gradient(180deg,rgba(22,20,17,0) 50%,rgba(22,20,17,.65) 82%,var(--ect-nav) 100%)}
  html .v2-hero.ect-hero-v2 .v2-hero-in{min-height:0 !important;padding:6px 16px 30px 20px}
  html .v2-hero.ect-hero-v2 .v2-hero-in>div{max-width:100%;padding-left:16px}
  html .v2-hero.ect-hero-v2 h1{font-size:2.05rem}
  html .v2-hero.ect-hero-v2 p.v2-sub{max-width:none}
}

/* ---------- opt-in hero layouts for wide multi-car lineups (H14 Classic Muscle, Oct 18 2026) ----------
   .ect-hero-top  : desktop copy sits in the sky band at the top-left (top-down wash) so every car stays clear.
   .ect-hero-band : on phones the photo becomes a band (height --ect-band-h, default 220px) with the copy below.
   Both are added by tools/build_hero_preview.py only on pages that ask for them. */
html .ct-ed-hero.ect-hero-top{min-height:440px}
html .ct-ed-hero.ect-hero-top .ct-ed-inner{align-items:flex-start;padding-top:24px}
html .ct-ed-hero.ect-hero-top .ct-ed-hero-copy{max-width:44rem;padding-top:2px;padding-bottom:2px}
html .ct-ed-hero.ect-hero-top .ct-kicker{margin-bottom:10px}
html .ct-ed-hero.ect-hero-top .ct-tagline{max-width:40rem;margin-top:12px}
html .ct-ed-hero.ect-hero-top .ct-ed-hero-wash{background:
  linear-gradient(180deg,rgba(22,20,17,.80) 0%,rgba(22,20,17,.62) 22%,rgba(22,20,17,.26) 36%,rgba(22,20,17,0) 48%),
  linear-gradient(90deg,rgba(22,20,17,.40) 0%,rgba(22,20,17,.18) 30%,rgba(22,20,17,0) 52%),
  linear-gradient(0deg,rgba(22,20,17,.25) 0%,rgba(22,20,17,0) 25%)}
@media (max-width:640px){
  html .ct-ed-hero.ect-hero-band{display:flex;flex-direction:column;min-height:0}
  html .ct-ed-hero.ect-hero-band picture{display:block}
  html .ct-ed-hero.ect-hero-band .ct-ed-hero-photo{position:relative;inset:auto;height:var(--ect-band-h,220px)}
  html .ct-ed-hero.ect-hero-band .ct-ed-hero-wash{inset:0 0 auto 0;height:var(--ect-band-h,220px);
    background:linear-gradient(180deg,rgba(22,20,17,0) 50%,rgba(22,20,17,.65) 82%,var(--ect-nav) 100%)}
  html .ct-ed-hero.ect-hero-band .ct-ed-inner{min-height:0;padding-top:6px;padding-bottom:30px}
  html .ct-ed-hero.ect-hero-band .ct-hero-rule{display:none}
}

/* ---------- Phase 2 live sweep (Oct 18 2026): pink and brand accents out, movement colours forest/brick ----------
   PLAN.md (g) defaults: pink -> bronze everywhere except the logo raster; per-brand UI accents dropped (colour stays in the
   photos, option a); up/down -> forest #35745C / brick #AD514B. These override hard-coded template colours, so they use
   `html body` for specificity (page <style> blocks come after this link) and !important where the page uses it or sets
   --ct-brand inline on <body>. Chart series colours (data) are untouched. */
html body.ct-brand-editorial,html body.ct-home-editorial,html body.ct-seo-page,html body.ct-por-model,html body.ct-news-page,
html body.ct-takes-page,html body.ct-auctions-page,html body.ct-has-nav{
  --ct-brand:var(--ect-bronze) !important;--ct-coral:var(--ect-bronze-ink) !important;--accent:var(--ect-bronze-ink) !important;--link:var(--ect-bronze-ink) !important}
/* model-page / guide template (cg-*) and the v2 hub template */
html body .cg-eye,html body .cg-ov-k,html body .cg-num .v.c,html body .cg-lot .go,html body.ct-por-model .cg-eye,
html body .bn-eye,html body .bn-all,html body .hc-go,html body .v2 a,html body .v2-faq button,html body .v2-foot a{color:var(--ect-bronze-ink) !important}
html body .bn-all:hover,html body .v2 a:hover{color:var(--ect-bronze-hover) !important}
html body .cg-h2:after,html body .bn-h:after,html body .bn-eye:before{background:var(--ect-bronze) !important}
html body .cg-ov,html body .cg-news{border-left-color:var(--ect-bronze) !important}
html body .cg-ann{fill:var(--ect-bronze) !important}
html body .v2-btn.pri,html body .v2-tabs button[aria-pressed=true],html body .bn-card:hover .bn-go{background:var(--ect-bronze-btn) !important;border-color:var(--ect-bronze-btn) !important;color:#fff !important}
html body .v2-hero h1{border-left-color:var(--ect-bronze)}
html body .v2-crumb a,html body .v2-crumb span{color:#E2C9A4}
html body .ct-view-all:hover,html body.ct-por-model .ct-view-all{border-color:var(--ect-bronze) !important;color:var(--ect-bronze-ink) !important}
html body.ct-por-model .cg-rel a:hover{border-color:var(--ect-bronze) !important}
/* Porsche hub + generation pages (porsche_accent red) */
html body .ct-por-crumb a.sw{border-bottom-color:var(--ect-bronze) !important}
html body .ct-por-crumb a:hover{text-decoration-color:var(--ect-bronze) !important}
html body .ct-hs-link{border-bottom-color:var(--ect-bronze) !important}
html body .ct-mt-sum .sp{color:var(--ect-bronze-ink) !important}
html body .ct-gc{border-top-color:var(--ect-bronze) !important}
html body .ct-gc-cta{background:var(--ect-bronze-btn) !important;color:#fff !important}
/* auction badges: "Ending soon" = brick, "No reserve" = forest */
html body .badge.soon{color:var(--ect-down) !important;background:var(--ect-down-soft) !important;border-color:rgba(173,81,75,.3) !important}
html body .badge.nr{color:var(--ect-up) !important;background:var(--ect-up-soft) !important;border-color:rgba(53,116,92,.3) !important}
/* movement colours */
html body .up,html body .v.up,html body .c.up,html body .v2-ind.up,html body .kind-pill.up{color:var(--ect-up) !important}
html body .dn,html body .down:not(.ct-chip),html body .c.dn,html body .v2-ind.dn,html body .kind-pill.down{color:var(--ect-down) !important}
html body .kind-pill.up{background:var(--ect-up-soft) !important;border-color:rgba(53,116,92,.28) !important}
html body .kind-pill.down{background:var(--ect-down-soft) !important;border-color:rgba(173,81,75,.28) !important}
html body .ct-chip.up{color:var(--ect-up) !important;background:var(--ect-up-soft) !important;border-color:rgba(53,116,92,.28) !important}
html body .ct-chip.down{color:var(--ect-down) !important;background:var(--ect-down-soft) !important;border-color:rgba(173,81,75,.28) !important}
html body .ct-mt-card.gain .ct-mt-ic{background:var(--ect-up) !important}
html body .ct-mt-card.decl .ct-mt-ic{background:var(--ect-down) !important}
/* hero pulse arrows sit on the dark photo: light tints of forest / brick for contrast */
html body .ct-hero-pulse-col.up .ct-hero-pulse-icon{color:#9CCBB5 !important;background:rgba(53,116,92,.32) !important}
html body .ct-hero-pulse-col.down .ct-hero-pulse-icon{color:#E6A9A3 !important;background:rgba(173,81,75,.30) !important}
html body .ct-pm .bar span{background:var(--ect-bronze) !important}
html body .ct-hero-pulse-col.up .ct-hero-pulse-val{color:#BFE0D0 !important}
html body .ct-hero-pulse-col.down .ct-hero-pulse-val{color:#F0C7C2 !important}

/* ---------- Phase 3 (Darren, Oct 18 2026 ~8 PM ET): every template on the shared typography, palette and cards ----------
   Takes hub + articles, news hub + articles, model/compare pages (cg-* / v2-*), hypercar model pages, Classic Muscle
   builders and the brand-template section titles. Colours in the old inline <style> blocks are rewritten to tokens by
   site_css.palette(); this block sets the serif headlines (PLAN "Where the serif goes"), Inter body, links and card skin.
   Per-article take heroes and every page image stay as built. */
html body.ct-seo-page,html body.ct-por-model,html body.ct-news-page,html body.ct-takes-page{background:var(--ect-bg) !important;color:var(--ect-ink);font-family:var(--ect-sans) !important;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* serif headlines (Newsreader 500); eyebrows, labels, buttons, numbers and body stay Inter */
html body .ct-take-hero h1,html body .ct-take-body h2,html body .ct-take-card h2,html body .ct-take-pullquote,
html body .ct-nh h1,html body .ct-lead .tx h2,html body .ct-card .tx h3,html body .ct-art header h1,html body .ct-art .ct-body h2,html body .ct-art .ct-an h2,
html body .cg-hero h1,html body .cg-h2,html body .v2-sec>h2,html body .ct-sim>h2,html body .ct-faq>h2,html body .bn-h,
html body .ct-latest-news .ln-tx h2,html body .ct-ov-take-headline,html body .ct-page-section>.ct-sec-head h2{
  font-family:var(--ect-serif) !important;font-weight:500 !important;letter-spacing:-.003em !important;font-optical-sizing:auto;font-style:normal}
html body .v2-sec>h2>*,html body .cg-h2>*,html body .ct-page-section>.ct-sec-head h2>*{font-family:var(--ect-sans);letter-spacing:normal}
html body .cg-hero h1,html body .ct-art header h1{line-height:1.08 !important}
html body .ct-take-hero h1{line-height:1.12 !important;font-size:clamp(1.55rem,2.6vw,2.15rem) !important}
html body .ct-take-card h2,html body .ct-card .tx h3{line-height:1.22 !important}
html body .ct-take-card h2{font-size:1.22rem !important}
html body .ct-card .tx h3{font-size:1.1rem !important}
html body .ct-take-pullquote{font-style:italic;font-size:1.12rem;line-height:1.45;color:var(--ect-ink) !important;border-left-color:var(--ect-bronze) !important}
html body .ct-take-pullquote *{font-family:inherit}
/* article body copy: Inter, ink-2, a touch more line height; links bronze-ink */
html body .ct-take-body p,html body .ct-take-body li,html body .ct-art .ct-body p,html body .ct-art .ct-body li{font-family:var(--ect-sans);color:var(--ect-ink-2);line-height:1.72}
html body .ct-take-body a,html body .ct-take-foot a,html body .ct-art .ct-body a,html body .ct-take-sources a{color:var(--ect-bronze-ink) !important;text-decoration-color:rgba(164,122,74,.5) !important;text-underline-offset:2px}
html body .ct-take-body a:hover,html body .ct-art .ct-body a:hover{color:var(--ect-bronze-hover) !important}
html body .ct-take-body h2,html body .ct-art .ct-body h2{color:var(--ect-ink) !important}
/* refined cards: warm surface, hairline, 10px radius, soft shadow */
html body .ct-take-card,html body .ct-card,html body .ct-take-video-card,html body .ct-take-pullquote,html body .ct-side-box,
html body .v2-box,html body .cg-hero,html body .ct-ov-card,html body .ct-ov-take-panel{
  background-color:var(--ect-surface) !important;border-color:var(--ect-line) !important;border-radius:var(--ect-radius) !important;box-shadow:var(--ect-shadow-1) !important}
html body .ct-take-card,html body .ct-card{transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}
html body .ct-take-card:hover,html body .ct-card:hover{border-color:var(--ect-line-2) !important;box-shadow:var(--ect-shadow-2) !important}
html body .ct-take-card h2,html body .ct-card .tx h3,html body .ct-take-card h2 a,html body .ct-card .tx h3 a{color:var(--ect-ink) !important}
html body .ct-take-card:hover h2,html body .ct-card:hover .tx h3{color:var(--ect-bronze-ink) !important}
/* primary buttons bronze on every template */
html body .v2-btn.pri,html body.ct-seo-page .v2-btn.pri,html body .cg-hero .v2-btn.pri{background:var(--ect-bronze-btn) !important;border-color:var(--ect-bronze-btn) !important;color:#fff !important}
html body .v2-btn.pri:hover{background:var(--ect-bronze-hover) !important;border-color:var(--ect-bronze-hover) !important}
html body .v2-btn:not(.pri){background:var(--ect-surface) !important;border-color:var(--ect-line-2) !important;color:var(--ect-ink) !important}
html body .ct-nh h1,html body .ct-nh h1 a,html body .ct-lead .tx h2,html body .ct-lead .tx h2 a,html body .ct-card .tx h3 a,html body .ct-feed a.t{color:var(--ect-ink) !important}
html body .ct-lead .tx h2 a:hover,html body .ct-card .tx h3 a:hover,html body .ct-feed a.t:hover{color:var(--ect-bronze-ink) !important;text-decoration:none !important}
html body .ct-take-card .more{color:var(--ect-bronze-ink) !important}
html body .ct-take-card .ct-take-meta{color:var(--ect-muted) !important;letter-spacing:.06em;text-transform:uppercase;font-size:.66rem;font-weight:600}

/* ---------- Takes hub: video card grid (Darren's mockup, Oct 19 2026) ----------
   Markup from build_takes.render_archive: .ct-take-vgrid > article.ct-take-card.ct-take-vcard >
   .ct-take-thumb (9:16 poster link to the take with the real duration, or the take's image) + .ct-take-tx (category
   eyebrow, date, serif title, 4-line summary, Watch video + Read full take). Oct 19 ~7:10 AM ET (Darren): no play
   overlay, no inline playback; the whole card opens the take; Watch video opens the .ct-vmodal player. */
html body.ct-takes-page .ct-take-vgrid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:26px}
html body.ct-takes-page .ct-take-vgrid .ct-take-vcard{display:grid;grid-template-columns:40% minmax(0,1fr);gap:18px;align-items:start;
  padding:14px !important;margin:0 !important;border:1px solid var(--ect-line);overflow:hidden}
html body.ct-takes-page .ct-take-vgrid .ct-take-vcard:hover{transform:translateY(-2px)}
html body.ct-takes-page .ct-take-vgrid .ct-take-vcard[data-href]{cursor:pointer}
html body.ct-takes-page .ct-take-thumb{position:relative;display:block;width:100%;aspect-ratio:9/16;border-radius:8px;overflow:hidden;background:#1F1D1A;
  isolation:isolate}
html body.ct-takes-page .ct-take-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
html body.ct-takes-page .ct-take-thumb picture{display:contents}
html body.ct-takes-page .ct-take-vcard:hover .ct-take-thumb img{transform:scale(1.03)}
html body.ct-takes-page .ct-take-dur{position:absolute;right:8px;bottom:8px;padding:2px 6px;border-radius:4px;background:rgba(0,0,0,.74);color:#fff;
  font:600 .72rem/1.3 var(--ect-sans);font-variant-numeric:tabular-nums;letter-spacing:.02em}
html body.ct-takes-page .ct-take-thumb-fallback{display:flex;align-items:center;justify-content:center;background:var(--ect-surface-2);text-decoration:none}
html body.ct-takes-page .ct-take-thumb-fallback span{font-family:var(--ect-serif);font-size:1.4rem;color:var(--ect-bronze-ink);text-align:center;padding:0 10px}
html body.ct-takes-page .ct-take-vcard .ct-take-tx{display:flex;flex-direction:column;min-width:0;padding:2px 2px 0 0;height:100%}
html body.ct-takes-page .ct-take-vcard .ct-take-eyebrow{font:650 .64rem/1.3 var(--ect-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--ect-bronze-ink);margin:2px 0 6px}
html body.ct-takes-page .ct-take-vcard .ct-take-date{display:block;font:600 .66rem/1.3 var(--ect-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--ect-muted);margin:0 0 10px}
html body.ct-takes-page .ct-take-vgrid .ct-take-vcard h2{margin:0 0 10px !important;font-size:1.42rem !important;line-height:1.16 !important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
html body.ct-takes-page .ct-take-vcard h2 a{color:inherit !important;text-decoration:none}
html body.ct-takes-page .ct-take-vcard h2 a:hover{color:var(--ect-bronze-ink) !important}
html body.ct-takes-page .ct-take-vcard .sum{margin:0 0 14px;color:var(--ect-ink-2);font-size:.9rem;line-height:1.5;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}
html body.ct-takes-page .ct-take-actions{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
html body.ct-takes-page .ct-take-watch{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 16px;border:0;border-radius:6px;
  background:var(--ect-bronze-btn);color:#fff;font:600 .84rem/1 var(--ect-sans);cursor:pointer;transition:background .2s ease}
html body.ct-takes-page .ct-take-watch svg{width:14px;height:14px;fill:currentColor}
html body.ct-takes-page .ct-take-watch:hover{background:var(--ect-bronze-hover)}
html body.ct-takes-page .ct-take-watch:focus-visible,html body.ct-takes-page .ct-take-read:focus-visible{outline:none;box-shadow:var(--ect-focus)}
html body.ct-takes-page .ct-take-read{color:var(--ect-bronze-ink) !important;font:600 .84rem/1.3 var(--ect-sans);text-decoration:none}
html body.ct-takes-page .ct-take-read:hover{text-decoration:underline;text-underline-offset:3px}
@media (max-width:900px) and (min-width:641px){
  html body.ct-takes-page .ct-take-vgrid .ct-take-vcard h2{font-size:1.2rem !important}
  html body.ct-takes-page .ct-take-vcard .sum{-webkit-line-clamp:3;line-clamp:3}
}
@media (max-width:640px){
  html body.ct-takes-page .ct-take-vgrid{grid-template-columns:1fr;gap:14px;margin-top:20px}
  html body.ct-takes-page .ct-take-vgrid .ct-take-vcard{gap:14px;padding:12px !important}
  html body.ct-takes-page .ct-take-vgrid .ct-take-vcard h2{font-size:1.14rem !important;margin-bottom:8px !important}
  html body.ct-takes-page .ct-take-vcard .ct-take-date{margin-bottom:8px}
  html body.ct-takes-page .ct-take-vcard .sum{font-size:.84rem;-webkit-line-clamp:3;line-clamp:3;margin-bottom:12px}
  html body.ct-takes-page .ct-take-watch{height:34px;padding:0 13px;font-size:.8rem}
}

/* Takes hub: Watch video modal (build_takes TAKES_VIDEO_JS, Oct 19 2026). 9:16 player sized to the viewport height on
   desktop, near full-screen on phones; dimmed backdrop, close X, Esc/backdrop close; iframe removed on close. */
html body .ct-vmodal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:24px}
html body .ct-vmodal[hidden]{display:none !important}
html body .ct-vmodal-backdrop{position:absolute;inset:0;background:rgba(20,18,16,.82);cursor:pointer}
html body .ct-vmodal-dialog{position:relative;z-index:1;height:min(88vh,calc((100vw - 48px) * 16 / 9));height:min(88dvh,calc((100vw - 48px) * 16 / 9));
  aspect-ratio:9/16;max-width:calc(100vw - 48px)}
html body .ct-vmodal-frame{position:absolute;inset:0;border-radius:12px;overflow:hidden;background:#000;box-shadow:0 24px 70px rgba(0,0,0,.5)}
html body .ct-vmodal-frame iframe{display:block;width:100%;height:100%;border:0}
html body .ct-vmodal-close{position:absolute;top:0;right:-56px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.35);
  background:rgba(20,18,16,.6);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .2s ease}
html body .ct-vmodal-close svg{width:20px;height:20px;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;fill:none}
html body .ct-vmodal-close:hover{background:var(--ect-bronze-btn)}
html body .ct-vmodal-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (max-width:640px){
  html body .ct-vmodal{padding:56px 10px 12px}
  html body .ct-vmodal-dialog{height:min(calc(100vh - 68px),calc((100vw - 20px) * 16 / 9));height:min(calc(100dvh - 68px),calc((100vw - 20px) * 16 / 9));max-width:calc(100vw - 20px)}
  html body .ct-vmodal-close{top:-50px;right:0}
}
@media (min-width:641px) and (max-aspect-ratio:3/4){
  html body .ct-vmodal{padding-top:72px}
  html body .ct-vmodal-close{top:-54px;right:0}
}

/* Section sub-nav targets clear both sticky bars when reached by hash (JS also applies the offset), Oct 18 2026 */
html body .ct-ed-sec[id],html body .ct-page-section[id]{scroll-margin-top:110px}
@media (max-width:720px){html body .ct-ed-sec[id],html body .ct-page-section[id]{scroll-margin-top:100px}}
/* Market Movers empty state (home #market always rendered, Oct 18 2026) */
html body .ct-mover-empty{margin:4px 0 0;padding:16px 18px;border:1px solid var(--ct-line,#E7DED0);border-radius:10px;background:var(--ect-surface-2,#F1ECE3);color:var(--ct-muted,#6B6257);font-size:.95rem;line-height:1.5}

/* ===== Homepage v2 hierarchy (Oct 19 2026; markup only when assets_src/HOME_V2_LIVE is on, preview /_preview/home-v2/) ===== */
.ct-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body .ct-brief-insights{margin:14px 0 16px;padding:14px 16px;background:var(--ect-surface);border:1px solid var(--ect-line);border-left:3px solid var(--ect-bronze);border-radius:var(--ect-radius);box-shadow:var(--ect-shadow-1)}
html body .ct-brief-insights-lbl{font-family:var(--ect-sans);font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ect-bronze-ink);margin:0 0 8px}
html body .ct-brief-insights ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
html body .ct-brief-insights li{font-family:var(--ect-sans);font-size:1rem;line-height:1.45;color:var(--ect-ink-2)}
html body .ct-brief-insights li strong{color:var(--ect-ink);font-weight:650}
html body .ct-v2-brief .ct-brief-copy>p{font-size:.92rem;color:var(--ect-muted)}
html body .ct-mv2{padding-top:8px}
html body .ct-mv2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html body .ct-mv2-card{display:flex;flex-direction:column;gap:6px;padding:18px 18px 16px;background:var(--ect-surface);border:1px solid var(--ect-line);border-radius:var(--ect-radius);box-shadow:var(--ect-shadow-1);color:var(--ect-ink);text-decoration:none!important;border-top:3px solid var(--ect-line-2);transition:border-color .15s,box-shadow .15s}
html body .ct-mv2-card.up{border-top-color:var(--ect-up)}
html body .ct-mv2-card.down{border-top-color:var(--ect-down)}
html body .ct-mv2-card:hover{box-shadow:var(--ect-shadow-2);border-color:var(--ect-line-2)}
html body .ct-mv2-card:focus-visible{outline:none;box-shadow:var(--ect-focus)}
html body .ct-mv2-eyebrow{font-family:var(--ect-sans);font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ect-muted)}
html body .ct-mv2-name{font-family:var(--ect-serif);font-size:1.25rem;line-height:1.2;font-weight:500;color:var(--ect-ink)}
html body .ct-mv2-pct{font-family:var(--ect-sans);font-size:clamp(1.9rem,3.2vw,2.4rem);font-weight:650;letter-spacing:-.02em;font-variant-numeric:tabular-nums lining-nums;line-height:1.05}
html body .ct-mv2-card.up .ct-mv2-pct{color:var(--ect-up)}
html body .ct-mv2-card.down .ct-mv2-pct{color:var(--ect-down)}
html body .ct-mv2-basis{font-family:var(--ect-sans);font-size:.85rem;color:var(--ect-ink-2);font-variant-numeric:tabular-nums}
html body .ct-mv2-n{font-family:var(--ect-sans);font-size:.75rem;color:var(--ect-muted)}
html body .ct-mv2-all{margin-top:14px}
html body .ct-mv2-all summary{cursor:pointer;display:inline-block;font-family:var(--ect-sans);font-weight:600;font-size:.9rem;color:var(--ect-bronze-ink);list-style:none}
html body .ct-mv2-all summary::-webkit-details-marker{display:none}
html body .ct-mv2-all summary::after{content:" →"}
html body .ct-mv2-all[open] summary::after{content:" ↑"}
html body .ct-mv2-all ul{list-style:none;margin:10px 0 0;padding:0;border-top:1px solid var(--ect-line)}
html body .ct-mv2-all li{display:grid;grid-template-columns:minmax(0,1.4fr) auto minmax(0,1.6fr);gap:12px;align-items:baseline;padding:9px 2px;border-bottom:1px solid var(--ect-line);font-family:var(--ect-sans);font-size:.92rem}
html body .ct-mv2-all li a{color:var(--ect-ink);font-weight:600;text-decoration:none}
html body .ct-mv2-li-pct{font-weight:650;font-variant-numeric:tabular-nums}
html body .ct-mv2-li-pct.up{color:var(--ect-up)} html body .ct-mv2-li-pct.down{color:var(--ect-down)}
html body .ct-mv2-li-meta{color:var(--ect-muted);font-size:.82rem;font-variant-numeric:tabular-nums}
html body .ct-mv2-note{margin:8px 0 0;font-size:.8rem;color:var(--ect-muted);line-height:1.5}
html body .ct-v2-takes .ct-brief-takes{margin-top:0;padding-top:0;border-top:0}
html body .ct-home-news--compact{margin-top:0;padding-top:0;border-top:0!important}
html body .ct-home-news--compact ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;border-top:1px solid var(--ect-line)}
html body .ct-home-news--compact li{display:flex;gap:12px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--ect-line);font-size:.95rem;line-height:1.35}
html body .ct-home-news--compact .d{flex:0 0 auto;min-width:92px}
html body .ct-home-news--compact .bar{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:10px}
@media (max-width:899px){html body .ct-mv2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){
  html body .ct-mv2-grid{grid-template-columns:1fr;gap:10px}
  html body .ct-mv2-card{padding:14px 16px}
  html body .ct-mv2-all li{grid-template-columns:1fr auto;}
  html body .ct-mv2-li-meta{grid-column:1/-1}
  html body .ct-home-news--compact ul{grid-template-columns:1fr}
  html body .ct-home-news--compact li{flex-direction:column;gap:2px}
}
html body .ct-v2-brief .ct-brief-metrics{align-self:start}
html body .ct-v2-brief .ct-brief-metric{height:auto}
html body .ct-home-news--compact .lbl{font-family:var(--ect-sans);font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ect-bronze-ink)}
html body .ct-v2-takes .ct-brief-takes-bar{margin-top:-8px}
/* Movers v2 cards: existing model image under the name (Oct 19 2026). White-background studio images sit on white. */
html body .ct-mv2-img{display:block;aspect-ratio:16/9;margin:4px 0 2px;background:#fff;border-radius:var(--ect-radius-sm);overflow:hidden}
html body .ct-mv2-img img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
@media (max-width:560px){
  html body .ct-mv2-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html body .ct-mv2-card{padding:12px 12px 12px;gap:4px}
  html body .ct-mv2-eyebrow{font-size:.6rem;letter-spacing:.08em}
  html body .ct-mv2-name{font-size:1.02rem}
  html body .ct-mv2-pct{font-size:1.6rem}
  html body .ct-mv2-basis{font-size:.76rem}
}

/* Brands dropdown: 2 rows x 3 columns (Ferrari, McLaren, Lamborghini / Porsche, Ford GT, Aston Martin), Oct 19 2026 */
@media (min-width:900px){.ct-global-nav .ct-brands-menu{grid-template-columns:repeat(3,minmax(0,1fr));width:min(600px,calc(100vw - 40px))}}

/* News "Analysis" callouts (.ct-an: Our take / What it means for buyers), 2026-10-19: ivory panel, not the
   pre-refresh dark navy box (which site_css.py recolored to charcoal, leaving ink-2 body text unreadable). */
html body .ct-art .ct-an{background:var(--ect-surface-2) !important;color:var(--ect-ink-2) !important;border:1px solid var(--ect-line) !important;border-radius:var(--ect-radius) !important;box-shadow:none !important}
html body .ct-art .ct-an .lbl{color:var(--ect-bronze-ink) !important;font-family:var(--ect-sans);letter-spacing:.1em;text-transform:uppercase}
html body .ct-art .ct-an h2{color:var(--ect-ink) !important}
html body .ct-art .ct-an p,html body .ct-art .ct-an li{color:var(--ect-ink-2) !important}
html body .ct-art .ct-an strong,html body .ct-art .ct-an b{color:var(--ect-ink) !important}
html body .ct-art .ct-an a{color:var(--ect-bronze-ink) !important}
html body .ct-art .ct-an a:hover{color:var(--ect-bronze-hover) !important}
html body .ct-art .ct-an .up,html body .ct-art .ct-an .pos{color:var(--ect-up) !important}
html body .ct-art .ct-an .down,html body .ct-art .ct-an .neg{color:var(--ect-down) !important}
