/* Personal Index. Scoped to Modern, the concise route, and the project catalogue. */
@font-face { font-family:'Source Serif 4'; src:url('/assets/fonts/source-serif-4-latin.woff2') format('woff2'); font-weight:200 900; font-style:normal; font-display:swap; }
@font-face { font-family:Recursive; src:url('/assets/fonts/recursive-latin.woff2') format('woff2'); font-weight:300 1000; font-style:normal; font-display:swap; }
@font-face { font-family:'Recursive Mono';src:url('/assets/fonts/recursive-mono-latin.woff2') format('woff2');font-weight:400 700;font-display:swap; }
:root[data-style="modern"],:root:not([data-style]) { --paper:#FFFFFF;--surface:#FFFFFF;--ink:#172039;--muted:#47536B;--blue:#273EDB;--line:#CAD4E6;--annotation:#C02E1C;--selected:#DFF3FF;--mono:'Recursive Mono',ui-monospace,monospace;font-family:Recursive,system-ui,sans-serif; }
:root[data-style="modern"][data-appearance="dark"] { --paper:#101527;--surface:#101527;--ink:#F5F8FF;--muted:#B7C3E5;--blue:#A9C3FF;--line:#41516F;--annotation:#FFA797;--selected:#1D2C4D; }
:root[data-style="modern"] body,:root:not([data-style]) body { font-size:17px;line-height:1.55;font-variation-settings:'MONO' 0,'CASL' 0; }
:root[data-style="modern"] :is(h1,h2,h3),.catalog-header .brand { font-family:'Source Serif 4',Georgia,serif;font-weight:600;letter-spacing:0; }
:root[data-style="modern"] :is(.hero,.section,.contact-section,.site-footer,.site-header) a:not(.button) { text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;color:var(--blue); }
:root[data-style="modern"] .container { width:min(1120px,calc(100% - 64px)); }
:root[data-style="modern"] .header-inner { min-height:72px;gap:24px; }
:root[data-style="modern"] .brand { font-size:17px;color:var(--ink)!important;text-decoration:none!important; }
:root[data-style="modern"] .monogram { font-family:'Source Serif 4',serif;border:0;letter-spacing:0;font-size:25px;width:auto; }
:root[data-style="modern"] nav { font-size:14px;font-weight:400; }
:root[data-style="modern"] .nav-cv { margin:0;padding:6px 12px;border-radius:0;background:transparent; }
:root[data-style="modern"] .hero { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:64px;padding-block:48px 56px; }
:root[data-style="modern"] .eyebrow { font:14px/1.5 Recursive,system-ui,sans-serif;letter-spacing:0;text-transform:none; }
:root[data-style="modern"] .hero h1 { font-size:56px;line-height:1.1;font-weight:500;letter-spacing:0;margin:16px 0 22px; }
:root[data-style="modern"] .hero-lead { font:400 20px/1.5 Recursive,system-ui,sans-serif;max-width:40ch; }
:root[data-style="modern"] .hero-description { font:17px/1.55 Recursive,system-ui,sans-serif;color:var(--muted);margin-top:12px;max-width:48ch; }
:root[data-style="modern"] .hero-stack { display:flex;flex-wrap:wrap;gap:8px 18px;margin:20px 0 0;font:14px/1.5 Recursive,system-ui,sans-serif;color:var(--muted); }
:root[data-style="modern"] .hero-stack span { padding:0;border:0; }
:root[data-style="modern"] .hero-actions { margin-top:18px;gap:24px; }
:root[data-style="modern"] .text-link { font-size:14px;font-weight:400;gap:8px; }
:root[data-style="modern"] .hero-index { display:block;border-left:1px solid var(--line);padding:4px 0 0 28px; }
:root[data-style="modern"] .hero-index h2 { font:15px/1.4 Recursive,system-ui,sans-serif;color:var(--annotation);margin-bottom:8px; }
:root[data-style="modern"] .hero-index ol { list-style:none;padding:0;margin:0 0 12px; }
:root[data-style="modern"] .hero-index li { border-bottom:1px solid var(--line);padding:12px 0; }
:root[data-style="modern"] .hero-index li a { display:block;padding:0;line-height:1.4; }
:root[data-style="modern"] .hero-index small { display:block;font-size:12px;color:var(--muted);margin-top:4px; }
:root[data-style="modern"] .section { padding-bottom:54px; }
:root[data-style="modern"] .section-label { padding-top:18px;letter-spacing:0;font:13px/1.5 Recursive,system-ui,sans-serif;color:var(--muted); }
:root[data-style="modern"] .section-label>span:first-child { color:var(--annotation); }
:root[data-style="modern"] .section-heading { margin:28px 0;gap:32px;grid-template-columns:1fr 1.1fr;align-items:start; }
:root[data-style="modern"] h2 { font-size:28px;line-height:1.2; }
:root[data-style="modern"] .section-heading p { font-size:16px;max-width:52ch; }
:root[data-style="modern"] .project-grid { display:block; }
:root[data-style="modern"] .project-card { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);grid-template-areas:'heading media' 'body media';gap:0 52px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;padding:36px 0 42px;overflow:visible; }
:root[data-style="modern"] .record-heading { grid-area:heading;min-width:0; }
:root[data-style="modern"] .project-content { grid-area:body;min-width:0;padding:0;align-self:start; }
:root[data-style="modern"] .project-card>.project-media-visual { grid-area:media;margin:0;align-self:start; }
:root[data-style="modern"] .project-meta { display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px;font:13px/1.5 Recursive,system-ui,sans-serif; }
:root[data-style="modern"] .status { padding:0;border:0;background:none;color:var(--annotation);font-size:12px;border-radius:0; }
:root[data-style="modern"] .status.production { background:none;border:0;color:var(--annotation); }
:root[data-style="modern"] .record-heading h3 { font-size:32px;line-height:1.15;max-width:24ch;font-weight:500; }
:root[data-style="modern"] .project-description { margin:14px 0 0;font-size:17px;line-height:1.55;max-width:52ch; }
:root[data-style="modern"] .project-outcome { border:0;padding:0;margin:18px 0;font-size:15px;font-weight:400;color:var(--annotation); }
:root[data-style="modern"] .tech-list { margin-top:18px;font:13px/1.5 Recursive,system-ui,sans-serif;gap:8px 16px; }
:root[data-style="modern"] .project-media-visual { display:flex;padding:0;border:0;background:transparent;min-height:0;gap:10px; }
:root[data-style="modern"] .project-media-visual>.visual-topline { display:none; }
:root[data-style="modern"] .project-media-visual>img { padding:24px;max-height:230px;background:var(--selected);border:1px dashed var(--line);border-radius:0; }
:root[data-style="modern"] .project-image-open img { max-height:none;border:1px solid var(--line);background:var(--selected); }
:root[data-style="modern"] .project-media-visual figcaption { font:13px/1.5 Recursive,system-ui,sans-serif; }
:root[data-style="modern"] .media-status { display:none; }
:root[data-style="modern"] .project-gallery-identity { width:100%;padding:0 0 8px;border-bottom:1px solid var(--line);font:12px/1.5 Recursive,system-ui,sans-serif; }
:root[data-style="modern"] .project-gallery-identity small { font-size:11px; }
:root[data-style="modern"] .project-image-links { padding:0;border:0;gap:4px 14px; }
:root[data-style="modern"] .project-image-links a { font:12px/1.5 Recursive,system-ui,sans-serif;padding:4px 0;border:0!important;background:none;border-radius:0; }
:root[data-style="modern"] .project-image-links a[aria-current="true"] { text-decoration-thickness:2px;background:var(--selected); }
:root[data-style="modern"] .project-dungeon-scrivener { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-areas:'media heading' 'media body'; }
:root[data-style="modern"] .project-plant-maintenance-sdk { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); }
:root[data-style="modern"] .project-beverage-route-research { grid-template-columns:minmax(0,1fr) minmax(0,.65fr); }
:root[data-style="modern"] .case-details { margin-top:22px;border-top:1px solid var(--line); }
:root[data-style="modern"] .case-details summary { min-height:48px;font-size:15px; }
:root[data-style="modern"] .case-body { padding:8px 0 0;font-size:15px; }
:root[data-style="modern"] .case-body dt { font-size:14px;font-weight:600;margin-bottom:4px; }
:root[data-style="modern"] .case-body dd { margin-bottom:18px; }
:root[data-style="modern"] .supporting-work { padding:16px 0;border-block:1px solid var(--line);background:transparent;border-radius:0; }
:root[data-style="modern"] .project-sketch { border-radius:0; }
:root[data-style="modern"] .project-launch-link { padding:0;border:0;border-radius:0;background:none;font-size:14px;font-weight:400; }
:root[data-style="modern"] .experience-layout { grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:60px;margin-top:28px; }
:root[data-style="modern"] .experience-layout .section-heading { display:block;margin:0; }
:root[data-style="modern"] .experience-layout .section-heading p { margin:14px 0; }
:root[data-style="modern"] .timeline-item { display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px 24px;padding:22px 0; }
:root[data-style="modern"] .timeline-date { grid-column:1;grid-row:1 / span 4;font:13px/1.5 Recursive,system-ui,sans-serif; }
:root[data-style="modern"] .timeline-item h3 { font-size:22px; }
:root[data-style="modern"] .timeline-item>p { grid-column:2;font-size:15px; }
:root[data-style="modern"] .role-title { margin:3px 0 0; }.timeline-item .role-location { margin:0 0 10px; }
:root[data-style="modern"] .about-layout { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:64px;margin-top:30px;align-items:start; }
:root[data-style="modern"] .about-copy h2 { margin-bottom:24px;font-size:28px; }
:root[data-style="modern"] .about-copy p { font-size:17px;line-height:1.55;margin-bottom:20px;max-width:62ch; }
:root[data-style="modern"] .about-facts { padding:0 0 0 28px;background:none;border-left:1px solid var(--line); }
:root[data-style="modern"] .fact-group { padding:0 0 24px; }.fact-group+.fact-group { padding-top:24px; }
:root[data-style="modern"] .fact-group h3 { font-size:21px;line-height:1.25;margin-top:12px; }
:root[data-style="modern"] .fact-group p { font-size:15px; }.fact-group .fact-date { margin-top:8px;font:13px/1.5 Recursive,system-ui,sans-serif; }
:root[data-style="modern"] .language-list { margin-top:12px;font-size:14px; }.language-list div { align-items:start;gap:12px; }.language-list dd { font-size:12px;text-align:right; }
:root[data-style="modern"] .skills-heading { margin-top:28px; }.skills-heading h3 { font-size:23px; }
:root[data-style="modern"] .skills-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border:0; }
:root[data-style="modern"] .skill-group { border:0;border-top:1px solid var(--line);padding:18px 0; }.skill-group h4 { font-size:15px; }.skill-group ul { font:14px/1.6 Recursive,system-ui,sans-serif; }
:root[data-style="modern"] .role-interest { grid-template-columns:1fr 1.3fr;gap:64px; }.role-interest h2 { margin-top:10px;font-size:25px; }.role-interest ul { font:13px/1.5 Recursive,system-ui,sans-serif; }
:root[data-style="modern"] .contact-section { padding-block:34px 44px;background:var(--paper);border-top:1px solid var(--line); }
:root[data-style="modern"] .contact-section .section-label { border:0;padding:0; }
:root[data-style="modern"] .contact-layout { gap:64px;margin-top:22px;grid-template-columns:1fr 1.2fr; }.contact-layout h2 { font-size:28px; }.contact-layout p { margin-top:14px;max-width:50ch;font-size:16px; }
:root[data-style="modern"] .contact-links { align-self:start; }.contact-links :is(button,a) { font-size:16px; }.contact-links .link-detail { font-size:13px; }
:root[data-style="modern"] .site-footer { padding-block:24px;border-top:1px solid var(--line);font-size:13px;gap:18px; }.footer-actions { display:flex;flex-wrap:wrap;gap:12px 24px; }.footer-actions a { display:inline-block; }
:root[data-style="modern"] .contact-dialog h2 { font-family:'Source Serif 4',Georgia,serif;letter-spacing:0; }
@media(max-width:760px) {
 :root[data-style="modern"] .container { width:calc(100% - 36px); }
 :root[data-style="modern"] .hero { grid-template-columns:1fr;gap:28px;padding:30px 0 38px; }
 :root[data-style="modern"] .hero h1 { font-size:38px;margin:12px 0 20px; }
 :root[data-style="modern"] .hero-lead { font-size:18px; }
 :root[data-style="modern"] .hero-index { padding:18px 0 0;border-left:0;border-top:1px solid var(--line); }
 :root[data-style="modern"] .hero-index h2 { font-size:14px; }.hero-index li { padding:9px 0; }
 :root[data-style="modern"] .section-label { font-size:12px;gap:12px; }.section-label>span:last-child { text-align:right; }
 :root[data-style="modern"] .section-heading { grid-template-columns:1fr;gap:12px;margin:22px 0; }
 :root[data-style="modern"] h2 { font-size:23px; }
 :root[data-style="modern"] .project-card { grid-template-columns:1fr;grid-template-areas:'heading' 'media' 'body';padding:26px 0 32px;gap:20px; }
 :root[data-style="modern"] .record-heading h3 { font-size:25px; }.project-description { font-size:17px; }
 :root[data-style="modern"] .project-card>.project-media-visual { width:100%; }.project-media-visual>img { max-height:210px; }
 :root[data-style="modern"] .experience-layout,:root[data-style="modern"] .about-layout,:root[data-style="modern"] .contact-layout,:root[data-style="modern"] .role-interest { grid-template-columns:1fr;gap:28px; }
 :root[data-style="modern"] .timeline-item { grid-template-columns:1fr;gap:5px; }.timeline-date { grid-row:auto!important; }.timeline-item>p { grid-column:1!important; }
 :root[data-style="modern"] .about-facts { padding:20px 0 0;border-left:0;border-top:1px solid var(--line); }
 :root[data-style="modern"] .skills-grid { grid-template-columns:1fr 1fr;gap:18px; }
 :root[data-style="modern"] .section { padding-bottom:36px; }.site-footer { align-items:flex-start; }
}
@media(max-width:360px) { :root[data-style="modern"] .skills-grid { grid-template-columns:1fr; } }

/* One visible heading per section; separators belong to sections, not repeated labels. */
:root[data-style="modern"] .section { border-top:1px solid var(--line);padding-top:28px; }
:root[data-style="modern"] .section-heading { margin-top:0; }
:root[data-style="modern"] .about-layout { margin-top:0; }
:root[data-style="modern"] .fact-group { padding-bottom:0; }
:root[data-style="modern"] .fact-group+.fact-group { margin-top:24px;padding-top:22px; }
:root[data-style="modern"] .fact-group>.eyebrow { margin-bottom:12px; }
:root[data-style="modern"] .contact-layout { margin-top:0; }
@media(min-width:761px) { :root[data-style="modern"] .language-list>div { display:grid;grid-template-columns:1fr 1.8fr;gap:12px;padding:5px 0;margin-top:8px;align-items:baseline; } }
@media(max-width:760px) { :root[data-style="modern"] .about-facts { display:block; } }
