@font-face {
  font-family: "Geist";
  src: url("fonts/geist-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --background: #0a0a0a;
  --surface: #121212;
  --surface-2: #171717;
  --border: #242424;
  --border-subtle: #1c1c1c;
  --foreground: #ededec;
  --muted: #8f8d89;
  --muted-2: #6b6965;
  --editorial: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
.brand,
.button,
.desktop-nav,
.mobile-nav {
  font-family: "Geist", "Inter", system-ui, sans-serif;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

img,
svg,
iframe {
  display: block;
}

::selection {
  background: var(--foreground);
  color: var(--background);
}

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

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

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1.5rem;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background: var(--foreground);
  color: var(--background);
}

.container,
.nav-shell {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  background: transparent;
  transition: background-color 300ms ease;
}

.site-header.is-solid,
.site-header.menu-visible {
  background: var(--background);
}

.nav-shell {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  padding-inline: 1.5rem;
  transition: border-color 300ms ease;
}

.site-header.is-solid .nav-shell,
.site-header.menu-visible .nav-shell {
  border-color: var(--border);
}

.brand {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav > a:not(.nav-cta) {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color 200ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus-visible {
  color: var(--foreground);
}

.nav-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.375rem 1rem;
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 200ms ease, color 200ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--foreground);
  color: var(--foreground);
  font-weight: 600;
}

.menu-button {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
}

.menu-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

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

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1.5rem 2rem;
  background: var(--background);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav > a:not(.nav-cta) {
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1rem;
  color: var(--foreground);
  font-size: 1rem;
}

.mobile-nav .nav-cta {
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
}

.section {
  border-bottom: 1px solid var(--border-subtle);
  padding-inline: 1.5rem;
}

.hero-section {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 2.5rem;
}

.hero-copy {
  flex: 1 1 28rem;
  min-width: 0;
  max-width: 44rem;
}

.hero-portrait {
  display: none;
  flex: 0 0 auto;
  justify-content: center;
}

.hero-portrait img {
  width: 15rem;
  height: 15rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  object-fit: cover;
}

.eyebrow,
.section-label {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-section h1 {
  margin-top: 1.5rem;
  color: var(--foreground);
  font-size: 2.75rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.hero-lede {
  max-width: 36rem;
  margin-top: 2rem;
  color: rgb(237 237 236 / 90%);
  font-size: 1.125rem;
  line-height: 1.625;
}

.hero-secondary {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-buttons {
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.button-primary {
  background: var(--foreground);
  color: var(--background);
  font-weight: 500;
  transition: opacity 200ms ease;
}

.button-primary:hover {
  opacity: 0.85;
}

.button-secondary {
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: border-color 200ms ease, color 200ms ease;
}

.button-secondary:hover {
  border-color: var(--foreground);
  color: var(--foreground);
  font-weight: 600;
}

.button-with-icon {
  gap: 0.375rem;
}

.button-with-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-socials {
  margin-top: 3.5rem;
}

.social-list a {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--muted);
  transition: color 200ms ease;
}

.social-list a:hover,
.social-list a:focus-visible {
  color: var(--foreground);
}

.social-list svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.standard-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.project-title {
  color: var(--foreground);
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 2.25rem;
}

.project-description {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgb(237 237 236 / 90%);
  font-size: 0.875rem;
}

.feature-list li::before {
  width: 0.25rem;
  height: 0.25rem;
  flex: 0 0 auto;
  margin-top: 0.5rem;
  border-radius: 9999px;
  background: var(--foreground);
  content: "";
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
}

.project-meta dt,
.currently-grid dt {
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.project-meta dd {
  margin-top: 0.25rem;
  color: var(--foreground);
  font-size: 0.875rem;
}

.project-buttons {
  margin-top: 2rem;
}

.project-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--surface);
  transition: transform 500ms var(--editorial);
}

.featured-preview-wrap:hover .project-preview {
  transform: scale(1.01);
}

.project-preview-image {
  position: absolute;
  inset: 0;
  background-image: url("images/omniveralabs.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transition: background-position 1.2s var(--editorial);
}

.project-preview:hover .project-preview-image,
.project-preview:focus .project-preview-image {
  background-position: center bottom;
  transition-duration: 12s;
  transition-timing-function: linear;
}

.preview-fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  text-align: center;
  color: var(--muted-2);
}

.preview-fallback p {
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
}

.preview-fallback small {
  max-width: 26ch;
  font-size: 0.75rem;
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
  row-gap: 3.5rem;
  margin-top: 2.5rem;
}

.video-card {
  min-width: 0;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--surface);
  transition: transform 500ms var(--editorial);
}

.video-card:hover .video-frame {
  transform: scale(1.015);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-circle {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface-2);
  color: var(--muted);
  transition: border-color 200ms ease, color 200ms ease;
}

.video-card:hover .play-circle {
  border-color: var(--foreground);
  color: var(--foreground);
}

.play-circle svg,
.card-play {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.play-circle svg {
  margin-left: 0.125rem;
}

.card-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-title-row h3 {
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.75rem;
}

.card-title-row span,
.card-category {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.card-content > div > p:not(.card-category) {
  max-width: 28rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
}

.card-category {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.card-play {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.25rem;
  fill: none;
  color: var(--muted);
  stroke-width: 1.75;
  transition: color 200ms ease;
}

.video-card:hover .card-play {
  color: var(--foreground);
}

.about-grid,
.what-grid,
.beyond-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.about-grid,
.what-grid {
  gap: 2.5rem;
}

.about-heading {
  margin-top: 1.5rem;
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 2rem;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-copy p {
  max-width: 42rem;
  color: rgb(237 237 236 / 90%);
  font-size: 1rem;
  line-height: 1.625;
}

.about-subsection {
  margin-top: 5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
}

.subsection-heading {
  margin-top: 1.25rem;
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 2rem;
}

.what-list {
  border-top: 1px solid var(--border-subtle);
}

.what-list > li + li {
  border-top: 1px solid var(--border-subtle);
}

.what-list li > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-block: 1.75rem;
}

.what-list h3,
.beyond-list h3 {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.what-list p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
}

.currently-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
  row-gap: 1.5rem;
  margin-top: 2rem;
}

.currently-grid dt {
  letter-spacing: 0.15em;
}

.currently-grid dd {
  margin-top: 0.5rem;
  color: rgb(237 237 236 / 90%);
  font-size: 0.875rem;
  line-height: 1.625;
}

.beyond-grid {
  gap: 2rem;
}

.beyond-description {
  max-width: 28rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
}

.beyond-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.beyond-list h3 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.beyond-list p {
  margin-top: 0.375rem;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.625;
}

.contact-section {
  padding: 6rem 1.5rem;
}

.contact-grid {
  gap: 3rem;
}

.contact-section h2 {
  color: var(--foreground);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 2.5rem;
}

.contact-section .contact-grid > div > p {
  max-width: 28rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
}

.contact-button {
  margin-top: 2.25rem;
  padding: 0.75rem 1.5rem;
}

.contact-list {
  border-top: 1px solid var(--border-subtle);
}

.contact-list > li + li {
  border-top: 1px solid var(--border-subtle);
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.contact-list a > span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact-list svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list strong {
  color: rgb(237 237 236 / 90%);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 200ms ease;
}

.contact-list a:hover strong {
  color: var(--foreground);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
}

.site-footer p {
  color: var(--muted);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
}

.footer-socials a {
  width: 2rem;
  height: 2rem;
}

.footer-socials svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .hero-section h1 {
    font-size: 3.75rem;
    line-height: 1;
  }

  .hero-lede {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .project-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .project-preview {
    aspect-ratio: 16 / 9;
  }

  .about-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .about-copy p {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .what-list li > div {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .what-list h3 {
    grid-column: span 4 / span 4;
  }

  .what-list p {
    grid-column: span 8 / span 8;
  }

  .currently-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beyond-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-section h2 {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .nav-shell,
  .footer-inner {
    padding-inline: 2.5rem;
  }

  .desktop-nav {
    display: flex;
  }

  .menu-button,
  .mobile-nav {
    display: none !important;
  }

  .section,
  .contact-section {
    padding-inline: 2.5rem;
  }

  .hero-section {
    padding-top: 12rem;
    padding-bottom: 7rem;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .hero-portrait {
    display: flex;
  }

  .hero-portrait img {
    width: 22rem;
    height: 22rem;
  }

  .standard-section,
  .contact-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-featured {
    grid-column: span 2 / span 2;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-section h1 {
    font-size: 4.5rem;
  }

  .hero-portrait img {
    width: 27rem;
    height: 27rem;
  }

  .featured-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .featured-copy {
    grid-column: span 5 / span 5;
  }

  .featured-preview-wrap {
    grid-column: span 7 / span 7;
    height: 100%;
  }

  .project-preview {
    min-height: 420px;
    height: 100%;
    aspect-ratio: auto;
  }

  .about-grid,
  .what-grid,
  .beyond-grid,
  .contact-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }

  .about-grid > :first-child,
  .what-grid > :first-child {
    grid-column: span 4 / span 4;
  }

  .about-copy {
    grid-column: span 7 / span 7;
  }

  .what-list {
    grid-column: span 8 / span 8;
  }

  .currently-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .beyond-grid > :first-child {
    grid-column: span 5 / span 5;
  }

  .beyond-list {
    grid-column: 7 / span 6;
  }

  .contact-grid > div:first-child {
    grid-column: span 7 / span 7;
  }

  .contact-list {
    grid-column: 9 / span 4;
    border-top: 0;
  }
}

@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;
  }

  .project-preview-image {
    background-position: center top !important;
  }
}
