/* ========================================
   2026 Modern / AI Theme
   Ultra-clean, printed resume feel,
   JetBrains Mono headings, system font body,
   Claude Code CLI aesthetic,
   hairline borders, black on white
   ======================================== */

/* ---- Custom Properties Override ---- */
[data-theme="2026"] {
    --color-primary: #0066FF;
    --color-primary-dark: #0052cc;
    --color-primary-darker: #003d99;
    --color-accent-green: #10b981;
    --color-accent-green-bg: rgba(16, 185, 129, 0.08);
    --color-accent-green-hover: #059669;
    --color-black: #ffffff;
    --color-white: #111111;
    --color-gray-dark: #e5e5e5;
    --color-gray-mid: #f5f5f5;
    --color-text-primary: #111111;
    --color-text-muted: #555555;
    --color-text-subtle: #999999;
    --font-display: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-readable: 'JetBrains Mono', 'SF Mono', monospace;
    --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-text: none;
    --shadow-box: none;
    --shadow-box-hover: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-glow: none;
    --gradient-primary: none;
    --gradient-dark: none;
    --glass-bg: #ffffff;
    --glass-border: #e5e5e5;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --border-width: 1px;
    --section-gap: 80px;

    /* Case study page overrides */
    --cs-page-bg: #ffffff;
    --cs-border-color: #e5e5e5;
    --cs-title-glow: none;
    --cs-text-color: #111111;
    --cs-muted-color: #555555;
    --cs-metric-bg: #f9f9f9;
    --cs-constraints-bg: rgba(0, 102, 255, 0.03);
    --cs-contact-bg: #f5f5f5;
}

/* ---- Background ---- */
html[data-theme="2026"] {
    background-color: #fafafa;
}

[data-theme="2026"] body {
    background-color: #fafafa !important;
    background-image: none !important;
    background-blend-mode: normal !important;
    color: #111111;
}

/* ---- Typography ---- */
[data-theme="2026"] h1,
[data-theme="2026"] h2,
[data-theme="2026"] h3,
[data-theme="2026"] h4 {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    text-shadow: none;
    color: #111111;
    letter-spacing: -0.02em;
}

[data-theme="2026"] p,
[data-theme="2026"] td,
[data-theme="2026"] th {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    text-shadow: none;
    color: #333;
}

[data-theme="2026"] a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    text-shadow: none;
}

[data-theme="2026"] #title {
    font-family: 'JetBrains Mono', monospace !important;
    color: #111111 !important;
    text-shadow: none !important;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

