@import url(https://skandavishnu.com/css/header.css);
@import url(https://skandavishnu.com/css/notfound.css);

:root{
  --bg: #050713;
  --panel: rgba(255,255,255,0.045);
  --panel2: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.10);

  --text: rgba(245,247,255,0.92);
  --muted: rgba(245,247,255,0.70);
  --soft: rgba(245,247,255,0.56);

  --accent: #56d6ff;
  --accent2: #7c8bff;
  --ok: rgba(86,214,255,0.18);

  --radius: 16px;
  --shadow: 0 18px 55px rgba(0,0,0,0.55);
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(86,214,255,0.10), transparent 55%),
    radial-gradient(900px 600px at 80% 15%, rgba(124,139,255,0.10), transparent 55%),
    linear-gradient(180deg, #050713, #040511 55%, #03040e);
  overflow-x: hidden;
}

/* Better selection */
::selection{
  background: rgba(86,214,255,0.22);
  color: rgba(255,255,255,0.96);
}

a{
  color: rgba(86,214,255,0.95);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

.wrap{
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

#main{
  padding: 26px 0 70px;
}

/* Headings */
h1, h2, h3{
  margin: 0;
  letter-spacing: -0.01em;
}
h1{
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.15;
}
h2{
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.92);
}
h3{
  font-size: 15px;
  line-height: 1.3;
  color: rgba(255,255,255,0.88);
}

/* Paragraphs */
p{
  margin: 10px 0 0;
  line-height: 1.65;
  color: var(--muted);
}
.lead{
  font-size: 16px;
  color: rgba(245,247,255,0.78);
}

/* Cards */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  margin-top: 16px;
}

.section-intro{
  margin-top: 8px;
  color: rgba(245,247,255,0.72);
}

/* HERO */
.hero{
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 16px;
  align-items: start;

  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(86,214,255,0.14), transparent 65%),
    radial-gradient(650px 240px at 85% 10%, rgba(124,139,255,0.14), transparent 65%);
  opacity: 0.9;
  pointer-events:none;
}

.hero > *{ position: relative; }

.hero-main p strong{
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

/* Buttons */
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.btn:hover{
  text-decoration: none;
  border-color: rgba(86,214,255,0.45);
  transform: translateY(-1px);
}
.btn:active{ transform: translateY(0); }

.btn.primary{
  border-color: rgba(86,214,255,0.45);
  background: rgba(86,214,255,0.10);
  color: rgba(220,252,255,0.95);
}
.btn.secondary{
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}
.btn.ghost{
  border-color: rgba(255,255,255,0.10);
  background: transparent;
  color: rgba(86,214,255,0.95);
}

/* Aside snapshot */
.hero-aside{
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
}
.aside-heading{
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.90);
}
.profile-list{
  margin: 0;
  padding: 0;
}
.profile-row{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.profile-row:first-child{ border-top: none; padding-top: 0; }
.profile-row dt{
  margin: 0;
  font-size: 12px;
  color: rgba(245,247,255,0.60);
}
.profile-row dd{
  margin: 0;
  color: rgba(245,247,255,0.82);
  font-size: 13px;
  line-height: 1.45;
}

/* Lists */
.bullet-list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(245,247,255,0.74);
}
.bullet-list li{
  margin: 8px 0;
  line-height: 1.55;
}
.bullet-list strong{
  color: rgba(255,255,255,0.90);
}

.contact-list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(245,247,255,0.74);
}
.contact-list li{ margin: 8px 0; }

/* Experience */
.experience-item{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.experience-item:first-of-type{
  border-top: none;
  padding-top: 0;
}
.experience-header{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.experience-meta{
  margin: 0;
  color: rgba(245,247,255,0.62);
  font-size: 12.5px;
}
.experience-summary{
  margin-top: 10px;
}

/* Skills grid */
.skills-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.skills-group{
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 14px 14px;
}

/* Publications */
.pub-list{
  margin: 12px 0 0;
  padding-left: 18px;
}
.pub-item{
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pub-item:first-child{ border-top: none; padding-top: 0; }
.pub-title{
  margin: 0;
  color: rgba(255,255,255,0.90);
}
.pub-authors, .pub-meta{
  margin: 6px 0 0;
  color: rgba(245,247,255,0.68);
}

/* Education */
.edu-list{
  margin: 10px 0 0;
  padding-left: 18px;
}
.edu-item{
  margin: 10px 0;
}
.edu-meta{
  margin: 6px 0 0;
  color: rgba(245,247,255,0.68);
}

/* Footer */
#site-footer{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0 34px;
  color: rgba(245,247,255,0.60);
}
#site-footer p{
  margin: 0;
  font-size: 13px;
  color: rgba(245,247,255,0.60);
}
#site-footer a{
  color: rgba(86,214,255,0.90);
}

/* Mobile */
@media (max-width: 980px){
  .wrap{ width: min(var(--max), calc(100% - 28px)); }
}
@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; }
  .hero-aside{ margin-top: 6px; }
  .profile-row{ grid-template-columns: 105px 1fr; }
}
@media (max-width: 640px){
  #main{ padding-top: 18px; }
  .skills-grid{ grid-template-columns: 1fr; }
  .btn{ width: 100%; }
  .hero-actions{ gap: 8px; }
}
