:root {
  --ink: #111315;
  --muted: #626a70;
  --line: #dde2e5;
  --paper: #f7f8f6;
  --white: #ffffff;
  --accent: #ffc80a;
  --accent-dark: #a66f00;
  --steel: #dfe6e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(17, 19, 21, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-mark-full {
  width: 138px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 200, 10, 0.18);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  min-height: 96vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px max(24px, calc((100vw - 1120px) / 2)) 72px;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 12, 0.82) 0%, rgba(4, 10, 12, 0.58) 42%, rgba(4, 10, 12, 0.1) 100%),
    linear-gradient(0deg, rgba(4, 10, 12, 0.42), rgba(4, 10, 12, 0));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  letter-spacing: 0.08em;
}

.section-label::after {
  content: "";
  flex: 1;
  max-width: 180px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 200, 10, 0));
}

.hero .eyebrow {
  color: #ffc80a;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.75;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(255, 200, 10, 0.28);
}

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

.section {
  padding: 112px max(24px, calc((100vw - 1120px) / 2));
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.future-section {
  background: var(--white);
}

.future-section .split-layout {
  grid-template-columns: 0.78fr 1.22fr;
  gap: 14px;
}

.future-section .section-heading {
  max-width: 420px;
}

.system-map {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 34px 28px 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  overflow: hidden;
}

.system-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.system-nodes::before {
  content: "";
  position: absolute;
  top: 66px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(166, 111, 0, 0.12), var(--accent-dark), rgba(166, 111, 0, 0.12));
}

.system-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  margin: 0;
  text-align: center;
  opacity: 0;
  transform: scale(0.72);
  transform-origin: center 66px;
}

.system-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  right: -15px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(255, 200, 10, 0.22);
}

.system-map.is-visible .system-node {
  animation: node-grow-in 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.system-map.is-visible .system-node:nth-child(2) {
  animation-delay: 110ms;
}

.system-map.is-visible .system-node:nth-child(3) {
  animation-delay: 220ms;
}

.system-map.is-visible .system-node:nth-child(4) {
  animation-delay: 330ms;
}

.system-map.is-visible .system-node:nth-child(5) {
  animation-delay: 440ms;
}

@keyframes node-grow-in {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  70% {
    opacity: 1;
    transform: scale(1.06);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.system-icon {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 111, 0, 0.22);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(17, 19, 21, 0.08);
}

.system-icon img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.system-node figcaption,
.stat-panel span {
  display: block;
  font-weight: 800;
}

.system-node figcaption {
  max-width: 170px;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.system-bracket {
  position: relative;
  width: calc(100% - 24px);
  height: 34px;
  justify-self: center;
  margin-top: -22px;
  border-bottom: 3px solid var(--muted);
  border-left: 3px solid var(--muted);
  border-right: 3px solid var(--muted);
  border-radius: 0 0 8px 8px;
}

.system-bracket::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -19px;
  width: 3px;
  height: 19px;
  background: var(--muted);
  transform: translateX(-50%);
}

.system-label {
  justify-self: center;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.problem-section {
  background:
    linear-gradient(120deg, rgba(17, 19, 21, 0.92), rgba(17, 19, 21, 0.72)),
    url("assets/ProblemHero.png") center / cover;
  color: var(--white);
}

.problem-section .section-label,
.problem-section .eyebrow {
  color: var(--accent);
}

.problem-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 38px;
  align-items: stretch;
}

.problem-layout .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.stat-panel {
  min-height: 100%;
  display: grid;
  align-content: center;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-panel span {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: clamp(4.4rem, 10vw, 8.2rem);
  line-height: 0.86;
}

.stat-panel p {
  max-width: 390px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.approach-intro {
  margin-bottom: 44px;
}

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

.about-card,
.process-list div,
.product-stage {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.about-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 200, 10, 0.62);
  box-shadow: 0 24px 60px rgba(17, 19, 21, 0.08);
}

.about-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-top: auto;
}

.about-card div {
  padding: 22px;
}

.about-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.about-card p,
.product-stage p,
.process-list p,
.contact-panel p,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
}

.product-section {
  background: var(--white);
}

.product-evolution {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.product-single {
  width: min(680px, 100%);
  margin: 0 auto;
}

.product-single img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-stage {
  margin: 0;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-stage:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 200, 10, 0.62);
  box-shadow: 0 24px 60px rgba(17, 19, 21, 0.08);
}

.product-stage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-stage figcaption {
  padding: 24px;
}

.product-stage span {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.product-stage p {
  margin-bottom: 0;
}

.product-arrow {
  position: relative;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 19, 21, 0.12), var(--accent-dark));
}

.product-arrow span {
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--accent-dark);
  border-right: 1px solid var(--accent-dark);
  font-size: 0;
  transform: translateY(-50%) rotate(45deg);
}

.product-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.product-note {
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 34px auto 0;
  text-align: center;
}

.product-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.model-section {
  background: var(--ink);
  color: var(--white);
}

.model-section .section-label {
  color: var(--accent);
}

.model-section .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
  padding: 0;
  align-items: center;
}

