/* Balanced type set (7 fonts, 2 typefaces). Jersey 20 = voice for big moments; Geist = interface.
   Loaded last so it overrides earlier font rules. */
:root{
  --jersey:'Jersey 20',sans-serif; --geist:Geist,Arial,sans-serif;
  --t-display:44px; --t-title:30px; --t-label:16px; --t-sub:20px; --t-body:17px; --t-ui:16px; --t-small:13px;
}
@media(max-width:600px){:root{--t-display:32px;--t-title:24px;--t-label:14px;--t-sub:18px;--t-body:16px;--t-ui:15px;--t-small:12px}}

/* 1 Display — Jersey 20 */
.hero-window h1{font:400 var(--t-display)/1.08 var(--jersey)!important;letter-spacing:0!important}
/* 2 Title — Jersey 20 */
.project-title,.project-panel[data-project-world] .project-title,.project-panel--cards .project-title,.project-panel--cards[data-project-world] .project-title,
.passcode-dialog h2,.loading-text{font:400 var(--t-title)/1.1 var(--jersey)!important;letter-spacing:0!important}
/* 3 Label — Jersey 20, uppercase */
.card-tab,.world-card .card-tab,.domain-bar span,.domain-card.marquee .domain-bar span,.window-caption,.location-tag{font:400 var(--t-label)/1.2 var(--jersey)!important;letter-spacing:.06em!important;text-transform:uppercase}
/* 4 Subtitle — Geist Medium */
.window-content,.previous-window .window-content,.current-window .window-content{font:500 var(--t-sub)/1.45 var(--geist)!important;letter-spacing:0!important}
/* 5 Body — Geist Regular */
.domain-text,.passcode-message,.project-desc{font:400 var(--t-body)/1.45 var(--geist)!important;letter-spacing:0!important;opacity:1!important}
/* 6 UI — Geist Medium */
.site-header .site-brand,.site-brand-name,.site-links button,.action-button,.project-panel--cards .action-button,.resume-file,.resume-file span,.passcode-submit,.passcode-close{font:500 var(--t-ui)/1.2 var(--geist)!important;letter-spacing:0!important}
/* 7 Small — Geist Regular (replaces Source Code Pro on the hover label) */
.project-label,.project-meta,#hint,#chapter{font:400 var(--t-small)/1.4 var(--geist)!important;letter-spacing:0!important}
/* layout fit for the new sizes */
.current-window{width:auto!important;min-width:0}
.current-window .window-content{padding-right:16px}
.domain-card{width:min(340px,80vw)}
.domain-text{text-wrap:balance}

/* Home page: everything in Jersey 20 (sizes from the set kept); hover label stays Source Code Pro. */
.home-intro,.home-intro *:not(svg):not(svg *),
html:not([data-cursor-world]) .site-header *,html[data-cursor-world='-1'] .site-header *{font-family:var(--jersey)!important;font-weight:400!important}
.home-intro .desktop-composition *,.home-intro .desktop-composition .window-content,
body[data-view='home'] .site-header .site-links button,body[data-view='home'] .site-header .site-brand,body[data-view='home'] .site-header .site-brand-name{font-family:var(--jersey)!important;font-weight:400!important}
/* Home: every small item snaps to ONE style (Jersey 16, no uppercase, no tracking) — no near-duplicates. */
.home-intro .window-caption,.home-intro .location-tag,.home-intro .resume-file,.home-intro .resume-file span,
body[data-view='home'] .site-header .site-links button,body[data-view='home'] .site-header .site-brand,body[data-view='home'] .site-header .site-brand-name{
  font:400 var(--t-label)/1.2 var(--jersey)!important;letter-spacing:0!important;text-transform:none!important}
