:root {
  --ink: #17211d;
  --muted: #56645d;
  --paper: #f7f4ed;
  --white: #fffdf8;
  --line: #d9d1c3;
  --reef: #147c7c;
  --kelp: #284f3d;
  --clay: #a9573a;
  --rose: #b75f74;
  --gold: #c68b3c;
  --berry: #d3233c;
  --shadow: 0 22px 60px rgba(23, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  min-height: 2.3rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.55rem 0.82rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
  outline: none;
}

main {
  overflow: hidden;
}

.hero,
.overview,
.timeline,
.contact-strip,
.page-hero,
.split-section,
.featured-work,
.portfolio-grid,
.resume-list,
.teaching-summary {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 890px;
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.eyebrow,
.card-kicker {
  margin: 0 0 1rem;
  color: var(--clay);
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.8rem 1.1rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-panel {
  display: grid;
  gap: 0.9rem;
}

.hero-panel div,
.path-card,
.portfolio-grid article,
.resume-list article,
.teaching-summary article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 1.25rem;
}

.hero-panel span,
.resume-list span,
.teaching-summary span {
  color: var(--reef);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.2rem;
}

.hero-panel p,
.path-card p,
.portfolio-grid p,
.resume-list p,
.teaching-summary p,
.split-section p,
.timeline li {
  color: var(--muted);
  line-height: 1.6;
}

.overview {
  border-top: 1px solid var(--line);
}

.overview h2,
.timeline h2,
.split-section h2 {
  max-width: 760px;
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.path-card {
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  color: var(--white);
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15)),
    var(--image),
    var(--kelp);
  background-size: cover;
  background-position: center;
}

.art-card {
  --image: radial-gradient(circle at 25% 20%, #f0c27a 0 12%, transparent 13%),
    radial-gradient(circle at 75% 35%, #b75f74 0 14%, transparent 15%),
    linear-gradient(135deg, #294f3f, #a9573a 55%, #f7d791);
}

.teaching-card {
  --image: linear-gradient(135deg, #fff4d6, #d57b55 42%, #2d5d63);
}

.science-card {
  --image: radial-gradient(circle at 20% 30%, #f2c46d 0 8%, transparent 9%),
    radial-gradient(circle at 72% 62%, #f18b6d 0 11%, transparent 12%),
    linear-gradient(135deg, #123c47, #147c7c 55%, #8ed1c6);
}

.path-card h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

.path-card p,
.path-card .card-kicker {
  color: rgba(255, 253, 248, 0.86);
}

.path-card a {
  margin-top: 1rem;
  font-weight: 900;
  color: var(--white);
}

.timeline {
  padding-top: 2rem;
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.timeline li {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.timeline span {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.contact-strip h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.contact-links .icon-link {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.contact-links .icon-link:hover,
.contact-links .icon-link:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  outline: none;
}

.icon-link svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-hero {
  min-height: 68svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.art-hero {
  background: linear-gradient(120deg, rgba(247, 244, 237, 0.74), rgba(247, 244, 237, 0.98)), radial-gradient(circle at 75% 20%, #b75f74 0 12%, transparent 13%), linear-gradient(135deg, #284f3d, #a9573a, #c68b3c);
}

.science-hero {
  background: linear-gradient(120deg, rgba(247, 244, 237, 0.72), rgba(247, 244, 237, 0.97)), radial-gradient(circle at 76% 44%, #f18b6d 0 10%, transparent 11%), linear-gradient(135deg, #0c3545, #147c7c, #8ed1c6);
}

.teaching-hero {
  background: linear-gradient(120deg, rgba(247, 244, 237, 0.76), rgba(247, 244, 237, 0.98)), linear-gradient(135deg, #c68b3c, #fff1d0 44%, #284f3d);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.featured-work {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1.28fr);
  gap: 2rem;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.featured-work h2 {
  max-width: 560px;
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.featured-work p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.featured-work figure {
  margin: 0;
}

.featured-work img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 68%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.featured-work figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.portfolio-grid,
.resume-list,
.teaching-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 2rem;
}

.portfolio-grid article,
.resume-list article,
.teaching-summary article {
  padding: 1.25rem;
}

.portfolio-grid h2,
.resume-list h2,
.teaching-summary h2 {
  margin: 1rem 0 0.4rem;
  font-size: 1.45rem;
}

.art-swatch {
  height: 13rem;
  border-radius: 6px;
  background: var(--swatch);
}

.ceramic {
  --swatch: radial-gradient(circle at 38% 45%, var(--berry) 0 11%, transparent 12%),
    radial-gradient(circle at 58% 36%, #ef4250 0 10%, transparent 11%),
    linear-gradient(135deg, #8ea090, #d2c3a1);
}

.print {
  --swatch: repeating-linear-gradient(135deg, #17211d 0 10px, #fffdf8 10px 20px, #b75f74 20px 31px);
}

.album {
  --swatch: radial-gradient(circle at center, #fffdf8 0 10%, #17211d 11% 18%, transparent 19%), linear-gradient(135deg, #284f3d, #147c7c, #c68b3c);
}

.poster {
  --swatch: linear-gradient(90deg, rgba(23, 33, 29, 0.84), rgba(23, 33, 29, 0.2)), linear-gradient(135deg, #f4cf82, #b75f74, #284f3d);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split-section,
  .contact-strip,
  .path-grid,
  .timeline ol,
  .featured-work,
  .portfolio-grid,
  .resume-list,
  .teaching-summary {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(3rem, 17vw, 5.4rem);
  }

  .page-hero {
    min-height: 58svh;
  }

  .contact-strip,
  .contact-links {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .path-card {
    min-height: 19rem;
  }
}

@media (max-width: 500px) {
  .hero,
  .overview,
  .timeline,
  .page-hero,
  .split-section,
  .featured-work,
  .portfolio-grid,
  .resume-list,
  .teaching-summary {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  nav a {
    padding-inline: 0.68rem;
  }
}
