@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --graphite: #101114;
  --paper: #f2f1ed;
  --paper-2: #e6e4de;
  --lime: #c7ff4d;
  --ink: #101114;
  --muted: #3c3d3a;
  --line: rgba(16, 17, 20, 0.14);
  --line-light: rgba(242, 241, 237, 0.18);
  --danger: #9d2b22;
  --header: 4.5rem;
  --sans: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: min(90rem, calc(100% - 2rem));
  --shadow: 0 24px 60px rgba(16, 17, 20, 0.18);
}

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

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

button, input, textarea { font: inherit; color: inherit; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--lime);
  color: var(--graphite);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--graphite);
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
}

.nav {
  width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--paper);
  font-weight: 640;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.logo svg { width: 8.875rem; height: auto; display: block; }
.logo:hover { color: var(--lime); }
.site-footer .logo { margin-bottom: 1rem; }
.site-footer a.logo:hover { text-decoration: none; }

.nav__toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--paper);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
}

.nav__panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--graphite);
  border-bottom: 1px solid var(--line-light);
  padding: 0.5rem 0 1.25rem;
}

.nav.is-open .nav__panel { display: block; }

.nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav__links a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  padding: 0.2rem 0;
}

.nav__links a[aria-current="page"] { color: var(--lime); }

.nav__cta { margin-top: 0.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.btn--lime { background: var(--lime); color: var(--graphite); }
.btn--lime:hover { filter: brightness(1.05); }
.btn--ghost { border-color: var(--line-light); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--dark { border-color: var(--ink); color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

.hero {
  background: var(--graphite);
  color: var(--paper);
  display: grid;
}

.hero__copy {
  padding: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.15rem;
}

.hero__kicker { color: var(--lime); margin: 0; }

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4.2vw + 1rem, 6.25rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 560;
  max-width: 11ch;
}

.hero__lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.45;
  color: rgba(242, 241, 237, 0.86);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__media {
  position: relative;
  order: -1;
  height: 13.5rem;
  min-height: 0;
  background: #07080a;
  overflow: hidden;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: absolute;
  inset: 0;
}

.hero__controls {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}

.hero__sound {
  margin: 0;
  border: 0;
  cursor: pointer;
  color: var(--paper);
  background: rgba(16, 17, 20, 0.72);
  padding: 0.35rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__sound:hover { color: var(--lime); }

.ar-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ar-pin {
  position: absolute;
  left: 58%;
  top: 28%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--graphite);
}

.ar-pin__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(199, 255, 77, 0.25);
}

.ar-pin__label {
  background: var(--lime);
  padding: 0.28rem 0.45rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.frame-caption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  margin: 0;
  color: var(--paper);
  background: rgba(16, 17, 20, 0.72);
  padding: 0.35rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  .ar-pin {
    opacity: 0;
    animation: pin-in 0.55s ease 0.2s forwards;
  }
}

@keyframes pin-in { to { opacity: 1; } }

.section { padding: 4.5rem 0; }
section[id] { scroll-margin-top: calc(var(--header) + 0.75rem); }

.section--paper { background: var(--paper); }
.section--graphite { background: var(--graphite); color: var(--paper); }

.section__head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section__head h2,
.page-hero h1,
.article h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw + 1rem, 4.25rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 560;
}

.section__head p,
.lede { margin: 0; color: var(--muted); max-width: 40rem; }

.section--graphite .section__head p { color: rgba(242, 241, 237, 0.78); }

.work-grid {
  display: grid;
  gap: 2.5rem;
}

.work-card { display: grid; gap: 1rem; color: inherit; }

.work-card__media {
  position: relative;
  background: var(--graphite);
  overflow: hidden;
  margin: 0;
}

.split > .work-card__media {
  width: 50%;
  justify-self: start;
}

.work-card__media img { width: 100%; display: block; }

.work-card h3 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.7rem, 2vw + 1rem, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 560;
}

.work-card p { margin: 0; max-width: 42rem; }

.work-card__links { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; }

.work-card__links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-underline-offset: 0.25em;
}

.build-list { border-top: 1px solid var(--line); }

.build-item {
  display: grid;
  grid-template-columns: 2.25rem 7rem minmax(0, 1fr);
  gap: 0.4rem 0.85rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.build-item img {
  width: 7rem;
  height: 4.5rem;
  object-fit: cover;
  display: block;
  background: var(--graphite);
}

.build-item h3 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  font-weight: 560;
}

.build-item p { margin: 0; max-width: 38rem; }

.build-item .mono { color: var(--muted); }

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.partner-row {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 2rem 1.25rem;
}

.partner-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
}

.partner-row img {
  height: 2.35rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.partner-row img.knockout { mix-blend-mode: lighten; }

#partners .mono { color: var(--lime); }
#partners { padding-top: 5.5rem; padding-bottom: 5.5rem; }
section.section--graphite + section.section--graphite {
  border-top: 1px solid var(--line-light);
  padding-top: 2.25rem;
}

.feature-row li {
  list-style: none;
  border: 1px solid var(--line);
  padding: 0.45rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.feature-row { margin: 1.5rem 0 0; padding: 0; }

.industry-grid {
  display: grid;
  gap: 1rem;
}

.industry-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fffdf8;
  min-height: 100%;
  color: inherit;
}

.industry-card:hover h3 { color: #3d5a00; }

.industry-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--graphite);
}

