/* Additive theme layer. Light page geometry and paint remain in the original files. */
html[data-theme="dark"] {
  color-scheme: dark;
  background-color:#0b0d10;
  background-image:var(--theme-page);
  background-attachment:fixed;
  background-repeat:no-repeat;
  background-size:cover;
  --theme-primary:#edf0f4;
  --theme-secondary:#b6bfcc;
  --theme-muted:#9aa8ba;
  --theme-focus:#93cbdc;
  --theme-page:radial-gradient(ellipse 70% 42% at 12% 12%,rgba(48,83,107,.15),transparent 75%),radial-gradient(ellipse 55% 42% at 92% 36%,rgba(80,62,103,.12),transparent 76%),radial-gradient(ellipse 55% 40% at 40% 88%,rgba(40,90,90,.10),transparent 75%),linear-gradient(165deg,#0b0d10,#11151b 55%,#0d1014);
  --theme-surface:linear-gradient(135deg,rgba(64,79,96,.25),rgba(24,32,44,.23) 52%,rgba(49,63,78,.22));
  --theme-edge:inset 0 0 0 1px rgba(183,211,231,.15),inset 0 1px 0 rgba(223,238,250,.19);
  --theme-depth:0 3px 8px -4px rgba(0,0,0,.35),0 16px 32px -20px rgba(0,0,0,.48);
  --theme-control:linear-gradient(140deg,rgba(109,132,154,.23),rgba(52,68,86,.27));
}
html[data-theme="dark"] body{color:var(--theme-primary);background:transparent;}
html[data-theme="dark"] a{color:var(--theme-primary);}
html[data-theme="dark"] a:hover{color:#b5dcea;}
html[data-theme="dark"] :is(a,button,input,textarea):focus-visible{outline-color:var(--theme-focus) !important;}
html[data-theme="dark"] .site-material {
  --material-page-base:#0b0d10;--material-page-light:var(--theme-page);
  --material-ambient-a:radial-gradient(circle at 35% 35%,rgba(68,135,166,.08),rgba(69,130,133,.025) 60%,transparent 75%);
  --material-ambient-b:radial-gradient(circle at 60% 40%,rgba(119,90,162,.065),rgba(157,133,111,.02) 60%,transparent 75%);
  --material-fill:var(--theme-surface);
  --material-light:radial-gradient(ellipse 75% 90% at 0% 100%,rgba(86,158,176,.045),transparent 80%),linear-gradient(115deg,rgba(201,224,245,.025),transparent 45%);
  --material-filter:blur(14px) saturate(115%);
  --material-edges:var(--theme-edge);--material-depth:var(--theme-depth);
  --material-raised-shadow:var(--theme-edge),0 5px 10px -5px rgba(0,0,0,.45),0 24px 36px -20px rgba(0,0,0,.5);
  --material-rim:linear-gradient(135deg,rgba(206,233,254,.055),transparent 38%,rgba(152,193,211,.015));
  --material-control-fill:var(--theme-control);--material-control-shadow:var(--theme-edge),0 3px 7px -4px rgba(0,0,0,.32);
}
html[data-theme="dark"] [data-material="input"]{background:linear-gradient(145deg,rgba(25,35,46,.62),rgba(42,55,70,.34));box-shadow:inset 0 0 0 1px rgba(168,198,220,.20),inset 0 1px 3px rgba(0,0,0,.16);color:var(--theme-primary);}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#a4afbe;opacity:1;}
html[data-theme="dark"] .site-material [data-spec]{background:radial-gradient(circle,rgba(176,209,234,.10),transparent 65%) !important;}
/* Preserve black wordmarks by giving original artwork a quiet neutral backing. */
/* Homepage: keep every coordinate, dimension, transform and stacking level. */
html[data-theme="dark"] .home-glass{
  --ink:var(--theme-primary);--muted:var(--theme-secondary);
  --glass-shadow:0 1px 3px rgba(0,0,0,.25),0 16px 30px -18px rgba(0,0,0,.65),0 36px 56px -32px rgba(0,0,0,.55);
  --glass-shadow-lift:0 1px 2px rgba(174,212,233,.10),0 20px 36px -20px rgba(0,0,0,.70),0 55px 72px -30px rgba(0,0,0,.55);
  --control-fill:var(--theme-control);--control-shadow:var(--theme-edge),0 4px 10px -6px rgba(0,0,0,.5);
}
html[data-theme="dark"] .home-glass .glass-object{
  --glass-fill:var(--theme-surface);--glass-filter:blur(28px) saturate(125%);
  --glass-edges:var(--theme-edge),inset 2px 3px 6px -4px rgba(214,238,252,.24),inset -1px -2px 3px rgba(103,169,185,.09);
}
html[data-theme="dark"] .home-glass .glass-object::before{background:radial-gradient(ellipse 80% 30% at 20% -5%,rgba(206,230,249,.075),transparent 80%),radial-gradient(ellipse 80% 80% at 0% 100%,rgba(var(--light),.11),transparent 85%),radial-gradient(ellipse 60% 70% at 110% 40%,rgba(var(--bounce),.065),transparent 80%),linear-gradient(116deg,transparent 25%,rgba(202,226,245,.04) 48%,transparent 74%);box-shadow:inset 0 0 0 6px rgba(205,230,246,.012),inset 3px 4px 10px -7px rgba(222,242,255,.30);}
html[data-theme="dark"] .home-glass .glass-object::after{opacity:.30;}
html[data-theme="dark"] .home-glass [data-spec]{background:radial-gradient(ellipse 52% 48% at var(--spec-x,50%) var(--spec-y,38%),rgba(200,230,247,.13),rgba(175,218,242,.02) 48%,transparent 78%);}
html[data-theme="dark"] .home-glass .project-object{--glass-fill:linear-gradient(135deg,rgba(54,69,86,.34),rgba(18,26,37,.22) 48%,rgba(39,53,70,.31));}
html[data-theme="dark"] .home-glass .project-media{box-shadow:inset 0 0 0 1px rgba(205,230,248,.17),0 1px 0 rgba(218,238,250,.10);}
html[data-theme="dark"] .home-glass .project-arrow{color:#a4b8c6;}
html[data-theme="dark"] .home-glass .now-object{--glass-fill:linear-gradient(135deg,rgba(42,58,77,.24),rgba(16,25,38,.18));box-shadow:var(--glass-edges),inset 0 0 0 6px rgba(215,235,252,.025),inset 0 -20px 30px -24px rgba(130,188,218,.12),var(--glass-shadow);}
/* Existing clock sets data-mode; dark optical palettes follow that state directly. */
html[data-theme="dark"] .home-glass .now-object[data-mode="morning"]{--now-tint:linear-gradient(145deg,rgba(59,127,161,.28),rgba(56,99,132,.10) 55%,rgba(127,137,138,.12));--now-glow:radial-gradient(circle,rgba(109,187,211,.25),rgba(109,187,211,.05) 46%,transparent 70%);}
html[data-theme="dark"] .home-glass .now-object[data-mode="afternoon"]{--now-tint:linear-gradient(145deg,rgba(162,111,87,.22),rgba(126,93,104,.11) 55%,rgba(85,84,146,.18));--now-glow:radial-gradient(circle,rgba(194,141,101,.20),rgba(194,141,101,.04) 46%,transparent 70%);}
html[data-theme="dark"] .home-glass .now-object[data-mode="night"]{--now-tint:linear-gradient(145deg,rgba(40,53,92,.38),rgba(49,48,88,.22) 55%,rgba(36,75,100,.20));--now-glow:radial-gradient(circle,rgba(105,122,193,.20),rgba(105,122,193,.04) 46%,transparent 70%);}
html[data-theme="dark"] .home-glass .now-object [data-now-tint]{background:var(--now-tint) !important;opacity:1 !important;}
html[data-theme="dark"] .home-glass .now-object [data-now-glow]{background:var(--now-glow) !important;}
html[data-theme="dark"] .home-glass .now-object [data-now-time]{color:var(--theme-primary) !important;}
html[data-theme="dark"] .home-glass .now-object :is([data-now-status],[data-now-eyebrow],[data-now-nyc],[data-now-focus]){color:var(--theme-secondary) !important;text-shadow:none !important;}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html[data-theme="dark"]{--theme-surface:linear-gradient(135deg,#252f3c,#19222f);}
  html[data-theme="dark"] .home-glass .glass-object{--glass-fill:var(--theme-surface);}
}
@media(prefers-reduced-motion:reduce){
  html[data-theme="dark"] .home-glass [data-now-tint],html[data-theme="dark"] .home-glass [data-now-glow]{transition:none !important;}
}


/* Compatibility bridge for existing inline text colors. No light-mode overrides. */
html[data-theme="dark"] [style^="color:#0369a1;"],
html[data-theme="dark"] [style*=";color:#0369a1;"],
html[data-theme="dark"] [style*="; color:#0369a1;"],
html[data-theme="dark"] [style^="color: #0369a1;"],
html[data-theme="dark"] [style*=";color: #0369a1;"],
html[data-theme="dark"] [style*="; color: #0369a1;"],
html[data-theme="dark"] [style^="color: rgb(3, 105, 161);"],
html[data-theme="dark"] [style*="; color: rgb(3, 105, 161);"]{color:#a4cadf !important;}
html[data-theme="dark"] [style^="color:#047857;"],
html[data-theme="dark"] [style*=";color:#047857;"],
html[data-theme="dark"] [style*="; color:#047857;"],
html[data-theme="dark"] [style^="color: #047857;"],
html[data-theme="dark"] [style*=";color: #047857;"],
html[data-theme="dark"] [style*="; color: #047857;"],
html[data-theme="dark"] [style^="color: rgb(4, 120, 87);"],
html[data-theme="dark"] [style*="; color: rgb(4, 120, 87);"]{color:#a4dfce !important;}
html[data-theme="dark"] [style^="color:#065f46;"],
html[data-theme="dark"] [style*=";color:#065f46;"],
html[data-theme="dark"] [style*="; color:#065f46;"],
html[data-theme="dark"] [style^="color: #065f46;"],
html[data-theme="dark"] [style*=";color: #065f46;"],
html[data-theme="dark"] [style*="; color: #065f46;"],
html[data-theme="dark"] [style^="color: rgb(6, 95, 70);"],
html[data-theme="dark"] [style*="; color: rgb(6, 95, 70);"]{color:#a4dfcf !important;}
html[data-theme="dark"] [style^="color:#0c0f1a;"],
html[data-theme="dark"] [style*=";color:#0c0f1a;"],
html[data-theme="dark"] [style*="; color:#0c0f1a;"],
html[data-theme="dark"] [style^="color: #0c0f1a;"],
html[data-theme="dark"] [style*=";color: #0c0f1a;"],
html[data-theme="dark"] [style*="; color: #0c0f1a;"],
html[data-theme="dark"] [style^="color: rgb(12, 15, 26);"],
html[data-theme="dark"] [style*="; color: rgb(12, 15, 26);"]{color:var(--theme-primary) !important;}
html[data-theme="dark"] [style^="color:#0e7490;"],
html[data-theme="dark"] [style*=";color:#0e7490;"],
html[data-theme="dark"] [style*="; color:#0e7490;"],
html[data-theme="dark"] [style^="color: #0e7490;"],
html[data-theme="dark"] [style*=";color: #0e7490;"],
html[data-theme="dark"] [style*="; color: #0e7490;"],
html[data-theme="dark"] [style^="color: rgb(14, 116, 144);"],
html[data-theme="dark"] [style*="; color: rgb(14, 116, 144);"]{color:#a4d3df !important;}
html[data-theme="dark"] [style^="color:#0f766e;"],
html[data-theme="dark"] [style*=";color:#0f766e;"],
html[data-theme="dark"] [style*="; color:#0f766e;"],
html[data-theme="dark"] [style^="color: #0f766e;"],
html[data-theme="dark"] [style*=";color: #0f766e;"],
html[data-theme="dark"] [style*="; color: #0f766e;"],
html[data-theme="dark"] [style^="color: rgb(15, 118, 110);"],
html[data-theme="dark"] [style*="; color: rgb(15, 118, 110);"]{color:#a4dfdb !important;}
html[data-theme="dark"] [style^="color:#12203f;"],
html[data-theme="dark"] [style*=";color:#12203f;"],
html[data-theme="dark"] [style*="; color:#12203f;"],
html[data-theme="dark"] [style^="color: #12203f;"],
html[data-theme="dark"] [style*=";color: #12203f;"],
html[data-theme="dark"] [style*="; color: #12203f;"],
html[data-theme="dark"] [style^="color: rgb(18, 32, 63);"],
html[data-theme="dark"] [style*="; color: rgb(18, 32, 63);"]{color:var(--theme-primary) !important;}
html[data-theme="dark"] [style^="color:#166534;"],
html[data-theme="dark"] [style*=";color:#166534;"],
html[data-theme="dark"] [style*="; color:#166534;"],
html[data-theme="dark"] [style^="color: #166534;"],
html[data-theme="dark"] [style*=";color: #166534;"],
html[data-theme="dark"] [style*="; color: #166534;"],
html[data-theme="dark"] [style^="color: rgb(22, 101, 52);"],
html[data-theme="dark"] [style*="; color: rgb(22, 101, 52);"]{color:#a4dfbb !important;}
html[data-theme="dark"] [style^="color:#188038;"],
html[data-theme="dark"] [style*=";color:#188038;"],
html[data-theme="dark"] [style*="; color:#188038;"],
html[data-theme="dark"] [style^="color: #188038;"],
html[data-theme="dark"] [style*=";color: #188038;"],
html[data-theme="dark"] [style*="; color: #188038;"],
html[data-theme="dark"] [style^="color: rgb(24, 128, 56);"],
html[data-theme="dark"] [style*="; color: rgb(24, 128, 56);"]{color:#a4dfb7 !important;}
html[data-theme="dark"] [style^="color:#1a67d2;"],
html[data-theme="dark"] [style*=";color:#1a67d2;"],
html[data-theme="dark"] [style*="; color:#1a67d2;"],
html[data-theme="dark"] [style^="color: #1a67d2;"],
html[data-theme="dark"] [style*=";color: #1a67d2;"],
html[data-theme="dark"] [style*="; color: #1a67d2;"],
html[data-theme="dark"] [style^="color: rgb(26, 103, 210);"],
html[data-theme="dark"] [style*="; color: rgb(26, 103, 210);"]{color:#a4bddf !important;}
html[data-theme="dark"] [style^="color:#1a73e8;"],
html[data-theme="dark"] [style*=";color:#1a73e8;"],
html[data-theme="dark"] [style*="; color:#1a73e8;"],
html[data-theme="dark"] [style^="color: #1a73e8;"],
html[data-theme="dark"] [style*=";color: #1a73e8;"],
html[data-theme="dark"] [style*="; color: #1a73e8;"],
html[data-theme="dark"] [style^="color: rgb(26, 115, 232);"],
html[data-theme="dark"] [style*="; color: rgb(26, 115, 232);"]{color:#a4bedf !important;}
html[data-theme="dark"] [style^="color:#1d2b45;"],
html[data-theme="dark"] [style*=";color:#1d2b45;"],
html[data-theme="dark"] [style*="; color:#1d2b45;"],
html[data-theme="dark"] [style^="color: #1d2b45;"],
html[data-theme="dark"] [style*=";color: #1d2b45;"],
html[data-theme="dark"] [style*="; color: #1d2b45;"],
html[data-theme="dark"] [style^="color: rgb(29, 43, 69);"],
html[data-theme="dark"] [style*="; color: rgb(29, 43, 69);"]{color:#a9badb !important;}
html[data-theme="dark"] [style^="color:#1f4436;"],
html[data-theme="dark"] [style*=";color:#1f4436;"],
html[data-theme="dark"] [style*="; color:#1f4436;"],
html[data-theme="dark"] [style^="color: #1f4436;"],
html[data-theme="dark"] [style*=";color: #1f4436;"],
html[data-theme="dark"] [style*="; color: #1f4436;"],
html[data-theme="dark"] [style^="color: rgb(31, 68, 54);"],
html[data-theme="dark"] [style*="; color: rgb(31, 68, 54);"]{color:var(--theme-primary) !important;}
html[data-theme="dark"] [style^="color:#1f5c43;"],
html[data-theme="dark"] [style*=";color:#1f5c43;"],
html[data-theme="dark"] [style*="; color:#1f5c43;"],
html[data-theme="dark"] [style^="color: #1f5c43;"],
html[data-theme="dark"] [style*=";color: #1f5c43;"],
html[data-theme="dark"] [style*="; color: #1f5c43;"],
html[data-theme="dark"] [style^="color: rgb(31, 92, 67);"],
html[data-theme="dark"] [style*="; color: rgb(31, 92, 67);"]{color:#a4dfc7 !important;}
html[data-theme="dark"] [style^="color:#202124;"],
html[data-theme="dark"] [style*=";color:#202124;"],
html[data-theme="dark"] [style*="; color:#202124;"],
html[data-theme="dark"] [style^="color: #202124;"],
html[data-theme="dark"] [style*=";color: #202124;"],
html[data-theme="dark"] [style*="; color: #202124;"],
html[data-theme="dark"] [style^="color: rgb(32, 33, 36);"],
html[data-theme="dark"] [style*="; color: rgb(32, 33, 36);"]{color:var(--theme-primary) !important;}
html[data-theme="dark"] [style^="color:#2a3b6b;"],
html[data-theme="dark"] [style*=";color:#2a3b6b;"],
html[data-theme="dark"] [style*="; color:#2a3b6b;"],
html[data-theme="dark"] [style^="color: #2a3b6b;"],
html[data-theme="dark"] [style*=";color: #2a3b6b;"],
html[data-theme="dark"] [style*="; color: #2a3b6b;"],
html[data-theme="dark"] [style^="color: rgb(42, 59, 107);"],
html[data-theme="dark"] [style*="; color: rgb(42, 59, 107);"]{color:#a7b5dc !important;}
html[data-theme="dark"] [style^="color:#2b3348;"],
html[data-theme="dark"] [style*=";color:#2b3348;"],
html[data-theme="dark"] [style*="; color:#2b3348;"],
html[data-theme="dark"] [style^="color: #2b3348;"],
html[data-theme="dark"] [style*=";color: #2b3348;"],
html[data-theme="dark"] [style*="; color: #2b3348;"],
html[data-theme="dark"] [style^="color: rgb(43, 51, 72);"],
html[data-theme="dark"] [style*="; color: rgb(43, 51, 72);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#2c3a58;"],
html[data-theme="dark"] [style*=";color:#2c3a58;"],
html[data-theme="dark"] [style*="; color:#2c3a58;"],
html[data-theme="dark"] [style^="color: #2c3a58;"],
html[data-theme="dark"] [style*=";color: #2c3a58;"],
html[data-theme="dark"] [style*="; color: #2c3a58;"],
html[data-theme="dark"] [style^="color: rgb(44, 58, 88);"],
html[data-theme="dark"] [style*="; color: rgb(44, 58, 88);"]{color:#adbad6 !important;}
html[data-theme="dark"] [style^="color:#334155;"],
html[data-theme="dark"] [style*=";color:#334155;"],
html[data-theme="dark"] [style*="; color:#334155;"],
html[data-theme="dark"] [style^="color: #334155;"],
html[data-theme="dark"] [style*=";color: #334155;"],
html[data-theme="dark"] [style*="; color: #334155;"],
html[data-theme="dark"] [style^="color: rgb(51, 65, 85);"],
html[data-theme="dark"] [style*="; color: rgb(51, 65, 85);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#33627d;"],
html[data-theme="dark"] [style*=";color:#33627d;"],
html[data-theme="dark"] [style*="; color:#33627d;"],
html[data-theme="dark"] [style^="color: #33627d;"],
html[data-theme="dark"] [style*=";color: #33627d;"],
html[data-theme="dark"] [style*="; color: #33627d;"],
html[data-theme="dark"] [style^="color: rgb(51, 98, 125);"],
html[data-theme="dark"] [style*="; color: rgb(51, 98, 125);"]{color:#a8c9dc !important;}
html[data-theme="dark"] [style^="color:#3a4258;"],
html[data-theme="dark"] [style*=";color:#3a4258;"],
html[data-theme="dark"] [style*="; color:#3a4258;"],
html[data-theme="dark"] [style^="color: #3a4258;"],
html[data-theme="dark"] [style*=";color: #3a4258;"],
html[data-theme="dark"] [style*="; color: #3a4258;"],
html[data-theme="dark"] [style^="color: rgb(58, 66, 88);"],
html[data-theme="dark"] [style*="; color: rgb(58, 66, 88);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#3d5b70;"],
html[data-theme="dark"] [style*=";color:#3d5b70;"],
html[data-theme="dark"] [style*="; color:#3d5b70;"],
html[data-theme="dark"] [style^="color: #3d5b70;"],
html[data-theme="dark"] [style*=";color: #3d5b70;"],
html[data-theme="dark"] [style*="; color: #3d5b70;"],
html[data-theme="dark"] [style^="color: rgb(61, 91, 112);"],
html[data-theme="dark"] [style*="; color: rgb(61, 91, 112);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#414b63;"],
html[data-theme="dark"] [style*=";color:#414b63;"],
html[data-theme="dark"] [style*="; color:#414b63;"],
html[data-theme="dark"] [style^="color: #414b63;"],
html[data-theme="dark"] [style*=";color: #414b63;"],
html[data-theme="dark"] [style*="; color: #414b63;"],
html[data-theme="dark"] [style^="color: rgb(65, 75, 99);"],
html[data-theme="dark"] [style*="; color: rgb(65, 75, 99);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#475569;"],
html[data-theme="dark"] [style*=";color:#475569;"],
html[data-theme="dark"] [style*="; color:#475569;"],
html[data-theme="dark"] [style^="color: #475569;"],
html[data-theme="dark"] [style*=";color: #475569;"],
html[data-theme="dark"] [style*="; color: #475569;"],
html[data-theme="dark"] [style^="color: rgb(71, 85, 105);"],
html[data-theme="dark"] [style*="; color: rgb(71, 85, 105);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#515b70;"],
html[data-theme="dark"] [style*=";color:#515b70;"],
html[data-theme="dark"] [style*="; color:#515b70;"],
html[data-theme="dark"] [style^="color: #515b70;"],
html[data-theme="dark"] [style*=";color: #515b70;"],
html[data-theme="dark"] [style*="; color: #515b70;"],
html[data-theme="dark"] [style^="color: rgb(81, 91, 112);"],
html[data-theme="dark"] [style*="; color: rgb(81, 91, 112);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#5b6784;"],
html[data-theme="dark"] [style*=";color:#5b6784;"],
html[data-theme="dark"] [style*="; color:#5b6784;"],
html[data-theme="dark"] [style^="color: #5b6784;"],
html[data-theme="dark"] [style*=";color: #5b6784;"],
html[data-theme="dark"] [style*="; color: #5b6784;"],
html[data-theme="dark"] [style^="color: rgb(91, 103, 132);"],
html[data-theme="dark"] [style*="; color: rgb(91, 103, 132);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#5f6368;"],
html[data-theme="dark"] [style*=";color:#5f6368;"],
html[data-theme="dark"] [style*="; color:#5f6368;"],
html[data-theme="dark"] [style^="color: #5f6368;"],
html[data-theme="dark"] [style*=";color: #5f6368;"],
html[data-theme="dark"] [style*="; color: #5f6368;"],
html[data-theme="dark"] [style^="color: rgb(95, 99, 104);"],
html[data-theme="dark"] [style*="; color: rgb(95, 99, 104);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#5f87a1;"],
html[data-theme="dark"] [style*=";color:#5f87a1;"],
html[data-theme="dark"] [style*="; color:#5f87a1;"],
html[data-theme="dark"] [style^="color: #5f87a1;"],
html[data-theme="dark"] [style*=";color: #5f87a1;"],
html[data-theme="dark"] [style*="; color: #5f87a1;"],
html[data-theme="dark"] [style^="color: rgb(95, 135, 161);"],
html[data-theme="dark"] [style*="; color: rgb(95, 135, 161);"]{color:var(--theme-muted) !important;}
html[data-theme="dark"] [style^="color:#60767a;"],
html[data-theme="dark"] [style*=";color:#60767a;"],
html[data-theme="dark"] [style*="; color:#60767a;"],
html[data-theme="dark"] [style^="color: #60767a;"],
html[data-theme="dark"] [style*=";color: #60767a;"],
html[data-theme="dark"] [style*="; color: #60767a;"],
html[data-theme="dark"] [style^="color: rgb(96, 118, 122);"],
html[data-theme="dark"] [style*="; color: rgb(96, 118, 122);"]{color:var(--theme-secondary) !important;}
html[data-theme="dark"] [style^="color:#6b7690;"],
html[data-theme="dark"] [style*=";color:#6b7690;"],
html[data-theme="dark"] [style*="; color:#6b7690;"],
html[data-theme="dark"] [style^="color: #6b7690;"],
html[data-theme="dark"] [style*=";color: #6b7690;"],
html[data-theme="dark"] [style*="; color: #6b7690;"],
html[data-theme="dark"] [style^="color: rgb(107, 118, 144);"],
html[data-theme="dark"] [style*="; color: rgb(107, 118, 144);"]{color:var(--theme-muted) !important;}
html[data-theme="dark"] [style^="color:#6d28d9;"],
html[data-theme="dark"] [style*=";color:#6d28d9;"],
html[data-theme="dark"] [style*="; color:#6d28d9;"],
html[data-theme="dark"] [style^="color: #6d28d9;"],
html[data-theme="dark"] [style*=";color: #6d28d9;"],
html[data-theme="dark"] [style*="; color: #6d28d9;"],
html[data-theme="dark"] [style^="color: rgb(109, 40, 217);"],
html[data-theme="dark"] [style*="; color: rgb(109, 40, 217);"]{color:#bba4df !important;}
html[data-theme="dark"] [style^="color:#7a5410;"],
html[data-theme="dark"] [style*=";color:#7a5410;"],
html[data-theme="dark"] [style*="; color:#7a5410;"],
html[data-theme="dark"] [style^="color: #7a5410;"],
html[data-theme="dark"] [style*=";color: #7a5410;"],
html[data-theme="dark"] [style*="; color: #7a5410;"],
html[data-theme="dark"] [style^="color: rgb(122, 84, 16);"],
html[data-theme="dark"] [style*="; color: rgb(122, 84, 16);"]{color:#dfcaa4 !important;}
html[data-theme="dark"] [style^="color:#8b95ad;"],
html[data-theme="dark"] [style*=";color:#8b95ad;"],
html[data-theme="dark"] [style*="; color:#8b95ad;"],
html[data-theme="dark"] [style^="color: #8b95ad;"],
html[data-theme="dark"] [style*=";color: #8b95ad;"],
html[data-theme="dark"] [style*="; color: #8b95ad;"],
html[data-theme="dark"] [style^="color: rgb(139, 149, 173);"],
html[data-theme="dark"] [style*="; color: rgb(139, 149, 173);"]{color:var(--theme-muted) !important;}
html[data-theme="dark"] [style^="color:#9a6a1a;"],
html[data-theme="dark"] [style*=";color:#9a6a1a;"],
html[data-theme="dark"] [style*="; color:#9a6a1a;"],
html[data-theme="dark"] [style^="color: #9a6a1a;"],
html[data-theme="dark"] [style*=";color: #9a6a1a;"],
html[data-theme="dark"] [style*="; color: #9a6a1a;"],
html[data-theme="dark"] [style^="color: rgb(154, 106, 26);"],
html[data-theme="dark"] [style*="; color: rgb(154, 106, 26);"]{color:#dfc9a4 !important;}
html[data-theme="dark"] [style^="color:#9aa6c0;"],
html[data-theme="dark"] [style*=";color:#9aa6c0;"],
html[data-theme="dark"] [style*="; color:#9aa6c0;"],
html[data-theme="dark"] [style^="color: #9aa6c0;"],
html[data-theme="dark"] [style*=";color: #9aa6c0;"],
html[data-theme="dark"] [style*="; color: #9aa6c0;"],
html[data-theme="dark"] [style^="color: rgb(154, 166, 192);"],
html[data-theme="dark"] [style*="; color: rgb(154, 166, 192);"]{color:var(--theme-muted) !important;}
html[data-theme="dark"] [style^="color:#9aa7c4;"],
html[data-theme="dark"] [style*=";color:#9aa7c4;"],
html[data-theme="dark"] [style*="; color:#9aa7c4;"],
html[data-theme="dark"] [style^="color: #9aa7c4;"],
html[data-theme="dark"] [style*=";color: #9aa7c4;"],
html[data-theme="dark"] [style*="; color: #9aa7c4;"],
html[data-theme="dark"] [style^="color: rgb(154, 167, 196);"],
html[data-theme="dark"] [style*="; color: rgb(154, 167, 196);"]{color:var(--theme-muted) !important;}
html[data-theme="dark"] [style^="color:#a16207;"],
html[data-theme="dark"] [style*=";color:#a16207;"],
html[data-theme="dark"] [style*="; color:#a16207;"],
html[data-theme="dark"] [style^="color: #a16207;"],
html[data-theme="dark"] [style*=";color: #a16207;"],
html[data-theme="dark"] [style*="; color: #a16207;"],
html[data-theme="dark"] [style^="color: rgb(161, 98, 7);"],
html[data-theme="dark"] [style*="; color: rgb(161, 98, 7);"]{color:#dfc7a4 !important;}
html[data-theme="dark"] [style^="color:#b44a38;"],
html[data-theme="dark"] [style*=";color:#b44a38;"],
html[data-theme="dark"] [style*="; color:#b44a38;"],
html[data-theme="dark"] [style^="color: #b44a38;"],
html[data-theme="dark"] [style*=";color: #b44a38;"],
html[data-theme="dark"] [style*="; color: #b44a38;"],
html[data-theme="dark"] [style^="color: rgb(180, 74, 56);"],
html[data-theme="dark"] [style*="; color: rgb(180, 74, 56);"]{color:#dfada4 !important;}
html[data-theme="dark"] [style^="color:#b45309;"],
html[data-theme="dark"] [style*=";color:#b45309;"],
html[data-theme="dark"] [style*="; color:#b45309;"],
html[data-theme="dark"] [style^="color: #b45309;"],
html[data-theme="dark"] [style*=";color: #b45309;"],
html[data-theme="dark"] [style*="; color: #b45309;"],
html[data-theme="dark"] [style^="color: rgb(180, 83, 9);"],
html[data-theme="dark"] [style*="; color: rgb(180, 83, 9);"]{color:#dfbea4 !important;}
html[data-theme="dark"] [style^="color:#b91c1c;"],
html[data-theme="dark"] [style*=";color:#b91c1c;"],
html[data-theme="dark"] [style*="; color:#b91c1c;"],
html[data-theme="dark"] [style^="color: #b91c1c;"],
html[data-theme="dark"] [style*=";color: #b91c1c;"],
html[data-theme="dark"] [style*="; color: #b91c1c;"],
html[data-theme="dark"] [style^="color: rgb(185, 28, 28);"],
html[data-theme="dark"] [style*="; color: rgb(185, 28, 28);"]{color:#dfa4a4 !important;}
html[data-theme="dark"] [style^="color:#c0392b;"],
html[data-theme="dark"] [style*=";color:#c0392b;"],
html[data-theme="dark"] [style*="; color:#c0392b;"],
html[data-theme="dark"] [style^="color: #c0392b;"],
html[data-theme="dark"] [style*=";color: #c0392b;"],
html[data-theme="dark"] [style*="; color: #c0392b;"],
html[data-theme="dark"] [style^="color: rgb(192, 57, 43);"],
html[data-theme="dark"] [style*="; color: rgb(192, 57, 43);"]{color:#dfaaa4 !important;}
html[data-theme="dark"] [style^="color:#c2410c;"],
html[data-theme="dark"] [style*=";color:#c2410c;"],
html[data-theme="dark"] [style*="; color:#c2410c;"],
html[data-theme="dark"] [style^="color: #c2410c;"],
html[data-theme="dark"] [style*=";color: #c2410c;"],
html[data-theme="dark"] [style*="; color: #c2410c;"],
html[data-theme="dark"] [style^="color: rgb(194, 65, 12);"],
html[data-theme="dark"] [style*="; color: rgb(194, 65, 12);"]{color:#dfb6a4 !important;}
/* Light-only legacy pills and hand-built explanatory panels, explicitly marked. */
html[data-theme="dark"] [data-theme-surface="control"]{background:var(--theme-control) !important;box-shadow:var(--theme-edge),0 2px 6px -4px rgba(0,0,0,.30) !important;}
html[data-theme="dark"] [data-theme-surface="panel"]{background:var(--theme-surface) !important;box-shadow:var(--theme-edge),var(--theme-depth) !important;}
html[data-theme="dark"] [aria-label="Other ways to reach me"] svg{stroke:#a4cee0;}
/* The timeline keeps its existing 0.55 inactive opacity; brighter ink compensates. */
html[data-theme="dark"] [data-entry]{--theme-primary:#f3f5f8;--theme-secondary:#e2e8f0;--theme-muted:#d9e1ec;}
html[data-theme="dark"] [data-entry] [style*="text-transform: uppercase"]{color:#dce9f3 !important;}
/* One contact-card response, with bounded dark fills throughout each state. */
.contact-method{transition:transform 240ms cubic-bezier(.22,1,.36,1),box-shadow 240ms ease !important;}
.contact-method:is(:hover,:focus-visible,:focus-within){transform:translateY(-2px);box-shadow:var(--material-raised-shadow);}
.contact-method:active{transform:translateY(0);}
html[data-theme="dark"] .contact-method{background:linear-gradient(135deg,rgba(44,61,79,.58),rgba(29,42,58,.48)) !important;box-shadow:var(--theme-edge),0 4px 12px -8px rgba(0,0,0,.38);}
html[data-theme="dark"] .contact-method:is(:hover,:focus-visible,:focus-within){background:linear-gradient(135deg,rgba(55,76,96,.65),rgba(34,50,68,.56)) !important;box-shadow:inset 0 0 0 1px rgba(186,224,242,.32),inset 0 1px 2px rgba(225,243,255,.23),inset 0 -8px 16px -14px rgba(132,213,231,.24),0 9px 18px -12px rgba(0,0,0,.48);}
html[data-theme="dark"] .contact-method:active{background:linear-gradient(135deg,rgba(43,62,82,.64),rgba(29,43,60,.58)) !important;}
html[data-theme="dark"] .contact-method [aria-hidden="true"]{color:#b6dbea !important;}
html[data-theme="dark"] .contact-method svg{stroke:#b6dbea;}
@media(prefers-reduced-motion:reduce){.contact-method{transition:none !important;}.contact-method:is(:hover,:focus-visible,:focus-within,:active){transform:none;}}