/* Final scale: 32 / 24 / 18 / 16 / 14 / 12 (same on all screen sizes). */
:root,:root:root{--t-display:32px;--t-title:24px;--t-sub:18px;--t-body:16px;--t-ui:16px;--t-label:14px;--t-small:12px}
@media(max-width:600px){:root,:root:root{--t-display:32px;--t-title:24px;--t-sub:18px;--t-body:16px;--t-ui:16px;--t-label:14px;--t-small:12px}}
/* Tabs drop uppercase so they share the single small Jersey style with home */
.card-tab,.world-card .card-tab,.domain-bar span,.domain-card.marquee .domain-bar span{text-transform:none!important;letter-spacing:0!important}
/* Everything in Jersey 20 (only the hover label stays Source Code Pro). Geist removed entirely. */
:root,:root:root{--geist:'Jersey 20',sans-serif}
body,body *:not(.world-cursor):not(.world-cursor *):not(.layout-tool):not(.layout-tool *){font-family:'Jersey 20',sans-serif!important;font-weight:400!important}
/* Top navigation bigger (18px) on every page */
.site-header .site-brand,.site-header .site-brand-name,.site-links button,
body[data-view='home'] .site-header .site-links button,body[data-view='home'] .site-header .site-brand,body[data-view='home'] .site-header .site-brand-name{font-size:18px!important}
/* Domain card: label in caps, larger label and content */
.domain-bar span,.domain-card.marquee .domain-bar span{font-size:16px!important;text-transform:uppercase!important;letter-spacing:.06em!important}
.domain-text{font-size:18px!important}
/* Case study tabs in caps, matching the DOMAIN label */
.card-tab,.world-card .card-tab{text-transform:uppercase!important;letter-spacing:.06em!important;font-size:16px!important}
/* Home cards: bigger type (24 for list / role, 16 for caption / chip) */
.home-intro .desktop-composition .window-content,.home-intro .desktop-composition .previous-window .window-content,.home-intro .desktop-composition .current-window .window-content{font-size:24px!important;line-height:1.4!important}
.home-intro .window-caption,.home-intro .location-tag{font-size:16px!important}
/* Resume label bigger */
.home-intro .resume-file,.home-intro .resume-file span{font-size:24px!important}
/* Current role: title in lime, company in white */
.home-intro .current-window .window-content{color:#67FF7F!important}
.home-intro .current-window .window-content .lime{color:#FFFFFF!important}

/* ===== Type set v2 (from the font panel, 2026-11-22) =====
   Display 32: home heading, case study titles, passcode heading
   Sub 18: current role, Previously-at list, window captions, Palo Alto, Resume, nav, domain text
   Body 16: case study tab (caps), CTA buttons, domain label (caps)
   Hover: Source Code Pro 16, lower case */
html .hero-window h1:not(#t),html .world-card .project-title:not(#t),html .passcode-dialog h2:not(#t){font-family:'Jersey 20',sans-serif!important;font-size:32px!important;text-transform:none!important}
html .current-window .window-content:not(#t),html .previous-window .window-content:not(#t),html .window-caption:not(#t),html .location-tag:not(#t),html .resume-file:not(#t),html .resume-file span:not(#t),
html .site-brand:not(#t),html .site-brand-name:not(#t),html .site-links button:not(#t),html .domain-text:not(#t){font-family:'Jersey 20',sans-serif!important;font-size:18px!important;text-transform:none!important}
html .card-tab:not(#t),html .domain-bar span:not(#t){font-family:'Jersey 20',sans-serif!important;font-size:16px!important;text-transform:uppercase!important}
html .action-button:not(#t),html .project-cta:not(#t){font-family:'Jersey 20',sans-serif!important;font-size:16px!important;text-transform:none!important}

html .domain-list dt:not(#t){font-family:'Jersey 20',sans-serif!important;font-size:14px!important;line-height:1.3!important}
html .domain-list dd:not(#t){font-family:'Jersey 20',sans-serif!important;font-size:16px!important;line-height:1.3!important}
html .domain-list dd:not(#t){font-size:18px!important;line-height:1.25!important}
/* Case study titles: Title 24 (2026-11-22) */
html .world-card .project-title:not(#t){font-size:24px!important;line-height:1.2!important}

html .domain-company:not(#t){font-family:'Jersey 20',sans-serif!important;font-size:24px!important;line-height:1.15!important}
html .domain-when:not(#t){font-family:'Jersey 20',sans-serif!important;font-size:16px!important;line-height:1.3!important}
/* Type set v3 from the font panel (2026-11-22): Domain card */
html .domain-company:not(#t){font-size:18px!important;text-transform:uppercase!important;letter-spacing:.04em!important}
html .domain-when:not(#t){font-size:14px!important}
html .domain-list dt:not(#t){font-size:14px!important;text-transform:none!important;letter-spacing:0!important}
html .domain-list dd:not(#t){font-size:16px!important;text-transform:none!important}

@media(max-width:900px){
  html .world-card .project-title:not(#t){font-size:18px!important;line-height:1.2!important}
  html .card-tab:not(#t){font-size:14px!important}
  html .world-card .action-button:not(#t),html .world-card .project-cta:not(#t){font-size:14px!important;padding:6px 10px!important}
  html .domain-company:not(#t){font-size:16px!important}
}
