:root {
  color-scheme: dark;
  --canvas: #0b0c0c;
  --panel: #111313;
  --panel-raised: #151818;
  --text: #f2f0e9;
  --muted: #969b95;
  --line: rgba(242, 240, 233, 0.16);
  --line-strong: rgba(242, 240, 233, 0.34);
  --live: #b7ff3c;
  --blue: #77a7ff;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", "Roboto Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(242, 240, 233, 0.025);
  box-shadow:
    inset 25vw 0 rgba(242, 240, 233, 0.012),
    inset -25vw 0 rgba(242, 240, 233, 0.012);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--live);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-180%);
  background: var(--live);
  color: var(--canvas);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

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

.site-header,
main,
.site-footer {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.identity {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  gap: 12px;
}

.identity-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.identity strong,
.identity small {
  display: block;
}

.identity strong {
  font-size: 13px;
  letter-spacing: 0.01em;
}

.identity small {
  margin-top: 1px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.language-switch {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.language-switch button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--live);
}

.hero {
  min-height: min(740px, calc(100vh - 92px));
  padding: clamp(68px, 10vw, 132px) 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(40px, 7vw, 82px);
  gap: 24px;
}

.eyebrow,
.location,
.card-label,
.updated,
.work-index,
.tag-list {
  font-family: var(--mono);
  text-transform: uppercase;
}

.eyebrow,
.location {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(183, 255, 60, 0.08);
  content: "";
}

h1 {
  max-width: 1070px;
  margin: 0;
  font-size: clamp(54px, 8.3vw, 118px);
  font-weight: 520;
  letter-spacing: -0.072em;
  line-height: 0.91;
}

.hero-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  margin-top: clamp(52px, 7vw, 86px);
  gap: 48px;
}

.hero-intro {
  max-width: 600px;
  margin: 0;
  color: #c8cbc4;
  font-size: clamp(19px, 2.1vw, 27px);
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.primary-link,
.secondary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.primary-link {
  padding: 0 18px;
  background: var(--live);
  color: var(--canvas);
}

.primary-link:hover {
  background: var(--text);
}

.secondary-link {
  padding: 0 18px;
  border: 1px solid var(--line-strong);
}

.secondary-link:hover {
  border-color: var(--text);
  background: rgba(242, 240, 233, 0.04);
}

.dashboard {
  padding: 90px 0 120px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.updated {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.055em;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px rgba(183, 255, 60, 0.08);
}

.status-dot--blue {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(119, 167, 255, 0.09);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.dashboard-card {
  min-width: 0;
  padding: clamp(26px, 3.5vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.dashboard-card:hover {
  background: var(--panel-raised);
}

.card--work {
  grid-column: span 8;
  grid-row: span 2;
}

.card--now,
.card--availability {
  grid-column: span 4;
}

.card--life {
  grid-column: span 8;
}

.card--now {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  background: var(--live);
  color: var(--canvas);
}

.card--now:hover {
  background: #c2ff58;
}

.card--now .card-label {
  color: rgba(11, 12, 12, 0.62);
}

.card--now .status-dot {
  background: var(--canvas);
  box-shadow: 0 0 0 4px rgba(11, 12, 12, 0.1);
}

.card--now h2 {
  margin-top: auto;
}

.card--now p {
  color: rgba(11, 12, 12, 0.74);
}

.card-label {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.07em;
}

.dashboard-card > h2 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
}

.dashboard-card > p {
  max-width: 630px;
  margin: 0;
  color: #aeb2ab;
  font-size: 16px;
  line-height: 1.6;
}

.work-list {
  margin-top: 56px;
}

.work-item {
  display: grid;
  grid-template-columns: 54px minmax(150px, 0.8fr) minmax(240px, 1.5fr);
  align-items: start;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}

.work-item:last-child {
  padding-bottom: 0;
}

.work-index {
  color: var(--live);
  font-size: 10px;
}

.work-item h3,
.work-item p {
  margin: 0;
}

.work-item h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.work-item p {
  color: var(--muted);
  font-size: 14px;
}

.tag-list {
  display: none;
  margin: 12px 0 0 74px;
  padding: 0;
  list-style: none;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
}

.life-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.life-list li {
  position: relative;
  padding: 18px 24px 18px 18px;
  border-bottom: 1px solid var(--line);
  color: #c8cbc4;
  font-family: var(--mono);
  font-size: 11px;
}

.life-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.life-list li::before {
  margin-right: 10px;
  color: var(--blue);
  content: "+";
}

.card--availability {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  background: #111722;
}

.card--availability .primary-link {
  align-self: flex-start;
  margin-top: auto;
  background: var(--blue);
}

.card--availability .primary-link:hover {
  background: var(--text);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  padding: 42px 0 52px;
  border-top: 1px solid var(--line);
  gap: 32px;
}

.site-footer strong,
.site-footer > div > span {
  display: block;
}

.site-footer strong {
  font-size: 14px;
}

.site-footer > div > span,
.site-footer p {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 18px;
}

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

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

.site-footer p {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero-lower {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .card--work,
  .card--life {
    grid-column: span 7;
  }

  .card--now,
  .card--availability {
    grid-column: span 5;
  }

  .work-item {
    grid-template-columns: 40px 1fr;
  }

  .work-item p {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

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

  .identity small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 64px;
  }

  .hero-meta {
    display: block;
    margin-bottom: 54px;
  }

  .location {
    margin-top: 12px;
  }

  h1 {
    font-size: clamp(51px, 15.2vw, 78px);
    letter-spacing: -0.067em;
  }

  .hero-lower {
    margin-top: 48px;
    gap: 36px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .dashboard {
    padding: 66px 0 84px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .card--work,
  .card--now,
  .card--life,
  .card--availability {
    grid-column: 1;
  }

  .card--now,
  .card--availability {
    min-height: 340px;
  }

  .dashboard-card {
    padding: 28px 24px 30px;
  }

  .card-label {
    margin-bottom: 36px;
  }

  .dashboard-card > h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .work-list {
    margin-top: 42px;
  }

  .work-item {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .life-list {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .life-list li:nth-child(odd) {
    border-right: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 38px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer p {
    grid-column: 1;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
