:root{
  --navy:#000000;
  --navy-light:#333333;
  --ink:#0b0b0b;
  --muted:#5c6773;
  --rule:#e6eaee;
  --soft:#f7f9fb;
  --accent:#000000;
  --radius:16px;
  --radius-sm:8px;
  --space:24px;
  --shadow-subtle:0 2px 8px rgba(0,0,0,0.08);
  --shadow-card:0 4px 20px rgba(0,0,0,0.12);
  --shadow-lift:0 8px 32px rgba(0,0,0,0.16);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  padding:0;
  background:#fff;
  color:var(--ink);
  font-family:Helvetica,Arial,sans-serif;
  line-height:1.6;
}

.container{max-width:800px;margin:0 auto;padding:0 20px}

/* Enhanced link styles */
a{
  color:#000;
  text-decoration:underline;
  text-decoration-color:#000000;
  text-underline-offset:3px;
  text-decoration-thickness:1.5px;
  transition:all 0.2s ease;
}
a:hover{
  text-decoration-thickness:2.5px;
  text-decoration-color:#000000;
}

/* Focus styles */
:focus-visible{outline:3px solid #000000;outline-offset:2px;border-radius:6px}

/* Top accent */
.accent{
  position:sticky;
  top:0;
  height:4px;
  background:#000000;
  z-index:1000;
}

/* Enhanced header with backdrop blur */
header{
  position:sticky;
  top:4px;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--rule);
  z-index:999;
  box-shadow:var(--shadow-subtle);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

.brand h1{
  margin:0;
  font-family:"EB Garamond",Georgia,serif;
  font-size:32px;
  line-height:1.15;
  font-weight:700;
  color:#000000;
}

.brand .sub{
  margin-top:4px;
  font-size:15px;
  color:var(--muted);
  font-weight:500;
}

nav a{
  display:inline-block;
  margin-left:20px;
  text-decoration:none;
  color:#000;
  border-bottom:2px solid transparent;
  padding:6px 0;
  font-weight:600;
  font-size:15px;
  transition:all 0.2s ease;
}

nav a:hover{
  border-color:#000000;
  color:#000000;
}

@media (max-width:760px){
  .brand h1{font-size:28px}
  nav{display:none}
  .container{padding:0 20px}
}

/* Section chrome with better spacing */
.section{padding:40px 0}
.section h2{
  margin:0 0 8px 0;
  font-family:"EB Garamond",Georgia,serif;
  font-size:28px;
  font-weight:700;
  color:#000000;
}
.rule{
  height:3px;
  width:64px;
  background:#000000;
  border-radius:2px;
  margin:8px 0 16px;
}

/* Enhanced hero */
.hero{
  padding:40px 0 40px;
}

.hero .card{
  background:#fff;
  border:1px solid var(--rule);
  border-radius:var(--radius);
  padding:32px;
  box-shadow:var(--shadow-card);
}

.kicker{
  display:inline-block;
  background:linear-gradient(135deg, #f8f8f8, #f0f0f0);
  color:#000000;
  font-weight:700;
  font-size:13px;
  border:1px solid #cccccc;
  border-radius:999px;
  padding:6px 14px;
  margin-bottom:16px;
  white-space:nowrap;
  box-shadow:var(--shadow-subtle);
}

.hero h2{
  margin:0 0 12px 0;
  font-size:28px;
  color:var(--ink);
  font-family:"EB Garamond",Georgia,serif;
  font-weight:600;
}

.hero p{
  margin:0 0 16px 0;
  font-size:18px;
  line-height:1.7;
  color:var(--ink);
}

.meta{
  color:var(--muted);
  font-size:15px;
  font-weight:500;
}

/* Enhanced CTA section */
.cta-wrap{padding:20px 0 16px}
.cta{
  background:linear-gradient(135deg, #000000 0%, #333333 100%);
  color:#fff;
  border-radius:var(--radius);
  border:1px solid #000000;
  padding:28px;
  box-shadow:var(--shadow-card);
  position:relative;
  overflow:hidden;
}

.cta::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:100px;
  height:100px;
  background:radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius:50%;
  transform:translate(20px, -20px);
}

.cta h3{
  margin:0 0 18px 0;
  font-size:20px;
  font-weight:700;
}

.cta .row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}

.contact-button{
  background:#fff;
  color:#000000;
  padding:12px 18px;
  border-radius:var(--radius-sm);
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  border:1px solid #cbd5e1;
  transition:all 0.2s ease;
  box-shadow:var(--shadow-subtle);
}

.contact-button:hover{
  background:#333333;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:var(--shadow-lift);
}

.slash{color:#bcd1df;font-size:16px}

@media (max-width:480px){
  .cta .row{gap:10px}
  .slash{display:none}
  .hero .card{padding:24px}
  .cta{padding:20px}
}

/* Enhanced value section */
.value{
  background:#fff;
  border:1px solid var(--rule);
  border-radius:var(--radius);
  padding:28px;
  margin-top:var(--space);
  box-shadow:var(--shadow-card);
  transition:all 0.3s ease;
}

.value:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-lift);
}

.value ul{margin:8px 0 0 0;padding:0;list-style:none}
.value li{
  padding-left:32px;
  position:relative;
  margin:16px 0;
  font-size:16px;
  line-height:1.6;
}

.value li::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  width:14px;
  height:14px;
  background:#000000;
  border-radius:3px;
  transform:rotate(45deg);
  box-shadow:var(--shadow-subtle);
}

/* Enhanced cards */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
  margin-top:20px;
}

.cards .card{
  background:var(--soft);
  border:1px solid var(--rule);
  border-radius:var(--radius);
  padding:24px;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}

.cards .card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lift);
  border:2px solid #000000;
}

.card h3{
  margin:0 0 8px 0;
  font-size:19px;
  font-weight:700;
}

.card p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.tag{
  display:inline-block;
  border:1px solid #000000;
  color:#000000;
  font-size:12px;
  font-weight:600;
  border-radius:999px;
  padding:4px 12px;
  margin-bottom:12px;
  background:rgba(0,0,0,0.05);
}

/* Skills list styling */
.skills-list{margin:12px 0 0 24px;padding:0}
.skills-list li{
  margin:12px 0;
  font-size:16px;
  line-height:1.6;
}
.skills-list strong{font-weight:700;color:#000000}

/* Enhanced honors section */
.honors ul{margin:12px 0 0 24px;padding:0}
.honors li{
  margin:10px 0;
  font-size:15px;
}

.subhed{
  margin:24px 0 8px;
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:13px;
  font-weight:600;
}

/* Footer enhancement */
footer{
  border-top:1px solid var(--rule);
  padding:32px 0;
  color:var(--muted);
  font-size:14px;
  text-align:center;
  background:var(--soft);
}

footer a{color:#000000;font-weight:600}

/* Subtle animations */
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}

.card, .value, .skills{
  animation:fadeInUp 0.6s ease forwards;
}

.cards .card:nth-child(1){animation-delay:0.1s}
.cards .card:nth-child(2){animation-delay:0.2s}
.cards .card:nth-child(3){animation-delay:0.3s}

/* Improved responsive typography */
@media (max-width:600px){
  .section h2{font-size:24px}
  .hero h2{font-size:22px}
  .hero p{font-size:17px}
  .cards{grid-template-columns:1fr}
}

/* Print styles */
@media print{
  .accent, header{position:static}
  .card, .value, .skills{box-shadow:none;border:1px solid #ccc}
  a{text-decoration:underline;color:#000}
}