:root {
  --paper: #ffffff;
  --paper-shadow: #ffffff;
  --ink: #1b1715;
  --soft-ink: #544a43;
  --butter: #efd079;
  --butter-deep: #efc86d;
  --blush: #f3b49a;
  --rose: #d96f58;
  --card: rgba(255, 249, 239, 0.86);
  --line: rgba(27, 23, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Didot", "Bodoni MT", "Noto Serif Display", "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(243, 180, 154, 0.12), transparent 28%),
    radial-gradient(circle at right 20%, rgba(244, 216, 140, 0.14), transparent 22%),
    linear-gradient(180deg, var(--paper) 0%, #fffefd 100%);
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
}

.corner-icon,
.corner-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
}

.corner-icon img {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
}

.corner-icons span {
  font-size: 2.2rem;
  line-height: 1;
}

.corner-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.corner-icons img {
  width: 2.9rem;
  height: 2.9rem;
  object-fit: contain;
}

.corner-icons {
  display: flex;
  gap: 0.75rem;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
}

.hero,
.highlight-section,
.list-section,
.footer {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
}

.hero {
  width: 100%;
  max-width: none;
  padding-top: 5rem;
  padding-bottom: 6rem;
  padding-left: clamp(3.6rem, 8vw, 6.2rem);
  padding-right: clamp(3.6rem, 8vw, 6.2rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft-ink);
}

h1,
h2,
h3,
.footer-title {
  margin: 0;
  font-weight: 700;
  line-height: 0.95;
}

h1 {
  font-size: clamp(2.6rem, 4.4vw, 5.2rem);
}

h1 span,
h2 span,
.footer-title span {
  display: inline;
  box-shadow: inset 0 -0.36em 0 var(--butter);
}

.intro {
  width: 100%;
  max-width: none;
  margin: 1.25rem auto 0;
  font-size: clamp(0.98rem, 1.28vw, 1.14rem);
  line-height: 1.18;
  text-align: left;
}

.inline-doodle {
  display: inline-block;
  width: 1.45em;
  height: 1.45em;
  margin-right: 0.3rem;
  vertical-align: -0.2em;
  object-fit: contain;
}

.highlight-section {
  width: 100%;
  max-width: none;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  padding-left: clamp(3.6rem, 8vw, 6.2rem);
  padding-right: clamp(3.6rem, 8vw, 6.2rem);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.22), rgba(255, 250, 239, 0.22)),
    linear-gradient(180deg, var(--butter) 0%, #f3d38d 100%);
  box-shadow: none;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2 {
  font-size: clamp(1.95rem, 3.8vw, 2.9rem);
}

.heading-icon {
  font-size: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.heading-icon img {
  width: 2.45rem;
  height: 2.45rem;
  object-fit: contain;
}

.experience + .experience,
.education + .education,
.project + .project {
  margin-top: 2rem;
}

.experience-head,
.education-head,
.project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  padding-left: 0;
}

.experience-head h3,
.education-head h3,
.project-head h3 {
  margin-left: -0.4rem;
}

.experience-head h3 .inline-doodle,
.education-head h3 .inline-doodle,
.project-head h3 .inline-doodle,
.project-icon img {
  width: 1.75em;
  height: 1.75em;
  vertical-align: -0.28em;
}

.title-highlight-link {
  display: inline;
  text-decoration: none;
  box-shadow: inset 0 -0.36em 0 var(--paper);
}

.title-butter-link {
  display: inline;
  text-decoration: none;
  box-shadow: inset 0 -0.36em 0 var(--butter-deep);
}

.title-butter-highlight {
  display: inline;
  box-shadow: inset 0 -0.36em 0 var(--butter-deep);
}

.project-icon {
  color: var(--rose);
}

.project-icon img {
  display: inline-block;
  margin-left: 0.3rem;
  object-fit: contain;
}

.experience p,
.education p,
.date {
  margin: 0;
}

.experience p,
.education p,
.project p,
.footer p {
  font-size: clamp(0.84rem, 0.98vw, 0.94rem);
  line-height: 1.22;
}

.date {
  font-family: inherit;
  font-size: clamp(0.84rem, 0.98vw, 0.94rem);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  margin-right: 0;
  padding-right: 0;
}

.experience > p,
.education > p,
.project > p {
  padding-left: 0;
  margin-left: -0.4rem;
  max-width: 100%;
}

@media (max-width: 1100px) {
  .experience-head,
  .education-head,
  .project-head {
    padding-left: 0;
  }

  .experience > p,
  .education > p,
  .project > p {
    margin-left: 0;
    max-width: 100%;
  }
}

.list-section {
  width: 100%;
  max-width: none;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  padding-left: clamp(3.6rem, 8vw, 6.2rem);
  padding-right: clamp(3.6rem, 8vw, 6.2rem);
}

.highlight-band {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 251, 244, 0.98));
}

.plain-band {
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.22), rgba(255, 250, 239, 0.22)),
    linear-gradient(180deg, var(--butter) 0%, #f3d38d 100%);
}

.plain-band h2 span {
  box-shadow: inset 0 -0.36em 0 var(--paper);
}

.highlight-band h2 span {
  box-shadow: inset 0 -0.36em 0 var(--butter);
}

.highlight-section h2 span {
  box-shadow: inset 0 -0.36em 0 var(--paper);
}


.footer {
  padding: 2rem 1.5rem 4rem;
  text-align: center;
}

.footer-title {
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  margin-bottom: 0.85rem;
}

.footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.footer-social-icon {
  width: 2.45rem;
  height: 2.45rem;
  margin: 0 0.25rem;
  vertical-align: -0.75rem;
  object-fit: contain;
}

@media (max-width: 820px) {
  .topbar {
    padding: 1.2rem 1rem;
  }

  .hero,
  .highlight-section,
  .list-section,
  .footer {
    width: min(100% - 1rem, 1100px);
  }

  .hero {
    padding: 3rem 0.8rem 4rem;
  }

  .highlight-section {
    width: calc(100% - 1rem);
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .list-section {
    width: calc(100% - 1rem);
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .experience-head,
  .education-head,
  .project-head {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }

  .project p {
    padding-left: 0;
    max-width: 100%;
  }
}
