:root {
  --bg: #0a0a0a;
  --text: #e5e5e5;
  --text-muted: #978790;
  --accent: #c09b57;
  --accent-hover: #c39641;
  --highlight: #119da4;
  --border: #1e1e1e;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

em {
  font-style: italic;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* -------------------------
   Header
   ------------------------- */

header {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.header-name {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.header-name:hover {
  color: var(--text);
  text-decoration: none;
}

.header-link {
  font-size: 0.8125rem;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.header-link:hover {
  color: var(--highlight);
  text-decoration: none;
}

/* -------------------------
   Sections
   ------------------------- */

section {
  padding: 2.5rem 0;
}

section:last-child {
}

h2 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* -------------------------
   Intro
   ------------------------- */

#intro p {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

#intro p:last-child {
  margin-bottom: 0;
}

/* -------------------------
   Lists (Experiences, Education, Hackathons)
   ------------------------- */

section ul {
  list-style: none;
}

section > ul > li {
  padding: 0.4rem 0;
  padding-left: 1rem;
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

section > ul > li > span {
  flex: 1;
}

section > ul > li > time {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-left: 1rem;
  white-space: nowrap;
}

section > ul > li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

section > ul > li:last-child {
}

section ul ul {
  margin-left: 1.5rem;
  margin-top: 0.3rem;
  width: 100%;
}

section ul ul li {
  padding: 0.25rem 0;
  color: var(--text);
  font-size: 1rem;
  border-bottom: none;
}

section ul ul li::before {
  content: "↳ ";
  color: var(--text);
}

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

.highlight {
  color: var(--highlight);
}

/* -------------------------
   Misc
   ------------------------- */

#misc p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

#misc p:last-child {
  margin-bottom: 0;
}

/* -------------------------
   Footer
   ------------------------- */

footer {
  padding: 2rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* -------------------------
   Responsive
   ------------------------- */

@media (max-width: 480px) {
  section {
    padding: 2rem 0;
  }

  #intro p {
    font-size: 1rem;
  }
}
