/* Language and theme switches (both modes) */
.nav-tools{display:inline-flex;align-items:center;gap:10px;margin-left:auto}
.lang-switch{display:inline-flex;padding:3px;gap:2px;border:2px solid currentColor;border-radius:999px}
.lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:34px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700;text-decoration:none;color:inherit}
.lang-switch a[aria-current]{background:#000;color:#fff}
.theme-btn{display:inline-grid;place-items:center;width:44px;height:44px;border:2px solid currentColor;border-radius:50%;background:transparent;color:inherit;font-size:18px;line-height:1}
.theme-btn:hover{background:#000;color:#fff}
@media(max-width:1023px){.nav-tools{margin-left:auto}}
@media(max-width:760px){
  .nav-tools{gap:6px}
  .lang-switch a{min-width:32px;min-height:32px;padding:0 8px}
  .theme-btn{width:40px;height:40px}
  .nav>.nav-tools+.nav-cta{margin-left:0}
}
@media(max-width:480px){.nav-cta{display:none}.menu-btn{margin-left:0}}
@media(max-width:380px){.brand{font-size:19px}.lang-switch a{min-width:28px;padding:0 6px}.theme-btn{width:36px;height:36px}}

/* Dark theme: same palette as imitech.my.id (#111111 ground, #1c1b1a surface, #f3eee3 ink, #d9541e accent) */
html[data-theme=dark]{color-scheme:dark;--bg:#111111;--surface:#1c1b1a;--text:#f3eee3;--muted:#a8a399;--line:#3d3a36;--accent:#d9541e;--red:#d9541e;--blue:#d9541e}
html[data-theme=dark] body{background:#111111;color:#f3eee3}
html[data-theme=dark] .skip-link{background:#d9541e;color:#111}
html[data-theme=dark] .site-header{background:#111111;border-bottom:1px solid #3d3a36}
html[data-theme=dark] .brand span{background:#d9541e;color:#111}
html[data-theme=dark] .nav-links a:hover{color:#ef7a4a}
html[data-theme=dark] :is(.btn,.menu-btn,.lang-switch,.theme-btn,.case-study,.case-image,.fact-card,.hero-eyebrow,.portrait-frame,.portrait-frame figcaption,.media-card,.editorial-card,.github-activity,.collaboration-photo,.project-hero .eyebrow,.contact-form input,.contact-form textarea,.case-category,.case-open,.portrait-label,.skill-group,.skills-grid){border-color:#3d3a36}
html[data-theme=dark] :is(.hero-bottom,.project-card,.project-index-heading,.video-card,.nav-links a){border-color:#3d3a36}
html[data-theme=dark] .btn{background:#1c1b1a;color:#f3eee3;box-shadow:none}
html[data-theme=dark] .btn:hover{transform:none;background:#262523;box-shadow:none}
html[data-theme=dark] .btn-primary,html[data-theme=dark] .btn-accent{background:#d9541e;color:#111;border-color:#d9541e;box-shadow:none}
html[data-theme=dark] .btn-primary:hover,html[data-theme=dark] .btn-accent:hover{background:#ef7a4a;border-color:#ef7a4a}
html[data-theme=dark] .btn-dark{background:#f3eee3;color:#111;border-color:#f3eee3;box-shadow:none}
html[data-theme=dark] .btn-secondary:hover{background:#f3eee3;color:#111}
html[data-theme=dark] .menu-btn{background:#1c1b1a;color:#f3eee3}
html[data-theme=dark] .lang-switch a[aria-current]{background:#d9541e;color:#111}
html[data-theme=dark] .theme-btn:hover{background:#262523;color:#f3eee3}
html[data-theme=dark] .hero-eyebrow{background:#d9541e;color:#111;border-color:#d9541e;box-shadow:none}
html[data-theme=dark] .hero-highlight,html[data-theme=dark] .highlight-blue{background:#d9541e;color:#111}
html[data-theme=dark] .highlight-yellow{background:#d9541e;color:#111}
html[data-theme=dark] .hero-description,html[data-theme=dark] .section-intro,html[data-theme=dark] .intro,html[data-theme=dark] .eyebrow,html[data-theme=dark] .breadcrumb{color:#a8a399}
html[data-theme=dark] .project-hero .eyebrow{background:#d9541e;color:#111}
html[data-theme=dark] .discipline-strip{background:#1c1b1a;color:#ef7a4a;border-color:#3d3a36}
html[data-theme=dark] .case-study{background:#1c1b1a;color:#f3eee3;box-shadow:none}
html[data-theme=dark] .case-study:hover{transform:none;box-shadow:none;border-color:#6b665e}
html[data-theme=dark] .case-image{background:#262523}
html[data-theme=dark] .case-category,html[data-theme=dark] .case-open,html[data-theme=dark] .portrait-label{background:#d9541e;color:#111;border-color:#d9541e;box-shadow:none}
html[data-theme=dark] .case-study>p,html[data-theme=dark] .project-card p,html[data-theme=dark] .fact-card ul,html[data-theme=dark] .fact-card p,html[data-theme=dark] .gallery-header p{color:#a8a399}
html[data-theme=dark] .project-meta span:not(:last-child)::after{color:#6b665e}
html[data-theme=dark] .skills-section{background:#1c1b1a;color:#f3eee3}
html[data-theme=dark] .skills-section .eyebrow,html[data-theme=dark] .skills-section .section-heading p{color:#a8a399}
html[data-theme=dark] .skills-grid,html[data-theme=dark] .skill-group{border-color:#3d3a36}
html[data-theme=dark] .skill-number,html[data-theme=dark] .skill-group summary::after{color:#ef7a4a}
html[data-theme=dark] .skill-group ul{color:#a8a399}
html[data-theme=dark] .portrait-frame{background:#1c1b1a;box-shadow:none}
html[data-theme=dark] .collaboration-photo{background:#1c1b1a;box-shadow:none}
html[data-theme=dark] .contact-section{background:#161514;border-color:#3d3a36}
html[data-theme=dark] .contact-copy h2 span{background:#d9541e;color:#111}
html[data-theme=dark] .contact-form input,html[data-theme=dark] .contact-form textarea{background:#262523;color:#f3eee3}
html[data-theme=dark] .form-note,html[data-theme=dark] .form-status{color:#a8a399}
html[data-theme=dark] .github-activity{background:#1c1b1a}
html[data-theme=dark] .github-days>span,html[data-theme=dark] .github-legend i{background:#2b2926}
html[data-theme=dark] .github-activity [data-level="1"]{background:#7a3416}
html[data-theme=dark] .github-activity [data-level="2"]{background:#a8451a}
html[data-theme=dark] .github-activity [data-level="3"]{background:#d9541e}
html[data-theme=dark] .github-activity [data-level="4"]{background:#f08a5a}
html[data-theme=dark] .site-footer{background:#0b0b0b;border-top:1px solid #3d3a36}
html[data-theme=dark] .editorial-card{background:#1c1b1a;border-left-color:#d9541e}
html[data-theme=dark] .editorial-card p{color:#f3eee3}
html[data-theme=dark] .media-card{background:#262523}
html[data-theme=dark] .gallery-empty{border-color:#3d3a36}
html[data-theme=dark] :focus-visible{outline-color:#ef7a4a}
html[data-theme=dark] ::selection{background:#d9541e;color:#111}
@media(max-width:760px){html[data-theme=dark] .js-ready .nav-links{background:#111111;border-top-color:#3d3a36}html[data-theme=dark] .nav-links a:hover{color:#ef7a4a}}
