:root {
  color-scheme: dark;
  --amber: #ffb42a;
  --amber-soft: #ffd98a;
  --cyan: #62e6ff;
  --graphite: #111416;
  --graphite-2: #191e21;
  --graphite-3: #242b2f;
  --ink: #f3f0e8;
  --muted: #a8b0b3;
  --line: #384247;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--graphite);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}

.identity-nav {
  align-items: center;
  background: rgb(17 20 22 / 92%);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: 0 clamp(1.25rem, 5vw, 4.5rem);
  position: relative;
  z-index: 10;
}

.wordmark {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span {
  color: var(--amber);
}

.identity-nav nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.identity-nav nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.identity-nav nav a:hover {
  color: var(--cyan);
}

.identity-hero,
.product-hero {
  min-height: calc(100vh - 4.75rem);
  overflow: hidden;
  padding: clamp(3rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7rem);
  position: relative;
}

.identity-hero {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
}

.identity-hero::before,
.product-hero::before {
  background: radial-gradient(circle, rgb(98 230 255 / 19%), transparent 63%);
  content: "";
  height: 50rem;
  pointer-events: none;
  position: absolute;
  right: -20rem;
  top: -20rem;
  width: 50rem;
}

.identity-copy,
.product-hero > * {
  position: relative;
  z-index: 1;
}

.kicker,
.section-label,
.project-index,
.feature-number,
.release-line,
.portrait-frame figcaption {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker,
.section-label,
.feature-number {
  color: var(--cyan);
}

.identity-hero h1,
.product-hero h1 {
  font-size: clamp(3.7rem, 8.7vw, 9.5rem);
  letter-spacing: -0.075em;
  line-height: 0.88;
  margin: clamp(2rem, 5vw, 4rem) 0 2rem;
  max-width: 10ch;
}

.identity-hero h1 em,
.product-hero h1 em {
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lede {
  color: #c9d0d2;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  max-width: 46rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.button {
  border: 1px solid var(--line);
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  border-color: var(--cyan);
}

.button.primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #17130b;
}

.button.primary:hover {
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}

.portrait-frame {
  margin: 0;
  position: relative;
  z-index: 1;
}

.portrait-frame::before {
  border: 1px solid var(--cyan);
  content: "";
  inset: -1rem 1rem 1rem -1rem;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.portrait-frame img {
  display: block;
  height: auto;
  width: 100%;
}

.portrait-frame figcaption {
  background: var(--amber);
  color: #17130b;
  margin: -1px 0 0 auto;
  padding: 0.8rem 1rem;
  position: relative;
  width: max-content;
}

.signal-strip {
  background: var(--amber);
  color: #17130b;
  display: grid;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  letter-spacing: 0.08em;
  padding: 1rem clamp(1.25rem, 7vw, 7rem);
  text-align: center;
  text-transform: uppercase;
}

.split-section,
.work-section,
.contact-section,
.quick-start,
.limits-section,
.evidence-section {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 7rem);
}

.split-section {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(3rem, 8vw, 9rem);
  grid-template-columns: minmax(17rem, 0.8fr) minmax(20rem, 1.2fr);
}

.split-section h2,
.section-heading h2,
.contact-section h2,
.quick-start h2,
.limits-section h2,
.evidence-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 1.5rem 0 0;
}

.manifesto {
  color: #c9d0d2;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 48rem;
}

.manifesto p {
  margin: 0 0 1.5rem;
}

.work-section {
  background: var(--graphite-2);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading > p {
  color: var(--muted);
  max-width: 26rem;
}

.project-card {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  padding: 3rem 0;
}

.project-card:last-child {
  border-bottom: 1px solid var(--line);
}

.project-card h3 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 1rem 0;
}

.project-card p {
  color: var(--muted);
  max-width: 50rem;
}

.project-card > a {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-section {
  background:
    linear-gradient(110deg, rgb(98 230 255 / 10%), transparent 50%),
    var(--graphite);
}

.contact-section > p:not(.section-label),
.limits-section > p:not(.section-label) {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 45rem;
}

.contact-section .button,
.limits-section .button {
  margin-top: 1.5rem;
}

.identity-footer {
  background: #090b0c;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.66rem;
  justify-content: space-between;
  letter-spacing: 0.06em;
  padding: 1.5rem clamp(1.25rem, 7vw, 7rem);
  text-transform: uppercase;
}

.product-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-hero h1 {
  max-width: 11ch;
}

.product-hero .lede {
  max-width: 52rem;
}

.release-line {
  color: var(--muted);
  display: flex;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 7vw, 7rem);
}

.release-line span {
  border-left: 1px solid var(--line);
  padding-left: 0.8rem;
}

.product-statement {
  background: var(--amber);
  color: #17130b;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(10rem, 0.4fr) minmax(20rem, 1.6fr);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 7vw, 7rem);
}

.product-statement .section-label {
  color: #17130b;
}

.product-statement > p:last-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
  max-width: 25ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 25rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-grid h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 5rem 0 1rem;
}

.feature-grid article > p:last-child {
  color: var(--muted);
}

code {
  color: var(--cyan);
}

.evidence-section {
  background: var(--graphite-2);
  display: grid;
  gap: 2rem 5rem;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(22rem, 1.1fr);
}

.evidence-section h2 {
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.evidence-section ul {
  align-self: end;
  color: #c9d0d2;
  font-size: 1.08rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.evidence-section li {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.evidence-note {
  border-left: 3px solid var(--amber);
  color: var(--amber-soft);
  grid-column: 2;
  margin: 0;
  padding-left: 1.2rem;
}

.gallery {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.quick-start {
  display: grid;
  gap: 3rem 5rem;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(24rem, 1.3fr);
}

.quick-start pre {
  background: #090b0c;
  border: 1px solid var(--line);
  margin: 0;
  overflow-x: auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.quick-start pre code {
  color: #d6dcde;
  font-size: 0.82rem;
}

.quick-start > p {
  color: var(--muted);
  grid-column: 2;
  margin: -1rem 0 0;
}

.limits-section {
  background:
    radial-gradient(circle at 90% 20%, rgb(255 180 42 / 18%), transparent 30%),
    var(--graphite-3);
}

@media (max-width: 800px) {
  .identity-nav nav a:first-child {
    display: none;
  }

  .identity-hero,
  .split-section,
  .product-statement,
  .evidence-section,
  .quick-start {
    grid-template-columns: 1fr;
  }

  .identity-hero {
    padding-top: 4rem;
  }

  .portrait-frame {
    margin: 1rem auto;
    max-width: 28rem;
  }

  .signal-strip,
  .feature-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .project-card,
  .identity-footer {
    align-items: start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: flex;
  }

  .identity-footer {
    display: flex;
  }

  .evidence-note,
  .quick-start > p {
    grid-column: 1;
  }

  .feature-grid article {
    border-right: 0;
    min-height: 20rem;
  }

  .gallery img {
    height: auto;
  }
}

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