:root{
  --bg: linear-gradient(135deg, #f6f8fb 0%, #e6f3ff 50%, #eefaf9 100%);
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-2: #10b981;
  --text: #0f172a;
  --radius: 12px;
}

*{box-sizing:border-box}

html, body {height:100%}

html{
  background: var(--bg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

body{
  margin:0;
  font-family: Inter, "EB Garamond", serif;
  background: transparent;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:24px;
}

.site-header{
  background: linear-gradient(90deg, rgba(16,185,129,0.06), rgba(37,99,235,0.04));
  backdrop-filter: blur(4px);
  border-bottom:1px solid rgba(15,23,42,0.06);
}
.site-header .container{
  display:flex;
  align-items:center;
  gap:16px;
  padding-top:18px;
  padding-bottom:18px;
}
.brand{
  font-weight:700;
  font-size:20px;
  color:var(--accent-2);
  text-decoration:none;
}
.nav{
  margin-left:auto;
  display:flex;
  gap:12px;
  align-items:center;
}
.nav a{color:var(--muted); text-decoration:none; padding:8px 12px; border-radius:8px}
.nav a:hover{color:var(--accent); background:rgba(37,99,235,0.08)}

.profile-card{position:relative; overflow:visible}
.profile-card::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:6px;
  border-radius:8px 0 0 8px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.main-card{border-top:6px solid; border-top-color:rgba(16,185,129,0.12)}

.layout{display:grid; grid-template-columns: 300px 1fr; gap:24px; align-items:start}

.profile-card{
  background:var(--card);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 6px 20px rgba(15,23,42,0.06);
  text-align:center;
}
.profile-card img{border-radius:50%; width:160px; height:160px; object-fit:cover; display:block; margin:0 auto 12px}
.profile-card h2{margin:6px 0 2px;font-size:18px}
.profile-card .meta{color:var(--muted); font-size:14px}
.contact-list{list-style:none; padding:0; margin:12px 0 0; text-align:left}
.contact-list li{margin:10px 0}
.contact-list a{color:var(--accent); text-decoration:none}

.profile-card > a{
  display:inline-block;
  line-height:0;
  text-decoration:none;
  cursor: default;
  border: none;
}
.profile-card > a img{display:block}
.profile-card > a:focus{
  outline: 2px dashed rgba(37,99,235,0.28);
  outline-offset: 3px;
}

.main-card{
  background:var(--card);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:0 6px 20px rgba(15,23,42,0.04);
}

h1,h2,h3{font-family:'EB Garamond', serif; color:var(--text); margin-top:0}
h1{font-size:28px}
h2{font-size:20px}

main-card h1{color:var(--accent)}
.main-card h2{color:var(--accent-2)}

.section{margin-bottom:18px}

.card-list{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px}

a{color:var(--accent);}

ul{padding-left:1.1rem}
li{margin:8px 0}

.footer{
  padding:20px 0;
  color:var(--muted);
  text-align:center;
}

@media (max-width:900px){
  .layout{grid-template-columns:1fr}
  .nav{display:none}
  .container{padding:16px}
}

.muted{color:var(--muted)}
.pill{display:inline-block; padding:6px 10px; background:rgba(37,99,235,0.08); color:var(--accent); border-radius:999px; font-size:13px}

a#easteregg,
a#easteregg:link,
a#easteregg:visited,
a#easteregg:hover,
a#easteregg:active{
  color: inherit !important;
  text-decoration: none !important;
  background: transparent !important;
  cursor: text !important;
}

#easteregg:focus{
  outline: 2px dashed rgba(37,99,235,0.28);
  outline-offset: 3px;
}

