@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400&family=Space+Mono:wght@400&display=swap');

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

html {
  font-size: 16px;
}

body {
  font-family: 'Raleway', sans-serif;
  background: #ffffff;
  color: #333333;
  min-height: 100vh;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* Language switcher */
.lang {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 3rem;
}

.lang a {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #5bc0eb;
  text-decoration: none;
  text-transform: uppercase;
}

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

/* Header */
header {
  margin-bottom: 5rem;
}

h1 {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 4rem);
  letter-spacing: 0;
  color: #ffffff;
  text-shadow: rgba(0, 0, 0, 0.2) 2px 2px 4px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: #aaaaaa;
  text-transform: uppercase;
}

/* Sections */
section {
  margin-bottom: 4rem;
}

h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: #777777;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* Experience entries */
.entries {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.entry-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.entry-role {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #333333;
}

.entry-period {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  color: #cccccc;
  white-space: nowrap;
}

.entry-company {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: #5bc0eb;
  margin-bottom: 0.4rem;
}

.entry-desc {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #888888;
  line-height: 1.7;
}

/* Misc entries (smaller gap) */
.entries-misc {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Links section */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-row {
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.link-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: #5bc0eb;
  min-width: 80px;
}

.link-row a {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #555555;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
}

.link-row a:hover {
  color: #333333;
}

/* Responsive */
@media (min-width: 640px) {
  .entry-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .container {
    padding: 8rem 2rem;
  }
}
