@font-face {
  font-family: "DM Mono";
  src: url("assets/DMMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "DM Mono";
  src: url("assets/DMMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("assets/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --ink: #181514;
  --ink-soft: #2a211d;
  --paper: #f0ede6;
  --paper-bright: #faf7f1;
  --paper-deep: #e9e4da;
  --accent: #e07840;
  --accent-strong: #ff6a1b;
  --accent-dim: rgba(224, 120, 64, 0.12);
  --border: rgba(53, 35, 24, 0.12);
  --border-strong: rgba(53, 35, 24, 0.18);
  --muted: #665d57;
  --very-muted: #8a7f77;
  --night: #18100d;
  --night-2: #261711;
  --glow: rgba(255, 106, 27, 0.32);
  --glow-soft: rgba(255, 126, 64, 0.16);
  --shadow-card: 0 22px 50px rgba(44, 28, 19, 0.09);
  --shadow-shell: 0 36px 90px rgba(44, 28, 19, 0.14);
  --radius: 16px;
  --radius-lg: 30px;
  --page-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Mono", "Courier New", monospace;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 126, 64, 0.22), transparent 23%),
    radial-gradient(circle at 86% 14%, rgba(224, 120, 64, 0.18), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(24, 21, 20, 0.06), transparent 38%),
    linear-gradient(180deg, #fbf8f3 0%, var(--paper) 45%, #f5efe7 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(24, 21, 20, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 21, 20, 0.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 76%);
}

body::after {
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 106, 27, 0.08) 44%, transparent 58%),
    linear-gradient(300deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 65%);
  mix-blend-mode: screen;
}

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

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

.page-shell {
  position: relative;
  width: min(calc(100% - 30px), var(--page-width));
  margin: 16px auto;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(250, 247, 241, 0.9), rgba(240, 237, 230, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-shell);
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 27, 0.12), transparent 30%),
    radial-gradient(circle at 20% 0%, rgba(255, 153, 102, 0.1), transparent 22%);
  pointer-events: none;
}

.topbar,
.section,
.footer {
  position: relative;
  z-index: 1;
  padding-left: clamp(20px, 4vw, 52px);
  padding-right: clamp(20px, 4vw, 52px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(224, 120, 64, 0.26));
}

.brand-lockup {
  display: grid;
  gap: 2px;
  text-transform: uppercase;
}

.brand-name {
  font-size: 18px;
  letter-spacing: 0.14em;
}

.brand-subtitle {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.4em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-dark {
  background: linear-gradient(180deg, #1f1815, #120e0c);
  color: white;
  box-shadow: 0 18px 30px rgba(18, 14, 12, 0.2);
}

.button-accent {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: white;
  box-shadow: 0 18px 30px rgba(224, 120, 64, 0.24);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.44);
  border-color: var(--border);
  color: var(--ink);
}

.section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 20px;
  padding-bottom: 24px;
}

.hero-copy,
.service-card,
.future-card,
.signal-card,
.approach-steps li {
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-card);
}

.hero-copy {
  padding: clamp(20px, 3vw, 38px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 244, 237, 0.74)),
    linear-gradient(135deg, rgba(255, 106, 27, 0.08), transparent 52%);
}

.eyebrow,
.panel-label,
.signal-label,
.card-kicker,
.feed-key {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.038em;
}

.hero h1 {
  margin-top: 16px;
  max-width: 10ch;
  font-size: clamp(3.7rem, 7.2vw, 6.5rem);
}

.lede,
.section-heading p,
.service-card p,
.future-card p,
.model-panel p,
.approach-steps p,
.contact-copy p,
.contact-details p,
.footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.lede {
  max-width: 60ch;
  margin-top: 22px;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-chip,
.model-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(24, 21, 20, 0.05);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-stage {
  position: relative;
  display: flex;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 10% -4% auto 28%;
  height: 62%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 106, 27, 0.36), transparent 62%);
  filter: blur(24px);
  opacity: 0.9;
}

.agent-stage {
  position: relative;
  width: 100%;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 34px;
  background:
    linear-gradient(155deg, rgba(24, 16, 13, 0.98), rgba(43, 24, 17, 0.96)),
    linear-gradient(135deg, rgba(255, 106, 27, 0.16), transparent 55%);
  color: white;
  box-shadow: 0 28px 66px rgba(28, 18, 12, 0.26);
  overflow: hidden;
}

.agent-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 78%);
  pointer-events: none;
}

.stage-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 106, 27, 0.12);
  border: 1px solid rgba(255, 106, 27, 0.35);
  color: #ffd5bf;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-label {
  color: rgba(255, 255, 255, 0.6);
}

