/* Thatsit.dev — static two-page site.
   Font families (Inter body, Nunito headings) are the confirmed exception to the
   no-family-in-app-CSS rule (Michael's ruling: keep the look exactly). Kit loads
   the same fonts via kit.css's @font-face. No hex colors, no radius except the 50%
   circle photo. */

/* Typography (old look: Inter body 20px/1.7, Nunito 400 headings) */
body {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2.2em;
}

strong,
b {
  font-weight: 600;
}

p {
  margin: 0 0 0.5em 0;
  color: var(--text-primary);
}

/* Amber links, .u-style: underline animation on hover */
a {
  text-decoration: none;
}

.u {
  color: var(--primary);
  position: relative;
  transition: color 0.2s ease;
  text-decoration: none;
}

.u::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease-out;
}

.u:hover::after {
  width: 100%;
}

/* ---------- Home hero (full-screen, centered column) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-name {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
}

.hero h1 {
  margin: 0;
}

.hero-bio {
  margin: 0;
  color: var(--text-secondary);
  max-width: 46ch;
  line-height: 1.55;
}

.socials {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 1rem;
}

.resume-link {
  display: inline-block;
}

.resume-link h2 {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0;
  color: var(--primary);
}

/* ---------- Resume page ---------- */
.resume-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2.5rem 1rem 1rem;
}

.resume-header img {
  width: 120px;
  height: 120px;
}

.contact-line {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.resume {
  display: grid;
  gap: 1.75rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

.resume h1 {
  font-size: 3em;
  text-align: center;
  margin: 0 0 0.5rem;
}

.resume-section {
  display: grid;
  gap: 0.6rem;
}

.resume-section h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.35rem;
  margin: 0;
}

.employer {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.employer:first-of-type {
  margin-top: 0;
}

.employer-name {
  margin: 0;
}

.role,
.degree {
  margin: 0;
  color: var(--text-secondary);
}

ul {
  margin: 0.25rem 0;
  padding-left: 1.35rem;
}

li {
  margin: 0.18rem 0;
}

.resume-section p {
  color: var(--text-secondary);
}

.resume-section .employer-name {
  color: var(--text-primary);
}

/* ---------- Print: resume-only ---------- */
@media print {
  body {
    font-size: 10pt;
    line-height: 1.5;
  }

  .hero {
    display: none;
  }

  .resume-header {
    display: none;
  }

  .resume {
    max-width: 100%;
    padding: 0;
    gap: 14pt;
  }

  .resume h1 {
    font-size: 18pt;
    text-align: left;
    margin-bottom: 0.5rem;
  }

  .resume-section {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 14pt;
  }

  .resume-section h2 {
    font-size: 12pt;
    padding-bottom: 4pt;
    margin-bottom: 4pt;
    break-after: avoid;
    page-break-after: avoid;
  }

  .resume .role,
  .resume .degree,
  .resume-section p,
  .resume li {
    font-size: 9.5pt;
  }

  ul {
    padding-left: 1.2rem;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    color: var(--text-muted);
    font-size: 7.5pt;
  }
}
