:root {
  --black: #06080d;
  --graphite: #0d121b;
  --ink: #151d2a;
  --steel: #8e98a8;
  --silver: #dce2eb;
  --white: #ffffff;
  --gold: #bd9347;
  --gold-bright: #e8c36d;
  --blue: #3979d7;
  --blue-soft: #79aeea;
  --line: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --logo-width-desktop: 560px;
  --logo-width-mobile: 330px;
  --content-width: 1360px;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-display: "Cinzel", Georgia, serif;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(var(--content-width), calc(100% - 96px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px max(24px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 8, 13, 0.82);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: var(--logo-width-desktop);
  min-height: 118px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: var(--logo-width-desktop);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.25));
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--blue-soft));
  transition: transform 180ms ease;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  padding-top: 146px;
  background: #05080d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% center;
  transform: scale(1.08);
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.99) 0%, rgba(5, 8, 13, 0.95) 34%, rgba(5, 8, 13, 0.65) 55%, rgba(5, 8, 13, 0.16) 82%, rgba(5, 8, 13, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.08), rgba(5, 8, 13, 0.18) 58%, rgba(5, 8, 13, 0.86));
}

.energy-lines span {
  position: absolute;
  left: -20%;
  z-index: 1;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 170, 65, 0.8), rgba(54, 169, 255, 0.9), transparent);
  box-shadow: 0 0 14px rgba(54, 169, 255, 0.7);
  opacity: 0.45;
  pointer-events: none;
  animation: flowLine 6s linear infinite;
}

.energy-lines span:nth-child(1) {
  top: 58%;
  transform: rotate(-6deg);
  animation-delay: 0s;
}

.energy-lines span:nth-child(2) {
  top: 68%;
  transform: rotate(-3deg);
  animation-delay: 1.5s;
}

.energy-lines span:nth-child(3) {
  top: 78%;
  transform: rotate(2deg);
  animation-delay: 3s;
}

@keyframes flowLine {
  0% {
    opacity: 0.1;
    filter: brightness(0.8);
  }

  50% {
    opacity: 0.75;
    filter: brightness(1.5);
  }

  100% {
    opacity: 0.1;
    filter: brightness(0.8);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(var(--content-width), calc(100% - 96px));
  min-height: calc(92svh - 146px);
  margin: 0 auto;
  padding: 88px 0 78px;
}

.hero-copy {
  position: relative;
  max-width: 760px;
  align-self: center;
  margin-left: clamp(0px, 1vw, 18px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #f2d47d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(232, 195, 109, 0.18);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: clamp(2.8rem, 4.15vw, 4.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94em;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.015em;
  color: transparent;
  background: linear-gradient(105deg, #fff2b8 0%, #d7a84a 34%, #f7db82 58%, #b98427 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 10px 28px rgba(189, 147, 71, 0.12));
}

h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3.45rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.32;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.03rem, 1.45vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #ffe69b 0%, #c5963f 48%, #e6bf61 100%);
  color: #101012;
  box-shadow: 0 14px 36px rgba(189, 147, 71, 0.24);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
}

.section {
  padding: clamp(72px, 8vw, 108px) 0;
}

.intro-band {
  background: #0d131e;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: block;
  max-width: var(--content-width);
}

.intro-grid .section-kicker {
  margin-top: 0;
}

.intro-grid h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  max-width: 850px;
}

.intro-grid p:last-child {
  max-width: 760px;
  margin-top: 24px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.split-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 9, 16, 0.96) 0%, rgba(5, 9, 16, 0.88) 42%, rgba(5, 9, 16, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.08), rgba(7, 11, 18, 0.86)),
    url("assets/ark-mission-background.png") center/cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.split-grid {
  position: relative;
  z-index: 1;
  display: block;
  max-width: var(--content-width);
}

.split-grid > div:first-child {
  display: block;
}

.split-grid .section-kicker {
  margin-top: 0;
}

.split-grid h2 {
  max-width: 850px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.text-stack {
  margin-top: 44px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
}

.text-stack p {
  margin-bottom: 22px;
}

.technology {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #0a0f18;
  background-size: 100% 86px;
}

.model {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, 0.96) 0%, rgba(5, 8, 14, 0.84) 48%, rgba(5, 8, 14, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.18), rgba(5, 8, 14, 0.86)),
    url("assets/ark-why-background.png") center/cover no-repeat;
}

