/*
  One palette for the whole site, taken from the self-driven MBA page
  (see self-driven-mba.css). Warm beige, two hues, no accent color.
  Deliberately single-theme: the MBA page commits to this beige in every
  context, so the rest of the site does too rather than flipping to a dark
  theme the MBA page would not follow.
*/
:root{
  --bg:#f2ebe4;
  --card:#fbf8f4;
  --ink:#2b2320;
  --body:#4a403a;
  --muted:#6b615a;
  --caption:#8a7d72;
  --quiet:#9a8b7e;
  --hair:#e5dbd0;
  --rule-top:#ddd2c6;
  --mat-border:#e2d8cd;
  --link-underline:#c9b9a8;
  --img-radius:6px;
  --sans: -apple-system, "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: Georgia, "Iowan Old Style", serif;
}
*{box-sizing:border-box;}
html{color-scheme:light;}

/* slight corner rounding on every image, site-wide, including any added later */
img{border-radius:var(--img-radius);}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;}

.page{max-width:820px;margin:0 auto;padding:0 1.75rem 4rem;}

/* shared top nav, used on the three inner pages */
nav.top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:2rem 0 0;
}
nav.top .mark{
  font-family:var(--serif);
  font-size:1.15rem;
  text-decoration:none;
  color:var(--ink);
  white-space:nowrap;
}
nav.top .links{display:flex;gap:1.5rem;font-size:0.85rem;}
nav.top .links a{
  text-decoration:none;
  color:var(--muted);
  padding-bottom:2px;
  border-bottom:1px solid transparent;
}
nav.top .links a:hover,
nav.top .links a[aria-current="page"]{
  color:var(--ink);
  border-color:var(--link-underline);
}
/* side by side, the wordmark and three links crush each other on a phone */
@media (max-width:620px){
  nav.top{
    flex-direction:column;
    align-items:flex-start;
    gap:0.85rem;
  }
  nav.top .links{
    flex-wrap:wrap;
    gap:0.5rem 1.15rem;
  }
  nav.top .links a{white-space:nowrap;}
}

/* home page hero */
.hero{
  min-height:calc(100vh - 9rem);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:1.75rem;
  padding:3rem 0;
}
.avatar{
  width:196px;
  height:196px;
  border-radius:20px;
  background:var(--card);
  color:var(--quiet);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--serif);
  font-size:2.6rem;
  overflow:hidden;
  border:1px solid var(--mat-border);
  box-shadow:0 8px 24px -14px rgba(43,35,32,0.28);
}
.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero h1{
  font-family:var(--serif);
  font-size:clamp(1.9rem, 4.5vw, 2.5rem);
  margin:0;
  font-weight:400;
}
.hero p{
  margin:0;
  color:var(--muted);
  max-width:52ch;
  font-size:1.05rem;
}
.hero-contact{
  display:flex;
  gap:1.25rem;
  font-size:0.85rem;
  color:var(--muted);
}
.hero-contact a{text-decoration:none;color:var(--muted);}
.hero-contact a:hover{color:var(--ink);}

/* inner page content */
.content{padding:3rem 0;}
.content h1{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(1.9rem, 4.5vw, 2.4rem);
  margin:0 0 2.5rem;
}
.content .intro{
  color:var(--muted);
  max-width:62ch;
  font-size:1rem;
  margin:0 0 2.5rem;
}

/* plain, stacked links — identical treatment to the top nav links */
.link-stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0.9rem;
}
.link-stack a{
  text-decoration:none;
  color:var(--muted);
  font-size:0.85rem;
  padding-bottom:2px;
  border-bottom:1px solid transparent;
}
.link-stack a:hover{
  color:var(--ink);
  border-color:var(--link-underline);
}
/* short descriptor after a link title, kept quieter than the title itself */
.link-note{
  color:var(--quiet);
  font-size:0.82rem;
}

.group{margin-bottom:2.5rem;}
.group:last-child{margin-bottom:0;}
.group h2{
  font-family:var(--serif);
  font-weight:400;
  font-size:1.2rem;
  margin:0 0 1rem;
  color:var(--ink);
}

.resume-card{
  background:var(--card);
  border:1px solid var(--mat-border);
  border-radius:14px;
  padding:1.5rem 1.75rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  text-decoration:none;
  color:var(--ink);
}
.resume-card:hover{border-color:var(--quiet);}
.resume-card .go{color:var(--caption);font-weight:600;font-size:0.9rem;}

footer{
  padding-top:2.5rem;
  margin-top:1rem;
  border-top:1px solid var(--hair);
  color:var(--muted);
  font-size:0.85rem;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:0.75rem;
}
footer a{color:var(--muted);text-decoration:none;}
footer a:hover{color:var(--ink);}
