:root {
  color-scheme: light;
  font-family: "Courier New", Courier, monospace;
  font-synthesis: none;
  --background: #ffffff;
  --text: #101318;
  --muted: #5f6772;
  --rule: #cbd2dc;
  --accent: #1048e8;
  --focus: #ffb800;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 48px, 1380px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--background);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-size: clamp(1.45rem, 2.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: clamp(28px, 5vw, 68px);
}

.site-header nav a {
  color: var(--accent);
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.site-header nav a:not(:hover):not(:focus-visible) {
  text-decoration-color: transparent;
}

.hero {
  padding-block: clamp(64px, 9vw, 126px) clamp(52px, 7vw, 92px);
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.25rem, 7.25vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.hero p {
  max-width: 760px;
  margin: clamp(32px, 4vw, 52px) 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2.15vw, 2rem);
  line-height: 1.38;
}

.work h2 {
  margin: 0;
  padding-bottom: 14px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-list {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 24px;
  align-items: center;
  min-height: 80px;
  padding-inline: 12px 4px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.project-row:last-child {
  border-bottom: 0;
}

.project-row--live {
  transition: background-color 160ms ease, color 160ms ease;
}

.project-row--live:hover,
.project-row--live:focus-visible {
  background: var(--accent);
  color: var(--background);
  outline: 0;
}

.project-name {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.project-status {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
}

.project-row--live .project-status {
  color: var(--accent);
}

.project-row--live:hover .project-status,
.project-row--live:focus-visible .project-status {
  color: inherit;
}

.project-row svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.project-dash {
  color: var(--rule);
  font-size: 1.4rem;
}

.hosting {
  padding-block: clamp(24px, 3.5vw, 42px);
  border-bottom: 1px solid var(--rule);
}

.hosting p {
  max-width: 1160px;
  margin: 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.4rem);
  line-height: 1.5;
}

.site-footer {
  padding-block: 28px 44px;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 32px, 1380px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-header nav {
    gap: 18px;
  }

  .hero {
    padding-block: 58px 52px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15.7vw, 5rem);
  }

  .hero p br {
    display: none;
  }

  .project-row {
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 14px;
    min-height: 96px;
  }

  .project-name,
  .project-status {
    grid-column: 1;
  }

  .project-status {
    margin-top: -8px;
  }

  .project-row svg,
  .project-dash {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .hosting p {
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .project-row--live {
    transition: none;
  }
}
