:root {
  --hub-ink: #101311;
  --hub-ink-soft: #171b18;
  --hub-paper: #f7f7f3;
  --hub-surface: #ffffff;
  --hub-text: #151816;
  --hub-muted: #70756f;
  --hub-muted-strong: #555b56;
  --hub-line: #d8dcd5;
  --hub-line-dark: rgba(255, 255, 255, 0.16);
  --hub-lime: #c7f36b;
  --hub-lime-strong: #9dcc3d;
  --hub-shadow: 0 18px 48px rgba(16, 19, 17, 0.12);
  --hub-display: "Helvetica Neue", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hub-body: "Helvetica Neue", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hub-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --hub-paper: #101311;
  --hub-surface: #171b18;
  --hub-text: #f4f5f1;
  --hub-muted: #adb2ac;
  --hub-muted-strong: #ced1cc;
  --hub-line: #343934;
  --hub-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--hub-ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--hub-paper);
  color: var(--hub-text);
  font-family: var(--hub-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open,
body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--hub-lime);
  outline-offset: 4px;
}

.icon-sprite {
  position: absolute;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  border: 1px solid var(--hub-ink);
  background: var(--hub-lime);
  color: var(--hub-ink);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 750;
}

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

.hub-shell {
  min-height: 100vh;
  background: var(--hub-paper);
}

.hub-container {
  width: min(1420px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(199, 243, 107, 0.82);
  background: rgba(16, 19, 17, 0.97);
  color: #f7f7f3;
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  color: #f7f7f3;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--hub-lime);
  color: var(--hub-lime);
  font-size: 1.12rem;
  font-weight: 720;
  line-height: 1;
}

.brand-name {
  display: grid;
  gap: 2px;
  font-size: 1.28rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.brand small {
  color: #aeb4ae;
  font-size: 0.72rem;
  font-weight: 450;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 3vw, 52px);
  flex: 1;
  color: #f7f7f3;
  font-size: 0.88rem;
  font-weight: 540;
}

.nav-links > a {
  position: relative;
  padding: 12px 0;
}

.nav-links > a:not(.login-link)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--hub-lime);
  content: "";
  transition: transform 200ms var(--hub-ease);
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after {
  transform: scaleX(1);
}

.nav-utilities {
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: auto;
  padding-left: clamp(20px, 3vw, 44px);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7f877f;
}

.lang-toggle button,
.theme-toggle,
.menu-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.lang-toggle button {
  min-width: 31px;
  min-height: 38px;
  padding: 7px 2px;
  font-size: 0.78rem;
  font-weight: 680;
}

.lang-toggle button.is-active {
  color: var(--hub-lime);
}

.theme-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #d8dcd7;
}

.theme-toggle svg,
.menu-toggle svg {
  width: 17px;
  height: 17px;
}

.login-link {
  display: inline-grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.66);
  padding: 0 17px !important;
  color: #f7f7f3;
}

.menu-toggle {
  display: none;
}

.mobile-utilities {
  display: none;
}

.hero {
  display: grid;
  min-height: min(760px, calc(100svh - 76px));
  grid-template-columns: minmax(380px, 0.75fr) minmax(560px, 1.35fr);
  gap: clamp(46px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(66px, 8vh, 104px);
}

.hero-copy {
  align-self: center;
}

.hero h1,
.project-index h2,
.footer-callout h2,
.waitlist-dialog h2 {
  margin: 0;
  font-family: var(--hub-display);
  font-weight: 680;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 590px;
  font-size: clamp(3.7rem, 4.6vw, 4.9rem);
  line-height: 1.02;
}

.hero-lede {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--hub-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border: 1px solid var(--hub-text);
  padding: 0 18px 0 22px;
  font-size: 0.9rem;
  font-weight: 650;
  transition: transform 210ms var(--hub-ease), background 210ms ease, color 210ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.project-link svg,
.footer-text-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.button-primary {
  border-color: var(--hub-lime);
  background: var(--hub-lime);
  color: var(--hub-ink);
}

.button-primary:hover {
  background: #b9ed54;
}

.button-secondary {
  background: transparent;
  color: var(--hub-text);
}

.hero-preview {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2d322e;
  border-radius: 11px;
  background: var(--hub-ink);
  box-shadow: var(--hub-shadow);
  transition: transform 380ms var(--hub-ease), box-shadow 380ms var(--hub-ease);
}

.hero-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(16, 19, 17, 0.18);
}

.preview-bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 16px;
  color: #98a099;
  font-size: 0.68rem;
}

.preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f7f7f3;
  font-weight: 620;
}

.preview-brand b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--hub-lime);
  color: var(--hub-lime);
  font-size: 0.63rem;
}