.stage-orbit {
  position: relative;
  min-height: 440px;
  margin-top: 20px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  align-items: center;
  justify-items: center;
  gap: 18px 14px;
  border-radius: 26px;
  background:
    radial-gradient(circle at center, rgba(255, 106, 27, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.orbit-ring,
.core-node,
.orbit-node,
.feed-line,
.model-panel,
.contact-panel {
  box-shadow: var(--shadow-card);
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
}

.orbit-ring-a {
  width: 72%;
  height: 48%;
}

.orbit-ring-b {
  width: 38%;
  height: 24%;
  border-style: dashed;
}

.core-node {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 2;
  width: min(100%, 250px);
  padding: 18px 16px;
  border-radius: 22px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 106, 27, 0.18), transparent 68%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.core-node img {
  width: 74px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 10px 18px rgba(255, 106, 27, 0.28));
}

.core-node strong,
.orbit-node span,
.future-card h3,
.service-card h3,
.model-panel-top strong,
.approach-steps strong {
  display: block;
  font-weight: 500;
}

.core-node strong {
  font-size: 17px;
}

.core-node small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.6;
}

.orbit-node {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 14px 14px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.orbit-node span {
  font-size: 15px;
  color: white;
}

.orbit-node small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
}

.node-observe {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
}

.node-decide {
  grid-column: 2;
  grid-row: 1;
  justify-self: stretch;
}

.node-act {
  grid-column: 2;
  grid-row: 3;
  align-self: stretch;
}

.node-learn {
  grid-column: 1;
  grid-row: 3;
  justify-self: stretch;
}

.stage-feed {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.feed-line {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-key {
  color: rgba(255, 255, 255, 0.5);
}

.feed-line strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.signal-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 4px clamp(20px, 4vw, 52px) 6px;
}

.signal-card {
  padding: 18px 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 241, 234, 0.82)),
    linear-gradient(135deg, rgba(255, 106, 27, 0.07), transparent 52%);
}

.signal-card strong {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.56;
}

.section-heading {
  max-width: 800px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.section-heading p {
  margin-top: 18px;
  max-width: 64ch;
}

.card-grid,
.future-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

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

.service-card,
.future-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 243, 236, 0.9)),
    linear-gradient(135deg, rgba(255, 106, 27, 0.08), transparent 58%);
}

.service-card::after,
.future-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 27, 0.6), transparent);
}

.card-kicker {
  color: var(--accent);
}

.service-card h3,
.future-card h3 {
  margin: 14px 0 10px;
  font-size: 23px;
  color: var(--ink);
}

.future-card-dark {
  background:
    linear-gradient(160deg, rgba(24, 16, 13, 0.97), rgba(43, 24, 17, 0.95)),
    linear-gradient(135deg, rgba(255, 106, 27, 0.18), transparent 62%);
  border-color: rgba(255, 255, 255, 0.08);
}

.future-card-dark h3,
.future-card-dark p {
  color: white;
}

.future-card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.future-card-dark .signal-label {
  color: rgba(255, 255, 255, 0.58);
}

.operating-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  margin-top: 28px;
}

.model-panel {
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(24, 16, 13, 0.98), rgba(43, 24, 17, 0.96)),
    linear-gradient(135deg, rgba(255, 106, 27, 0.16), transparent 62%);
  color: white;
}

.model-panel-top strong {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.model-panel p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.model-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.model-badges span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
}

.approach-steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.approach-steps li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 243, 236, 0.9)),
    linear-gradient(135deg, rgba(255, 106, 27, 0.08), transparent 52%);
}

.approach-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 106, 27, 0.18), rgba(255, 106, 27, 0.08));
  color: var(--accent-strong);
}

.approach-steps strong {
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 27, 0.24), transparent 26%),
    linear-gradient(160deg, rgba(24, 16, 13, 0.98), rgba(43, 24, 17, 0.95));
}

.contact-copy h2,
.contact-copy p,
.contact-link,
.contact-details p {
  color: white;
}

.contact-copy p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 58ch;
}

.contact-details {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-link {
  font-size: 20px;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.7);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
  padding-bottom: 28px;
  color: var(--very-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-stage::before {
    animation: pulse-glow 6s ease-in-out infinite;
  }

  .orbit-ring-a {
    animation: spin-slow 28s linear infinite;
  }

  .orbit-ring-b {
    animation: spin-slow-reverse 18s linear infinite;
  }

  .node-observe,
  .node-act {
    animation: drift-vertical 6s ease-in-out infinite;
  }

  .node-decide,
  .node-learn {
    animation: drift-horizontal 7s ease-in-out infinite;
  }
}

@keyframes spin-slow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin-slow-reverse {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.64;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes drift-vertical {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes drift-horizontal {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(8px);
  }
}

@media (max-width: 1040px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--page-width));
    margin: 9px auto;
    border-radius: 26px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .desktop-cta {
    width: 100%;
  }

  .hero,
  .operating-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .signal-band,
  .future-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
  }
}

@media (max-width: 720px) {
  .topbar,
  .section,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .signal-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-subtitle {
    letter-spacing: 0.28em;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.9rem, 15vw, 4.8rem);
  }

  .section-heading h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .stage-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
    padding: 18px;
  }

  .orbit-ring {
    display: none;
  }

  .core-node,
  .orbit-node {
    position: static;
    width: auto;
    max-width: none;
    transform: none;
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    align-self: stretch;
  }

  .core-node {
    order: 0;
  }

  .orbit-node {
    min-height: 100%;
  }

  .node-observe,
  .node-decide,
  .node-act,
  .node-learn {
    animation: none;
    transform: none;
  }

  .approach-steps li {
    grid-template-columns: 1fr;
  }

  .contact-details {
    justify-items: stretch;
  }

  .footer {
    flex-direction: column;
  }
}
