:root {
  color-scheme: dark;
  --bg: #030609;
  --bg-2: #07100f;
  --surface: rgba(11, 16, 18, 0.82);
  --surface-strong: #101516;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --text: #f7f3e8;
  --muted: #c9c0aa;
  --quiet: #8f927f;
  --gold: #f4c451;
  --gold-2: #b98728;
  --green: #173c34;
  --green-bright: #47a484;
  --blue: #719bb2;
  --line: rgba(244, 196, 81, 0.38);
  --line-soft: rgba(247, 243, 232, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --max: 1180px;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.25rem;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(23, 60, 52, 0.28), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(244, 196, 81, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 196, 81, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 40;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--gold);
  font-weight: 760;
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0.85rem auto 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(3, 6, 9, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.brand,
.header-action,
.menu-toggle,
.nav-links a,
.button {
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 720;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.12rem;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--gold);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 720;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--gold);
  background: rgba(244, 196, 81, 0.1);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 680;
}

.header-action:hover,
.header-action:focus-visible {
  border-color: var(--gold);
  background: rgba(244, 196, 81, 0.1);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: start;
  padding: clamp(5.75rem, 11vh, 6.9rem) 1rem 2.25rem;
  border-bottom: 1px solid var(--line-soft);
  background: #020406;
}

.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.58;
  filter: saturate(1.04) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.96) 0%, rgba(3, 6, 9, 0.72) 36%, rgba(3, 6, 9, 0.18) 78%),
    linear-gradient(180deg, rgba(3, 6, 9, 0.25), rgba(3, 6, 9, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding-top: 0;
}

.hero h1 {
  width: min(900px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.75rem, 5.85vw, 6rem);
  line-height: 0.93;
  font-weight: 700;
  letter-spacing: 0;
}

.hero p {
  width: min(710px, 100%);
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  line-height: 1.58;
}

.hero .proof-cue {
  width: min(680px, 100%);
  margin-top: 0.95rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold);
  color: var(--quiet);
  font-size: 0.86rem;
  line-height: 1.48;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0 1.15rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 760;
}

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

.button-primary {
  border: 1px solid rgba(244, 196, 81, 0.84);
  background: linear-gradient(180deg, #f5cf68, #c9932b);
  color: #080806;
  box-shadow: 0 14px 40px rgba(244, 196, 81, 0.18);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold);
  background: rgba(244, 196, 81, 0.09);
}

section {
  padding: 6rem 1rem;
}

section[id] {
  scroll-margin-top: 6.25rem;
}

.intro-section,
.identity-section,
.map-section,
.platform-section,
.agentic-section,
.proof-split,
.product-preview-section,
.philosophy-section,
.services-section,
.founder-section,
.contact-section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.identity-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
}

.section-copy h2,
.section-heading h2,
.services-section h2,
.founder-section h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.9vw, 3.85rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.services-section p,
.founder-section p,
.contact-section p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.section-heading {
  width: min(770px, 100%);
  margin: 0 auto 2.3rem;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.handled-list,
.identity-list,
.layer-grid,
.principle-list {
  display: grid;
  gap: 1rem;
}

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

.identity-list {
  grid-template-columns: 1fr;
}

.handled-list article,
.identity-list article,
.layer-card,
.principle-list article {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.handled-list article {
  min-height: 15rem;
  padding: 1.3rem;
}

.identity-list article {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.2rem 1.3rem;
}

.handled-list span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 2.2rem;
}

.handled-list h3,
.identity-list h3,
.layer-card h3,
.principle-list h3 {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.identity-list h3 {
  margin-top: 0;
  color: var(--gold);
}

.handled-list p,
.identity-list p,
.layer-card p,
.principle-list p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.identity-list p {
  margin-top: 0;
}

.map-section {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.map-section .section-heading {
  width: min(100% - 2rem, 820px);
}

.architecture-frame {
  width: min(100% - 2rem, 1320px);
  margin: 0 auto;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(244, 196, 81, 0.12), transparent),
    var(--surface);
  box-shadow: var(--shadow);
}

.architecture-frame img {
  width: 100%;
  border-radius: 4px;
}

.architecture-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.45rem 0.15rem;
  color: var(--quiet);
  font-size: 0.84rem;
  line-height: 1.5;
}

.architecture-frame figcaption a {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 720;
}

.architecture-frame figcaption a:hover,
.architecture-frame figcaption a:focus-visible {
  color: var(--text);
}

.map-summary {
  width: min(100% - 2rem, 980px);
  margin: 1rem auto 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.map-summary summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--gold);
  font-weight: 760;
}

.map-summary p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.platform-section {
  padding-top: 3rem;
}

.proof-split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}

.proof-split-reverse {
  grid-template-columns: 1.14fr 0.86fr;
}

.proof-split-reverse .proof-copy {
  order: 2;
}

.proof-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.55rem);
  line-height: 1;
}