[data-theme="2026"] .hero-name {
    color: #999;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

[data-theme="2026"] .hero-cta-primary {
    background-color: #0066FF;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

[data-theme="2026"] .hero-cta-primary:hover {
    background-color: #0052cc;
    color: #ffffff;
}

/* Resume download — primary CTA on the resume page, mirrors hero-cta-primary
   so it reads as the clear next action above the experience scroll. */
[data-theme="2026"] .resume-download {
    background-color: #0066FF !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.18);
}

/* Beat the global [data-theme="2026"] a:visited (specificity 0,2,1):
   .resume-download:visited gets (0,3,0) and source-order wins anyway.
   Without this the text turns dark blue after first download click. */
[data-theme="2026"] .resume-download:visited {
    color: #ffffff !important;
}

[data-theme="2026"] .resume-download:hover,
[data-theme="2026"] .resume-download:visited:hover {
    background-color: #0052cc !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
    transform: translateY(-2px);
}

[data-theme="2026"] .hero-cta-secondary {
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #0066FF;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

[data-theme="2026"] .hero-cta-secondary:hover {
    background-color: #0066FF;
    border-color: #0066FF;
    color: #ffffff;
}

/* Contact resume CTAs — mirror hero CTA treatment so they read as
   primary/secondary buttons rather than plain links in 2026 theme. */
[data-theme="2026"] .contact-resume-cta {
    background-color: #0066FF;
    color: #ffffff !important;
    border: none;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-decoration: none;
}
[data-theme="2026"] .contact-resume-cta:visited {
    color: #ffffff !important;
}
[data-theme="2026"] .contact-resume-cta:hover {
    background-color: #0052cc;
    color: #ffffff !important;
    text-decoration: none;
}
[data-theme="2026"] .contact-resume-secondary {
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #0066FF !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-decoration: none;
}
[data-theme="2026"] .contact-resume-secondary:visited {
    color: #0066FF !important;
}
[data-theme="2026"] .contact-resume-secondary:hover {
    background-color: #0066FF;
    border-color: #0066FF;
    color: #ffffff !important;
    text-decoration: none;
}

[data-theme="2026"] .hero-proof {
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="2026"] .recruiter-summary {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

[data-theme="2026"] .summary-label {
    color: #999;
    font-family: 'JetBrains Mono', monospace;
}

[data-theme="2026"] .summary-value {
    color: #111;
}

[data-theme="2026"] .case-study-flagship {
    border-left: none !important;
}

/* Era selector tagline — keep it visible on the 2026 light theme
   (the base rule is gray on dark; we want gray on light here). */
[data-theme="2026"] .theme-era-tagline {
    color: #888 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
    text-transform: none !important;
    opacity: 1 !important;
}

/* Hero — Open to line on 2026 (light theme). Code-comment style. */
[data-theme="2026"] .hero-open-to {
    color: #666 !important;
    font-family: 'JetBrains Mono', monospace !important;
    opacity: 1 !important;
}

/* Recent / Notable strip on 2026 — white cards with light gray border,
   blue accent on tag + hover. Mirrors the case-study-card aesthetic. */
[data-theme="2026"] .recent-label {
    color: #999 !important;
    font-family: 'JetBrains Mono', monospace !important;
}
[data-theme="2026"] .recent-item {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
}
[data-theme="2026"] .recent-item:hover {
    background: #ffffff !important;
    border-color: #0066FF !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
}
[data-theme="2026"] .recent-tag {
    background: rgba(0, 102, 255, 0.08) !important;
    color: #0066FF !important;
    font-family: 'JetBrains Mono', monospace !important;
}
[data-theme="2026"] .recent-title {
    color: #111 !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-shadow: none !important;
}
[data-theme="2026"] .recent-desc {
    color: #444 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Resume — Builder Receipts on 2026 (light theme). */
[data-theme="2026"] .resume-receipts {
    background: #f7f9fc !important;
    border: 1px solid #e5e5e5 !important;
}
[data-theme="2026"] .receipts-label {
    color: #999 !important;
    font-family: 'JetBrains Mono', monospace !important;
}
[data-theme="2026"] .receipts-item {
    background: #ffffff !important;
    border: 1px solid #ececec !important;
}
[data-theme="2026"] .receipts-num {
    color: #0066FF !important;
    font-family: 'JetBrains Mono', monospace !important;
}
[data-theme="2026"] .receipts-text {
    color: #444 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}
[data-theme="2026"] .receipts-text a {
    color: #0066FF !important;
}
[data-theme="2026"] .receipts-text code {
    color: #0066FF !important;
    font-family: 'JetBrains Mono', monospace !important;
}

[data-theme="2026"] #name a {
    color: #555 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
}

[data-theme="2026"] .phosphor-text {
    text-shadow: none !important;
}

/* ---- Links ---- */
[data-theme="2026"] a {
    color: #0066FF;
    text-decoration: none;
}

[data-theme="2026"] a:visited {
    color: #0052cc !important;
}

[data-theme="2026"] a:hover {
    color: #003d99 !important;
    text-decoration: underline;
}

/* ---- Header ---- */
[data-theme="2026"] #site-header {
    background-color: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

[data-theme="2026"] .header-nav a {
    color: #555 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
}

[data-theme="2026"] .header-nav a:hover {
    color: #0066FF !important;
}

[data-theme="2026"] .header-logo img {
    filter: brightness(0.15) !important;
}

[data-theme="2026"] .header-logo:hover img {
    animation: none !important;
    filter: brightness(0) !important;
}

[data-theme="2026"] .header-logo::after {
    display: none !important;
}

/* ---- Hamburger / Mobile Menu ---- */
[data-theme="2026"] .hamburger {
    border-color: #ddd;
    border-radius: 4px;
}

[data-theme="2026"] .hamburger span {
    background: #333;
}

[data-theme="2026"] .hamburger:hover {
    border-color: #0066FF;
    background-color: rgba(0, 102, 255, 0.04);
}

[data-theme="2026"] .mobile-menu {
    background-color: #ffffff !important;
    background-image: none !important;
    border-left: 1px solid #e5e5e5;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.06);
}

[data-theme="2026"] .mobile-menu a {
    color: #333 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

[data-theme="2026"] .mobile-menu a:hover {
    color: #0066FF !important;
}

[data-theme="2026"] .mobile-menu li {
    border-bottom-color: #f0f0f0;
}

[data-theme="2026"] .mobile-menu-header {
    color: #0066FF;
    font-family: 'JetBrains Mono', monospace;
    border-bottom-color: #e5e5e5;
    font-size: 11px;
}

[data-theme="2026"] .mobile-menu-close {
    border-color: #ddd;
}

[data-theme="2026"] .mobile-menu-close::before,
[data-theme="2026"] .mobile-menu-close::after {
    background-color: #888;
}

/* ---- Buttons: Minimal hairline ---- */
[data-theme="2026"] .button,
[data-theme="2026"] .button2,
[data-theme="2026"] .form-submit {
    background-color: #ffffff !important;
    color: #111 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

[data-theme="2026"] .button:hover,
[data-theme="2026"] .button2:hover,
[data-theme="2026"] .form-submit:hover {
    border-color: #0066FF !important;
    color: #0066FF !important;
    background-color: rgba(0, 102, 255, 0.03) !important;
    transform: none !important;
}

/* ---- Brutalist CTA: CLI prompt style ---- */
[data-theme="2026"] .brutalist-cta {
    background-color: #111 !important;
    color: #ffffff !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    font-family: 'JetBrains Mono', monospace !important;
}

[data-theme="2026"] .brutalist-cta:hover {
    background-color: #0066FF !important;
    border-color: #0066FF !important;
}

[data-theme="2026"] .brutalist-cta-prompt {
    color: #0066FF !important;
    text-shadow: none !important;
    font-family: 'JetBrains Mono', monospace;
}

@keyframes cursorBlink2026 {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

[data-theme="2026"] .brutalist-cta-prompt::after {
    content: '_';
    animation: cursorBlink2026 1s step-end infinite;
    margin-left: 2px;
}

[data-theme="2026"] .brutalist-cta-text {
    color: #ffffff !important;
    text-shadow: none !important;
    text-transform: none !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0;
}

/* ---- About Section ---- */
/* Sized between the small grey //-labels (11px, --color-text-subtle)
   and a full H2 (30px). Distinct from both so it reads as its own
   tier — a code-comment heading, not a section label. */
[data-theme="2026"] .about-heading {
    color: #111 !important;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    text-align: left;
    margin-bottom: var(--space-md);
}

[data-theme="2026"] .about-bio {
    color: #444;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

[data-theme="2026"] .about-content {
    color: #333;
}

[data-theme="2026"] .strength-tag {
    background-color: #f5f5f5 !important;
    color: #555 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

/* ---- Cover Art ---- */
[data-theme="2026"] .cover-art {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

[data-theme="2026"] .hover-text {
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    border: none;
    border-radius: 4px;
}

/* ---- Portfolio Carousel ---- */
[data-theme="2026"] .portfolio-carousel {
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 6px !important;
    padding: 24px !important;
}

[data-theme="2026"] .portfolio-carousel .slide-label {
    color: #999 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

[data-theme="2026"] .project-title {
    color: #111 !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-shadow: none !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Comment-style structure labels */
[data-theme="2026"] .structure-label {
    color: #999 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

[data-theme="2026"] .structure-label::before {
    content: '// ';
    color: #ccc;
}

[data-theme="2026"] .structure-item {
    color: #333 !important;
    font-size: 14px;
    padding: 4px 0 4px 0;
    border-left: 2px solid #f0f0f0;
    padding-left: 12px;
    margin-bottom: 4px;
}

[data-theme="2026"] .project-link,
[data-theme="2026"] .brutalist-link {
    color: #ffffff !important;
    background-color: #0066FF !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    /* Bumped 600 → 700 so Safari macOS (which forces grayscale anti-aliasing
       and renders white-on-blue thinner than Chrome's subpixel rendering)
       still shows visible weight. Chrome will look slightly bolder too — fine
       for a CTA. */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    /* Force Safari to try subpixel anti-aliasing instead of macOS's grayscale
       default. On Mojave+ this may still map to grayscale (Apple removed
       subpixel system-wide), but it bumps weight where it can. */
    -webkit-font-smoothing: subpixel-antialiased;
    border: 1px solid #0066FF !important;
    border-radius: 4px !important;
    padding: 12px 22px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    /* Bulletproof sizing: don't depend solely on width: fit-content (Safari has
       had edge cases with it inside flex/grid parents). flex: none + align-self
       prevent any parent flex context from stretching us; max-width: max-content
       caps the box at intrinsic width even if width: fit-content is ignored. */
    flex: none !important;
    align-self: flex-start !important;
    width: fit-content !important;
    max-width: max-content !important;
    transition: all 0.15s ease;
}

/* Override the global a:visited color so visited case-study buttons
   don't render their text in #0052cc dark-blue (nearly invisible on
   the #0066FF button background). Specificity (0,3,0) beats the
   global a:visited's (0,2,1). */
[data-theme="2026"] .project-link:visited,
[data-theme="2026"] .brutalist-link:visited {
    color: #ffffff !important;
}

[data-theme="2026"] .project-link:hover,
[data-theme="2026"] .brutalist-link:hover {
    color: #ffffff !important;
    background-color: #003d99 !important;
    border-color: #003d99 !important;
    text-decoration: none !important;
    padding: 12px 22px !important;
    margin-left: 0 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

[data-theme="2026"] .case-study-image {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

/* ---- Tracklist: clean code-like table ---- */
[data-theme="2026"] #tracklist {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
}

[data-theme="2026"] #tracklist th {
    background-color: #f8f8f8;
    color: #999 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #e5e5e5 !important;
}

[data-theme="2026"] #tracklist td {
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
}

[data-theme="2026"] #tracklist td a {
    color: #111 !important;
    text-shadow: none !important;
    font-weight: 600;
    text-decoration: none;
}

[data-theme="2026"] #tracklist td a:hover {
    color: #0066FF !important;
    text-shadow: none !important;
}

[data-theme="2026"] #tracklist tbody tr:hover {
    background-color: rgba(0, 102, 255, 0.02) !important;
}

[data-theme="2026"] #tracklist td.year-range {
    font-family: 'JetBrains Mono', monospace;
    color: #999 !important;
}

[data-theme="2026"] tr.featured-role td:first-child::before {
    background: #0066FF !important;
    border-radius: 0 !important;
    width: 2px;
}

[data-theme="2026"] .role-details {
    background-color: #f8f9fa !important;
    border-left: 2px solid #f0f0f0;
}

[data-theme="2026"] .inline-bullets {
    color: #444 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
}

[data-theme="2026"] .inline-bullets li {
    color: #444 !important;
}

[data-theme="2026"] .view-more {
    background-color: #ffffff !important;
    color: #0066FF !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12px !important;
}

[data-theme="2026"] .view-more:hover {
    border-color: #0066FF !important;
}

/* ---- Company Logos ---- */
[data-theme="2026"] .company-logos-section {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 32px 40px !important;
}

[data-theme="2026"] .company-logos-header {
    color: #555 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 24px !important;
}

[data-theme="2026"] .company-logo {
    filter: grayscale(100%) brightness(0.2) !important;
    opacity: 0.5;
    transition: all 0.2s ease;
    height: 36px !important;
}

[data-theme="2026"] .company-logo:hover {
    opacity: 0.85;
    filter: grayscale(0%) brightness(1) !important;
}

/* ---- Hero Stats ---- */
[data-theme="2026"] .hero-stats {
    color: #111 !important;
    text-shadow: none !important;
}

/* ---- Metrics ---- */
[data-theme="2026"] .metric-card {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
}

[data-theme="2026"] .metric-card:hover {
    border-color: #0066FF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="2026"] .metric-value {
    color: #111 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    letter-spacing: -0.03em;
}

[data-theme="2026"] .metric-label {
    color: #999 !important;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
}

/* ---- Configurator ---- */
[data-theme="2026"] .configurator-showcase {
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

[data-theme="2026"] .configurator-showcase-inner {
    background: none !important;
}

[data-theme="2026"] .configurator-badge {
    background-color: #f0f0f0 !important;
    color: #555 !important;
    border-radius: 4px !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

[data-theme="2026"] .configurator-title {
    color: #111 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

[data-theme="2026"] .configurator-desc {
    color: #555 !important;
    font-size: 15px;
}

[data-theme="2026"] .configurator-cta {
    color: #0066FF !important;
    background: none !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 10px 20px !important;
}

[data-theme="2026"] .configurator-cta:hover {
    color: #ffffff !important;
    background-color: #0066FF !important;
    border-color: #0066FF !important;
}

[data-theme="2026"] .configurator-preview img {
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

/* ---- Contact Form ---- */
[data-theme="2026"] .form-label {
    color: #999 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

[data-theme="2026"] .form-input,
[data-theme="2026"] .form-textarea {
    background-color: #ffffff !important;
    color: #111 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

[data-theme="2026"] .form-input:focus,
[data-theme="2026"] .form-textarea:focus {
    border-color: #0066FF !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.08) !important;
}

[data-theme="2026"] .form-input::placeholder,
[data-theme="2026"] .form-textarea::placeholder {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 13px;
    color: #ccc !important;
}

/* ---- Modals ---- */
[data-theme="2026"] .modal-content {
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="2026"] .modal-content h2 {
    font-family: 'JetBrains Mono', monospace !important;
    color: #111 !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

[data-theme="2026"] .modal-case-study-cta {
    background-color: #111 !important;
    color: #ffffff !important;
    border: 1px solid #111 !important;
    border-radius: 4px !important;
}

[data-theme="2026"] .modal-case-study-cta:hover {
    background-color: #0066FF !important;
    border-color: #0066FF !important;
}

[data-theme="2026"] .modal-cta-secondary {
    background-color: #ffffff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

[data-theme="2026"] .carousel-nav button {
    background-color: #ffffff !important;
    color: #555 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
}

[data-theme="2026"] .close {
    color: #ccc !important;
}

[data-theme="2026"] .close:hover {
    color: #666 !important;
}

/* ---- Sidebar ---- */
[data-theme="2026"] .sidebar-portrait img {
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

[data-theme="2026"] .sidebar-link {
    color: #0066FF !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

[data-theme="2026"] #footer h4 {
    color: #111 !important;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: none;
}

/* ---- Footer ---- */
[data-theme="2026"] #site-footer-final {
    background-color: #fafafa;
    border-top: 1px solid #e5e5e5;
}

[data-theme="2026"] #site-footer-final p {
    color: #999 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

/* ---- iOS toolbar guard ---- */
[data-theme="2026"] .ios-toolbar-guard {
    background: #fafafa !important;
}

/* ---- Focus states ---- */
[data-theme="2026"] :focus-visible {
    outline: 2px solid #0066FF !important;
    outline-offset: 2px;
    box-shadow: none !important;
}

/* ---- Screensaver ---- */
[data-theme="2026"] #screensaver-clock .clock-text {
    color: #0066FF !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-shadow: none !important;
}

/* ---- Scroll reveals ---- */
[data-theme="2026"] .scroll-reveal,
[data-theme="2026"] .scroll-reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
}

/* ---- Theme Era Bar & Buttons ---- */
[data-theme="2026"] .theme-era-bar {
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
    animation: none !important;
}

[data-theme="2026"] .theme-era-btn {
    font-family: 'JetBrains Mono', 'SF Mono', monospace !important;
    font-size: 12px;
    font-weight: 500;
    color: #999;
    background: none;
    border: none;
    padding: 4px 12px;
    letter-spacing: 0.02em;
}

[data-theme="2026"] .theme-era-btn:hover {
    color: #555;
}

[data-theme="2026"] .theme-era-btn.active {
    color: #0066FF;
    border: 1px solid #0066FF;
    border-radius: 4px;
    background-color: rgba(0, 102, 255, 0.04);
}

/* ---- Terminal cursor blink on hero #name ---- */
[data-theme="2026"] #name a::after {
    content: '_';
    animation: cursorBlink2026 1s step-end infinite;
    color: #0066FF;
    margin-left: 2px;
    font-family: 'JetBrains Mono', monospace;
}

/* ---- About bio (line numbers removed for cleaner layout) ---- */

/* ---- Subtle grid dot pattern on hero section ---- */
[data-theme="2026"] .hero-section {
    background-image: radial-gradient(circle, #ddd 1px, transparent 1px);
    background-size: 24px 24px;
}
