:root {
  --bg: #000800;
  --text: #e9e999;
  --accent: #ec340c;
  --muted: #77774a;
  --divider: rgba(255, 250, 206, 0.1);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --page-padding: 24px;
  --content-width: 507px;
  --content-min-height: 800px;
  --footer-bottom: 24px;
  --experience-date-col: 177px;
  --theme-color: #000800;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
  accent-color: var(--accent);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: max(var(--content-min-height), 100vh);
  width: 100%;
  padding: var(--page-padding);
  padding-bottom: calc(var(--footer-bottom) + 88px);
  max-width: calc(var(--content-width) + var(--page-padding) * 2);
}

/* Status dot */

.status-dot {
  width: 12px;
  height: 12px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.status-dot img {
  display: block;
  width: 12px;
  height: 12px;
}

/* Headline */

.headline {
  margin-bottom: 24px;
}

.headline-line {
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -1.2px;
  color: var(--text);
}

.headline-red {
  color: var(--accent);
}

/* Intro */

.intro {
  margin-bottom: 40px;
}

.intro-body {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text);
  opacity: 0.6;
  max-width: 503px;
}

.intro-body p {
  margin-bottom: 0;
}

.intro-body p + p {
  margin-top: 0;
}

.intro-location {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  line-height: 20px;
  color: var(--muted);
}

.intro-location em {
  font-style: italic;
}

/* Labels */

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.4;
}

.section-label {
  margin-bottom: 24px;
}

/* Experience */

.experience {
  flex: 1;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.experience-row {
  position: relative;
  display: grid;
  grid-template-columns: var(--experience-date-col) 1fr;
  align-items: start;
  padding-bottom: 12px;
  column-gap: 8px;
}

.experience-dates {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.4;
  padding-top: 4px;
  white-space: nowrap;
}

.experience-company {
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: var(--text);
}

.experience-row .divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.experience-row:last-child .divider {
  display: none;
}

/* Dividers */

.divider {
  height: 1px;
  background: var(--divider);
}

/* Footer */

.footer {
  position: fixed;
  bottom: var(--footer-bottom);
  left: var(--page-padding);
  width: min(var(--content-width), calc(100vw - var(--page-padding) * 2));
  padding-top: 40px;
  padding-bottom: 0;
  z-index: 1;
}

.footer .divider {
  margin-bottom: 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.footer-logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.footer-logo img {
  display: block;
  width: 71px;
  height: 18px;
}

.footer-name,
.footer-email {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.4;
}

.footer-name {
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-email {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

/* Responsive — mobile: squeeze spacing, keep typography & single-line footer */

@media (max-width: 640px) {
  :root {
    --page-padding: 16px;
    --experience-date-col: clamp(112px, 34vw, 177px);
  }

  .status-dot {
    margin-bottom: 16px;
  }

  .headline {
    margin-bottom: 16px;
  }

  .intro {
    margin-bottom: 28px;
  }

  .intro-body {
    max-width: none;
  }

  .intro-location {
    margin-top: 12px;
  }

  .section-label {
    margin-bottom: 16px;
  }

  .experience-list {
    gap: 8px;
  }

  .experience-row {
    padding-bottom: 8px;
    column-gap: 4px;
  }

  .footer {
    padding-top: 28px;
  }

  .footer .divider {
    margin-bottom: 16px;
  }

  .footer-inner {
    gap: 8px;
  }
}

@media (max-width: 400px) {
  :root {
    --page-padding: 12px;
    --experience-date-col: clamp(104px, 32vw, 140px);
  }

  .status-dot {
    margin-bottom: 12px;
  }

  .headline {
    margin-bottom: 12px;
  }

  .intro {
    margin-bottom: 24px;
  }

  .intro-location {
    margin-top: 8px;
  }

  .section-label {
    margin-bottom: 12px;
  }

  .experience-list {
    gap: 6px;
  }

  .experience-row {
    padding-bottom: 6px;
  }

  .footer {
    padding-top: 24px;
  }

  .footer .divider {
    margin-bottom: 12px;
  }

  .footer-inner {
    gap: 6px;
  }
}