.proof-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--gold);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.visual-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.02)),
    rgba(5, 8, 9, 0.86);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.browser-bar {
  display: flex;
  gap: 0.42rem;
  align-items: center;
  height: 2rem;
  padding: 0 0.8rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.browser-bar span {
  display: grid;
  border-radius: 50%;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  opacity: 0.9;
}

.browser-bar-compact {
  height: 1.55rem;
}

.browser-bar-compact span {
  width: 0.45rem;
  height: 0.45rem;
}

.visual-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.visual-frame figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.visual-frame.compact img {
  aspect-ratio: 16 / 10.5;
}

.product-preview-section {
  padding-top: clamp(5.8rem, 8vh, 7rem);
  scroll-margin-top: 6rem;
}

.preview-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
}

.preview-row .visual-frame:first-child {
  grid-row: span 2;
}

.preview-row .visual-frame:first-child img {
  aspect-ratio: 16 / 12;
  object-fit: cover;
  object-position: center;
}

.preview-row .visual-frame:not(:first-child) img {
  aspect-ratio: 16 / 7.4;
  object-position: top center;
}

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

.layer-card {
  min-height: 17rem;
  padding: 1.3rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(244, 196, 81, 0.08);
}

.card-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.agentic-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  border-block: 1px solid var(--line-soft);
}

.agentic-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.agentic-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid rgba(71, 164, 132, 0.32);
  border-radius: var(--radius);
  background: rgba(23, 60, 52, 0.34);
  color: var(--text);
}

.agentic-list li::before {
  position: absolute;
  left: 1rem;
  top: 1.03rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}

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

.principle-list article {
  padding: 1.25rem;
}

.principle-list h3 {
  margin-top: 0;
}

.services-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(244, 196, 81, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 196, 81, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(23, 60, 52, 0.36), rgba(255, 255, 255, 0.03));
}

.services-section .button {
  white-space: nowrap;
}

.founder-section {
  padding-top: 3rem;
}

.founder-note {
  width: min(820px, 100%);
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
}

.contact-section {
  text-align: center;
  padding-top: 4rem;
}

.contact-section p {
  width: min(660px, 100%);
  margin-inline: auto;
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  justify-content: space-between;
  gap: 3rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line-soft);
  color: var(--quiet);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.footer-promise {
  max-width: 620px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.footer-meta {
  margin-top: 0.8rem !important;
}

.footer-links {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.55rem 1rem;
}

.site-footer nav h2 {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer nav[aria-label="Ecosystem links"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer nav[aria-label="Ecosystem links"] h2 {
  grid-column: 1 / -1;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    display: grid;
    width: min(21rem, calc(100vw - 1rem));
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 6, 9, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    visibility: hidden;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    min-height: 2.9rem;
    display: flex;
    align-items: center;
    border-radius: 6px;
    font-size: 0.96rem;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(244, 196, 81, 0.09);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 88svh;
    padding-top: 7rem;
  }

  .hero-map {
    object-position: 64% top;
    opacity: 0.42;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 6, 9, 0.96), rgba(3, 6, 9, 0.48)),
      linear-gradient(180deg, rgba(3, 6, 9, 0.2), rgba(3, 6, 9, 0.78));
  }

  .intro-section,
  .identity-section,
  .agentic-section,
  .services-section {
    grid-template-columns: 1fr;
  }

  .handled-list,
  .identity-list,
  .layer-grid,
  .principle-list,
  .proof-split,
  .proof-split-reverse,
  .preview-row {
    grid-template-columns: 1fr;
  }

  .handled-list article,
  .identity-list article,
  .layer-card {
    min-height: auto;
  }

  .identity-list article {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .proof-split-reverse .proof-copy {
    order: 0;
  }

  .services-section .button {
    justify-self: start;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
    padding: 0.55rem;
  }

  .brand span:last-child {
    max-width: 8.8rem;
    line-height: 1.15;
  }

  .header-action {
    display: none;
  }

  .menu-toggle {
    min-height: 2.75rem;
    padding-inline: 0.7rem;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 0.75rem;
    padding-top: 5.75rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11.2vw, 2.85rem);
    line-height: 0.98;
  }

  .hero p {
    margin-top: 1.05rem;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 0.65rem;
    margin-top: 1.15rem;
  }

  .hero .proof-cue {
    margin-top: 0.8rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .button {
    width: 100%;
  }

  section {
    padding-block: 4rem;
  }

  .intro-section,
  .identity-section,
  .map-section .section-heading,
  .platform-section,
  .agentic-section,
  .proof-split,
  .product-preview-section,
  .philosophy-section,
  .services-section,
  .founder-section,
  .contact-section,
  .site-footer {
    width: calc(100% - 1.25rem);
  }

  .architecture-frame {
    width: calc(100% - 1rem);
  }

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

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

  .architecture-frame figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer nav[aria-label="Ecosystem links"] {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