.hero-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.project-index {
  border-top: 1px solid var(--hub-line);
  background: var(--hub-paper);
  padding: 72px 0 132px;
}

.project-index-header {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(570px, 1.28fr);
  gap: 48px;
  align-items: end;
  border-bottom: 1px solid var(--hub-line);
  margin-bottom: 38px;
}

.project-index h2 {
  font-size: clamp(3.4rem, 4.8vw, 5rem);
  line-height: 1;
}

.project-index-header p {
  margin: 10px 0 30px;
  color: var(--hub-muted);
  font-size: 1.06rem;
}

.project-filters {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 48px);
  overflow-x: auto;
  scrollbar-width: none;
}

.project-filters::-webkit-scrollbar {
  display: none;
}

.filter-button {
  position: relative;
  min-height: 54px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--hub-muted);
  cursor: pointer;
  padding: 0 0 16px;
  font-size: 0.88rem;
  font-weight: 520;
}

.filter-button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--hub-lime);
  content: "";
  transition: transform 180ms var(--hub-ease);
}

.filter-button.is-active {
  color: var(--hub-text);
}

.filter-button.is-active::after {
  transform: scaleX(1);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(34px, 4vw, 66px);
  row-gap: 56px;
}

.project-card {
  min-width: 0;
  border-bottom: 1px solid var(--hub-line);
  padding-bottom: 30px;
}

.project-card[hidden] {
  display: none;
}

.project-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hub-line);
  border-radius: 9px;
  background: var(--hub-surface);
  box-shadow: 0 8px 22px rgba(16, 19, 17, 0.07);
  transition: transform 330ms var(--hub-ease), box-shadow 330ms var(--hub-ease);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 560ms var(--hub-ease);
}

.project-card:hover .project-media {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(16, 19, 17, 0.11);
}

.project-card:hover .project-media img {
  transform: scale(1.01);
}

.project-meta {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding-top: 16px;
}

.project-number {
  color: var(--hub-muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.project-heading-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.85vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.project-stage {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hub-muted);
  font-size: 0.7rem;
  font-weight: 520;
  white-space: nowrap;
}

.project-stage::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hub-lime-strong);
  content: "";
}

.project-copy > p {
  max-width: 660px;
  margin: 9px 0 0;
  color: var(--hub-muted-strong);
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 17px;
}

.project-link,
.waitlist-trigger,
.footer-text-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 0.79rem;
  font-weight: 640;
}

.project-link {
  position: relative;
}

.project-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0.45);
  transform-origin: left;
  background: var(--hub-lime-strong);
  content: "";
  transition: transform 190ms var(--hub-ease);
}

.project-link:hover::after,
.project-link:focus-visible::after {
  transform: scaleX(1);
}

.waitlist-trigger {
  color: var(--hub-muted);
  font-weight: 520;
}

.waitlist-trigger:hover {
  color: var(--hub-text);
}

.site-footer {
  border-top: 1px solid rgba(199, 243, 107, 0.72);
  background: var(--hub-ink);
  color: #f7f7f3;
}

.footer-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.34fr);
  gap: 70px;
  align-items: end;
  padding-block: 88px 80px;
}

.footer-callout h2 {
  max-width: 820px;
  font-size: clamp(3.7rem, 6vw, 6.4rem);
  line-height: 0.98;
}

.footer-actions {
  display: grid;
  gap: 20px;
}

.button-on-dark {
  border-color: var(--hub-lime);
  background: var(--hub-lime);
  color: var(--hub-ink);
}

.footer-text-link {
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 9px;
  color: #d9ddd8;
}

.footer-bottom {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--hub-line-dark);
  color: #aeb4ae;
  font-size: 0.73rem;
}

.footer-brand {
  color: #f7f7f3;
  font-weight: 620;
}

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

.footer-links a:hover {
  color: var(--hub-lime);
}

.waitlist-dialog {
  width: min(570px, calc(100% - 32px));
  border: 1px solid var(--hub-lime);
  border-radius: 10px;
  padding: 0;
  background: var(--hub-ink);
  color: #f7f7f3;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.waitlist-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(7px);
}

.dialog-inner {
  position: relative;
  padding: 44px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #f7f7f3;
  cursor: pointer;
}

.dialog-close svg {
  width: 17px;
  height: 17px;
}

.waitlist-dialog h2 {
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 0.98;
}

.dialog-copy {
  margin: 18px 0 28px;
  color: #b4bab4;
}

.dialog-copy strong {
  color: #f7f7f3;
}

.waitlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.waitlist-row label {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: #d9ddd8;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.waitlist-row input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-right: 0;
  border-radius: 0;
  background: #171b18;
  color: #f7f7f3;
  padding: 15px 16px;
}