.industry-card__body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1rem 1.15rem;
}

.industry-card h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  font-weight: 560;
}

.industry-card p { margin: 0; font-size: 0.98rem; }

.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.news-item {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.news-item h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  font-weight: 560;
}

.news-item p { margin: 0; color: var(--muted); }

.cta-band {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw + 1rem, 5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 560;
  max-width: 12ch;
}

.cta-band p { margin: 0; max-width: 28rem; color: rgba(242, 241, 237, 0.8); }

.site-footer {
  background: var(--graphite);
  color: var(--paper);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line-light);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.footer-links, .footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-address { margin: 0; color: rgba(242, 241, 237, 0.78); font-style: normal; }

.footer-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  color: rgba(242, 241, 237, 0.6);
}

.page-hero { padding: 3.2rem 0 1rem; }

.page-hero .mono { color: var(--muted); margin: 0 0 0.7rem; }

.page-hero p { max-width: 40rem; }

.split {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

h2 { font-weight: 560; letter-spacing: -0.03em; line-height: 1.05; }
.prose { max-width: 42rem; }
.prose p, .prose li { color: var(--ink); }
.prose h2, .prose h3 { letter-spacing: -0.03em; line-height: 1.15; }
.prose h2 { margin: 2rem 0 0.6rem; }
.prose h3 { margin: 1.4rem 0 0.4rem; }
.prose a { color: inherit; }
.prose .checklist { padding-left: 0; }

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.checklist li { padding-left: 1rem; position: relative; }
.checklist li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background: var(--lime);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.notice {
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
  background: #fffdf8;
  display: grid;
  gap: 0.4rem;
}

.notice strong { font-size: 1.2rem; letter-spacing: -0.03em; }

.article { padding-bottom: 4rem; }
.article .meta { color: var(--muted); }
.article .prose p { font-size: 1.08rem; }

.legal { padding-bottom: 4rem; }
.legal .prose { max-width: 46rem; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2.2rem, 3vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }

dialog {
  width: min(36rem, calc(100% - 1.5rem));
  border: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop { background: rgba(16, 17, 20, 0.62); }

.dialog__inner { padding: 1.25rem 1.25rem 1.4rem; display: grid; gap: 0.9rem; }

.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.dialog__head h2 { margin: 0; font-size: 2rem; letter-spacing: -0.04em; line-height: 1; font-weight: 560; }

.dialog__close {
  border: 1px solid var(--line);
  background: transparent;
  min-width: 2.75rem;
  min-height: 2.75rem;
  cursor: pointer;
}

.form { display: grid; gap: 0.85rem; }

.field { display: grid; gap: 0.3rem; }
.field label { font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid rgba(16, 17, 20, 0.28);
  background: #fff;
  padding: 0.75rem 0.8rem;
  border-radius: 0;
}

.field textarea { min-height: 7.5rem; resize: vertical; }

.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--danger); }

.field__error { margin: 0; color: var(--danger); font-size: 0.9rem; display: none; }
.field.is-invalid .field__error { display: block; }

.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; }

.form-status { margin: 0; }
.form-status[data-tone="error"] { color: var(--danger); }
.form-success { display: grid; gap: 0.4rem; }
.form[hidden], .form-success[hidden] { display: none; }
.form-success h3 { margin: 0; font-size: 1.8rem; letter-spacing: -0.03em; }

.crumbs { margin: 0 0 0.8rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

@media (max-width: 959px) {
  .nav__panel { max-height: calc(100dvh - var(--header)); overflow-y: auto; }
}

@media (max-width: 480px) {
  .build-item { grid-template-columns: 3.75rem minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; }
  .build-item > img { grid-column: 1; grid-row: 2; width: 3.75rem; height: 3rem; }
  .build-item > div { grid-column: 2; grid-row: 1 / span 2; }
}

@media (min-width: 720px) {
  :root { --wrap: min(90rem, calc(100% - 4rem)); }
  .hero__media { height: 18rem; }
  .build-item { gap: 0.5rem 1.25rem; }
  .partner-row { grid-template-columns: repeat(9, 1fr); gap: 1.5rem 1.5rem; }
  .partner-row img { height: 2.7rem; }
  .news-item { grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .split:has(> .work-card__media) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 1.5rem;
  }
  .split > .work-card__media { width: 100%; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .nav__toggle { display: none; }
  .nav__panel { display: flex; position: static; border: 0; padding: 0; background: transparent; align-items: center; gap: 1.5rem; }
  .nav__links { flex-direction: row; gap: 1.35rem; }
  .nav__links a { min-height: 0; padding: 0; }
  .nav__cta { margin-top: 0; }
  .nav.is-open .nav__panel { display: flex; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: calc(100svh - var(--header)); align-items: center; }
  .hero__copy { padding: 3rem 0; }
  .hero__media { order: 0; height: auto; align-self: stretch; }
  .work-grid { grid-template-columns: 1.35fr 0.9fr; align-items: start; gap: 1.5rem; }
  .work-card:nth-child(2) { margin-top: 18vh; }
  .industry-grid { grid-template-columns: repeat(5, 1fr); }
  .cta-band { grid-template-columns: 1.4fr 0.8fr; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 2.35rem; }
  .ar-pin__label { display: none; }
}
