@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/resume/fonts/space-grotesk.woff2") format("woff2");
}

:root {
  --black: #1a1a1a;
  --gray: #4a4a4a;
  --light-gray: #767676;
  --accent: #1a1a1a;
  --page-width: 900px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.35;
}

.page {
  max-width: var(--page-width);
  margin: 0 auto;
}

/* ---------- HEADER ---------- */

.header {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 32px 48px 48px;
  overflow: hidden;
}

.header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.name {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.byline {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #bdbdbd;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  text-align: right;
  padding-top: 6px;
}

.contact a {
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
}

.contact a:hover {
  text-decoration: underline;
}

.header-swoosh {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- MAIN CONTENT ---------- */

.content {
  background: #fff;
  padding: 40px 48px 20px;
  position: relative;
}

.content.page2 {
  margin-top: 0;
}

.columns {
  display: flex;
  gap: 48px;
}

.col {
  flex: 1;
  min-width: 0;
}

section {
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--black);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.section-title .icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

.contact .icon {
  width: 0.85em;
  height: 0.85em;
  fill: currentColor;
  margin-right: 7px;
  vertical-align: -1px;
}

.link-icon {
  width: 0.72em;
  height: 0.72em;
  fill: currentColor;
  margin-left: 4px;
  vertical-align: baseline;
}

/* ---------- ENTRIES ---------- */

.entry {
  margin-bottom: 20px;
}

.entry-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.role {
  font-weight: 700;
  font-size: 0.88rem;
}

.role a {
  color: var(--black);
  text-decoration: none;
}

.role a:hover {
  text-decoration: underline;
}

.org {
  font-style: italic;
  font-weight: 600;
  font-size: 0.82rem;
}

.loc {
  font-style: italic;
  font-size: 0.72rem;
  color: var(--gray);
}

.loc a {
  color: var(--gray);
  text-decoration: none;
}

.loc a:hover {
  text-decoration: underline;
}

.dates {
  font-size: 0.72rem;
  color: var(--gray);
  white-space: nowrap;
}

.subtitle {
  font-style: italic;
  font-weight: 600;
  font-size: 0.82rem;
  margin-top: 2px;
}

.desc,
.minor {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 4px;
}

ul {
  margin: 8px 0 0 0;
  padding-left: 18px;
}

ul li {
  font-size: 0.82rem;
  margin-bottom: 4px;
  color: #333;
}

/* ---------- SKILLS ---------- */

.skill-group {
  margin-bottom: 12px;
}

.skill-label {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.skill-items {
  font-size: 0.82rem;
  color: #333;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 700px) {
  .columns {
    flex-direction: column;
  }

  .header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact {
    align-items: center;
    text-align: center;
  }

  .name {
    font-size: 2.2rem;
  }

  .content,
  .content.page2 {
    padding: 32px 24px 20px;
  }
}