.waitlist-row button {
  border: 1px solid var(--hub-lime);
  background: var(--hub-lime);
  color: var(--hub-ink);
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 680;
}

.waitlist-row button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: #aeb4ae;
  font-size: 0.78rem;
}

.form-message.is-success {
  color: var(--hub-lime);
}

.form-message.is-error {
  color: #ff9889;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .hub-container {
    width: min(100% - 48px, 1040px);
  }

  .nav-links {
    gap: 24px;
  }

  .nav-utilities {
    padding-left: 22px;
  }

  .hero {
    grid-template-columns: minmax(330px, 0.78fr) minmax(470px, 1.22fr);
    gap: 46px;
  }

  .project-index-header {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 900px) {
  body.menu-open::after {
    position: fixed;
    inset: 69px 0 0;
    z-index: 42;
    background: rgba(0, 0, 0, 0.42);
    content: "";
  }

  .hub-container {
    width: min(100% - 36px, 760px);
  }

  .nav {
    min-height: 69px;
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 51;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #f7f7f3;
  }

  .mobile-utilities {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .mobile-utilities button,
  .mobile-utilities a {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #f7f7f3;
    cursor: pointer;
    padding: 0 8px;
    font-size: 0.8rem;
    font-weight: 620;
  }

  .mobile-utilities button.is-active {
    color: var(--hub-lime);
  }

  .mobile-utilities a {
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  .menu-toggle .close-icon {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .menu-icon {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .close-icon {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 69px;
    right: 0;
    left: 0;
    z-index: 50;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--hub-lime);
    background: var(--hub-ink);
    padding: 18px;
    font-size: 1.05rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a {
    padding: 15px 4px;
  }

  .nav-utilities {
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
    margin: 8px 0 0;
    padding: 16px 0 0;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 72px 78px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 11vw, 6rem);
  }

  .hero-preview {
    width: 100%;
  }

  .project-index {
    padding-top: 58px;
  }

  .project-index-header {
    display: block;
  }

  .project-index-header p {
    margin-bottom: 24px;
  }

  .project-filters {
    justify-content: flex-start;
  }

  .project-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .footer-callout {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    max-width: 360px;
  }
}

@media (max-width: 620px) {
  body.menu-open::after {
    inset: 60px 0 0;
  }

  .hub-container {
    width: min(100% - 28px, 520px);
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .nav {
    min-height: 60px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    top: 60px;
  }

  .hero {
    gap: 28px;
    padding-block: 44px 48px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 10.8vw, 3.15rem);
    line-height: 1.06;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 0.96rem;
  }

  .hero-actions {
    display: block;
    margin-top: 25px;
  }

  .hero-actions .button-primary {
    width: min(100%, 320px);
    min-height: 50px;
  }

  .hero-actions .button-secondary {
    display: none;
  }

  .preview-bar {
    display: none;
  }

  .hero-preview img {
    aspect-ratio: 16 / 10;
  }

  .project-index {
    padding: 48px 0 84px;
  }

  .project-index h2 {
    font-size: 3rem;
  }

  .project-index-header p {
    font-size: 0.98rem;
  }

  .project-filters {
    gap: 28px;
  }

  .filter-button {
    min-height: 50px;
    padding-bottom: 14px;
    font-size: 0.82rem;
  }

  .project-grid {
    row-gap: 30px;
  }

  .project-card {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 18px;
    align-items: start;
    padding-bottom: 28px;
  }

  .project-media {
    border-radius: 7px;
  }

  .project-meta {
    display: block;
    padding-top: 3px;
  }

  .project-number {
    display: none;
  }

  .project-heading-row {
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }

  .project-card h3 {
    font-size: clamp(1.16rem, 5.6vw, 1.5rem);
  }

  .project-stage {
    padding-top: 3px;
    font-size: 0.63rem;
  }

  .project-copy > p {
    margin-top: 9px;
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .project-actions {
    display: grid;
    justify-items: start;
    gap: 6px;
    margin-top: 12px;
  }

  .project-link,
  .waitlist-trigger {
    font-size: 0.72rem;
  }

  .footer-callout {
    gap: 46px;
    padding-block: 66px 58px;
  }

  .footer-callout h2 {
    font-size: clamp(3.25rem, 14vw, 4.5rem);
  }

  .footer-bottom {
    display: grid;
    padding-block: 24px;
  }

  .waitlist-row {
    grid-template-columns: 1fr;
  }

  .waitlist-row input {
    border-right: 1px solid rgba(255, 255, 255, 0.34);
  }

  .dialog-inner {
    padding: 42px 22px 26px;
  }
}

@media (max-width: 390px) {
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-media {
    width: 100%;
  }
}

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

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