:root {
  color-scheme: dark;
  --orange: #ff6808;
  --white: #f8f8f8;
  font-family: Arial, Helvetica, sans-serif;
  background: #101010;
  color: var(--white);
}

* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #aee9ff; outline-offset: 5px; }
.accent, h1 em { color: var(--orange); }
.symbols { position: absolute; width: 0; height: 0; }
.skip {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  background: #111;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.garage {
  position: relative;
  container-type: inline-size;
  min-height: 56.35vw;
  background:
    linear-gradient(90deg, #0005, transparent 43%),
    url("assets/images/garage-hero.png") center top / cover no-repeat;
}
.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 5.03cqw;
  padding: 0 3.75cqw;
  background: #030303dc;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85cqw;
  white-space: nowrap;
  font-size: 2.8cqw;
  font-weight: 750;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand svg { width: 3.9cqw; height: 2.2cqw; color: var(--orange); }
nav { display: flex; align-items: center; gap: 2.3cqw; }
nav a, nav button {
  position: relative;
  padding: .7em .45em;
  border: 0;
  background: none;
  font-size: max(.875rem, 1.4cqw);
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
  white-space: nowrap;
}
nav a[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: .35cqw;
  background: var(--orange);
}
nav a:hover, nav button:hover { color: #ff964e; }

.intro {
  position: absolute;
  top: 12.65cqw;
  left: 5.2cqw;
  width: 28cqw;
  text-shadow: 0 2px 12px #000;
}
h1 {
  font-size: 4.72cqw;
  line-height: .87;
  font-weight: 800;
  letter-spacing: -.03em;
}
h1 em { font-weight: inherit; }
.intro p {
  width: 21.6cqw;
  margin-top: 1.55cqw;
  font-size: max(1rem, 1.56cqw);
  line-height: 1.17;
  letter-spacing: -.035em;
}
.actions { display: flex; flex-wrap: wrap; gap: 1.85cqw; margin-top: 2cqw; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 44px;
  padding: .65em 1.25em;
  border: 2px solid transparent;
  border-radius: .55em;
  font-size: max(.875rem, 1.24cqw);
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
  text-shadow: none;
}
.primary { padding-inline: .9em; background: var(--orange); color: #17110d; }
.primary:hover { background: #ff9347; }
.secondary { background: #080808b8; border-color: var(--white); }
.secondary:hover { background: #303030; }

.ecosystem {
  position: absolute;
  top: 7.85cqw;
  left: 41.3cqw;
  width: 30.4cqw;
  aspect-ratio: 507 / 470;
  font-size: 1.1cqw;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-align: center;
}
.lab-center {
  position: absolute;
  inset: 14% 12% 6%;
  display: grid;
  place-content: center;
  justify-items: center;
  border: .22em solid #fff6e8;
  border-radius: 50%;
  background: radial-gradient(#070909 55%, #10100ee8);
  box-shadow: 0 0 .35em #ff5a00, 0 0 1.15em .22em #ff5a00, inset 0 0 .85em #ff5a00;
}
.lab-center svg { width: 5.9em; height: 3.2em; color: var(--orange); margin-bottom: .6em; }
.lab-center h2 { font-size: 2.05em; line-height: .96; }
.lab-center strong { display: block; font-size: 1.36em; color: var(--orange); }
.lab-center p { margin-top: .5em; }
.lab-nodes { margin: 0; padding: 0; list-style: none; }
.lab-nodes li {
  position: absolute;
  width: 26.5%;
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .15em;
  border-radius: 50%;
  border: .15em solid #88d8fb;
  border-top-color: #edfbff;
  border-bottom-color: #6397b0;
  background: radial-gradient(#080b0d 61%, #18252d);
  box-shadow: 0 0 .65em #77d6ff7a, inset 0 0 .55em #529abc53;
  font-weight: 600;
}
.lab-nodes svg { width: 3.25em; height: 2.8em; }
.assistance { top: 0; left: 36.75%; }
.development { top: 27%; left: 0; }
.design { top: 27%; right: 0; }
.testing { bottom: 0; left: 9.5%; }
.experience { bottom: 0; right: 10.5%; }

.projects {
  position: absolute;
  top: 44.3cqw;
  left: 10.8cqw;
  width: 66cqw;
  display: grid;
  grid-template-columns: 1fr .97fr;
  font-size: max(1rem, 1.34cqw);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-shadow: 0 2px 6px #000;
}
.projects article {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.7cqw;
  isolation: isolate;
}
.projects article::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2cqw -1cqw;
  background: radial-gradient(ellipse, #000b 40%, transparent 74%);
}
.projects article + article {
  padding-left: 3.7cqw;
  border-left: 1px solid #fffd;
}
.projects h2 { font-size: 1.55em; line-height: 1; }
.project-icon { flex: none; width: 6.85cqw; height: auto; border-radius: 18%; }
img.project-icon { aspect-ratio: 114 / 102; object-fit: contain; }
.jump-icon { fill: #10181c; stroke: var(--orange); stroke-width: 2.4; }
.jump-icon path { fill: none; stroke-width: 4; }
.status {
  display: inline-block;
  margin: .45em 0;
  padding: .22em .75em;
  border: 1px solid;
  border-radius: 2em;
  background: #080808a6;
  font-size: max(.875rem, .83em);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0;
}

dialog {
  width: min(32rem, calc(100% - 2rem));
  padding: 1.6rem;
  border: 1px solid #ff6808;
  border-radius: .8rem;
  background: #181818;
  line-height: 1.5;
}
dialog::backdrop { background: #000b; }
dialog p, dialog form { margin-top: .8rem; }
dialog a { display: inline-block; margin-top: .8rem; }

@media (max-width: 1100px) {
  .garage {
    --backdrop-height: max(650px, 68vw);
    min-height: 100vh;
    background:
      linear-gradient(transparent 70%, #101010) top / 100% var(--backdrop-height) no-repeat,
      url("assets/images/garage-hero.png") 68% top / auto var(--backdrop-height) no-repeat;
  }
  .site-header { flex-wrap: wrap; justify-content: center; padding: .5rem 1rem; gap: .25rem 2rem; }
  .brand { font-size: clamp(1.55rem, 4vw, 2.5rem); }
  .brand svg { width: 1.5em; height: .9em; }
  nav { flex-wrap: wrap; justify-content: center; gap: .1rem .9rem; }
  nav a[aria-current]::after { height: 3px; }
  main {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 2.5rem 1rem;
    padding: 3.5rem 5% 2rem;
    background: linear-gradient(#0003, #0006 55%, #111 94%);
  }
  .intro, .ecosystem, .projects { position: relative; inset: auto; width: auto; }
  h1 { font-size: clamp(2.8rem, 6.6vw, 4.4rem); }
  .intro p { width: auto; max-width: 21rem; margin-top: 1.25rem; }
  .actions { gap: .65rem; margin-top: 1.4rem; }
  .ecosystem { font-size: clamp(.8rem, 1.6vw, 1.05rem); }
  .projects { grid-column: 1 / -1; }
  .projects article { gap: .9rem; }
  .projects article + article { padding-left: 1.1rem; }
  .project-icon { width: 4.5rem; }
  .desktop-break { display: none; }
}

@media (max-width: 650px) {
  .garage { --backdrop-height: 500px; background-position: center top, 70% top; }
  nav { gap: 0 .4rem; }
  nav a, nav button { padding: .55rem .32rem; }
  main {
    grid-template-columns: minmax(0, 1fr);
    padding-top: clamp(2.75rem, 12vw, 5rem);
    background: linear-gradient(90deg, #000a, #0004) top / 100% 27rem no-repeat,
      linear-gradient(transparent 8rem, #111 32rem);
  }
  .ecosystem { width: min(100%, 26rem); justify-self: center; font-size: clamp(.75rem, 3vw, 1rem); }
  .projects { grid-template-columns: 1fr; gap: 1.15rem; }
  .projects article + article { border-left: 0; border-top: 1px solid #fff5; padding: 1.15rem 0 0; }
  .projects article::before { display: none; }
}
