/* ============================================================
   BASE RESET & ROOT
   ============================================================ */

/* Remove default browser spacing and make sizing predictable */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root variables — change these to restyle the whole site */
:root {
  --color-bg:        #ffffff;
  --color-text:      #1a1a1a;
  --color-muted:     #555555;
  --color-faint:     #aaaaaa;
  --color-border:    #e0e0e0;
  --color-accent:    #1a1a1a;

  --font-base:       system-ui, -apple-system, sans-serif;

  --size-body:       17px;
  --size-small:      13px;

  --max-width:       660px;
  --spacing-section: 3rem;
}

body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: var(--size-body);
  line-height: 1.75;
}


/* ============================================================
   PAGE WRAPPER
   Centers content and adds horizontal padding
   ============================================================ */

.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}


/* ============================================================
   NAV  (block: nav)
   ============================================================ */

.nav {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--color-border);
}

/* Your name / site logo on the left */
.nav__brand {
  font-size: var(--size-body);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

/* The group of navigation links on the right */
.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* Individual nav link */
.nav__link {
  font-size: var(--size-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav__link:hover {
  color: var(--color-text);
}

/* Modifier: highlights the link for the current page */
.nav__link--active {
  color: var(--color-text);
}

/* On small screens, stack the nav links below the brand */
@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav__links {
    gap: 1.25rem;
  }
}


/* ============================================================
   HERO  (block: hero)
   The intro section at the top of a page
   ============================================================ */

.hero {
  padding: var(--spacing-section) 0 2rem;
}

.hero__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero__body {
  color: var(--color-muted);
}

/* Bold text inside the hero body stays dark for emphasis */
.hero__body strong {
  color: var(--color-text);
  font-weight: 500;
}


/* ============================================================
   SECTION  (block: section)
   A content section separated by a top border
   ============================================================ */

.section {
  margin-top: var(--spacing-section);
  padding-top: 2rem;
  border-top: 0.5px solid var(--color-border);
}

/* Small all-caps label above a section, e.g. "My Work" */
.section__label {
  font-size: var(--size-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-faint);
  margin-bottom: 1rem;
}

.section__body {
  color: var(--color-muted);
}

.section__body strong {
  color: var(--color-text);
  font-weight: 500;
}


/* ============================================================
   CTA LINK  (block: cta-link)
   A standalone text link used as a call-to-action
   ============================================================ */

.cta-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: var(--size-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
  transition: opacity 0.15s ease;
}

.cta-link:hover {
  opacity: 0.5;
}


/* ============================================================
   PAGE FOOTER  (block: footer)
   ============================================================ */

.footer {
  margin-top: var(--spacing-section);
  padding: 2rem 0 3rem;
  border-top: 0.5px solid var(--color-border);
}

.footer__text {
  font-size: var(--size-small);
  color: var(--color-faint);
}


/* ============================================================
   RESUME HEADER  (block: resume-header)
   Name, email, and summary at the top of the resume page
   ============================================================ */

.resume-header {
  padding: var(--spacing-section) 0 2rem;
}

.resume-header__name {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.resume-header__email {
  font-size: var(--size-small);
  color: var(--color-muted);
  text-decoration: none;
}

.resume-header__email:hover {
  color: var(--color-text);
}

.resume-header__summary {
  margin-top: 1.25rem;
  color: var(--color-muted);
  font-style: italic;
}


/* ============================================================
   JOB  (block: job)
   A single job entry — company, title, dates, bullet points
   ============================================================ */

.job {
  margin-bottom: 2rem;
}

/* Company name */
.job__company {
  font-size: var(--size-body);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* Job title on its own line */
.job__title {
  font-weight: 500;
  margin-bottom: 0.1rem;
}

/* Date range, e.g. "January 2022 – present" */
.job__dates {
  font-size: var(--size-small);
  font-style: italic;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

/* The list of bullet points */
.job__bullets {
  list-style: none;
  padding: 0;
}

/* Each bullet — uses a custom circle instead of a default list marker */
.job__bullet {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

/* The circle bullet character, placed before each item */
.job__bullet::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--color-faint);
  font-size: 0.7em;
  top: 0.3em;
}


/* ============================================================
   SKILL GROUP  (block: skill-group)
   A paragraph of skills under a label
   ============================================================ */

.skill-group {
  margin-bottom: 1.25rem;
}

.skill-group__body {
  color: var(--color-muted);
}

/* Bold lead-in text at the start of a skill paragraph */
.skill-group__body strong {
  color: var(--color-text);
  font-weight: 600;
}


/* ============================================================
   EDUCATION ENTRY  (block: education-entry)
   School, location, and degree
   ============================================================ */

.education-entry__school {
  font-weight: 600;
}

.education-entry__location {
  font-style: italic;
  color: var(--color-muted);
}

.education-entry__degree {
  color: var(--color-muted);
}
