@charset "UTF-8";

:root {
  color-scheme: dark;
  --page-bg: #08090B;
  --surface: #0E0F12;
  --text: #F4F4F5;
  --text-muted: #A3A6B0;
  --text-subtle: #89909C;
  --indigo: #5E6AD4;
  --indigo-text: #8490F0;
  --cyan: #4CC2E0;
  --border: rgba(255, 255, 255, 0.09);
  --border-quiet: rgba(255, 255, 255, 0.06);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  min-width: 320px;
  background: var(--page-bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--text);
  background: rgba(94, 106, 212, 0.45);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--indigo-text);
  outline-offset: 4px;
  border-radius: 3px;
}

.container {
  width: min(calc(100% - 64px), 1160px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  transform: translateY(-160%);
  color: var(--page-bg);
  background: var(--text);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}

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

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border-quiet);
  background: rgba(8, 9, 11, 0.94);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  margin-right: 3px;
}

.brand-axiom {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-divider {
  color: var(--text-subtle);
  font-family: var(--mono);
  font-size: 13px;
}

.brand-layer {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a span {
  color: var(--cyan);
  font-size: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 92px 0 88px;
  background:
    radial-gradient(ellipse at 74% 46%, rgba(94, 106, 212, 0.07), transparent 38%),
    var(--page-bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: var(--indigo-text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-rule {
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--cyan);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-lede {
  max-width: 665px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.75;
}

.retirement-note {
  max-width: 640px;
  margin-bottom: 29px;
  padding: 3px 0 3px 17px;
  border-left: 2px solid var(--cyan);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.retirement-note strong {
  color: var(--text);
  font-weight: 600;
}

.primary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid rgba(132, 144, 240, 0.7);
  border-radius: 4px;
  color: var(--text);
  background: rgba(94, 106, 212, 0.16);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.primary-link:hover {
  border-color: var(--indigo-text);
  background: rgba(94, 106, 212, 0.27);
}

.primary-link span {
  color: var(--cyan);
  font-size: 17px;
  line-height: 1;
}

.signoff {
  margin: 27px 0 0;
  color: var(--text-subtle);
  font-size: 13px;
  line-height: 1.8;
}

.signoff span {
  color: var(--text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
}

.hero-visual::before {
  position: absolute;
  width: min(100%, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 194, 224, 0.075), rgba(94, 106, 212, 0.04) 38%, transparent 70%);
  content: "";
}

.orbit-art {
  position: relative;
  display: block;
  width: min(100%, 320px);
  height: auto;
}

.projects {
  padding: 76px 0 88px;
  border-top: 1px solid var(--border-quiet);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 180px), var(--surface);
}

.section-heading {
  max-width: 690px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.section-intro {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px 29px 26px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 46%),
    var(--surface);
}

.card-topline {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 21px;
}

.project-index {
  margin: 0;
  color: var(--text-subtle);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-index span {
  padding-inline: 4px;
  color: var(--cyan);
}

.project-status {
  margin: 0;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-align: right;
}

.status-mvp {
  border-color: rgba(76, 194, 224, 0.26);
  color: var(--cyan);
  background: rgba(76, 194, 224, 0.06);
}

.status-archived {
  border-color: rgba(132, 144, 240, 0.28);
  color: var(--indigo-text);
  background: rgba(94, 106, 212, 0.08);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 560;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.project-description {
  margin-bottom: 13px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.project-detail {
  margin-bottom: 25px;
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 1.65;
}

.card-bottomline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-quiet);
}

.license {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--text-subtle);
  font-size: 12px;
}

.license strong {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.project-link {
  display: inline-flex;
  max-width: 100%;
  align-items: baseline;
  gap: 8px;
  color: var(--indigo-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.project-link:hover {
  color: var(--cyan);
}

.project-link span {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 15px;
}

.site-footer {
  border-top: 1px solid var(--border-quiet);
  background: var(--page-bg);
}

.footer-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-divider {
  color: var(--text-subtle);
  font-family: var(--mono);
  font-weight: 400;
}

.footer-layer {
  color: var(--text-subtle);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.footer-inner p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 12px;
  text-align: right;
}

@media (max-width: 800px) {
  .hero {
    padding: 76px 0 72px;
  }

  .hero-inner {
    display: block;
  }

  .hero-visual {
    position: absolute;
    z-index: 0;
    top: 20px;
    right: -20px;
    width: min(38vw, 280px);
    min-height: 0;
    opacity: 0.28;
    pointer-events: none;
  }

  .projects {
    padding: 66px 0 72px;
  }

  .project-grid {
    gap: 14px;
  }

  .project-card {
    padding: 24px 22px 22px;
  }

  .card-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    width: 20px;
    height: 20px;
    margin-right: 1px;
  }

  .brand-axiom {
    font-size: 13px;
  }

  .brand-layer {
    font-size: 10px;
  }

  .site-nav {
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-nav a {
    justify-content: flex-end;
    gap: 5px;
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
  }

  .site-nav a span {
    flex: 0 0 auto;
  }

  .hero {
    padding: 68px 0 64px;
  }

  .hero-visual {
    top: 24px;
    right: -54px;
    width: 210px;
    opacity: 0.2;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  h1 {
    max-width: 540px;
    margin-bottom: 20px;
    font-size: clamp(2.55rem, 11vw, 3.6rem);
    letter-spacing: -0.052em;
  }

  .hero-lede {
    font-size: 16px;
  }

  .retirement-note {
    font-size: 14px;
  }

  .signoff {
    margin-top: 23px;
  }

  .projects {
    padding: 56px 0 60px;
  }

  .section-heading .eyebrow {
    margin-bottom: 12px;
  }

  .section-intro {
    font-size: 14px;
  }

  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    margin-top: 28px;
  }

  .project-card {
    padding: 23px 21px 21px;
  }

  .card-topline {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 19px;
  }

  .project-index {
    font-size: 9px;
  }

  .project-status {
    max-width: 56%;
    font-size: 9px;
  }

  h3 {
    font-size: 1.45rem;
  }

  .project-description {
    font-size: 14px;
  }

  .project-detail {
    margin-bottom: 22px;
  }

  .project-link {
    font-size: 12px;
  }

  .footer-inner {
    min-height: 70px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 5px;
  }

  .brand-mark {
    margin-right: 0;
  }

  .site-nav a {
    max-width: 138px;
    font-size: 11px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding-block: 13px;
  }

  .footer-inner p {
    text-align: left;
  }
}