.roadmap-track {
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 200, 10, 0.18), var(--accent), rgba(255, 200, 10, 0.18));
  transform: translateY(-50%);
}

.roadmap-step {
  position: relative;
  z-index: 1;
  min-height: 178px;
  text-align: center;
}

.roadmap-step:nth-of-type(odd) {
  padding: 0;
}

.roadmap-step:nth-of-type(even) {
  padding: 0;
}

.roadmap-step::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 50%;
  width: 22px;
  height: 22px;
  border: 4px solid var(--accent);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: none;
  transform: translate(-50%, -50%);
}

.roadmap-step.current-stage::before {
  background: var(--accent);
  box-shadow:
    0 0 0 8px rgba(255, 200, 10, 0.18),
    0 0 32px rgba(255, 200, 10, 0.5);
}

.roadmap-step.completed-stage::before {
  background: var(--accent);
}

.roadmap-content {
  position: absolute;
  left: 50%;
  width: min(170px, 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.roadmap-step:nth-of-type(odd) .roadmap-content {
  top: 62px;
}

.roadmap-step:nth-of-type(even) .roadmap-content {
  top: 62px;
}

.roadmap-content span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 200, 10, 0.55);
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-weight: 800;
}

.current-stage .roadmap-content span {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(255, 200, 10, 0.22);
}

.current-stage .roadmap-content p {
  color: var(--accent);
}

.roadmap-content p {
  max-width: 150px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  line-height: 1.25;
}

.work-section {
  background: #eef2f1;
}

@media (max-width: 1200px) {
  .roadmap {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 26px;
    width: min(390px, calc(100vw - 48px));
    margin-top: 42px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
  }

  .roadmap-track {
    top: 0;
    bottom: 0;
    left: 15px;
    right: auto;
    width: 6px;
    height: auto;
    background: linear-gradient(180deg, rgba(255, 200, 10, 0.18), var(--accent), rgba(255, 200, 10, 0.18));
    transform: none;
  }

  .roadmap-step,
  .roadmap-step:nth-of-type(odd),
  .roadmap-step:nth-of-type(even) {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    min-height: auto;
    padding: 0;
    text-align: left;
    transform: none !important;
  }

  .roadmap-content,
  .roadmap-step:nth-of-type(odd) .roadmap-content,
  .roadmap-step:nth-of-type(even) .roadmap-content {
    position: static !important;
    grid-column: 2;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 14px;
    margin: 0;
    transform: none !important;
  }

  .roadmap-step::before {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 18px;
    height: 18px;
    border-width: 3px;
    transform: translate(-50%, -50%);
  }

  .roadmap-content p {
    max-width: none;
  }
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  padding: 24px;
}

.process-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-weight: 800;
}

.process-list span img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.career-intro {
  margin-top: 28px;
}

.contact-section {
  background: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #181b1d;
  color: var(--white);
}

.contact-panel .section-label {
  color: var(--accent);
}

.contact-direct {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 220px;
  margin-top: 56px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-direct span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-email {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-direct .button {
  width: fit-content;
  margin-top: 8px;
}

.contact-direct p:not(.contact-email) {
  max-width: 420px;
  margin: 8px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px max(24px, calc((100vw - 1120px) / 2));
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 800;
}

.footer-logo {
  width: 132px;
  height: auto;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.about-card:nth-child(2),
.process-list div:nth-child(2) {
  transition-delay: 90ms;
}

.about-card:nth-child(3),
.process-list div:nth-child(3) {
  transition-delay: 180ms;
}

.about-card:nth-child(4) {
  transition-delay: 270ms;
}

@media (max-width: 820px) {
  .site-header {
    padding: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, calc(100vw - 20px));
    display: grid;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(17, 19, 21, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a {
    min-height: 44px;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 64px;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(4, 10, 12, 0.82), rgba(4, 10, 12, 0.36));
  }

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

  .split-layout,
  .contact-panel,
  .problem-layout {
    grid-template-columns: 1fr;
  }

  .future-section .split-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .system-nodes {
    grid-template-columns: 1fr;
  }

  .system-map {
    padding: 28px 20px;
  }

  .system-nodes {
    gap: 22px;
  }

  .system-nodes::before {
    top: 0;
    bottom: 52px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(166, 111, 0, 0.12), var(--accent-dark), rgba(166, 111, 0, 0.12));
    transform: translateX(-50%);
  }

  .system-node:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
  }

  .system-bracket {
    width: min(260px, 86%);
    height: 28px;
  }

  .product-evolution {
    grid-template-columns: 1fr;
  }

  .product-arrow {
    width: 1px;
    height: 72px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(17, 19, 21, 0.12), var(--accent-dark));
    transform: none;
  }

  .product-arrow span {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translateX(50%) rotate(135deg);
  }

  .contact-panel {
    padding: 28px;
  }

  .contact-direct {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.96rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .about-card-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 2.18rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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

  .system-node {
    opacity: 1;
    transform: none;
  }

  .system-map.is-visible .system-node {
    animation: none;
  }
}
