/* A lighter, editorial layer over the original portfolio layout. */html[data-theme="light"]{
  --base:#f7f8f6;
  --base-2:#eff4f7;
  --surface:#ffffff;
  --surface-2:#f1f6f9;
  --text:#182c3b;
  --soft:#405463;
  --muted:#5d707d;
  --line:#d9e4e9;
  --signal:#285faf;
  --signal-dark:#214e93;
  --alert:#c86a58;
  --cyan:#1d7189;
  --body:'Segoe UI',Arial,sans-serif;
  --shadow:0 16px 42px rgba(38,70,99,.08);
  color-scheme:light;
}html[data-theme="light"] body{background:var(--base);color:var(--text)}html[data-theme="light"] body::before{display:none}html[data-theme="light"] ::selection{background:#d7e5fb;color:#142a44}html[data-theme="light"] a:hover{color:#163e79}html[data-theme="light"] .section:nth-of-type(even){background:#f0f5f7}html[data-theme="light"] .section+.section{border-top:1px solid var(--line)}html[data-theme="light"] .section-title::before,html[data-theme="light"] .section-title::after{display:none}html[data-theme="light"] .section-title h2{letter-spacing:-.045em}html[data-theme="light"] .section-title h2::after{color:var(--alert)}html[data-theme="light"] .section-title p{color:var(--muted)}

/* Quiet navigation with clear labels. */html[data-theme="light"] .header{background:#fff;border:1px solid #dbe5eb;box-shadow:0 18px 46px #294c6715}html[data-theme="light"] .header::before{content:'ROJIN KARKI';font-family:var(--heading);font-size:17px;letter-spacing:-.04em;color:var(--text);border-bottom:1px solid var(--line);padding:8px 10px 20px}html[data-theme="light"] .header::after{display:none}html[data-theme="light"] .navmenu a{color:#526a7b}html[data-theme="light"] .navmenu a i.navicon{color:#67869f}html[data-theme="light"] .navmenu a:hover,html[data-theme="light"] .navmenu a.active{background:#eef4fc;border-color:#d4e3f4;color:#1a4c91}html[data-theme="light"] .navmenu a.active{border-left:2px solid var(--signal)}html[data-theme="light"] .navmenu a:hover i,html[data-theme="light"] .navmenu a.active i{color:var(--signal)}html[data-theme="light"] .header .social-links a,html[data-theme="light"] .hero .social-links a{background:#fff;border-color:#d2e0e8;color:#36556c;border-radius:10px}html[data-theme="light"] .header .social-links a:hover,html[data-theme="light"] .hero .social-links a:hover{background:#e9f1fd;border-color:#abc7eb;color:var(--signal)}html[data-theme="light"] .header-toggle{background:#fff;color:var(--text);border:1px solid var(--line);box-shadow:var(--shadow)}

/* Portrait colors lead the home page; avoid scan lines and status widgets. */html[data-theme="light"] .hero{background:linear-gradient(138deg,#e8f0fb 0%,#f7f9fb 55%,#faeee9 100%)}html[data-theme="light"] .hero::before,html[data-theme="light"] .hero::after,html[data-theme="light"] .hero-visual::after,html[data-theme="light"] .background-elements{display:none}html[data-theme="light"] .hero-text h1{background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--text);-webkit-text-fill-color:var(--text)}html[data-theme="light"] .hero-text h1::after{display:none}html[data-theme="light"] .hero-text .lead{color:#3d5567}html[data-theme="light"] .hero-text .typed{color:var(--signal)}html[data-theme="light"] .hero-text .description{color:#526775}html[data-theme="light"] .btn,html[data-theme="light"] .btn.btn-primary,html[data-theme="light"] .contact-form .btn{background:var(--signal);border-color:var(--signal);color:#fff;border-radius:9px;box-shadow:0 9px 22px #285faf26}html[data-theme="light"] .btn:hover,html[data-theme="light"] .btn.btn-primary:hover,html[data-theme="light"] .contact-form .btn:hover{background:#1e4e94;border-color:#1e4e94;color:#fff;box-shadow:0 12px 28px #285faf26}html[data-theme="light"] .btn.btn-outline{color:var(--signal);border-color:#aec4d9;background:#fff}html[data-theme="light"] .btn.btn-outline:hover{color:#18488b;background:#eaf2fc;border-color:var(--signal)}html[data-theme="light"] .profile-container{width:min(405px,86%);aspect-ratio:1/1;animation:portrait-drift 7s ease-in-out infinite}html[data-theme="light"] .profile-container::before,html[data-theme="light"] .profile-container::after,html[data-theme="light"] .profile-background{display:none}html[data-theme="light"] .profile-container>.profile-image{width:100%;height:100%;border-radius:30px;object-fit:cover;object-position:center;filter:none;box-shadow:0 24px 56px #2e548228;transition:transform .45s ease,box-shadow .45s ease}html[data-theme="light"] .profile-container:hover>.profile-image{transform:scale(1.025);box-shadow:0 30px 64px #2e548236}@keyframes portrait-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@media(prefers-reduced-motion:reduce){html[data-theme="light"] .profile-container{animation:none}html[data-theme="light"] .profile-container:hover>.profile-image{transform:none}}

/* White surfaces and readable typography let the work carry the page. */html[data-theme="light"] .about .profile-card,html[data-theme="light"] .skills-category,html[data-theme="light"] .experience-card,html[data-theme="light"] .education-card,html[data-theme="light"] .project-card,html[data-theme="light"] .info-box,html[data-theme="light"] .contact-form,html[data-theme="light"] .portfolio-info,html[data-theme="light"] .portfolio-description,html[data-theme="light"] .service-info,html[data-theme="light"] .service-details .content,html[data-theme="light"] .starter-section .container,html[data-theme="light"] .cert-card{
  background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 12px 32px #294c670c;
}html[data-theme="light"] .about .profile-header{height:auto;aspect-ratio:1/1;background:#e8f0fb;border-radius:12px}html[data-theme="light"] .about .profile-header .profile-image,html[data-theme="light"] .about .profile-header img{object-position:center;filter:none}html[data-theme="light"] .about .profession,html[data-theme="light"] .about-content .badge-text{color:var(--signal)}html[data-theme="light"] .about .contact-item,html[data-theme="light"] .about-content .description p{color:var(--soft)}html[data-theme="light"] .skill-item{border-top-color:#e4ecf0}html[data-theme="light"] .skill-item .progress{background:#e8eff3}html[data-theme="light"] .skill-item .progress-bar{background:linear-gradient(90deg,#3b70bf,#79b8c9);box-shadow:none}html[data-theme="light"] .skill-item .skill-source{color:var(--muted)}html[data-theme="light"] .skills-category::before,html[data-theme="light"] .experience-card::before,html[data-theme="light"] .education-card::before{background:#8db9d5}html[data-theme="light"] .experience-card:hover,html[data-theme="light"] .education-card:hover,html[data-theme="light"] .project-card:hover,html[data-theme="light"] .skills-category:hover{border-color:#b4cde1;box-shadow:0 18px 40px #294c6718}html[data-theme="light"] .experience-icon,html[data-theme="light"] .education-icon{background:#edf3fa;border-color:#d2e2f0;color:var(--signal)}html[data-theme="light"] .experience-card h5{color:#3e576b}html[data-theme="light"] .experience-card p,html[data-theme="light"] .experience-card li,html[data-theme="light"] .education-card p,html[data-theme="light"] .education-card li{color:var(--soft)}html[data-theme="light"] .experience-focus{background:#eef4fa;border-color:#d4e2ef;color:#285b96}html[data-theme="light"] .experience-subheading{border-top-color:#e0e9ee;color:var(--cyan)}html[data-theme="light"] .experience-takeaway{background:#f0f6f8;border-left-color:#6fa5b7}html[data-theme="light"] .experience-takeaway b{color:#285b78}html[data-theme="light"] .experience-takeaway p{color:var(--soft)}html[data-theme="light"] .education-date,html[data-theme="light"] .experience-card>span{color:var(--cyan)}

/* Keep the bespoke project artwork as a deliberate contrast to the light page. */html[data-theme="light"] .project-card{background:#fff;border-color:var(--line);box-shadow:0 12px 32px #294c670d}html[data-theme="light"] .project-card p,html[data-theme="light"] .project-highlights li{color:var(--soft)}html[data-theme="light"] .project-visual{background:#14243b}html[data-theme="light"] .project-card .project-content{background:#fff}html[data-theme="light"] .project-tech span{background:#edf4fa;border-color:#d6e4ee;color:#315d8b}html[data-theme="light"] .project-proof{color:var(--soft);border-left-color:var(--alert)}html[data-theme="light"] .project-proof b{color:#af5347}html[data-theme="light"] .project-status.is-complete{background:#edf5f1;border-color:#c8dfd4;color:#266448}html[data-theme="light"] .project-status.is-building{background:#fff3ea;border-color:#f0d2bc;color:#98603e}html[data-theme="light"] .btn-project,html[data-theme="light"] .secondary-link{border-color:#bfd2e2;color:var(--signal)}html[data-theme="light"] .btn-project:hover{background:#eaf2fb;color:#1c4f91}html[data-theme="light"] .featured-project{border-color:#aec8e5;box-shadow:0 16px 42px #366ba21b}html[data-theme="light"] .project-original-summary{background:#f1f5f9;border-color:#d9e6ee;color:var(--soft)!important}html[data-theme="light"] .original-project-highlights{border-top-color:#e3ebee}html[data-theme="light"] .cert-card{overflow:hidden}html[data-theme="light"] .cert-content{background:#fff}html[data-theme="light"] .cert-card p,html[data-theme="light"] .cert-view{color:var(--soft)}html[data-theme="light"] .cert-view{color:var(--signal)}html[data-theme="light"] .cert-image{background:#edf1f4;border-bottom-color:var(--line)}html[data-theme="light"] .contact .info-box,html[data-theme="light"] .contact .contact-form{background:#fff}html[data-theme="light"] .info-item .icon-box{background:#edf4fb;color:var(--signal)}html[data-theme="light"] .info-item p{color:var(--soft)}html[data-theme="light"] .contact-form .form-control{background:#f9fbfc;border-color:#ccdce6;color:var(--text)}html[data-theme="light"] .contact-form .form-control:focus{background:#fff;border-color:var(--signal);color:var(--text);outline:2px solid #285faf23}html[data-theme="light"] .contact-form .form-control::placeholder{color:#718593}html[data-theme="light"] .footer{background:#eaf0f3;color:#647686}html[data-theme="light"] .scroll-top{background:#fff;border-color:#cbdde7;color:var(--signal);box-shadow:var(--shadow)}html[data-theme="light"] .scroll-top:hover{background:#e8f2fd;color:#16488c}

/* Project stories and assistant receive the same paper treatment. */html[data-theme="light"] .page-title{background:#e8f0f9;border-bottom-color:var(--line)}html[data-theme="light"] .case-stack,html[data-theme="light"] .case-result{background:#edf4f8}html[data-theme="light"] .case-overview p,html[data-theme="light"] .case-work li,html[data-theme="light"] .case-result p{color:var(--soft)}html[data-theme="light"] .case-nav a{background:#fff;color:var(--soft)}html[data-theme="light"] .case-nav a:hover{background:#eaf2fb;color:var(--signal)}html[data-theme="light"] .case-actions a{background:var(--signal);color:#fff}html[data-theme="light"] .case-actions a+a{background:#fff;color:var(--signal)}html[data-theme="light"] .project-art-figure{background:#ecf2f7;border-color:#d4e3ee}html[data-theme="light"] .project-art-figure figcaption{color:var(--muted)}html[data-theme="light"] .project-figure{background:#f3f7f9;border-color:var(--line)}html[data-theme="light"] .assistant-launcher{background:#fff;border-color:#c3d7e9;color:var(--text);box-shadow:0 14px 34px #294c672b}html[data-theme="light"] .launcher-icon{background:#eaf2fc;color:var(--signal);box-shadow:none}html[data-theme="light"] .assistant-panel{background:#fff;border-color:#d2e1e9;box-shadow:0 25px 70px #263e5930}html[data-theme="light"] .assistant-header{background:#edf4fb;border-bottom-color:#d8e5ef}html[data-theme="light"] .assistant-avatar{background:#fff;border-color:#bfd3e8;color:var(--signal)}html[data-theme="light"] .assistant-header p{color:var(--muted)}html[data-theme="light"] .assistant-close:hover{color:var(--text)}html[data-theme="light"] .assistant-message{border-color:#d9e5ec}html[data-theme="light"] .assistant-bot{background:#f2f6f8;color:var(--text)}html[data-theme="light"] .assistant-user{background:#e8f1fd;border-color:#bfd4ed;color:#214772}html[data-theme="light"] .assistant-prompts button{background:#fff;border-color:#d1e0e9;color:#285b91}html[data-theme="light"] .assistant-prompts button:hover{border-color:var(--signal);color:var(--signal)}html[data-theme="light"] .assistant-form{background:#f9fbfc;border-color:#cedfe9}html[data-theme="light"] .assistant-form input{color:var(--text)}html[data-theme="light"] .assistant-form input::placeholder{color:#6b7e8c}html[data-theme="light"] .assistant-form button{color:#fff}html[data-theme="light"] .assistant-foot{color:var(--muted)}