.model .container {
  position: relative;
  z-index: 1;
}

.model .priority-row article {
  border-color: rgba(232, 195, 109, 0.18);
  background: rgba(8, 12, 20, 0.66);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.market-card,
.priority-row article {
  position: relative;
  min-height: 214px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.feature-card {
  grid-column: span 2;
}

.wide-card {
  grid-column: span 4;
  min-height: 160px;
}

.card-index,
.priority-row span {
  display: inline-block;
  margin-bottom: 22px;
  color: #f2d47d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-card p,
.market-card p,
.priority-row p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
}

.validation {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.86) 46%, rgba(5, 7, 11, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.34), rgba(5, 7, 11, 0.88)),
    url("assets/ark-validation-background.png") center/cover no-repeat;
}

.validation-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.74fr);
  gap: clamp(34px, 7vw, 80px);
  align-items: center;
}

.validation p {
  color: rgba(255, 255, 255, 0.72);
}

.disclosure {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 2px solid var(--gold-bright);
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  font-weight: 650;
}

.capability-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  position: relative;
  min-height: 52px;
  padding: 14px 18px 14px 48px;
  border: 1px solid rgba(232, 195, 109, 0.18);
  border-radius: 5px;
  background: rgba(8, 12, 20, 0.64);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  backdrop-filter: blur(8px);
}

.capability-list li::before {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 12px;
  height: 12px;
  content: "";
  background: linear-gradient(135deg, #fff0a8, #d1a246 48%, #f2d47d);
  box-shadow: 0 0 18px rgba(232, 195, 109, 0.45);
  clip-path: polygon(
    50% 0%,
    61% 36%,
    100% 50%,
    61% 64%,
    50% 100%,
    39% 64%,
    0% 50%,
    39% 36%
  );
  transform: translateY(-50%);
}

.markets {
  background: #080c14;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease,
    background 240ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.reveal,
.market-card.reveal,
.priority-row article.reveal,
.capability-list li.reveal {
  transition-delay: var(--reveal-delay, 0ms);
}

.market-card {
  grid-column: span 2;
  min-height: 190px;
}

.market-card:nth-child(4),
.market-card:nth-child(5) {
  grid-column: span 3;
}

.market-card h3 {
  padding-top: 42px;
}

.market-card::before {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 30px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--gold-bright), var(--blue-soft));
}

.priority-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.priority-row article {
  min-height: 205px;
}

.vision {
  background:
    linear-gradient(120deg, rgba(200, 155, 66, 0.14), rgba(47, 126, 246, 0.14)),
    #070b12;
}

.vision-panel {
  max-width: 980px;
}

.vision-panel p:not(.section-kicker) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

.contact {
  background: #0a0f18;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.9fr);
  gap: clamp(34px, 7vw, 78px);
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--white);
  font-weight: 800;
}

.contact-details a {
  color: var(--gold-bright);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 3px;
  background: rgba(5, 7, 11, 0.58);
  color: var(--white);
  outline: none;
}

input,
select {
  height: 44px;
  padding: 0 14px;
}

textarea {
  min-height: 116px;
  resize: vertical;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(240, 199, 109, 0.14);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #05070b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner img {
  width: 160px;
  padding: 0;
  border-radius: 3px;
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    padding: 8px 20px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 11, 18, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 15px 10px;
  }

  .hero-inner,
  .split-grid,
  .validation-grid,
  .contact-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid p:last-child {
    margin-top: 0;
  }

  .text-stack {
    margin-top: 24px;
  }

  .hero-inner {
    padding-top: 36px;
  }

  .hero-bg img {
    object-position: 72% center;
    transform: scale(1.12);
  }

  .energy-lines span {
    width: 100%;
    left: -42%;
  }

  .tech-grid,
  .market-grid,
  .priority-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .wide-card,
  .market-card,
  .market-card:nth-child(4),
  .market-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, var(--content-width));
  }

  .brand-mark {
    width: var(--logo-width-mobile);
    min-height: 82px;
  }

  .brand-mark img {
    width: var(--logo-width-mobile);
  }

  h1 {
    font-size: 2.52rem;
  }

  .button {
    width: 100%;
  }

  .form-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

  .contact-form {
    padding: 18px;
  }

  .footer-inner {
    justify-items: start;
  }

  .footer-inner p {
    text-align: left;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .energy-lines span {
    animation: none;
    opacity: 0;
  }
}
